NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ConTIG: Continuous Representation Learning on Temporal Interaction Graphs

Xu Yan, Xiaoliang Fan, Peizhen Yang, Zonghan Wu, Shirui Pan, Longbiao Chen, Yu Zang, Cheng WangNeural Networks 2021 · DOI

TL;DR

This paper introduces ConTIG, a novel method for learning continuous representations of nodes in dynamic graphs (temporal interaction graphs). By modeling node embeddings as continuous trajectories using neural ODEs and incorporating latest interactions, neighbor features, and inherent characteristics, ConTIG significantly improves performance on tasks like link prediction, especially for nodes with infrequent interactions.

What Problem Does This Paper Address?

Many real-world networks, like social media or communication systems, are dynamic, meaning their structure and interactions change over time. Representing these "temporal interaction graphs" (TIGs) is crucial for understanding and predicting network behavior. Existing methods often update node representations discretely only when an interaction occurs. This approach misses the continuous evolution of node states and struggles with nodes that have long periods of inactivity between interactions. These "long-interval" interactions are common and important, but current models fail to capture their underlying dynamics effectively, leading to suboptimal performance.

Methods

ConTIG tackles this challenge with a two-module framework:

  • Update Module (Continuous Inference Block): This module uses a neural ordinary differential equation (ODE) to model the continuous evolution of node embeddings. It takes into account three key factors:
  • Latest Interaction: The most recent interaction involving a node.
  • Neighbor Features: Information from a node's neighbors.
  • Inherent Characteristics: Intrinsic properties of the node itself. By integrating these factors into a neural ODE, ConTIG learns node state trajectories over time, allowing for continuous updates even during inactive periods.

  • Transform Module (Graph Attention Layer): This module uses a self-attention mechanism to predict future node embeddings. It aggregates historical temporal interaction information, effectively capturing patterns from past interactions to inform future states. This is particularly useful for predicting behavior after long intervals.

The framework uses an encoder-decoder architecture. The encoder projects interaction features into a latent space, and the update module then uses a neural ODE to generate continuous trajectories. The transform module refines these embeddings by considering historical context, and a decoder then uses these final embeddings for downstream tasks.

Datasets

ConTIG was evaluated on four public datasets:

  • Wikipedia: User interactions with pages, including dynamic labels for banned users.
  • Reddit: User interactions with posts on subreddits, with labels for banned users.
  • Mooc: Student interactions within an online course (e.g., viewing videos, submitting answers).
  • CollegeMsg: User interactions via private messages on a university social network.

Key Insights and Ideas

  • Continuous Dynamics Matter: The paper strongly advocates for modeling node embeddings as continuous trajectories rather than discrete updates, especially for capturing the nuances of temporal networks.
  • Three-Fold Factor Fusion: Effectively combining the latest interaction, neighbor features, and inherent node characteristics is crucial for robust temporal graph representation learning.
  • Long-Interval Interactions are Key: The proposed method's significant improvement on long-interval interaction prediction highlights a critical gap in existing approaches and its practical relevance.
  • Neural ODEs for Temporal Graphs: Applying neural ODEs to model continuous dynamics in temporal graphs is a powerful technique, enabling more accurate trajectory learning.

Key Results

ConTIG demonstrated superior performance across multiple tasks and datasets:

  • Temporal Link Prediction: ConTIG achieved state-of-the-art results on Wikipedia, Reddit, and CollegeMsg for both transductive and inductive settings, outperforming existing dynamic graph embedding methods.
  • Temporal Node Recommendation: The model showed significant improvements, with up to a 110.51% increase in Recall@5 on the Mooc dataset compared to the best competitor (TGN).
  • Dynamic Node Classification: ConTIG achieved the best or comparable performance against baselines, demonstrating its effectiveness in predicting dynamic node labels.
  • Long-Interval Prediction: The paper specifically highlights ConTIG's superior performance on longer time intervals, a key advantage over other methods.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while ConTIG outperforms baselines, the influence of neighbor features is particularly strong, suggesting that further exploration into how different factors interact could be beneficial.
  • The performance on datasets without edge features (Mooc and CollegeMsg) showed a slightly different impact of inherent characteristics compared to datasets with edge features (Wikipedia and Reddit), suggesting potential areas for refinement.
  • Future Work:
    • The authors plan to explore community evolution and its impact on individual behavior within evolving graphs.
  • Further investigation into the interplay between the three factors (latest interaction, neighbor features, inherent characteristics) and their adaptive fusion is suggested.
  • The paper also points to the importance of choosing reasonable dimensions for node and time embeddings, indicating that parameter sensitivity analysis is crucial for optimal performance.

Summary updated

BibTeX
@inproceedings{yan2021contig,
  author = {Xu Yan and Xiaoliang Fan and Peizhen Yang and Zonghan Wu and Shirui Pan and Longbiao Chen and Yu Zang and Cheng Wang},
  title = {{ConTIG: Continuous Representation Learning on Temporal Interaction Graphs}},
  booktitle = {Neural Networks},
  year = {2021},
  doi = {10.1016/j.neunet.2024.106151},
}
Figure