All models

LGConv-net

Graph convolution for recommendation with nothing but normalized neighbour sums and a layer average.

Tabular and recommender · 73 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 (39 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

Family
LightGCN
Parameters
1.6K
Operations
73
Framework
PyTorch
Recurrent
No
Published
SIGIR 2020
Cited by
641 (as of 18 October 2026)
Authors
Xiangnan He, Kuan Deng, 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
m1502
Graph hash
6c5318a3516b9bdc6777f58ff14af27138eda301c04042540135e413af66a1c5
Skeleton hash
01923a3de6b64fc085e9099cb149420050f7b4e4b4adf5d58fce1911a7ea8ae0
Architecture hash
312e7c5b8083b156a1dbb65a69c653ce54c6d348d788b972bb7dae3d49abc3c5
Diagram SHA-256
73107c19f7711d4ec9e44ed0b2fb7ce7c772a8703bda3e50cace0f61e5358719
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

LightGCN is a graph convolution network for recommendation stripped down to the one component the authors found essential, neighborhood aggregation. The paper's starting point is that GCN had become the new state of the art for collaborative filtering without the reasons for its effectiveness being well understood. Ablations showed that the two most common designs in GCNs, feature transformation and nonlinear activation, contribute little to collaborative filtering and even add to the difficulty of training. The argument is that in a user-item interaction graph each node is only described by a one-hot ID with no concrete semantics besides being an identifier.

LightGCN learns user and item embeddings by linearly propagating them on the user-item interaction graph, and uses the weighted sum of the embeddings learned at all layers as the final embedding. The light graph convolution uses a simple weighted sum aggregator and abandons feature transformation and nonlinear activation. Its symmetric normalization follows the design of standard GCN and avoids the scale of embeddings increasing with graph convolution operations. The convolution aggregates only the connected neighbors and does not integrate the target node itself. The layer combination essentially captures the same effect as self-connections, so none are needed. The only trainable parameters are the 0-th layer embeddings, so the model complexity is the same as standard matrix factorization. Setting the layer weights uniformly to 1/(K + 1) leads to good performance in general, so no component is added to learn them. By setting those weights accordingly LightGCN can fully recover the prediction embedding used by APPNP, and so shares APPNP's strength in combating oversmoothing.

Under exactly the same experimental setting LightGCN shows about 16.0% relative improvement on average over NGCF. On Gowalla the highest recall reported in the NGCF paper is 0.1570, while LightGCN reaches 0.1830 under the 4-layer setting. Training uses the Bayesian Personalized Ranking loss, a pairwise loss that encourages the prediction of an observed entry to be higher than its unobserved counterparts. Satisfactory performance can be achieved with K equal to 3 layers. The authors provide the TensorFlow code and point to a PyTorch implementation as well. Removing the normalization entirely makes training numerically unstable with NaN issues, so that setting is not reported.

Key idea. A GCN for collaborative filtering reduced to linear embedding propagation on the user-item graph plus a weighted sum of per-layer embeddings, with no feature transformation or nonlinearity.

  • lightgcn
  • lgconv
  • light graph convolution
  • collaborative filtering
  • recommendation
  • graph convolution network
  • ngcf
  • user-item interaction graph
  • embedding propagation
  • gowalla
  • yelp2018
  • amazon-book

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

Cite the paper

@misc{he2020lightgcnsimplifyingpoweringgraph,
      title={LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation}, 
      author={Xiangnan He and Kuan Deng and Xiang Wang and Yan Li and Yongdong Zhang and Meng Wang},
      year={2020},
      eprint={2002.02126},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/2002.02126}, 
}