HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Contrastive Representation Learning for Dynamic Link Prediction in Temporal Networks

Amirhossein Nouranizadeh; Fatemeh Tabatabaei Far; Mohammad Rahmati

Contrastive Representation Learning for Dynamic Link Prediction in Temporal Networks

Abstract

Evolving networks are complex data structures that emerge in a wide range of systems in science and engineering. Learning expressive representations for such networks that encode their structural connectivity and temporal evolution is essential for downstream data analytics and machine learning applications. In this study, we introduce a self-supervised method for learning representations of temporal networks and employ these representations in the dynamic link prediction task. While temporal networks are typically characterized as a sequence of interactions over the continuous time domain, our study focuses on their discrete-time versions. This enables us to balance the trade-off between computational complexity and precise modeling of the interactions. We propose a recurrent message-passing neural network architecture for modeling the information flow over time-respecting paths of temporal networks. The key feature of our method is the contrastive training objective of the model, which is a combination of three loss functions: link prediction, graph reconstruction, and contrastive predictive coding losses. The contrastive predictive coding objective is implemented using infoNCE losses at both local and global scales of the input graphs. We empirically show that the additional self-supervised losses enhance the training and improve the model's performance in the dynamic link prediction task. The proposed method is tested on Enron, COLAB, and Facebook datasets and exhibits superior results compared to existing models.

Code Repositories

amrhssn/teneNCE
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
dynamic-link-prediction-on-dblp-temporalteneNCE
AP: 90.45
AUC: 88.25
MRR: 0.3397
dynamic-link-prediction-on-enron-emailteneNCE
AP: 93.65
AUC: 93.54
MRR: 0.315

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp