TL;DR
Current evaluation protocols in Temporal Link Prediction (TLP) suffer from fundamental flaws: sampled ranking metrics are statistically inconsistent, hard negative sampling distorts model comparisons, and aggregating scores across source nodes skews results due to degree imbalances. Drawing lessons from decades of recommender systems research, this paper reveals that benchmark leaderboards in TLP often reward dataset artifacts and sampler biases rather than genuine algorithmic progress.
What Problem Does This Paper Address?
Evaluating Temporal Graph Neural Networks (TGNNs) is notoriously difficult. Because continuous-time dynamic graphs continuously update node embeddings, computing a full-scale ranking over all candidate nodes at every timestamp is computationally prohibitive. To work around this scalability bottleneck, the community has relied on shortcut evaluation protocols:
- Evaluating ranking metrics on a small sampled set of negative edges rather than the full graph.
- Injecting "hard" negative samples to prevent binary classification metrics from saturating at near-perfect scores.
- Pooling predictions across all source nodes into single global metrics like ROC-AUC or Average Precision (AP).
While convenient, these practices inherit well-known pitfalls from recommender systems evaluation. The authors investigate whether current TLP benchmarks actually measure true model capabilities or simply reflect evaluation artifacts.
Methods
Rather than introducing another graph neural network, this work provides a meta-evaluation of TLP benchmarking protocols:
- Transferring RecSys Theory to TLP: The authors map analytical findings on sampled metrics (such as Krichene & Rendle’s proof that sampled top-$k$ metrics are inconsistent) to dynamic graph evaluation.
- Granularity & Heuristic Comparison: They compare local heuristics (tracking per-node recency and frequency) against global heuristics (dataset-wide frequency) under both full-ranking and sampled-ranking conditions.
- Cross-Sampler Rank Correlation: They calculate Spearman rank correlations across models evaluated under different negative sampling strategies (historical, random, inductive) to test whether model rankings remain stable.
- Source-Node Disaggregation Analysis: They demonstrate how pooling edges across high- and low-degree nodes distorts global ranking scores compared to per-query metrics.
Datasets
The authors analyze evaluation designs across five standard TLP benchmarks and libraries: DGB, TGB, BenchTemp, TGB-Seq, and DyGLib.
Specific datasets evaluated in their empirical analyses include:
- Yelp (from TGB-Seq): Used to assess full vs. sampled Mean Reciprocal Rank (MRR).
- tgbl-review (from TGB): An Amazon product review dataset with a 98.7% "surprise index" (only 1.3% of edges repeat).
- 13 dynamic graph datasets from DGB: Including Can. Parl., Contact, Enron, Flights, LastFM, MOOC, Reddit, Social Evo., UCI, UN Trade, UN Vote, US Legis., and Wikipedia.
No new datasets are introduced.
Key Insights and Ideas
- Sampled MRR Induces Simpson's Paradox: On the Yelp dataset, local heuristics and global heuristics each show strong internal positive correlations between sampled and full MRR ($r \approx 0.86$ and $0.94$). However, when evaluated together, the overall correlation flips to negative ($-0.15$). A model's apparent edge over another under sampled MRR can completely invert under full evaluation.
- Model Rankings Are Unstable Across Negative Samplers: Changing how negative samples are chosen does not merely shift performance downward uniformly—it shuffles the leaderboard. A model that wins under uniform random sampling often loses under historical or inductive negative sampling.
- The "Surprise Index" Bias Trap: In datasets like
tgbl-review, 98.7% of edges never recur. When benchmarks use historical interactions as "hard negatives," a trivial heuristic that simply downweights seen edges scores artificially high, while GNNs that assign high representation similarity to past interactions are heavily penalized. - Cross-Node Aggregation Obscures Query Performance: Real-world networks exhibit power-law degree distributions. Aggregating edge predictions across the entire graph implicitly assumes equal base connection probabilities across nodes. A model can achieve a perfect filtered rank for every query ($Hits@1 = 1.0, MRR = 1.0$), yet register abysmal aggregated scores ($ROC\text{-}AUC = 0.36$) simply because negative edges from frequent "hub" nodes outscore true edges of low-degree nodes.
Key Results
- Spearman Rank Correlations Across Samplers: Evaluating seven models across 13 datasets under three negative sampling strategies revealed that only 8 out of 39 rank correlations approached 0.9. In multiple datasets, correlations were negative (e.g., Flights at $-0.10$ and $-0.22$; LastFM at $-0.11$ and $-0.23$; Enron at $-0.27$), demonstrating that choice of sampler can completely invert relative model rankings.
- Full vs. Sampled MRR Divergence: Full MRR and sampled MRR achieved an overall Spearman correlation of $-0.15$ across heuristic baselines on the Yelp dataset.
Limitations and Future Work
- Computational Cost of Full Ranking: Full-scale top-$k$ inference remains impractical for many continuous-time TGNN architectures, leaving benchmarks reliant on approximations until scalable inference or kNN indexing is integrated into models.
- Limitations of Existing Remedies:
- Unbiased rank estimators often suffer from high variance.
- Uniformly sampled Mean Rank ($\widehat{MR}$) assumes true negatives are strictly uniform, biasing results if true target collisions are filtered out or if hard negatives are used.
- Partitioning protocols like EXHaustive introduce their own inductive biases and scale poorly on dense temporal graphs.
- Ongoing Work: The authors propose developing a covariance-based correction method to debias sampled ranking metrics and creating multi-sampler aggregation frameworks that reduce distortions caused by individual hard-negative sampling schemes.
Summary updated