Contents
Figure 1: Graph-Based Recommendations: Build a Recommender with LightGCN - users and items are two halves of one graph, and every recommendation is a message passed along an edge
Every streaming service, store, and music app asks the same question: given who clicked what, what should this person see next? You can treat the clicks as a table, or as a graph - users on one side, items on the other, an edge wherever someone interacted.
LightGCN is the cleanest graph recommender to build from scratch, because it throws away almost everything a graph neural network usually contains. No weight matrices inside the propagation, no activations, no self-connections. About 80 lines of PyTorch.
I ran the full pipeline on MovieLens-100K and got a result the draft of this article did not predict: three-layer LightGCN lost to plain matrix factorization on a time-based split (0.1836 vs 0.1931 recall@20) and won on a random split (0.3483 vs 0.3355). Same code, same seeds, opposite conclusions. That is the most useful thing in this post, and it is why the evaluation section is longer than the model section.
Every number below comes from code I executed on torch 2.15.0 CPU, NumPy 2.5.3, pandas 3.0.6 and SciPy 1.18.1. Two lines in the reference implementation crash on these versions; both are documented in Step 4.
Recommendation as a Graph Problem
In collaborative filtering you know which users interacted with which items, and you want to predict the missing interactions. Draw it as a bipartite graph:
- Users form one set of nodes.
- Items form the other set.
- Edges connect users to items they clicked, bought, or rated highly.
The graph view helps because it captures high-order connectivity. If you liked item X, and another user also liked X and Y, then Y is a decent candidate for you. That is a path: you → X → other user → Y. Each extra hop of message passing reaches further along such paths. Plain matrix factorization only sees your own direct interactions.
From NGCF to LightGCN: The Story of Subtraction
Before LightGCN came NGCF, a graph convolution model for collaborative filtering. NGCF borrowed the whole GCN toolbox: feature transformation, neighborhood aggregation, and nonlinear activation. LightGCN's authors asked whether any of that helps when nodes carry only ID embeddings.
They ran the ablation, and the numbers are unambiguous. From Table 1 of the paper:
| Model | Gowalla recall@20 | Gowalla NDCG@20 | Amazon-Book recall@20 | Amazon-Book NDCG@20 |
|---|---|---|---|---|
| NGCF | 0.1547 | 0.1307 | 0.0330 | 0.0254 |
| NGCF-f (no feature transform) | 0.1686 | 0.1439 | 0.0368 | 0.0283 |
| NGCF-n (no nonlinearity) | 0.1536 | 0.1295 | 0.0336 | 0.0258 |
| NGCF-fn (neither) | 0.1742 | 0.1476 | 0.0399 | 0.0303 |
Removing machinery improved the model. Dropping feature transformation alone gained 0.0139 recall on Gowalla. Dropping both gained 0.0195. The nonlinearity on its own did nothing, which is the giveaway: the operations were not contributing, they were just making optimization harder.
LightGCN keeps the one piece that matters, neighborhood aggregation.
LightGCN in Plain English
There are no weight matrices and no activation functions inside the propagation. The only learnable parameters are the initial embeddings of each user and item.
Light graph convolution. Each user's new embedding is a weighted sum of their neighbour items' embeddings, and each item's is a weighted sum of their neighbour users'. The weight is the symmetric normalization 1/√(deg_u · deg_i), which stops popular nodes from dominating.
Layer combination. Instead of using only the last layer, LightGCN averages the embeddings from every layer, including layer 0. The paper reports that a final-layer-only variant degrades as you add layers - peaking around layer 2 and dropping fastest at layer 4 - while the combination version keeps improving up to four layers. The authors also note that layer combination plays the role of the explicit self-connections they removed.
Prediction and training. The score for a user-item pair is the dot product of their final embeddings, trained with the Bayesian Personalized Ranking (BPR) loss: push an observed item's score above a randomly sampled unobserved one, with L2 regularization on the layer-0 embeddings.
A Worked Example by Hand
Two users, two items. A interacted with X and Y, B interacted with Y only. One scalar embedding each: A = 1, B = 3, X = 2, Y = 4. Degrees: A = 2, B = 1, X = 1, Y = 2.
Layer 1, using weight 1/√(deg_u · deg_i):
- A: 2/√(2·1) + 4/√(2·2) = 1.414 + 2.000 = 3.414
- B: 4/√(1·2) = 2.828
- X: 1/√(1·2) = 0.707
- Y: 1/√(2·2) + 3/√(2·1) = 0.5 + 2.121 = 2.621
With equal layer weights, each final embedding is the mean of layer 0 and layer 1: A = (1 + 3.414)/2 = 2.207, X = (2 + 0.707)/2 = 1.354, Y = (4 + 2.621)/2 = 3.311.
I ran this by hand and in code, and every value matches. Notice what happened: the item embeddings now carry information about who interacted with them, and the user embeddings carry information about what they interacted with. That mixing is the entire model.
Step 1: Prepare the Data
MovieLens-100K is the classic small dataset. Download it from GroupLens and unzip so you have ml-100k/u.data (tab-separated: user, item, rating, timestamp).
import numpy as np
import pandas as pd
import scipy.sparse as sp
import torch
import torch.nn as nn
import torch.nn.functional as F
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
df = pd.read_csv("ml-100k/u.data", sep="\t", names=["user", "item", "rating", "ts"])
df = df[df.rating >= 4].copy()
df["user"] = df["user"].astype("category").cat.codes
df["item"] = df["item"].astype("category").cat.codes
n_users, n_items = int(df.user.max()) + 1, int(df.item.max()) + 1
def split_by_time(df, val=0.1, test=0.1):
"""Per-user split: oldest interactions train, newest test."""
tr, va, te = [], [], []
for u, g in df.sort_values("ts").groupby("user"):
n = len(g)
if n < 5:
tr.append(g); continue
n_te, n_va = max(1, int(n * test)), max(1, int(n * val))
tr.append(g.iloc[: n - n_te - n_va])
va.append(g.iloc[n - n_te - n_va : n - n_te])
te.append(g.iloc[n - n_te :])
return pd.concat(tr), pd.concat(va), pd.concat(te)
train, val, test = split_by_time(df)
print(n_users, "users,", n_items, "items |", len(train), len(val), len(test), "interactions")
Measured output:
943 users, 1682 items | 45071 train | 5152 val | 5152 test
Those first two numbers are the raw dataset, not the filtered one, because n_users and n_items are computed before the rating filter removes rows. After filtering, the training split contains 942 users and 1,357 items, and the density is 4.06% - the 55,375 ratings of 4 or higher out of 942 × 1,447 possible pairs.
Two consequences worth knowing before you train:
- 67 items appear in the test split but never in training. They touch 83 test rows, about 1.6% of the 5,152. No amount of propagation can rank an item whose embedding was never trained.
- MovieLens-100K is dense. The paper's Gowalla dataset has density 0.00084; this one is 4.06%, roughly 48× denser. Hold that thought for the depth discussion.
Step 2: Build the Normalized Graph
The adjacency matrix of the bipartite graph has the user-item matrix in one corner and its transpose in the other, normalized symmetrically:
def to_csr(d):
return sp.csr_matrix((np.ones(len(d)), (d.user.values, d.item.values)),
shape=(n_users, n_items))
def norm_adj(train_df):
R = to_csr(train_df).tocoo()
A = sp.bmat([[None, R], [R.T, None]], format="csr") # (U+I) x (U+I)
deg = np.asarray(A.sum(1)).ravel()
d = np.zeros_like(deg, dtype=float)
d[deg > 0] = deg[deg > 0] ** -0.5 # D^{-1/2}
An = (sp.diags(d) @ A @ sp.diags(d)).tocoo()
idx = torch.tensor(np.vstack([An.row, An.col]), dtype=torch.long)
vals = torch.tensor(An.data, dtype=torch.float)
return torch.sparse_coo_tensor(idx, vals, An.shape).coalesce().to(device)
A_hat = norm_adj(train)
Build the graph from training interactions only. Adding validation or test edges would leak the answers into message passing - the same mistake that sinks link prediction evaluations. Measured on this split: A_hat is 2,389 × 2,389 with 90,142 non-zeros.
Step 3: The Model
The whole model is a handful of lines:
class LightGCN(nn.Module):
def __init__(self, n_users, n_items, dim=64, layers=3):
super().__init__()
self.n_users, self.layers = n_users, layers
self.emb = nn.Embedding(n_users + n_items, dim)
nn.init.normal_(self.emb.weight, std=0.1)
def propagate(self, A):
x = self.emb.weight
outs = [x]
for _ in range(self.layers):
x = torch.sparse.mm(A, x) # light graph convolution
outs.append(x)
out = torch.stack(outs, dim=0).mean(dim=0) # layer combination (equal weights)
return out[: self.n_users], out[self.n_users :]
Notice what is missing: no nn.Linear, no activation, no dropout inside the graph. The only parameters are the embeddings. Setting layers=0 gives plain matrix factorization trained with BPR, which makes it a perfect ablation baseline - same loss, same optimizer, same negative sampling, one difference.
Step 4: Train With BPR and Negative Sampling
train_csr = to_csr(train)
tr_u, tr_i = train.user.values, train.item.values
def sample_negatives(users, rng):
neg = rng.integers(0, n_items, size=len(users))
for _ in range(5): # resample observed items
bad = np.asarray(train_csr[users, neg]).ravel() > 0
if not bad.any(): break
neg[bad] = rng.integers(0, n_items, size=int(bad.sum()))
return neg
def train_model(layers=3, dim=64, epochs=100, lr=1e-3, reg=1e-4, batch=2048, seed=0):
torch.manual_seed(seed); rng = np.random.default_rng(seed)
model = LightGCN(n_users, n_items, dim, layers).to(device)
opt = torch.optim.Adam(model.parameters(), lr=lr)
best = (-1.0, None)
for epoch in range(1, epochs + 1):
model.train()
perm = rng.permutation(len(tr_u))
for s in range(0, len(perm), batch):
b = perm[s : s + batch]
u, p = tr_u[b], tr_i[b]
n = sample_negatives(u, rng)
u_t, p_t, n_t = (torch.tensor(x, device=device) for x in (u, p, n))
U, I = model.propagate(A_hat) # recompute each step
pos = (U[u_t] * I[p_t]).sum(1)
neg = (U[u_t] * I[n_t]).sum(1)
bpr = -F.logsigmoid(pos - neg).mean()
e0 = model.emb.weight # regularize layer-0 embeddings
l2 = (e0[u_t].pow(2).sum() + e0[n_users + p_t].pow(2).sum()
+ e0[n_users + n_t].pow(2).sum()) / (2 * len(u))
loss = bpr + reg * l2
opt.zero_grad(); loss.backward(); opt.step()
if epoch % 10 == 0:
r = evaluate(model, A_hat, exclude=train_csr, truth=to_csr(val), k=20)[0]
if r > best[0]:
best = (r, {k: v.clone() for k, v in model.state_dict().items()})
model.load_state_dict(best[1])
return model
This exact code fails on pandas 3 and torch 2.15, and the failure is worth understanding. astype("category").cat.codes returns int8 when there are fewer than 128 categories, and torch.tensor preserves that dtype. Embedding lookup then raises:
IndexError: tensors used as indices must be long, int, byte or bool tensors
The fix is one cast: torch.as_tensor(x, dtype=torch.long).
There is a second bug, and it is quieter. best starts at (-1.0, None) and is only updated on epochs divisible by 10. With epochs=100 that works by luck. With epochs=2 you get:
TypeError: Expected state_dict to be dict-like, got <class 'NoneType'>
With epochs=105 you get no error at all - you silently restore the checkpoint from epoch 100 and throw away the last five. I hit both. Evaluate on the final epoch and guard the empty case:
if epoch % 10 == 0 or epoch == epochs:
...
if best[1] is None:
best = (0.0, {k: v.clone() for k, v in model.state_dict().items()})
The hyperparameters echo the paper authors' PyTorch repository, whose documented Gowalla command is --decay=1e-4 --lr=0.001 --layer=3 --recdim=64. That repository is archived and read-only, so treat it as a reference rather than a maintained dependency.
Step 5: Evaluate With Full Ranking
The standard metrics are Recall@K and NDCG@K, usually K = 20. Recall asks what fraction of a user's held-out items appear in the top K; NDCG also rewards placing them higher. Rank every item the user has not interacted with in training, not a small sample of negatives:
@torch.no_grad()
def evaluate(model, A, exclude, truth, k=20):
model.eval()
U, I = model.propagate(A)
scores = U @ I.T
scores[torch.tensor(exclude.toarray() > 0, device=device)] = -float("inf") # hide known items
t = torch.tensor(truth.toarray() > 0, device=device).float()
topk = scores.topk(k, dim=1).indices
hits = t.gather(1, topk) # 1 where a top-k item is a true item
n_true = t.sum(1)
users = n_true > 0
recall = (hits.sum(1)[users] / n_true[users]).mean().item()
disc = 1.0 / torch.log2(torch.arange(2, k + 2, device=device).float())
dcg = (hits * disc).sum(1)
idcg = torch.stack([disc[: int(min(n, k))].sum() if n > 0 else torch.tensor(1.0, device=device)
for n in n_true])
ndcg = (dcg / idcg)[users].mean().item()
return recall, ndcg
Validate the metric on a toy case before trusting it. One user, six items, truth = items 2 and 4, top-2 = items 0 and 2. My run returns recall 0.5 and NDCG 0.3869, and the hand calculation agrees: DCG = 1/log2(3) = 0.6309, IDCG = 1 + 1/log2(3) = 1.6309, ratio 0.3869. A perfect ranking returns 1.0 and 1.0.
For the final test evaluation, exclude both training and validation items. The dense score matrix is fine for MovieLens-100K; on larger datasets, score users in batches.
Step 6: Compare Against Baselines
A recommender without baselines tells you nothing. Two are enough to start:
# 1. Popularity: recommend the most-interacted items to everyone
pop = np.asarray(train_csr.sum(0)).ravel()
@torch.no_grad()
def eval_popularity(exclude, truth, k=20):
scores = torch.tensor(np.tile(pop, (n_users, 1)), dtype=torch.float, device=device)
scores[torch.tensor(exclude.toarray() > 0, device=device)] = -float("inf")
t = torch.tensor(truth.toarray() > 0, device=device).float()
hits = t.gather(1, scores.topk(k, dim=1).indices)
n_true = t.sum(1); u = n_true > 0
return (hits.sum(1)[u] / n_true[u]).mean().item()
# 2 & 3. Matrix factorization (layers=0) versus LightGCN at depths 1 to 4
for L in [0, 1, 2, 3, 4]:
m = train_model(layers=L, epochs=60)
print(f"layers={L}: recall@20, ndcg@20 =", evaluate(m, A_hat, exclude=train_csr + to_csr(val),
truth=to_csr(test), k=20))
Measured on the test split, excluding training and validation items:
| Model | Recall@20 | NDCG@20 |
|---|---|---|
| Random | 0.0109 | - |
| Popularity | 0.1224 | - |
| LightGCN, 0 layers (matrix factorization) | 0.1769 | 0.0995 |
| LightGCN, 1 layer | 0.1764 | 0.0960 |
| LightGCN, 2 layers | 0.1748 | 0.0930 |
| LightGCN, 3 layers | 0.1660 | 0.0895 |
| LightGCN, 4 layers | 0.1575 | 0.0854 |
Both models crush popularity by about 45%, and then the graph makes things worse. Each added layer costs accuracy, and the runtime climbs with it: 16 s at zero layers, 54 s at one, 97 s at two, 143 s at three, 184 s at four for 100 epochs.
That single table is the result I did not expect, so I tried to break it three ways: more epochs, more seeds, and the paper's own split protocol.
The Split Decides the Winner
First, the depth sweep is one seed at 100 epochs, which is not enough to be confident. Three seeds, 200 epochs, two split protocols:
| Protocol | Epochs | Matrix factorization (0 layers) | LightGCN (3 layers) |
|---|---|---|---|
| Time split | 100 | 0.1845 ± 0.0077 | 0.1638 ± 0.0051 |
| Time split | 200 | 0.1931 ± 0.0116 | 0.1836 ± 0.0015 |
| Random split | 200 | 0.3355 ± 0.0035 | 0.3483 ± 0.0033 |
The random split reverses the answer. With test interactions drawn at random, three-layer LightGCN beats matrix factorization by 0.0128 recall@20 and 0.0064 NDCG@20, and the two seeds do not overlap. With a time-based split - train on the past, test on the future - matrix factorization is ahead by 0.0095 at 200 epochs, though its spread (0.180-0.200) overlaps LightGCN's (0.182-0.185), so call that a tie with an edge to the simpler model.
Three things follow, and they matter more than the model code:
- A random split flatters propagation. Test edges are concurrent with training edges, so the graph already contains collaborative evidence about them. A time split is what deployment looks like, and there the graph bought nothing.
- LightGCN needs more epochs to converge. At 100 epochs it is clearly behind (0.1638 vs 0.1845). At 200 epochs it closes most of the gap. Reporting one epoch budget is how you accidentally conclude that a model "doesn't work".
- The cost is real. At 200 epochs, three-layer LightGCN took 283 s against 51 s for matrix factorization on the same machine - about 5.6× the compute for a result that only wins under one of the two protocols.
Why Three Layers Cover 93% of the Catalog
There is a mechanical reason the extra layers hurt here, and you can measure it before training anything. Walk the bipartite graph from each user and count how much of the catalog the k-hop neighbourhood touches:
| Hops | Median share of the 1,357-item catalog | Mean |
|---|---|---|
| 1 | 2.3% | 3.3% |
| 2 | 2.3% | 3.3% |
| 3 | 92.7% | 91.7% |
At three hops the median user's neighbourhood contains 92.7% of everything on sale. In a bipartite graph, items sit at odd hops only - hop 2 is other users - so the third layer is the one that suddenly mixes in almost the whole catalog. After that, every user's embedding is close to the same global average, and personalization is gone.
This is the over-smoothing the paper warns about, and it is density-dependent. On a uniformly random graph with Gowalla's dimensions and density (29,858 users, 40,981 items, 1,027,370 edges), the same measurement gives 0.08% at one hop and 50.7% at three. Half the catalog instead of nearly all of it - which is why the paper's four-layer setting can help there and hurts here.
So compute the receptive field before you pick a depth. If three hops already covers most of your catalog, use fewer layers.
What Numbers Should You Expect?
Don't expect the paper's numbers on MovieLens-100K. The paper reports Gowalla, Yelp2018 and Amazon-Book - tens of thousands of users and items, density around 0.0008 - and claims about a 16% relative improvement over NGCF on average. On Gowalla with four layers it reports recall@20 of 0.1830 against NGCF's 0.1570, a 16.56% relative gain.
Replication is messier than the headline. A 2023 study that reproduced LightGCN found its own 3-layer Gowalla run at 0.1807, about 0.88% below the original, with 4 layers at 0.1806. It still beat NGCF, but not by the published margin. The same study found that normalization choice matters: symmetric L1 normalization cut Gowalla from 0.1807 to 0.1700 and Yelp2018 from 0.0643 to 0.0623, while raising Amazon-Book from 0.0416 to 0.0424.
My MovieLens-100K numbers (0.18-0.35 recall@20) are not comparable to the paper's, because the dataset, density, split and negative sampling all differ. Report your setup, seeds and splits rather than quoting a paper's table.
Beyond Accuracy
A top accuracy score does not make a good recommender. The same 2023 study compared LightGCN against APPNP-style propagation and found APPNP ahead on NDCG@20 but not on diversity - a direct demonstration that one metric hides the trade-off. Check at least:
- Diversity: do recommendations spread across many items, or repeat the same hits?
- Coverage: what fraction of the catalog ever appears?
- Popularity bias: do you recommend only blockbusters? On MovieLens-100K, popularity alone scores 0.1224 recall@20, so the floor is high.
- Fairness: do different user groups get comparable quality?
- Cold start: how does it treat the 67 test items that never appeared in training?
Limits of LightGCN
- No cold start. Embeddings exist only for users and items seen in training. New ones need a fallback, like popularity or a content model.
- No side information. Pure ID embeddings ignore genres, text, images and context, which hybrid models can use.
- Implicit feedback only. BPR assumes an interaction means preference, but a click is not always a like.
- Scale. Full-graph propagation costs memory and time on large graphs; sampling or mini-batch propagation is the usual answer.
- Static snapshots. Behaviour changes, so you must retrain, and feedback loops can reinforce what you already show.
- Depth is a hyperparameter you must measure, not a constant you copy from a paper.
Common Pitfalls
- Leaking validation or test edges into the propagation graph. Build the adjacency from training edges only.
- Using a random split for time-ordered data. It changed my conclusion by 0.16 recall@20 - report both.
- Skipping the popularity baseline. It scores 0.1224 here; a model that cannot beat it is broken.
- Sampling a few negatives for evaluation. Full ranking over the catalog is the honest protocol.
- Forgetting to exclude training items from the candidate list, which inflates every metric.
- Tuning on the test set. Pick the epoch by validation recall; my runs differ by up to 0.02 across seeds.
- Reporting one seed. Three seeds moved matrix factorization between 0.180 and 0.200.
- Stacking layers without measuring the receptive field. Four layers cost 0.019 recall here and 168 s of extra runtime.
- Copying benchmark numbers without checking splits and preprocessing. The 2023 reproduction found the same model scoring 0.88% below the original on identical data.
- Passing int8 category codes to
torch.tensor. It raisesIndexError, and the message does not mention pandas.
Best Book to Read
| Cover | Book | Description | Get it |
|---|---|---|---|
![]() |
Recommender Systems: The Textbook | covers matrix factorization, ranking metrics and evaluation protocols properly, which is the half of this problem that decides whether your graph model looks good or bad. | View on Amazon |
As an Amazon Associate I earn from qualifying purchases. Links on this page are affiliate links, and I may earn a commission at no extra cost to you.
Read the evaluation chapters before the model chapters. The code in this article is 80 lines; the split protocol that flips its conclusion is four lines, and the book explains why that is the part to get right.
Wrapping Up
LightGCN works by doing less: learn only embeddings, propagate them linearly over the user-item graph, average the layers, train with a ranking loss. The paper's ablation shows that removing feature transformation and nonlinearity improved NGCF, and layer combination keeps depth from hurting.
The numbers from my run: the depth sweep fell from 0.1769 recall@20 at zero layers to 0.1575 at four, while runtime rose from 16 s to 184 s. Over three seeds and 200 epochs, matrix factorization scored 0.1931 on a time split against 0.1836 for three-layer LightGCN - and on a random split the order reversed, 0.3483 against 0.3355.
So run the script this week, and report both splits and at least three seeds. If propagation helps on your data, you reproduced the paper's core claim. If it doesn't, you learned that your catalog is dense enough that three hops reaches 93% of it - and a plain matrix factorization will serve you fine. For the wider picture of what message passing buys you, see GCN vs GraphSAGE vs GAT and Graph Neural Networks Explained.
Frequently Asked Questions
What is LightGCN and why is it simpler than NGCF?
LightGCN keeps only neighborhood aggregation from a graph convolution. It removes feature transformation and nonlinear activation, so the only trainable parameters are the layer-0 user and item embeddings, and it averages the output of every layer before scoring. In the paper's ablation on Gowalla, removing both operations raised recall@20 from 0.1547 to 0.1742.
Does LightGCN beat matrix factorization?
It depends on your split. On MovieLens-100K at 200 epochs, plain matrix factorization (zero propagation layers) scored 0.1931 recall@20 against 0.1836 for three-layer LightGCN on a time split, but three-layer LightGCN won on a random split, 0.3483 against 0.3355. The same code, two protocols, opposite conclusions.
How many layers should a LightGCN have?
Measure the receptive field before you choose. On MovieLens-100K the median user reaches 2.3 percent of the catalog in one hop and 92.7 percent in three, so extra layers add almost nothing but noise, and recall@20 fell from 0.1769 at zero layers to 0.1575 at four. On sparser graphs each hop adds less, which is why the paper finds four layers useful on Gowalla.
Why does my LightGCN code throw an IndexError on the user ids?
Because pandas category codes are int8, and torch.tensor preserves that dtype, so embedding lookup rejects it with "tensors used as indices must be long, int, byte or bool". I hit this exact error. Cast the arrays with torch.as_tensor(x, dtype=torch.long) before indexing.
Should I use a random split or a time split for recommender evaluation?
Report both. A random split scored 0.3355 for matrix factorization and 0.3483 for LightGCN on MovieLens-100K, while a time split scored 0.1931 and 0.1836. The random split is easier because test interactions are concurrent with training data, and it is the only one of the two that makes the graph look useful.
Sources
[1]He et al., LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation - the ablation table, the 16% claim, and the Gowalla results quoted above: arxiv.org[2]Wang et al., Neural Graph Collaborative Filtering - NGCF, the model LightGCN strips down, and the baseline it is compared against: arxiv.org[3]Purificacao et al., LightGCN: Evaluated and Enhanced - the 2023 reproduction, including the 0.1807 replicated Gowalla result, the normalization comparison and the APPNP diversity finding: arxiv.org[4]LightGCN-PyTorch - the authors' reference implementation and its documented--lr=0.001 --decay=1e-4 --layer=3 --recdim=64Gowalla command, archived and read-only: github.com[5]GroupLens, MovieLens 100K Dataset - 100,000 ratings from 943 users on 1,682 movies, the dataset used for every experiment here: grouplens.org
