Graph Persistence goes Spectral

Mattie Ji, Amauri H. Souza, Vikas Garg · DOI

TL;DR

This paper introduces "SpectRe," a novel graph descriptor that combines topological persistence with spectral graph theory. SpectRe significantly outperforms existing methods in distinguishing complex graphs and enhances the performance of graph neural networks (GNNs) on various tasks, offering a more expressive way to capture graph structure.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are powerful tools for analyzing relational data, but they often struggle with capturing higher-order structural information like cycles and connectivity, limiting their expressivity to the Weisfeiler-Leman (WL) hierarchy. While Persistent Homology (PH) has emerged as a promising approach to address this by encoding topological features, existing PH-based methods still fall short in capturing fundamental graph structures. This paper aims to bridge this gap by developing a more expressive topological descriptor that integrates spectral information into PH, thereby enhancing the ability of GNNs to understand complex graphs.

Methods

The core contribution is SpectRe, a new topological descriptor that augments existing PH methods with spectral information derived from the graph Laplacian. Specifically, SpectRe enriches persistence tuples (which encode the birth and death of topological features) with the non-zero eigenvalues of the graph Laplacian of the relevant connected components. This integration aims to capture both harmonic (e.g., connectivity) and non-harmonic (e.g., spectral properties) aspects of graph structure.

The authors also introduce theoretical analyses of SpectRe's properties:

  • Expressivity: They prove that SpectRe is strictly more expressive than both standard PH and RePHINE (an existing PH extension), and also more expressive than using the Laplacian spectrum alone.
  • Stability: They define novel bottleneck distances for RePHINE and SpectRe diagrams and show that RePHINE is globally stable, while SpectRe is locally stable. This local stability is sufficient for practical applications.

Datasets

The paper evaluates SpectRe on two main categories of datasets:

  • Synthetic Datasets:
    • Minimal Cayley graphs (13 datasets) used for isomorphism tests to assess expressive power.
  • BREC benchmark datasets, also used for graph isomorphism testing.
  • Real-world Datasets:
    • Nine datasets for graph classification/regression tasks: MUTAG, PTC-MM, PTC-MR, PTC-FR, NCI1, NCI109, IMDB-B, ZINC, and OGB-MOLHIV.

Key Insights and Ideas

  • Spectral Information is Crucial for Expressivity: Simply adding topological features (like cycles) isn't enough. Integrating spectral information from the graph Laplacian provides a richer representation that can distinguish graphs that PH-based methods cannot.
  • SpectRe: A Powerful Fusion: By combining the strengths of topological persistence (capturing holes and cycles) with spectral graph theory (capturing global structure and connectivity), SpectRe achieves a new level of expressivity for graph descriptors.
  • Local Stability is Sufficient: While SpectRe isn't globally stable (which might be surprising), its local stability is a practical and valuable property, meaning small perturbations in graph structure don't drastically alter its representation. This is crucial for real-world applications where data might not be perfectly clean.
  • Beyond Simple Connectivity: The paper highlights that while GNNs excel at local message passing, they miss deeper structural patterns. SpectRe offers a way to inject this missing information, leading to better performance.

Key Results

  • Expressivity: SpectRe is proven to be strictly more expressive than RePHINE and the Laplacian spectrum, capable of distinguishing graphs that previous methods could not.
  • Synthetic Data Performance: SpectRe successfully separates all pairs of minimal Cayley graphs and demonstrates superior performance on BREC datasets compared to PH and RePHINE.
  • Real-world Performance: When integrated with GNNs (specifically a Graph Transformer model), SpectRe significantly boosts performance on graph classification/regression tasks, achieving the highest mean accuracy in 8 out of 9 datasets. For example, on MUTAG, SpectRe achieved 91.2% accuracy, outperforming RePHINE (87.7%) and GCN (63.2%).
  • Stability Analysis: RePHINE is shown to be globally stable, while SpectRe is locally stable. This theoretical analysis provides confidence in the robustness of the proposed descriptor.

Limitations and Future Work

  • Computational Complexity: SpectRe's power comes at the cost of increased computational complexity, particularly due to the eigendecomposition step. While approximations and scheduling can mitigate this, it remains a bottleneck for very large graphs.
  • Filtration Choice: The current work focuses on color-based filtrations. The authors suggest exploring alternative constructions like biparameter or Vietoris-Rips filtrations as future research directions.
  • Vertex vs. Edge Spectral Information: The paper primarily integrates spectral information with edge-based filtrations. Investigating how spectral information interacts with vertex-based filtrations is also proposed as a future avenue.
  • Local Stability Assumption: The local stability of SpectRe relies on certain injectivity assumptions for filtration functions, which might not always hold in practice. The paper acknowledges this and suggests further work to bound instability when these assumptions are violated.

Summary updated

BibTeX
@inproceedings{ji2025graph,
  author = {Mattie Ji and Amauri H. Souza and Vikas Garg},
  title = {{Graph Persistence goes Spectral}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=wU8IKGLpbi},
}
Figure