HyperEvent: A Strong Baseline for Dynamic Link Prediction via Relative Structural Encoding
Jian Gao, Jianshe Wu, JingYi Ding
TL;DR
This work addresses the need for a strong yet simple baseline for dynamic link prediction in continuous-time dynamic graphs. It proposes HyperEvent, which uses handcrafted relative structural encoding of recent events and a lightweight Transformer to assess the authenticity of hyper-events, enabling scalable, parallelizable training via segmented event streams. Across five real-world temporal graph datasets, HyperEvent delivers competitive MRR performance with significantly lower complexity and training time than many complex baselines, especially on dense, temporally structured data; it underperforms primarily on highly unpredictable, sparse-context datasets. The findings suggest that carefully designed simple structural priors can yield strong baselines and provide a clear reference point for evaluating future advances in temporal graph representation learning.
Abstract
Learning representations for continuous-time dynamic graphs is critical for dynamic link prediction. While recent methods have become increasingly complex, the field lacks a strong and informative baseline to reliably gauge progress. This paper proposes HyperEvent, a simple approach that captures relative structural patterns in event sequences through an intuitive encoding mechanism. As a straightforward baseline, HyperEvent leverages relative structural encoding to identify meaningful event sequences without complex parameterization. By combining these interpretable features with a lightweight transformer classifier, HyperEvent reframes link prediction as event structure recognition. Despite its simplicity, HyperEvent achieves competitive results across multiple benchmarks, often matching the performance of more complex models. This work demonstrates that effective modeling can be achieved through simple structural encoding, providing a clear reference point for evaluating future advancements.
