Network Classification in Temporal Networks Using Motifs

Kun Tu, Jian Li, Don Towsley, Dave Braines, Liam D. TurnerarXiv 2018

Abstract

Network classification has a variety of applications, such as detecting communities within networks and finding similarities between those representing different aspects of the real world. However, most existing work in this area focus on examining static undirected networks without considering directed edges or temporality. In this paper, we propose a new methodology that utilizes feature representation for network classification based on the temporal motif distribution of the network and a null model for comparing against random graphs. Experimental results show that our method improves accuracy by up to 10% compared to the state-of-the-art embedding method in network classification, for tasks such as classifying network type, identifying communities in email exchange networks, and identifying users given their app-switching behaviors.

Introduction

Network classification is a fundamental task used to detect communities, identify users, or categorize different types of complex systems. However, most existing network embedding techniques, such as node2vec or DeepWalk, treat networks as static snapshots. By aggregating all interactions over a given period, these methods ignore the precise order and timing of events, which often contain critical information about the system's dynamics. For instance, the sequence of User A emailing User B followed by User B emailing User C represents a different information flow than User B emailing C followed by A emailing B. This paper addresses the challenge of creating a fixed-length feature representation (embedding) for an entire network that captures both its topological structure and its temporal evolution.

Methodology

The proposed framework relies on temporal network motifs—small, recurring subgraphs where the chronological order of edges is significant. Unlike static motifs, temporal motifs distinguish between patterns based on the timing of interactions.

Comparison between static and temporal motifs.

To generate a robust embedding, the authors utilize the following pipeline:

  1. Null Models: To ensure a motif's frequency is a unique characteristic rather than statistical noise, the network is compared against a null model generated by time-shuffling the original data.
  2. Subgraph Ratio Profiles (SRP): The SRP is a normalized metric measuring the difference in motif frequency between the actual network and the null model. This normalization makes the features independent of the network's overall size.
  3. Network Embedding: The authors concatenate the SRPs of 16 static motifs and 36 temporal motifs into a single, fixed-length feature vector.
Examples of complex temporal motifs with specific time-ordered edges.

Experimental Setup and Results

The methodology was evaluated on two real-world datasets: EmailEU (email exchanges in a research institution) and SwitchApp (app-switching behavior of Android users). The classification tasks involved identifying departments in the email network and identifying specific users based on their app usage patterns.

The results demonstrate that the motif-based embedding significantly outperforms the state-of-the-art baseline, struc2vec, by up to 10%. The study found that while temporal motifs are more informative than static ones, the highest accuracy is achieved by combining both ("Temp+Static"). This suggests that static topology and temporal dynamics provide complementary structural information. Among the classifiers tested, XGBoost emerged as the top performer when paired with these combined motif embeddings.

Conclusion

This research highlights that time reveals hidden behavioral signatures that static graphs miss. By using size-agnostic Subgraph Ratio Profiles, the proposed method allows for effective comparison across networks of varying scales. Future work may involve integrating these motif-based features into deep learning architectures to further enhance classification performance in diverse domains like finance or biology.

Summary updated

BibTeX
@misc{tu2018network,
  author = {Kun Tu and Jian Li and Don Towsley and Dave Braines and Liam D. Turner},
  title = {{Network Classification in Temporal Networks Using Motifs}},
  year = {2018},
  eprint = {1807.03733},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.03733},
}
Figure