Introduction
Dynamic graph learning focuses on networks that evolve over time, where edges represent timestamped events rather than static connections. Applications range from social network analysis to recommendation systems. Most state-of-the-art models, such as TGN or GraphMixer, utilize a "recency bias," representing nodes based on their most recent interactions. However, this approach often overlooks repeat behavior—a fundamental pattern in human and systemic interactions. For instance, a past interaction with a specific entity may be more predictive of future behavior than a more recent, but unrelated, event.
The Core Innovation: Repeat-Aware Neighbor Sampling
Existing sampling strategies often obscure the temporal patterns of recurring interactions by mixing them with unrelated recent events. To address this, the authors introduce a Repeat-Aware Neighbor Sampling Strategy (NSS). Instead of simply taking the $k$ most recent neighbors, this strategy identifies when a pair of nodes $(u, v)$ last interacted and samples the neighbors active just before that historical event. This captures the specific network context or "pre-conditions" that led to the repeat behavior.
The RepeatMixer Framework
The proposed RepeatMixer framework integrates this sampling strategy into a robust architecture designed for efficiency and accuracy. It consists of three primary components:
- Multi-Order Sampling: The NSS is applied to both first-order and high-order (neighbors of neighbors) structures, capturing the evolving local topology during past repeat events.
- MLP-Mixer Encoder: Moving away from computationally intensive Transformers or RNNs, RepeatMixer employs an MLP-based architecture. This encoder fuses node features, edge features, and time-interval encodings to capture long-term dependencies between nodes.
- Time-Aware Adaptive Aggregation: The model uses the Pearson Correlation Coefficient (PCC) to calculate the significance of different temporal patterns. It then adaptively merges representations from different neighbor orders based on their relevance to the current prediction task.
Experimental Evaluation
RepeatMixer was evaluated against eight real-world datasets, including Wikipedia, Reddit, and large-scale benchmarks from the Temporal Graph Benchmark (TGB). These datasets vary significantly in their "repeat ratio," with some showing recurring interactions in over 90% of test cases.
Key Results
- State-of-the-Art Performance: RepeatMixer achieved Rank 1.0 across nearly all datasets in both transductive and inductive link prediction tasks. On the LastFM dataset, it improved Average Precision (AP) by over 12% compared to standard TGN.
- Generalizability: The Repeat-Aware NSS is model-agnostic. When integrated into existing models like TGN and TCL, it provided substantial performance boosts, such as a 20.99% AP increase for GraphMixer on LastFM.
- Scalability: On massive datasets like
tgbl-review-v2, RepeatMixer significantly outperformed previous leaders like DyGFormer (51.37 vs. 22.39 AP), demonstrating its effectiveness at scale.
Conclusion
By shifting the focus from simple recency to historical repeat patterns, RepeatMixer provides a more nuanced and effective way to model dynamic graphs. The combination of repeat-aware sampling and an efficient MLP-Mixer architecture allows the model to capture critical temporal contexts that traditional methods miss, setting a new benchmark for dynamic link prediction.
Summary updated