Problem
A marketplace recommendations team wants a graph neural network as a candidate model that adds exploration, not another feed of top sellers. LightGCN trained the standard way converges slowly on a large item vocabulary and drifts to the most popular items. A "recommend popular" baseline scores well on ordinary ranking metrics, so the bias hides behind good numbers. User embeddings must also be stored, yet inference should use fresh interactions.
Example from the article: on MovieLens-25m, plain LightGCN recommends only 150 distinct movies, and its HitRate, Recall and NDCG drop to 0 once the 200 most popular movies are removed from the test set.
Solution in brief
Change two things in LightGCN: sample negatives in proportion to a root of item popularity, and re-weight the graph normalization (r-AdjNorm) so popular items contribute less to neighbor sums. To drop user embeddings, collapse the user-item graph into an item-item graph with thresholded edges. Test with and without the top items in the test set.
Questions this case answers
- How to train an embedding-based candidate model on an interaction graph so that it covers the long tail instead of collapsing to the most popular items
- How to check that offline ranking metrics are not inflated by a popularity baseline when a few items dominate interactions
- How to train a graph neural network recommender (LightGCN) that does not just recommend top sellers?
- How to measure whether a recommender's good offline metrics come only from popular items?
Tools and methods
- LightGCN — graph convolution without trainable weights, trained with BPR loss.
- Popularity-based negative sampling — negatives drawn by a root of item popularity; fixes slow convergence.
- r-AdjNorm — degree normalization that lowers the weight of popular items.
- Item-item graph — adjacency with an edge threshold; removes user embeddings.
- Top-excluded evaluation, AIRTS, diversity metrics — show whether quality comes from top sellers alone.
Google or a one-time email code. No password.
