recbole.NCEPLRec
Linear one-class recommender that de-popularizes item embeddings with noise contrastive estimation.
Tabular and recommender · 8 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
- 1
- Operations
- 8
- Framework
- PyTorch
- Recurrent
- No
- Published
- SIGIR 2019
- Cited by
- 3 (as of 19 October 2026)
- Authors
- Ga Wu, Maksims Volkovs, Chee Loong Soon and others
- 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
- m8648
- Graph hash
- 510f4edf25edbbef75b5b3ec3ed78bc113903440430b270f13cdc503261037b1
- Skeleton hash
- 510f4edf25edbbef75b5b3ec3ed78bc113903440430b270f13cdc503261037b1
- Architecture hash
- f946e28da14733d2fd1dc337681fe86d0da9fdadd9f42741e34f2a75129a21dc
- Diagram SHA-256
- 8f9e2403883d03db25efff0c1be1c57ce03e80257e8e75aad9a5922e8665a2f4
- 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
NCE-PLRec is a linear recommender for one-class collaborative filtering, the setting where only positive interactions such as clicks or purchases are observed. It builds on Projected Linear Recommendation, PLRec, which embeds items with a fast randomized SVD and then learns a linear regression per user on top of those embeddings. The problem the paper targets is that a plain SVD embedding carries a popularity bias that skews how accurately niche items are embedded.
Borrowing from Noise Contrastive Estimation, the paper derives a closed-form, efficiently computable "depopularized" embedding of the interaction matrix before the SVD. The depopularized embedding alone is not a good recommender, since popularity still plays an important role, so per-user linear regression on top restores it. With the loss weighting fixed, that regression collapses into one globally closed-form solve, which the paper reports runs faster than the per-user version.
On MovieLens-20M, Netflix Prize and Yahoo R1, each with more than 10 million interactions, the paper reports NCE-PLRec outperforming all six compared methods on all metrics. It also distributes its recommendations uniformly over the popularity spectrum, where other methods show distinct biases toward specific popularity ranges. The RecBole implementation computes the whole model at construction with a randomized SVD and a matrix inverse, and its authors flag a slight variation from the paper's weighting formula.
Key idea. NCE-PLRec derives a closed-form depopularized item embedding from Noise Contrastive Estimation and fits per-user linear regressions on it for scalable one-class collaborative filtering.
- nce-plrec
- nceplrec
- noise contrastive estimation
- one-class collaborative filtering
- projected linear recommendation
- implicit feedback
- popularity bias
- recommender system
- recbole
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wu2018noisecontrastiveestimationscalable,
title={Noise Contrastive Estimation for Scalable Linear Models for One-Class Collaborative Filtering},
author={Ga Wu and Maksims Volkovs and Chee Loong Soon and Scott Sanner and Himanshu Rai},
year={2018},
eprint={1811.00697},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/1811.00697},
}