Recency-Aware and Efficient Subgraph-Based Link Prediction on Continuous-Time Dynamic Graphs
Abstract
ReSEAL is a modular extension of TGN-SEAL that addresses its computational inefficiency and lack of temporal awareness in subgraph representations.
TGN-SEAL combines the node memory of Temporal Graph Networks (TGNs) with SEAL's subgraph-based link prediction and performs well on sparse communication networks.
We evaluate ReSEAL's independently configurable components using a Transformer-based variant of TGN-SEAL.
We first profile the training pipeline and find that subgraph extraction and labeling account for 87-89% of training time, with Double-Radius Node Labeling (DRNL) alone accounting for approximately 40%.
Replacing DRNL with dense tensor operations preserves labels exactly and reduces epoch time by 21-25%.
To incorporate temporal information, we introduce an exponential decay mechanism that scales node representations according to the age of their most recent interaction within the subgraph.
We derive the decay rate from a Hawkes process fitted to the training data, which reveals self-exciting dynamics in email streams even after accounting for weekly periodicity.
This mechanism improves inductive average precision on all four datasets, although the gain is marginal on one.
We further introduce a Transformer-based link scorer, a focal loss adapted to local subgraph density, and an attention-based message aggregator.
Together with temporal decay, these components outperform TGN-SEAL in seven of eight evaluation settings.
We also report a negative result: reciprocity-aware subgraph caching serves about two-thirds of subgraph lookups yet reduces training time by less than 5% and yields no accuracy gain when combined with the other components, indicating that the training cost lies elsewhere.