Graph neural networks learn about each node by repeatedly passing messages along edges. Two well-known failures limit how far that can go. In over-squashing, information from distant nodes must squeeze through narrow bridges into a fixed-size vector and gets lost. In over-smoothing, repeated neighborhood averaging makes all node vectors look alike. On static graphs the two failures pull against each other: adding shortcut edges relieves the first and worsens the second (On the Trade-off between Over-smoothing and Over-squashing in Deep Graph Neural Networks).
On graphs that change over time, such as transaction streams or review platforms, a third problem appears. A node that has not interacted for a while keeps a stale internal state, because information can only reach it along chronologically ordered paths. Temporal Graph Rewiring with Expander Graphs addresses this by periodically mixing every node's memory over a fixed, sparse, well-connected virtual graph (a Cayley expander). It reports a 50.5% MRR gain over TGN on tgbl-review. That mixing is applied uniformly, though, to the same virtual edges, forever. By the static seesaw result, it should gradually average away the distinct memories of active nodes that were never stale. We propose to measure this effect directly and to fix it with the simplest mechanism that could work. The fix is a mixing step whose strength for each node grows with how long that node has been silent, run over virtual edges that are resampled at each mixing step. The two-sentence version is this: expander mixing helps dormant nodes and harms active ones, so each node should receive only as much mixing as its dormancy warrants. We test whether that targeting, rather than a well-tuned global mixing strength, is what matters.
Core Claim
Our first claim is diagnostic. In temporal graph networks with expander memory mixing, the node memory bank loses diversity over the course of the stream, and that loss is concentrated among frequently active nodes. We will measure diversity as the effective rank of the memory matrix, together with the accuracy of a linear probe that recovers node identity or node community from memory. We will also report Dirichlet energy, the sum of squared memory differences across edges of the real interaction graph within sliding time windows. Following the warning in Are we measuring oversmoothing in graph neural networks correctly? that single-number smoothing metrics can mislead, we will not rely on Dirichlet energy alone.
Our second claim is about mechanism. Let $\Delta_i(t)$ be the time since node $i$'s last event, let $m_i$ be its memory, and let $\bar m_{\mathcal{N}(i)}$ be the mean memory of its current virtual neighbors. We replace uniform mixing with
$$m_i \leftarrow m_i + g(\Delta_i(t))\,\phi\big(\bar m_{\mathcal{N}(i)} - m_i\big), \qquad g(\Delta)=\sigma\big(a\log(1+\Delta)+b\big),$$
where $\phi$ is a small learned map, $\sigma$ is the logistic function, and $a,b$ are two learned scalars. The gate has only two parameters on purpose. The comparison against a single tuned global scalar ($a=0$) then isolates exactly one ingredient: whether mixing depends on dormancy. The virtual neighbors are redrawn at every mixing step from a random regular graph over the node bank. Averaged over time, no fixed pair of nodes is permanently tied together, which should slow homogenization while keeping the short paths an expander provides.
The claim is falsifiable. If a tuned global scalar matches the dormancy gate on both accuracy and memory diversity, the targeting idea is wrong, and we will report that TGR's weakness reduces to a tuning issue.
Relation to Prior Work
The work that motivates us is TGR. It supplies the mixing mechanism we modify and the evidence that temporal staleness is a real bottleneck. It does not monitor memory diversity and does not adapt its virtual edges. Understanding Virtual Nodes: Oversmoothing, Oversquashing, and Node Heterogeneity plays the same motivating role on static graphs. It shows that a uniform global shortcut shortens random-walk commute times but erases node heterogeneity, and that a structure-aware variant ($VN_G$) recovers more than 8% on CIFAR10. We carry that lesson into time, using dormancy rather than structure as the signal for heterogeneity. The trade-off paper's stochastic rewiring (SJLR), which adds edges at bottlenecks and drops edges between similar nodes, is the closest static analogue of what we do. It assumes a fixed graph and changes only training-time topology. Over-squashing in Spatiotemporal Graph Neural Networks shows that spatial and temporal bottlenecks multiply and that causal temporal aggregation over-weights the distant past. It analyzes only fixed sensor grids and never measures smoothing. Our staleness-stratified evaluation is a continuous-time counterpart to its analysis.
Two papers constrain the design. Edge Sparsification via Temporal Forman-Ricci Curvature for Dynamic Graph Learning shows that 80% of edges can be pruned while keeping 97.7% of ROC-AUC. Redundancy therefore dominates dense temporal graphs, and extra message volume is not automatically useful. Todyformer attacks both failures with patching and alternating local and global attention at a much higher compute cost, which sets the bar for a cheap method. We deliberately do not build a bidirectional temporal-curvature rewiring system. Its many moving parts would make it impossible to tell which ingredient helps.
Research Program
The work has three stages. First, we instrument TGN and TNCN, each with and without TGR mixing, to log memory effective rank, probe accuracy, and windowed Dirichlet energy every fixed number of events. We stratify nodes by activity decile. If active-node memories do not lose diversity under TGR, the proposal's premise fails, and we will publish the negative diagnostic.
Second, we implement the dormancy gate and virtual-edge resampling as a drop-in replacement for TGR's mixing step. They add no cost beyond TGR's existing expander propagation, so the method stays linear in edges plus nodes.
Third, we build a controlled synthetic stream. A label planted at a source node must reach a target node that has been silent for a controlled duration, across a controlled number of time-respecting hops. Meanwhile, a separate population of highly active nodes carries node-specific labels that uniform mixing would blur. This lets us vary the dormancy distribution and the long-range requirement independently, which the real benchmarks do not allow.
Baselines
The naive reference points are the non-learning heuristics from Temporal Graph Benchmark for Machine Learning on Temporal Graphs: EdgeBank for link prediction and Moving Average for node affinity. These are not token baselines. On tgbn-reddit, Moving Average reaches NDCG@10 of 0.559 against TGN's 0.315, so any gain we claim on node affinity must clear that heuristic, not just TGN. The "do nothing" neural baseline is the backbone without any mixing, using TGN and TNCN as in TGR. It is run under the standard TGB streaming protocol with the official negative samples.
The strongest competitor on our specific question is TGR itself. It targets staleness in the same model family, reports the largest gain on tgbl-review (+50.5% MRR over TGN, +22.2% over TNCN), and is described as the best result on tgbl-coin, tgbl-comment, and tgbl-flight. The file gives no absolute MRR values for those datasets, so we will rerun TGR from its release and treat our reruns as the reference. On tgbl-wiki the best number in the file is NAT's MRR of 0.749, which we cite as context rather than a target. For cost-matched context we include Todyformer, which reports a 39% MRR gain over the next best model on tgbl-comment. We will report its accuracy and wall-clock time, but we do not expect a mixing tweak to beat a transformer on every dataset. We also include TRicci sparsification applied before TGN, the strongest representative of the view that removing redundancy is enough.
The key ablation is the global-scalar gate: the same resampled mixing with one learned or grid-tuned strength shared by all nodes. We also run the dormancy gate over TGR's fixed Cayley graph, which separates the contribution of resampling from that of gating.
For fairness, every learned variant gets the same backbone, embedding size, number of mixing steps, the same 30-trial hyperparameter search budget, and 5 seeds. Mixing strength for the scalar ablation is searched over the same budget as $a,b$. Beating TGR means a mean MRR gain across the TGB link datasets whose 95% interval excludes zero. It also means a larger gain on queries involving dormant endpoints, with no loss on active-endpoint queries. Beating the scalar ablation means the same pattern, plus higher active-node memory diversity.
Why not just…?
Why not just tune TGR's mixing strength or frequency? This is the most serious alternative, and the design is built to settle it. If homogenization is mild, a smaller uniform strength could trade a little refresh for a little diversity, and that might be enough. The global-scalar ablation gets the same search budget as our gate. Our prediction is specific: any uniform strength strong enough to refresh long-dormant nodes also flattens active ones. The scalar ablation should therefore trace a frontier between dormant-query and active-query MRR that the gate lies above. If the gate sits on that frontier, we concede the point.
Why not just prune redundant edges with temporal curvature instead of adding virtual ones? TRicci's 97.7% retention of ROC-AUC shows pruning removes redundancy cheaply. Pruning cannot deliver information to a node that receives no edges, though, and TGR's gains on the high-surprise tgbl-review suggest dormant nodes matter there. Staleness-stratified MRR for TRicci+TGN against the backbone will show whether pruning helps dormant queries at all. The synthetic stream, where the target is silent by construction, should make the difference unambiguous.
Why not just use a dynamic graph transformer like Todyformer? Attention over each node's history refreshes representations, and Todyformer reports strong results. It scales with the number of recurring active tokens, however. It is also costly on streams like tgbn-token (over 72 million edges), and a node that never reappears gets no new tokens to attend over. We will report accuracy per unit of compute and dormant-stratified MRR. If Todyformer dominates on both at acceptable cost, our contribution narrows to a cheap fix for memory-based models, and we will say so.
Why not just rely on EdgeBank or moving averages? On high-surprise and node-affinity tasks these heuristics are competitive or better, as the tgbn-reddit numbers show. We report them on every dataset. We claim no advantage where they win, and we examine whether the gate narrows the gap specifically on dormant nodes, where recency heuristics carry no fresh information.
Proposed Experiments and Decisive Checks
We will evaluate on tgbl-wiki, tgbl-review, tgbl-coin, and tgbl-comment using MRR, and on tgbn-trade, tgbn-genre, and tgbn-reddit using NDCG@10. tgbl-flight will be included if compute allows. Every link-prediction query will be bucketed by the dormancy of its endpoints at query time.
Four checks decide the outcome. First, the diagnostic: does active-node memory effective rank fall faster under TGR than under the backbone, and is this reproduced by the probe, not only by Dirichlet energy? Second, does TGR's gain over the backbone track each dataset's fraction of dormant endpoints? We expect large gains on review and small or negative gains on wiki. Third, the targeting test: does the dormancy gate beat the global-scalar ablation on active-endpoint queries while matching it on dormant ones? Fourth, on the synthetic stream, does the gate keep active-node label accuracy flat as the number of mixing steps grows while still delivering the planted signal to silent targets? Uniform mixing should fail one of these two conditions.
If the second and third checks come out negative, the conclusion is that expander memory mixing does not suffer from the seesaw in practice. That is itself a useful correction to the static theory's predictions for temporal graphs.
References
- On the Trade-off between Over-smoothing and Over-squashing in Deep Graph Neural Networks
- Temporal Graph Rewiring with Expander Graphs
- Are we measuring oversmoothing in graph neural networks correctly?
- Understanding Virtual Nodes: Oversmoothing, Oversquashing, and Node Heterogeneity
- Over-squashing in Spatiotemporal Graph Neural Networks
- Edge Sparsification via Temporal Forman-Ricci Curvature for Dynamic Graph Learning
- Todyformer: Towards Holistic Dynamic Graph Transformers with Structure-Aware Tokenization
- Temporal Graph Benchmark for Machine Learning on Temporal Graphs