Node affinity prediction in the Temporal Graph Benchmark (TGB) asks how a node's future interactions will be distributed over other nodes. On this task, methods that reuse past ground-truth labels often outperform temporal graph neural networks, and the state of the art builds on them. Such comparisons assume a point-in-time correct evaluation, in which a model receives only information available at prediction time. Drawing on as-of joins and bitemporal databases, we formalize this requirement by distinguishing when a label must be predicted, its query time, from when it is fully determined, its availability time, and we audit the four TGB node affinity datasets and their evaluation loop with model-agnostic tools. None of the four meets it. On three datasets, each label summarizes a single day about five days after its timestamp, not the documented following week, yet the loop feeds it back right after that timestamp; on the fourth, the loop processes the edges from which each label is computed before predicting it. Under a drop-in leakage-free protocol, every method whose inputs leak loses up to 17% of its NDCG@10, the advantage of past labels over the interaction stream nearly vanishes or reverses, and both the best configuration of the state of the art and the rankings change; a blend of training-free long-memory statistics, with weights fit on validation data, matches or exceeds the state of the art under both protocols. Point-in-time correctness should therefore be built into benchmarks, and our tools carry over to other benchmarks whose labels aggregate event streams over time windows.
Figures & tables
Figure 1. Temporal leakage in TGB: (a) label-side leakage on tgbn-reddit; (b) edge-side leakage on tgbn-trade.
Dataset
#Nodes
#Edges
#Steps
Interval
Window
tgbn-trade
255
468,245
32
Yearly
1 year
tgbn-genre
1,505
17,858,395
133,758
Daily
1 week
tgbn-reddit
11,766
27,174,118
21,889,537
Daily
1 week
tgbn-token
61,756
72,936,998
2,036,524
Daily
1 week
Table 1. TGB node affinity datasets ( Huang et al., 2023 ) ; #Steps: number of unique timestamps.
Form
Cond.
Mechanism (Alg. 1 )
Exploited by
Same-timestamp edges
(i)
Cannot trigger the prediction, so all are processed before it (lines 7 and 18 )
Methods that aggregate recent edges
Batch-boundary edges
(i)
Edges stamped after tq in the triggering batch and in the rest of the previous one are processed first (lines 7 and 18 )
Methods that aggregate recent edges
Early label release
(ii)
Labels are fed back right after evaluation, before ta (line 15 )
Methods that consume past labels
Table 2. Forms of temporal leakage in the TGB evaluation loop.
Figure 2. Label-window probe on the four TGB node affinity datasets. Four panels, one per dataset, plotting similarity and coverage against the offset from the label stamp. The daily datasets show a single sharp peak five days after the stamp, near the end of the shaded documented week instead of a plateau across it; tgbn-trade peaks at offset zero. An orange bar above each panel marks the recovered label window.
Dataset
Label window
ta−tq
Look-ahead
nˉ=
nˉ>
max δ
Forms
trade
[t,t+1) yr
1 yr
none
19,126
0
0
S
genre
[t+5,t+7) d †
7 d
5–6 d
1.6
99.8
2.3 h
E ∗ , B, S
reddit
[t+5,t+6) d
6 d
5 d
0.7
90.9
6.1 min
E ∗ , B, S
token
[t+5,t+6) d
6 d
5 d
3.5
108.2
2.8 min
E ∗ , B, S
Table 3. Audit summary on the test split. Forms: S same-timestamp edges, B batch-boundary edges, E early label release; ∗ not reported before, to our knowledge.
tgbn-trade
tgbn-genre
tgbn-reddit
tgbn-token
Method
Orig.
LF
Δ
Orig.
LF
Δ
Orig.
LF
Δ
Orig.
LF
Δ
Label-based
PF
0.855
0.855
0.0
0.357
0.311
− 12.9
0.369
0.308
− 16.5
0.430
0.362
− 15.7
MA
0.823
0.823
0.0
0.509
0.476
− 6.5
0.559
0.531
− 5.0
0.508
0.451
− 11.3
EMA ( β=0.95 )
0.725
0.725
0.0
0.530
0.511
− 3.6
0.572
0.555
− 2.9
0.486
0.440
− 9.4
Label blend
0.858
0.858
0.0
0.532
0.511
− 4.0
0.576
0.555
− 3.7
0.513
0.451
− 12.0
Table 4. Test NDCG@10 under the original (Orig.) and leakage-free (LF) protocols; † reported in ( Feldman et al., 2026 ) . Other NAVIS scores average three seeds.
Figure 3. Advantage of past labels over edges under the original and leakage-free protocols.
Method
trade
genre
reddit
token
PF
6 → 6
8 → 8
8 → 8
8 → 8
MA
7 → 7
7 → 7
5 → 7
4 → 2
EMA ( β=0.95 )
8 → 8
3 → 4
3 → 2
5 → 6
Label blend
5 → 5
2 → 4
2 → 2
1 → 2
NAVIS (label mode)
4 → 1
4 → 6
4 → 6
1 → 7
NAVIS (edge mode)
3 → 1
6 → 3
7 → 5
7 → 5
Table 5. Ranks under the original and leakage-free protocols (Orig. → LF); ties at three decimals share a rank.
Figure 4. Test NDCG@10 of single channels by memory length without leakage.
Check
Who
Violated in TGB
How to check
Each label states its window and availability time
B
all; documented window wrong for genre, reddit, token
label-window probe (Section 3.1 )
Labels become inputs only at their availability time
B
genre, reddit, token
delayed release (Section 3.3 )
Only edges stamped before tq are processed before predicting at tq
Temporal knowledge graph (TKG) forecasting has advanced remarkably in recent years. Yet we found existing benchmarks inadvertently introduce a shortcut: For a subset of test queries, models can achieve optimal evaluation metrics without using any time information. We trace this to two pieces of evidence: inherent dataset biases and an overly simplistic task formulation that allows models to exploit biases, revealing fundamental flaws in current evaluation protocols for differentiating true forecasting ability. Moreover, existing datasets rely on fixed history that poorly reflects real-world dynamics, lack semantic context, and fail to explicitly mitigate shortcut, preventing thorough assessment of forecasting abilities. To address these, we propose TKGB, a comprehensive benchmark for evaluating the capability of TKG forecasting models. By integrating four complementary tasks with an automatic pipeline for constructing up-to-date and context-enriched TKG datasets with controllable shortcuts, TKGB reveals capability differences and failure modes hidden under conventional evaluation.
Jiasheng Zhang, Zhengpin Li, Hao Li +3
Xidian University, China, Xi’an · Peking University, China, Peking · University of Electronic Science and Technology of China, China, Chengdu +1
Temporal graph networks suffer from irregular supervision in realworld dynamic graphs, as most minibatches contain few labeled events. The lack of labels leads to high-variance gradient updates and, consequently, slow wall-clock convergence. To constructively reduce sparsity, our Moving-Averaged Labels (MAL) assigns soft pseudo-targets based on past supervised signals using a running label distribution while leaving the loss and the model architecture unchanged. Thus, supervision gaps are replaced with informative signals independent of a temporal graph model and the message passing or memory components used. Theoretical analysis supports our insight that aggregating historical supervision into moving average targets reduces stochastic gradient variance, yielding faster convergence under mild assumptions. Experimentally, for TGNv2 and DyRepv2 (our modification of DyRep) models, MAL boosts predictive performance, establishing a new SOTA, and improves time-to-accuracy (on average 6x faster to reach the top score) for a common suite of Temporal Graph Benchmark datasets.
Alexander Panyshev, Dmitry Vinichenko, Oleg Travkin +2
Risk AI Research Lab Moscow Independent Research Institute of Artificial Intelligence Moscow, Russia · Risk AI Research Lab Moscow, Russia · Risk AI Research Lab Applied AI Institute Moscow, Russia
Temporal graph learning models the evolution of dynamic systems, where both structural interactions and semantic states change over time. However, existing benchmarks primarily emphasize structural evolution via temporal link prediction (TLP), while support for semantic evolution remains limited. Although temporal node classification (TNC) is sometimes included, it is typically restricted to simplistic binary settings that fail to capture realistic semantic drift. Moreover, commonly used datasets exhibit high link repetition, leading to inflated performance estimates and obscuring true model capability. To address these limitations, we introduce TTGBench, a new benchmark that jointly evaluates structural and semantic evolution. TTGBench comprises six real-world, text-rich datasets characterized by Dual Volatility, enabling rigorous and fair evaluation of existing models. Notably, it is the first benchmark to support both multi-class and multi-label TNC, filling a critical gap in evaluating temporal semantic drift. We conduct a comprehensive evaluation of 17 state-of-the-art methods across Temporal Graph Neural Networks (TGNNs) and Large Language Model (LLM)-based paradigms. The results reveal a clear capability divide between the two paradigms: TGNN-based methods excel at structural prediction but fail at semantic tracking, whereas LLM-based predictors show the opposite trend. Through in-depth analysis, we uncover their fundamental limitations and provide insights for developing more comprehensive temporal graph models.