Machine Learning
New Method Tackles Time-Based Learning Challenges in Network Data
Researchers develop STAMP, a temporal message-passing algorithm that helps machine learning models adapt when training data is older than what they're predicting.
A team of computer scientists has proposed a new approach to address a longstanding challenge in graph machine learning: predicting properties of recent data when training on historical information. Their method, called STAMP (Symmetric Temporal Averaging Message Passing), works by adjusting how information flows through network-structured data to account for changes that occur over time.
The Core Problem#
When models learn from graph data organized by timestamp—where older nodes represent past observations and newer nodes represent recent ones—performance often suffers. This happens because the underlying data distribution changes as time progresses, creating what researchers call "temporal distribution shift." Traditional graph neural networks, which typically aggregate information from neighboring nodes, don't inherently account for these temporal shifts, leading to degraded accuracy when applied to newer data.
How STAMP Works#
Rather than treating all neighboring nodes equally, STAMP balances information propagation across time periods. The method replaces standard neighborhood aggregation with what the authors call "temporally aligned propagation"—essentially ensuring that messages from different timestamps contribute proportionally to predictions. This timestamp-balanced approach maintains what statisticians refer to as first-moment invariance across temporal domains while remaining computationally efficient and straightforward to implement.
The researchers also developed a specialized variant called STAMP-mag for heterogeneous networks, applied specifically to academic citation datasets.
Validation and Performance#
Testing across multiple benchmarks demonstrates consistent improvements. STAMP achieved state-of-the-art results on ogbn-arxiv, a standard graph dataset built from arXiv paper citations, while STAMP-mag performed best on ogbn-mag, another academic network. For the Pokec social network with a newly created temporal split, applying STAMP to existing models consistently boosted accuracy. Importantly, the method relies on transparent, verifiable assumptions—unlike some competing domain adaptation approaches whose validity is difficult to confirm on real networks—and is supported by theoretical justification.