recbole.NNCF
A recommender that scores a user-item pair from their embeddings plus convolved embeddings of each side's neighbors.
Tabular and recommender · 32 operations Checked
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
- 410.9K
- Operations
- 32
- Framework
- PyTorch
- Recurrent
- No
- Published
- CIKM 2017
- Cited by
- 129 (as of 22 October 2026)
- Authors
- Ting Bai, Ji-Rong Wen, Jun Zhang, Wayne Xin Zhao
- Source
- recbole 1.2.1
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m8652
- Graph hash
- 129ef026d247f8504314aaa34d591d3e6fb9dc32e494a6688046526a0618cdfe
- Skeleton hash
- 3577040dd64259e6e01709eaec58de31e9cfd71f442ca6a416d0675c1c1b92db
- Architecture hash
- 823b527e5c2f45c096fe81cdbc7ff7734531a8f440a056ac36bc1870df8277ab
- Diagram SHA-256
- daf608507ed125d39fce51b55be18f678ec37764b926d3d88d89bc49834cbaf8
- 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
NNCF, the Neighborhood-based Neural Collaborative Filtering model, is a recommender that scores a user-item pair from the pair itself and from the neighbors of the user and of the item. The paper starts from the observation that neural models of user-item interactions, like the latent factor models before them, tend to be ineffective at capturing localized information such as neighborhood. The authors describe NNCF as, to their knowledge, the first time neighborhood information was integrated into neural collaborative filtering methods.
The user and the item are looked up as latent vectors and combined by element-wise product, following the generalized MF method. Each side's neighbors are embedded too, and because the number of neighbors varies, a convolution is applied to their latent vectors. Max-pooling over the resulting feature maps keeps the most important information. The pair vector and the two neighborhood vectors are then integrated into a unified representation and passed to an MLP with ReLU activations, whose output is the probability that the interaction label is 1.
Neighbors are drawn from the user-item interaction network, and the paper proposes a community-based algorithm built on the Louvain method to choose them. On its three datasets, Delicious, MovieLens and Rossmann, the paper reports that NNCF performed better than all of its baselines. Its reported settings use 128 kernels with a kernel size of 5 in the convolutional layer.
Key idea. The paper builds NNCF, which integrates neighborhood information drawn from the user-item interaction network into neural collaborative filtering.
- NNCF
- Neighborhood-based Neural Collaborative Filtering
- neural collaborative filtering
- collaborative filtering
- interaction-based neighborhood
- implicit recommendation
- recommender system
- item recommendation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@inproceedings{Bai_2017, series={CIKM ’17}, title={A Neural Collaborative Filtering Model with Interaction-based Neighborhood}, url={http://dx.doi.org/10.1145/3132847.3133083}, DOI={10.1145/3132847.3133083}, booktitle={Proceedings of the 2017 ACM on Conference on Information and Knowledge Management}, publisher={ACM}, author={Bai, Ting and Wen, Ji-Rong and Zhang, Jun and Zhao, Wayne Xin}, year={2017}, month=Nov, pages={1979–1982}, collection={CIKM ’17} }