DyLink2Vec: Effective Feature Representation for Link Prediction in Dynamic Networks

Mahmudur Rahman, Tanay Kumar Saha, Mohammad Al Hasan, Kevin S. Xu, Chandan K. ReddyarXiv 2018

Introduction

Predicting future interactions within a network—such as new social connections or research collaborations—is a fundamental task in modern data science. While static network analysis is well-established, real-world networks are dynamic, evolving continuously over time. Capturing this temporal dimension is crucial for accurate link prediction, yet traditional methods often struggle to represent the complex history of node interactions effectively.

The Challenge of Dynamic Networks

Link prediction in dynamic networks involves determining the likelihood of a connection between two nodes at time $t+1$ based on the network's history up to time $t$. A primary challenge lies in feature representation. Static metrics like "Common Neighbors" fail to account for temporal sequences. Simply aggregating snapshots into a single average graph loses the signal of recency; for instance, a recent interaction is typically more predictive of future behavior than a distant one.

A toy dynamic network illustrating how static superimpositions (G123) can obscure temporal nuances like recency.

The DyLink2Vec Framework

Rahman et al. introduce DyLink2Vec, an unsupervised framework that treats feature learning as an optimal coding problem. Unlike node-centric embedding methods, DyLink2Vec generates embeddings for pairs of nodes, directly capturing the joint context necessary for link prediction.

Input Construction

For each node pair $(u, v)$, a high-dimensional feature vector is constructed by combining two key components:

  1. Neighborhood Topology: The sum of adjacency vectors for both nodes across time steps, capturing the shared neighborhood context.
  2. Link History: A weighted record of past interactions, utilizing a time decay function to prioritize recent connectivity.
The construction of node-pair adjacency vectors, aggregating neighborhood information across time steps.

Embedding and Optimization

This high-dimensional input is compressed into a low-dimensional embedding via a non-linear encoder. The model is trained to minimize reconstruction error (using the L-BFGS algorithm), forcing the latent "code" to retain the most predictive structural and temporal patterns. These learned embeddings are then utilized by standard classifiers, such as AdaBoost or SVM, for the final prediction task.

Experimental Evaluation

The framework was evaluated on four real-world datasets: Enron (email), Collaboration (co-authorship), and two Facebook wall-post networks. DyLink2Vec consistently outperformed a wide array of baselines, including topological metrics (Jaccard, Common Neighbors), time-series models (ARIMA), and tensor-based methods (CP factorization).

Key findings include:

  • Significant Performance Gains: DyLink2Vec achieved a 77% improvement in PRAUC on the Enron dataset and a 125% improvement on Facebook1 compared to the best topological baselines.
  • Scalability and Robustness: The model maintained robust performance on larger, more complex networks where traditional tensor factorization methods often degrade.

Conclusion

DyLink2Vec demonstrates that unsupervised, pair-wise feature learning combined with temporal weighting is a powerful approach for dynamic link prediction. By discovering complex structural patterns without the need for labeled data during feature extraction, it provides a scalable solution for evolving network analysis. Future research may address the limitations of fixed node sets and explore end-to-end semi-supervised architectures to further enhance predictive accuracy.

Summary updated

BibTeX
@misc{rahman2018dylink,
  author = {Mahmudur Rahman and Tanay Kumar Saha and Mohammad Al Hasan and Kevin S. Xu and Chandan K. Reddy},
  title = {{DyLink2Vec: Effective Feature Representation for Link Prediction in Dynamic Networks}},
  year = {2018},
  eprint = {1804.05755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1804.05755},
}
Figure