Graph Classification Gaussian Processes via Hodgelet Spectral Features

Mathieu Alain, So Takao, Bastian Rieck, Xiaowen Dong, Emmanuel Noutahi

TL;DR

This paper introduces WT-GP-Hodge, a Gaussian process (GP) framework that classifies graphs by extracting multi-scale spectral features from both vertices and edges. By applying the discrete Hodge decomposition, the method breaks graph signals down into canonical topological components (such as curl-free and divergence-free flows) and models them with dedicated kernels, outperforming prior spectral GP baselines on benchmarks and synthetic vector field classification tasks.

What Problem Does This Paper Address?

Graph neural networks (GNNs) dominate graph classification, but they typically require large training datasets and struggle to provide well-calibrated, reliable uncertainty estimates—critical in high-stakes domains like drug discovery and molecular property prediction.

Gaussian processes offer an interpretable, data-efficient alternative, but adapting them to irregular, variable-sized graph domains requires mapping graph signals into fixed-dimensional Euclidean representations. Recent spectral GP methods (such as WT-GP) accomplish this using spectral graph wavelet transforms, but they are limited to vertex features. Crucial edge-level information—such as chemical bonds or physical flows—is either discarded or clumsily converted into vertex features via line graphs, which destroys directional orientation and topological structure.

Methods

The authors propose WT-GP-Hodge, which unifies multi-scale spectral filtering with combinatorial Hodge theory:

  1. Hodge Laplacians & Helmholtzian: The graph is treated as a 2D simplicial complex (vertices, edges, and 2-clique triangles). Vertex signals are analyzed with the graph Laplacian ($L_v = B_{ve} B_{ve}^\top$), while edge signals are analyzed via the graph Helmholtzian ($L_e = B_{ve}^\top B_{ve} + B_{et} B_{et}^\top$), capturing lower (vertex-edge) and upper (edge-triangle) neighborhood topologies.

  2. Spectral Wavelet Transforms: Spatial signals on vertices and edges are modulated in the frequency domain using multi-scale wavelet filters (such as Mexican hat/Ricker wavelets parameterized by learnable scaling factors) and inverted back to provide both frequency and spatial localization.

  3. Discrete Hodge Decomposition: Wavelet-filtered signals are orthogonally decomposed into their canonical Hodge subspaces:

  4. Vertex features decompose into harmonic (piecewise-constant biases over connected components) and co-exact (local variations) parts.

  5. Edge features decompose into exact (curl-free / gradient), co-exact (divergence-free / curl), and harmonic components.
  6. Isomorphism-Invariant Hodgelet Kernels: Taking the $\ell_2$-norm of each filtered component produces fixed-length, permutation-invariant feature vectors. An additive kernel then assigns a separate base kernel (e.g., squared exponential) to each Hodge subspace: $$\kappa(G^{(i)}, G^{(j)}) = \kappa_{vc} + \kappa_{vh} + \kappa_{ee} + \kappa_{ec} + \kappa_{eh}$$ Standard GP variational classification is used downstream.

Datasets

  • Standard Graph Classification Benchmarks: Six real-world and synthetic datasets commonly evaluated in graph classification: ENZYMES, MUTAG, IMDB-BINARY, IMDB-MULTI, ring-vs-clique, and sbm.
  • Synthetic Vector Field Classification (New Benchmark): 100 randomly generated 2D continuous vector fields (half divergence-free, half curl-free) projected onto random triangular meshes of a square domain with varying resolution ($N \in [25, 350]$ vertices) via the de Rham map and corrupted with additive Gaussian noise.

Key Insights and Ideas

  • Line graphs are not a substitute for edge calculus: Converting edge features to vertex features using line graphs destroys orientation and topological duality. WT-GP-Hodge processes edges directly through the Helmholtzian, allowing natural reasoning over circulation and flux.
  • Topological decomposition helps even without edge features: On datasets with only vertex features, separating the harmonic part (overall component baseline/bias) from co-exact fluctuations (local graph dynamics) improved classification accuracy over using raw wavelet features alone.
  • Multi-scale frequency meets differential forms: Combining wavelets with Hodge theory ("Hodgelets") allows the GP to capture localized flow phenomena (like local vortices) alongside global topological invariants (such as Betti numbers).

Key Results

  • Standard Benchmarks (Table 1): WT-GP-Hodge outperformed the prior wavelet GP baseline (WT-GP) on 5 out of 6 datasets, notably achieving:
  • ENZYMES: $67.65\% \pm 6.86\%$ vs. $65.00\% \pm 4.94\%$
  • MUTAG: $88.06\% \pm 7.99\%$ vs. $86.73\% \pm 4.18\%$
  • IMDB-MULTI: $52.09\% \pm 3.44\%$ vs. $48.73\% \pm 2.76\%$
  • ring-vs-clique: $100.0\% \pm 0.0\%$ vs. $99.5\% \pm 1.5\%$
  • Vector Field Classification (Table 2 & Figure 1):
  • The line-graph baseline (WT-GP-LG) plateaued near random guess accuracy ($51.0\% - 58.0\%$), unable to distinguish curl-free from divergence-free fields regardless of mesh resolution.
  • WT-GP-Hodge improved dramatically with mesh density, reaching $95.0\% \pm 7.2\%$ accuracy at $N=250$ (and $94.8\%$ at $N=350$), maintaining superior noise resilience across varying perturbation levels.

Limitations and Future Work

  • Computational Cost of Eigendecompositions: Calculating the eigendecompositions of $L_v$ and $L_e$ scales cubically ($\mathcal{O}(N^3)$) with the number of vertices and edges per graph. While this is an offline, one-off cost, it remains prohibitive for huge graphs.
  • Global Feature Pooling: Collapsing decomposed wavelet coefficients via $\ell_2$-norms discards spatial phase information, which may restrict performance on fine-grained node-level tasks.
  • Extensions to Higher-Order Topologies: The authors highlight that the mathematical framework naturally extends to simplicial complexes, cellular complexes, and hypergraphs beyond 2-cliques, as well as GP regression tasks with Gaussian likelihoods.

Summary updated

BibTeX
@inproceedings{alain2024graph,
  author = {Mathieu Alain and So Takao and Bastian Rieck and Xiaowen Dong and Emmanuel Noutahi},
  title = {{Graph Classification Gaussian Processes via Hodgelet Spectral Features}},
  booktitle = {BDU @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=zgLOn7f2Lp},
}
Figure