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

Time-Variant Graph Classification

Haishuai Wang, Jia Wu, Xingquan Zhu, Yixin Chen, Chengqi Zhang · DOI

TL;DR

This paper introduces "graph-shapelet patterns" as a novel feature for classifying time-variant graphs, which represent evolving objects. By adapting time-series shapelet mining to graph structures, they achieve superior accuracy and efficiency in tasks like predicting information propagation outbreaks.

What Problem Does This Paper Address?

Many real-world objects and systems evolve over time, and their underlying graph representations change accordingly. Traditional graph classification methods often treat graphs as static snapshots, failing to capture these temporal dynamics. This limitation is particularly problematic for tasks involving dynamic processes like information propagation, where the evolution of connections and participants is crucial for understanding phenomena like outbreaks. The challenge lies in developing methods that can effectively learn from sequences of graphs and identify discriminative patterns that capture these temporal changes.

Methods

The core innovation is the graph-shapelet pattern, a discriminative subsequence of graph transformations. The authors propose a multi-step approach:

  1. Time-Series Conversion: Each time-variant graph is first converted into a univariate time series. This is achieved by calculating a statistical measure (e.g., number of vertices or edges) for each graph in the sequence.
  2. Shapelet Mining: Traditional time-series shapelet mining algorithms are applied to these converted time series to identify discriminative segments (shapelets).
  3. Graph Subsequence Localization: The locations of these time-series shapelets are then mapped back to the original time-variant graphs to identify corresponding graph subsequences.
  4. Graph Transformation Sequences: These graph subsequences are converted into unique "graph transformation sequences" using specific strategies (Admissibility and Representation) that define how vertex and edge changes are ordered and represented.
  5. Graph-Shapelet Pattern Extraction: The most discriminative graph transformation subsequences, identified using graph edit similarity, are selected as graph-shapelet patterns.

These graph-shapelet patterns are then used as features for classification.

Datasets

The authors evaluate their method on:

  • Synthetic Time-Variant Graph Data: Generated using the Small World model, simulating information propagation with varying outbreak conditions.
  • Real-World Time-Variant Graph Data:
    • Phone Call Graph Data: Collected from MIT, representing daily communication patterns among students and faculty.
  • Sina Weibo Data: Crawled from a Chinese social media platform, capturing message propagation dynamics.

Key Insights and Ideas

  • Temporal Dynamics are Key: The paper strongly emphasizes that static graph features are insufficient for dynamic processes. Capturing the evolution of graph structures is paramount.
  • Shapelets as Graph Transformations: The core idea of adapting time-series shapelets to graph transformations is powerful. It allows for identifying localized, discriminative patterns of change rather than relying on global graph properties.
  • Graph-Shapelets are Compact and Discriminative: The proposed graph-shapelet patterns are shown to be more effective than traditional frequent subgraph mining because they inherently capture class-specific temporal changes.
  • Early Prediction Potential: The accuracy of the proposed method stabilizes relatively early in the observation of a time-variant graph, suggesting potential for early outbreak prediction.

Key Results

  • Superior Accuracy: The proposed graph-shapelet based methods consistently outperform subgraph-based methods and are comparable to subsequence-based methods in terms of classification accuracy across synthetic and real-world datasets.
  • Improved Efficiency: While achieving comparable or better accuracy, the graph-shapelet approach offers a significant reduction in running time compared to subsequence-based methods, making it more practical for large-scale dynamic graph analysis.
  • Robustness to Observation Length: The accuracy generally increases with the percentage of observed graph length, but stabilizes around 60%, indicating that meaningful patterns can be identified even with partial data.

Limitations and Future Work

  • Time Complexity: While more efficient than some methods, the overall time complexity is noted as O(mrl * n), where 'm' is sequence length, 'l' is pattern length, 'r' is transformation sequence length, and 'n' is dataset size. Further optimization is possible.
  • Graph Structure in Time-Series Conversion: The authors suggest future work could explore more sophisticated ways to incorporate graph structure into the time-series conversion step, beyond simple vertex/edge counts.
  • Alternative Classification Algorithms: The paper mentions that more advanced graph classification algorithms (e.g., graph boosting) could be applied to further enhance performance.
  • Subgraph Correlations: Investigating correlations between subgraphs could assist in graph stream classification or incremental subgraph feature learning.

Summary updated

BibTeX
@article{wang2016time,
  author = {Haishuai Wang and Jia Wu and Xingquan Zhu and Yixin Chen and Chengqi Zhang},
  title = {{Time-Variant Graph Classification}},
  journal = {IEEE Trans. Syst. Man Cybern. Syst.},
  year = {2016},
  doi = {10.1109/tsmc.2018.2830792},
}
Figure