Introduction
Dynamic graph classification—predicting labels for processes that evolve over time—is a critical task in domains ranging from social network analysis to biological modeling. However, traditional approaches often struggle with the inherent complexities of temporal data. This paper introduces filtration surfaces, a novel topological framework that extends static filtration curves into the temporal dimension. This method provides a robust, scalable representation that naturally accommodates changing node sets and edge weights.
The Challenge of Dynamic Graphs
While static graph analysis has reached a high level of maturity, dynamic graphs present three significant hurdles:
- Changing Topology: Nodes and edges frequently appear and disappear, making it difficult to maintain fixed-size representations.
- Edge Weights: Many state-of-the-art methods overlook edge weights, which often contain the most discriminative information for classification.
- Scalability: Existing temporal kernels typically scale quadratically ($O(n^2)$) with the number of graphs, leading to "Out of Memory" (OOM) errors on large-scale datasets.
Methodology: From Curves to Surfaces
The core innovation lies in the transition from Filtration Curves to Filtration Surfaces, leveraging concepts from Topological Data Analysis (TDA).
- Filtration Curves (Static): A filtration is akin to a "rising tide" where edges are added to an empty graph based on a threshold (e.g., edge weight). A descriptor, such as the number of connected components, is tracked across thresholds to create a 1D curve.
- Filtration Surfaces (Dynamic): For dynamic graphs, a filtration curve is computed for every temporal snapshot. Stacking these curves results in a 2D "surface" represented as a 3D tensor (time $\times$ weight thresholds $\times$ descriptor values).
- Classification: To ensure comparability across graphs with different weight ranges, a "shared weight index" is used. The resulting surface is flattened into a feature vector and classified using standard models like Random Forest.
This approach is largely parameter-free, though it allows for various "filter functions," such as native edge weights or Ollivier–Ricci curvature.
Scalability and Performance
A key advantage of filtration surfaces is their linear scaling ($O(n)$). Unlike temporal kernels that require a full Gram matrix comparison, each graph in this framework is processed independently into a feature vector.
Key Results
- Accuracy on Weighted Data: On synthetic benchmarks where edge weights are the primary discriminative factor, filtration surfaces achieved 100% accuracy. In contrast, traditional kernels that ignore weights performed no better than random chance (~50%).
- Memory Efficiency: The method demonstrates superior scalability. On a dataset of 100,000 graphs, temporal kernel methods encountered OOM errors even with 256GB of RAM. Filtration surfaces, however, maintained a cumulative size of under 500 MiB.
- Robustness: On real-world datasets (e.g., MIT Reality Mining, SocioPatterns), the method proved competitive with state-of-the-art baselines while exhibiting the lowest overall standard deviation, indicating high stability.
Conclusion and Future Work
Filtration surfaces offer a powerful alternative for dynamic graph classification, particularly when edge weights and scalability are paramount. While the method is highly effective for weighted data, the authors note that on unweighted datasets, it does not yet consistently outperform the absolute state-of-the-art.
Future research will focus on:
- Learned Filtrations: Utilizing deep learning to automatically discover optimal filtration and descriptor functions from data.
- Quantization: Implementing quantization techniques for continuous edge weights to further enhance efficiency.
Summary updated