A Gromov--Wasserstein Geometric View of Spectrum-Preserving Graph Coarsening

Yifan Chen, Rentian Yao, Yun Yang, Jie Chen

Abstract

As graph-structured data scales to millions of nodes, graph coarsening has emerged as a vital technique for reducing computational complexity while preserving essential structural properties. While spectral-preserving methods have shown empirical success, the geometric justification for why preserving the Laplacian spectrum is the optimal objective has remained elusive. This paper introduces a novel framework that views graph coarsening through the lens of the Gromov–Wasserstein (GW) distance. By establishing a theoretical link between GW distance minimization and spectral preservation, the authors propose Kernel Graph Coarsening (KGC), an efficient algorithm that reframes the coarsening task as a weighted kernel K-means problem. Experimental results demonstrate that KGC outperforms state-of-the-art methods in both accuracy and computational efficiency across various graph classification and regression benchmarks.

Introduction

In domains ranging from social network analysis to bioinformatics, the sheer size of modern graphs often renders standard algorithms—such as full Laplacian spectrum computation or deep Graph Neural Network (GNN) training—computationally prohibitive. Graph coarsening addresses this by mapping a large original graph $G$ to a smaller surrogate graph $G^{(c)}$ that retains the original's critical characteristics.

Historically, coarsening research has focused heavily on preserving the eigenvalues of the graph Laplacian. While effective, this focus has been largely heuristic. This paper provides the missing link by treating graphs as points in a metric measure space and seeking to minimize the geometric distance between the original and coarsened representations using the Gromov–Wasserstein (GW) distance.

Theoretical Framework: From Geometry to Spectra

The authors leverage the Gromov–Wasserstein distance, a metric from optimal transport theory designed to compare objects in different metric spaces. Their theoretical contribution centers on a rigorous upper bound derived for the GW distance between a graph $G$ and its coarsened counterpart $G^{(c)}$.

Crucially, the research demonstrates that this geometric bound is dominated by a "spectral difference" term: the sum of the differences between the eigenvalues of the similarity matrices of the two graphs. This finding provides a formal geometric justification for spectral preservation: minimizing the distance between the shapes of two graphs is mathematically equivalent to ensuring their spectra remain as close as possible.

Kernel Graph Coarsening (KGC)

Building on this theoretical foundation, the paper introduces a "computational equivalence" that simplifies the optimization process. The authors prove that minimizing the spectral difference is mathematically identical to the objective function of weighted kernel K-means clustering. This shift allows the use of highly optimized clustering heuristics instead of the expensive eigenvalue decompositions required by previous spectral methods.

The Role of the Signless Laplacian

A key technical innovation in KGC is the use of the signless Laplacian ($D+A$) as the similarity kernel. Standard graph Laplacians often contain negative off-diagonal entries, which can lead to situations where unconnected nodes appear more similar than connected ones in a K-means context. The signless Laplacian is positive semi-definite (PSD) and ensures that connectivity directly translates to similarity, making it a more robust choice for geometric coarsening.

Refinement via KGC(A)

To address the inherent sensitivity of K-means to initial conditions, the authors propose KGC(A). This variant uses the output of existing coarsening algorithms (like Variation Neighborhood) as an initialization point, subsequently refining the partition to further minimize the GW distance and improve spectral alignment.

Experimental Results

The proposed framework was evaluated against several state-of-the-art baselines, including Variation Neighborhood (VNGC) and Spectral Graph Coarsening (SGC), across multiple domains:

  • Graph Classification: On datasets such as MUTAG, PTC, and PROTEINS, KGC and KGC(A) consistently achieved higher accuracy than traditional spectral methods.
  • Computational Efficiency: KGC demonstrated significant speedups. On the Tumblr dataset, KGC reached lower spectral error in a fraction of the time required by variational approaches, highlighting its scalability for large-scale networks.
  • Graph Regression: In GNN-based regression tasks (e.g., the ZINC molecular dataset), coarsening with KGC(A) followed by a standard GCN achieved a Test Mean Absolute Error (MAE) of 0.641, proving that the coarsened graphs remain highly informative for complex downstream learning tasks.

Discussion and Future Work

The GW geometric view offers more than just a new algorithm; it provides a blueprint for asymmetric information propagation in GNNs. By accounting for the different "masses" (the number of original nodes represented by a single supernode), the framework suggests more principled ways to aggregate features in reduced graphs.

While KGC is highly effective, it remains subject to the local minima challenges of K-means. Future research may explore more robust initialization strategies or the integration of node features directly into the similarity matrix via learned kernels. Additionally, extending the current PSD-based geometric bounds to more general, non-PSD graph representations remains a promising avenue for theoretical expansion.

Conclusion

By unifying optimal transport theory with spectral graph theory, this work provides a robust geometric foundation for graph coarsening. The resulting KGC algorithm offers a scalable, theoretically grounded alternative to existing methods, enabling more efficient processing of massive graph datasets without sacrificing structural integrity.

Summary updated

BibTeX
@inproceedings{chen2023gromov,
  author = {Yifan Chen and Rentian Yao and Yun Yang and Jie Chen},
  title = {{A Gromov--Wasserstein Geometric View of Spectrum-Preserving Graph Coarsening}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=8lCz8flXkr},
}
Figure