
LGConv
Tabular and recommender23 ops
Graph convolution for recommendation with nothing but normalized neighbour sums and a layer average.
Tabular and recommender · 73 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.
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.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}