Spectro-Riemannian Graph Neural Networks

Karish Grover, Haiyang Yu, Xiang Song, Qi Zhu, Han Xie +2 more
2/1/2025
cs.LGcs.AIstat.ML

Official code: amazon-science/cusp (17 stars, last commit 2025-05-30).

Abstract

Can integrating spectral and curvature signals unlock new potential in graph representation learning? Non-Euclidean geometries, particularly Riemannian manifolds such as hyperbolic (negative curvature) and spherical (positive curvature), offer powerful inductive biases for embedding complex graph structures like scale-free, hierarchical, and cyclic patterns. Meanwhile, spectral filtering excels at processing signal variations across graphs, making it effective in homophilic and heterophilic settings. Leveraging both can significantly enhance the learned representations. To this end, we propose Spectro-Riemannian Graph Neural Networks (CUSP) - the first graph representation learning paradigm that unifies both CUrvature (geometric) and SPectral insights. CUSP is a mixed-curvature spectral GNN that learns spectral filters to optimize node embeddings in products of constant-curvature manifolds (hyperbolic, spherical, and Euclidean). Specifically, CUSP introduces three novel components: (a) Cusp Laplacian, an extension of the traditional graph Laplacian based on Ollivier-Ricci curvature, designed to capture the curvature signals better; (b) Cusp Filtering, which employs multiple Riemannian graph filters to obtain cues from various bands in the eigenspectrum; and (c) Cusp Pooling, a hierarchical attention mechanism combined with a curvature-based positional encoding to assess the relative importance of differently curved substructures in our graph. Empirical evaluation across eight homophilic and heterophilic datasets demonstrates the superiority of CUSP in node classification and link prediction tasks, with a gain of up to 5.3% over state-of-the-art models. The code is available at: https://github.com/amazon-science/cusp.

View on arXivView PDF

Code Implementations(1)

Official implementation of Spectro-Riemannian Graph Neural Networks (ICLR 2025)

172PythonOct 18, 20241 years ago

Similar Papers

Cite this paper

@article{grover2025spectroriemannian,
  title  = {Spectro-Riemannian Graph Neural Networks},
  author = {Karish Grover and Haiyang Yu and Xiang Song and Qi Zhu and Han Xie and Vassilis N. Ioannidis and Christos Faloutsos},
  year   = {2025},
  eprint = {2502.00401},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.00401v2},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.00401.svg)](https://codeofpaper.com/paper/2502.00401)

Discussion