Abstract
Predicting future links in dynamic networks is a fundamental challenge due to the complex interplay between structural evolution and temporal dependencies. This paper presents GRL_EnSAT, a novel graph representation learning framework that decouples structural and temporal information. By leveraging Graph Attention Networks (GAT) for local neighborhood patterns, pure self-attention for global structural identity, and masked self-attention for temporal dynamics, the model overcomes common pitfalls like recency bias and fixed-weight decay. Evaluations on four real-world datasets show that GRL_EnSAT consistently outperforms state-of-the-art methods, achieving higher accuracy and stability across varying time horizons.
Introduction
Most real-world networks—ranging from social media interactions to biological signaling—are inherently dynamic. Nodes and edges appear and disappear over time, making future state prediction a core challenge. Existing methods often struggle with two primary issues: recency bias, where models over-prioritize new data at the expense of relevant historical patterns, and structural imbalance, where models fail to find the optimal mix of local and global neighborhood information without extensive manual tuning. GRL_EnSAT addresses these by "intelligently" learning the most significant structural features and temporal moments for prediction.
Methodology
The GRL_EnSAT architecture is structured into two primary components: the Structural Block and the Temporal Block.
Structural Block
This block captures the spatial characteristics of the network at each time step:
- Local Structural Layer: Utilizes a multi-head Graph Attention Network (GAT) to learn representations from a node's immediate neighbors.
- Global Structural Layer: Employs a Pure Self-Attention mechanism, allowing nodes to gather information from the broader network. This captures "structural identity" from nodes that may not be directly connected but share similar roles.
Temporal Block
To avoid the vanishing gradient and "forgetting" issues associated with recursive models like RNNs or LSTMs, the authors implement Masked Self-Attention. This layer treats the sequence of graph snapshots holistically, allowing the model to flexibly weigh any past time step against another without assuming a simple linear decay of importance over time.
Prediction
Final node embeddings from different time steps are concatenated and processed through a logistic regression layer to determine the probability of future link formation.
Experimental Setup
The model was evaluated on four diverse real-world dynamic network datasets: Enron (email communication), Fb-forum (social interaction), Dept (institutional email), and UCI (student message network). These datasets vary in size from 143 to 1,809 nodes, providing a robust test for the model's stability.
Results and Discussion
GRL_EnSAT consistently outperformed established baselines, including Node2vec, DyAERNN, and DySAT.
Key Performance Metrics
The model improved the Area Under the Curve (AUC) by up to 4 percentage points and the Mean Average Precision (MAP) by up to 1.2 percentage points compared to the best-performing baselines. Ablation studies highlighted that the temporal attention layer is particularly critical; its removal led to a drop in AUC of up to 20 percentage points in certain datasets.
Insights on Stability and Configuration
Unlike some baselines that degrade as historical data increases, GRL_EnSAT maintains stable or improved performance with more snapshots. The optimal configuration was found to be 8 attention heads with an embedding dimension of 128, balancing complexity and computational efficiency. The use of self-attention across both spatial and temporal dimensions effectively bypasses the limitations of fixed-weight decay and recursive bottlenecks.
Conclusion
GRL_EnSAT demonstrates that decoupling structural and temporal learning through attention mechanisms significantly enhances dynamic link prediction. While the model currently relies on discrete "snapshots," which can lead to information loss, it provides a robust foundation for future work. Moving toward continuous-time data formats with finer temporal granularity is a promising direction to further improve accuracy in high-velocity networks.
Summary updated