All models

recbole.ConvNCF

Neural collaborative filtering that convolves over an outer-product map of user and item embeddings.

Tabular and recommender · 18 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (23 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.3M
Operations
18
Framework
PyTorch
Recurrent
No
Published
IJCAI 2018
Cited by
352 (as of 19 October 2026)
Authors
Xiangnan He, Xiaoyu Du, Xiang Wang and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8596
Graph hash
2a23da941863698f7f07eb0062b459c5cead29077b8a9238c413b3a9e893300e
Skeleton hash
d7e173d16d235276fb0ae8c8ea2571b73916d980f06d088423866fec2f9c7b3e
Architecture hash
d6b5ee37bfdd4b671b13063f64a53fbcf21700f88cf597592844597e6aa344b0
Diagram SHA-256
bf48bec445ae1fd7536bf2af7c2da96979b074142a419611dad028e2fd64ca7c
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

ConvNCF, also called ONCF, is a neural collaborative filtering model that scores user-item pairs through an outer product of their embeddings. Where earlier neural recommenders combined user and item embeddings by concatenation or element-wise product, the outer product yields a two-dimensional interaction map that the paper describes as more expressive and semantically plausible. A convolutional neural network is then applied above this map to learn high-order correlations among embedding dimensions.

In the paper's configuration the input interaction map is 64×64 and the CNN has 6 hidden layers with 32 feature maps each. With the stride set to 2, each feature map is half the size of the previous layer. The paper reports that this 6-layer CNN has only about 20 thousand parameters. By contrast, it notes that even a 1-layer MLP in the comparable tower design has 8,388,608 parameters. The model is optimized with the BPR objective using minibatch Adagrad.

The paper runs experiments on two public implicit feedback datasets. Its Gowalla check-in data contains 54,156 users, 52,400 items, and 1,249,703 interactions. Across these experiments the paper reports that ConvNCF achieves the best performance in general. The authors describe this as the first work that uses a CNN to learn the interaction function between user embedding and item embedding. The RecBole implementation follows the original author with a pairwise training mode.

Key idea. ConvNCF forms an outer-product interaction map between user and item embeddings and learns high-order correlations over it with a convolutional network.

  • convncf
  • oncf
  • outer product
  • interaction map
  • neural collaborative filtering
  • implicit feedback
  • bpr
  • recbole
  • gowalla

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{he2018outerproductbasedneuralcollaborative,
      title={Outer Product-based Neural Collaborative Filtering}, 
      author={Xiangnan He and Xiaoyu Du and Xiang Wang and Feng Tian and Jinhui Tang and Tat-Seng Chua},
      year={2018},
      eprint={1808.03912},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/1808.03912}, 
}