[Paper Review] Modeling Dynamic Heterogeneous Network for Link Prediction using Hierarchical Attention with Temporal RNN
This paper proposes DyHATR, a dynamic heterogeneous network embedding method that uses hierarchical attention to capture node and edge heterogeneity and temporal attentive RNN (GRU/LSTM) to model evolutionary patterns across network snapshots. DyHATR significantly outperforms state-of-the-art baselines on link prediction across four real-world datasets, demonstrating superior performance in modeling both structural heterogeneity and temporal dynamics.
Network embedding aims to learn low-dimensional representations of nodes while capturing structure information of networks. It has achieved great success on many tasks of network analysis such as link prediction and node classification. Most of existing network embedding algorithms focus on how to learn static homogeneous networks effectively. However, networks in the real world are more complex, e.g., networks may consist of several types of nodes and edges (called heterogeneous information) and may vary over time in terms of dynamic nodes and edges (called evolutionary patterns). Limited work has been done for network embedding of dynamic heterogeneous networks as it is challenging to learn both evolutionary and heterogeneous information simultaneously. In this paper, we propose a novel dynamic heterogeneous network embedding method, termed as DyHATR, which uses hierarchical attention to learn heterogeneous information and incorporates recurrent neural networks with temporal attention to capture evolutionary patterns. We benchmark our method on four real-world datasets for the task of link prediction. Experimental results show that DyHATR significantly outperforms several state-of-the-art baselines.
Motivation & Objective
- To address the challenge of learning both heterogeneous information and evolutionary patterns in dynamic networks.
- To develop a unified framework that captures structural heterogeneity across multiple node and edge types in static snapshots.
- To model long-term temporal evolution in dynamic networks using recurrent neural networks with temporal attention.
- To evaluate the method on real-world datasets for the task of dynamic link prediction.
- To demonstrate scalability and performance gains when incorporating node attributes.
Proposed method
- DyHATR employs a hierarchical attention mechanism with node-level and edge-level attention to model heterogeneity in static network snapshots.
- It uses a temporal attentive RNN (GRU or LSTM) to encode sequential snapshots and learn evolving node representations over time.
- The hierarchical attention module computes attention weights across different node and edge types to prioritize informative structural patterns in each snapshot.
- The temporal RNN integrates attention over time to emphasize important snapshots and capture long-term evolutionary trends.
- Node representations are updated iteratively using both heterogeneous structure and temporal dynamics, with final embeddings used for downstream link prediction.
- The model supports input features including node IDs and optional node attributes, enabling scalability to attributed networks.
Experimental results
Research questions
- RQ1Can a unified deep learning framework effectively model both heterogeneous network structures and temporal evolution in dynamic networks?
- RQ2How does hierarchical attention improve representation learning in heterogeneous static snapshots compared to standard metapath-based methods?
- RQ3To what extent does temporal attention in RNNs enhance the modeling of long-term evolutionary patterns in dynamic networks?
- RQ4How do hyperparameters such as attention heads and embedding dimensions affect performance on dynamic link prediction?
- RQ5Can the inclusion of node attributes further improve link prediction performance in real-world attributed dynamic heterogeneous networks?
Key findings
- DyHATR achieves the highest AUROC of 0.704 on the EComm dataset when using node IDs and additional attributes, outperforming the baseline of 0.690 with only node IDs.
- On the Twitter dataset, DyHATR-TGRU achieves an AUROC of 0.688, significantly outperforming state-of-the-art baselines on dynamic link prediction.
- The combination of temporal attention and GRU/LSTM yields better performance than either component alone, demonstrating the effectiveness of the attentive RNN design.
- Optimal performance is achieved with 4 attention heads in hierarchical attention and 8 in temporal attention, with embedding dimension 32 yielding the highest AUROC.
- Finer snapshot granularity (e.g., one-day intervals) improves performance compared to coarser intervals (e.g., two-day intervals), confirming the benefit of higher temporal resolution.
- Training time is slightly longer than metapath2vec-based methods (579s for DyHATR-TGRU vs. 475s for metapath2vec-GRU), but the performance gain justifies the cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.