All models

recbole.ENMF

A neural matrix factorization recommender trained on all user-item data without negative sampling.

Tabular and recommender · 8 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 (12 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
168.2K
Operations
8
Framework
PyTorch
Recurrent
No
Published
2020, ACM Transactions on Information Systems 38(2)
Cited by
204 (as of 22 October 2026)
Authors
Chong Chen, Min Zhang, Yongfeng Zhang 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
m8607
Graph hash
50356419a089ddba8b6bd87b0405cf69bce5be85c38f87b7d2a0dcaa4540ba8d
Skeleton hash
b1c761db1da75e47d7a5a89795805a3e144df5dc2242e3ab0b14535ff86a373f
Architecture hash
a710afd8375ae510f70fce19a1e386a9a69fed164cfca8823f903b63c3be9a9b
Diagram SHA-256
f9c616ebd0ac43e4d94cd7888d8a50449229a4ef14a0e02314c5430274d600e3
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

ENMF, short for Efficient Neural Matrix Factorization, is a recommendation framework built on a simple neural matrix factorization architecture. Its paper argues that the negative sampling used to train most deep recommenders is not robust. The alternative it proposes is to learn from the whole training data, including all missing data, using three optimization methods derived to keep the time complexity low.

The network follows the design of Neural Collaborative Filtering (NCF), but instead of a single user-item pair its input is a user with all of that user's item interactions, or an item with all of its user interactions. Users and items are first converted to dense vectors through embeddings; the two vectors are then combined by an element-wise product and projected to a prediction layer. Dropout is applied to the latent factors after the element-wise product.

On the paper's three datasets, Ciao, Epinion and Movielens, ENMF is reported to have the highest HR and NDCG scores of the methods compared. Against GMF, which has the same network structure but is trained with negative sampling, the paper reports that the alternating-based variant ENMF-A is better by 9.36%, 5.52% and 10.30% on the three datasets. On the Epinion dataset with d=64, the paper reports that GMF required 216 seconds to train the model, while the three ENMF variants needed 8, 21 and 32 seconds.

Key idea. The paper derives three optimization methods that let a neural matrix factorization recommender learn from the whole training data, including all missing data, without negative sampling.

  • enmf
  • efficient neural matrix factorization
  • neural matrix factorization
  • matrix factorization
  • recommendation without sampling
  • non-sampling recommendation
  • implicit feedback
  • collaborative filtering
  • top-k recommendation
  • recbole enmf

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

Cite the paper

@article{Chen_2020, title={Efficient Neural Matrix Factorization without Sampling for Recommendation}, volume={38}, ISSN={1558-2868}, url={http://dx.doi.org/10.1145/3373807}, DOI={10.1145/3373807}, number={2}, journal={ACM Transactions on Information Systems}, publisher={Association for Computing Machinery (ACM)}, author={Chen, Chong and Zhang, Min and Zhang, Yongfeng and Liu, Yiqun and Ma, Shaoping}, year={2020}, month=Jan, pages={1–28} }