Abstract
Modeling dynamic networks where links persist over time remains a challenge for traditional graph representation learning. We present GRAS$^2$P (Graph Representation with Sequential Survival Process), a framework that treats link lifecycles as alternating states of presence and absence. By employing survival analysis and piecewise linear latent trajectories, GRAS$^2$P accurately captures the temporal evolution of intermittent edge-persistent networks, outperforming state-of-the-art baselines in link prediction and reconstruction tasks.
Introduction
Real-world networks, from social interactions to biological systems, are inherently dynamic. A critical feature of these networks is persistence: links are not instantaneous events but exist over specific durations. Most existing models either discretize time into static snapshots, losing fine-grained temporal information, or treat links as point processes (e.g., Hawkes processes), which fail to account for the duration of an interaction.
GRAS$^2$P addresses this gap by explicitly modeling the "intermittent edge-persistent" patterns of links. By focusing on how long a link stays active and how long it remains dormant, the model provides a more nuanced representation of network dynamics.
Methodology: The Sequential Survival Process
The core innovation of GRAS$^2$P is the Sequential Survival Process. For any node pair $(i, j)$, the model tracks a binary state $y_{ij}(t) \in \{+1, -1\}$, representing the presence or absence of a link.
Hazard Functions and Latent Distance
The transition between states is governed by a hazard function $\lambda_{ij}(s, t)$, which represents the instantaneous rate of state change. This function is tied to the distance between nodes in a latent space:
- Link State ($+1$): Nodes are incentivized to remain close to minimize the hazard of the link dissolving.
- No-Link State ($-1$): Nodes move apart, reflecting a low probability of immediate re-engagement.
Piecewise Linear Trajectories
To model fluid movement in the latent space, GRAS$^2$P uses piecewise linear approximations. The timeline is partitioned into bins, with nodes assigned specific velocities within each interval. This approach allows for complex trajectories while maintaining mathematical tractability during inference, which is performed by maximizing the log-likelihood of observed state durations.
Experimental Evaluation
The model was evaluated on several datasets, including synthetic benchmarks (Synthetic-$\alpha$, Synthetic-$\beta$) and real-world contact networks (Facebook, NeurIPS, Contacts, HyperText, Infectious). These contact networks are particularly valuable as they record the actual durations of physical proximity between individuals.
Results and Discussion
GRAS$^2$P demonstrates significant improvements over both static (e.g., Node2Vec) and continuous-time (e.g., HTNE, TGN) baselines.
Network Reconstruction and Link Prediction
In network reconstruction tasks on the Contacts dataset, GRAS$^2$P achieved an AUC-ROC of 0.825, a substantial margin over the next best competitor, HTNE (0.528). The model also excels in link prediction, particularly for node pairs with intermittent histories, by effectively modeling the "silence" between interactions.
Latent Space Visualization
The piecewise linear trajectories provide intuitive visualizations of network evolution. As shown in Figure 1, the model successfully captures the dynamics of the Synthetic-$\beta$ dataset, where clusters of nodes move together during periods of high connectivity and disperse as links dissolve.
Conclusion
GRAS$^2$P introduces a robust framework for continuous-time graph representation by leveraging survival analysis. By modeling the durations of both link presence and absence, it captures the underlying geometry of dynamic networks more effectively than event-based models. Future work will focus on scaling the model to larger networks and extending the framework to directed and weighted graphs.
Summary updated