Motif-Preserving Temporal Network Embedding

Hong Huang, Zixuan Fang, Xiao Wang, Youshan Miao, Hai Jin

Abstract

Network embedding methods typically focus on micro-level edge formation or macro-level network shifts, often neglecting the mesoscopic evolution of motifs. We present MTNE (Motif-Preserving Temporal Network Embedding), a framework designed to capture the formation and closure of triadic structures over time. By integrating Hawkes processes with an attention mechanism, MTNE effectively models the self-exciting nature of network growth and the diverse influence of different triad configurations. Experimental results across five real-world datasets demonstrate that MTNE significantly outperforms existing state-of-the-art methods in link prediction and node classification.

Introduction

The evolution of social and information networks is driven by complex interactions at various scales. While traditional embedding techniques transform graphs into low-dimensional vectors, they frequently overlook the temporal dynamics of small sub-structures, or motifs. The most fundamental of these is the triad. The phenomenon of "triadic closure"—where two nodes with a common neighbor eventually form a direct connection—is a primary driver of network expansion.

Standard models often fail to capture the nuances of triadic closure, such as the specific order of edge formation or the directed nature of relationships. These mesoscopic details are vital for understanding social hierarchy and influence. MTNE addresses this gap by explicitly modeling the temporal evolution of triads.

The temporal evolution of a triad leading to closure from time $t_1$ to $t_4$.

Methodology

MTNE employs a multi-faceted approach to capture temporal motif dynamics:

Hawkes Process Modeling

To account for the "self-exciting" nature of network events, MTNE utilizes Hawkes processes. A conditional intensity function is defined to calculate the probability of a new edge forming. This function combines a base rate of node similarity with the "excitation" generated by existing "open triads"—structures where two nodes share a common neighbor but lack a direct link.

Attention-Based Motif Diversity

Directed networks exhibit various open triad configurations, each with different implications for future closure. MTNE incorporates an attention mechanism to weigh nine distinct directed open triad structures. This allows the model to learn which specific motifs are most predictive of closure within a given dataset, capturing the "closure signature" of the network.

The nine distinct configurations of directed open triads analyzed by the MTNE attention mechanism.

Temporal Decay

Recognizing that the influence of past interactions diminishes over time, MTNE includes a temporal decay function. This ensures that recent structural changes have a greater impact on the current embedding than distant historical events.

Experimental Evaluation

MTNE was evaluated on five diverse temporal datasets: School (student contacts), Digg (social news), Mobile (communications), Weibo (microblogging), and DBLP (co-authorship).

Key Findings

  • Superior Performance: MTNE consistently outperformed seven major baselines, including static models like Node2vec and temporal models like HTNE. On the DBLP dataset, MTNE achieved an F1-score of ~54%, compared to ~48% for the nearest competitor.
  • Predictive Accuracy: In link prediction tasks on the Weibo dataset, MTNE reached over 85% precision.
  • Social Status Preservation: By accounting for the temporal order of edge formation, MTNE preserves critical signals related to social power and hierarchy that are lost in isolation-based edge models.

Conclusion

MTNE highlights the importance of mesoscopic motif preservation in temporal network analysis. By modeling the evolution of triads through Hawkes processes and attention mechanisms, the framework provides a more nuanced and accurate representation of dynamic networks. Future research may explore the integration of higher-order motifs, such as 4-node or 5-node structures, to further enhance embedding quality.

Summary updated

BibTeX
@inproceedings{huang2020motif,
  author = {Hong Huang and Zixuan Fang and Xiao Wang and Youshan Miao and Hai Jin},
  title = {{Motif-Preserving Temporal Network Embedding}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/172},
}
Figure