S3Former: Sequential, Structural, and Statistical Fusion for Continuous-Time Dynamic Graphs
Abstract
Continuous-time dynamic graphs model evolving systems with irregularly timed interactions, where predicting future links requires reasoning over temporal evolution, local topology, and historical relation patterns. Existing memory- and sequence-based methods capture temporal dependencies effectively, but organizing historical interactions as node memories or serialized neighbor sequences can weaken the explicit connectivity among candidate-centered historical context nodes. We propose S3Former, a temporal graph framework that jointly models sequential dynamics, shared pair-centered structure, and online statistical memory. For each candidate interaction, S3Former encodes long- and short-term historical sequences, constructs a history-induced shared pair subgraph around the two endpoints, and computes node- and pair-level statistics from past events only. A two-level context-aware fusion mechanism further combines these signals: NodeCCF learns reliable endpoint representations, while PairCCF performs candidate-specific relation correction using explicit pair memory. Experiments on 9 dynamic graph benchmarks show that S3Former achieves the strongest average rank across the four standard transductive and inductive AP/AUC evaluation settings. Ablation studies confirm the effectiveness of shared pair-subgraph modeling, online statistical memory, and hierarchical fusion.