Equivariant Machine Learning on Graphs with Nonlinear Spectral Filters

Ya-Wei Eileen Lin, Ronen Talmon, Ron Levie · DOI · OpenReview

TL;DR

This paper introduces Nonlinear Spectral Filters (NLSFs) for graph neural networks (GNNs) that are "functionally equivariant" to graph symmetries. This allows GNNs to generalize better and learn more efficiently by respecting the underlying structure of graph data, outperforming existing methods on various node and graph classification tasks.

What Problem Does This Paper Address?

Machine learning on graphs, or graph-ML, has become crucial for analyzing complex relational data. A key challenge is designing models that inherently understand and respect the symmetries present in graph structures, similar to how Convolutional Neural Networks (CNNs) leverage translation symmetry in images. While existing GNNs are often "permutation equivariant" (meaning they don't care about node ordering), this paper focuses on a deeper form of symmetry: "functional shifts" in the spectral domain. Graphs lack a natural notion of spatial translation like images, making it difficult to directly apply CNN-like symmetries. The authors aim to bridge this gap by developing GNNs that are equivariant to these functional shifts, leading to improved generalization and reduced model complexity.

Methods

The core contribution is the introduction of Nonlinear Spectral Filters (NLSFs). These filters operate in the spectral domain of a graph, leveraging the graph Laplacian's eigenvectors and eigenvalues. Unlike standard spectral GNNs where linear filters commute with functional shifts but non-linear activations break this symmetry, NLSFs are designed to maintain this equivariance.

Key techniques include:

  • Analysis and Synthesis: A novel framework to transform graph signals into their spectral representations (analysis) and back (synthesis). This process is designed to be transferable between different graphs.
  • Functional Shifts: A new definition of symmetry group for graphs, focusing on unitary operators that commute with the graph shift operator, operating in the signal space rather than the spatial domain.
  • Node-level and Graph-level NLSFs: Different architectures tailored for node classification and graph classification tasks.
  • Laplacian Attention: A mechanism to dynamically choose between different parameterizations (index vs. value) of the NLSFs, improving robustness and performance.

Datasets

The paper evaluates NLSFs on several standard benchmark datasets for:

  • Semi-supervised Node Classification: Cora, Citeseer, Pubmed (citation networks), Chameleon, Squirrel, Actor (heterophilic graphs).
  • Graph Classification: MUTAG, PTC, NCI1, ENZYMES, PROTEINS (bioinformatics), IMDB-B, IMDB-M, COLLAB (social networks).

Key Insights and Ideas

  • Functional Equivariance is Key: The paper argues that for graphs, "functional shifts" in the spectral domain are a more natural and powerful symmetry to exploit than direct spatial translations.
  • Transferable Spectral Representations: By making the spectral analysis and synthesis process dependent on the input signal itself, NLSFs achieve spectral representations that can be transferred across different graphs, a significant advantage over traditional spectral methods.
  • Non-linearity Preserves Symmetry: The novel design of NLSFs ensures that non-linear operations within the filters do not break the desired functional equivariance, a common pitfall in existing spectral GNNs.
  • Laplacian Attention for Robustness: The attention mechanism dynamically adapting the NLSF's spectral basis selection significantly improves performance and robustness, especially on heterophilic graphs.

Key Results

  • State-of-the-Art Performance: NLSFs consistently outperform existing spectral GNNs and other baselines on various node and graph classification benchmarks. For instance, att-Node-level NLSFs achieve the highest accuracy on four out of six node classification datasets.
  • Improved Generalization: The functional equivariance leads to better generalization, particularly on heterophilic graphs and when dealing with dataset variations like node duplicates.
  • Efficiency: While relying on eigendecomposition, the authors show that efficient algorithms make NLSFs computationally competitive, especially for node-level tasks.

Limitations and Future Work

  • Dependence on Leading Eigenvectors: For very large graphs, NLSFs primarily rely on the leading eigenvectors of the GSO. The authors acknowledge that important information might exist in other frequency bands.
  • Exploring Other Sub-bands: Future work could explore NLSFs sensitive to eigenvalues within a broader range of bands, potentially adaptively chosen based on the graph structure.
  • Scalability for Dense Graphs: While efficient for sparse graphs, dense graphs might still pose computational challenges for full eigendecomposition.
  • Expressivity of Pooling-NLSFs: The paper raises open questions about comparing the expressivity of standard spectral GNNs versus NLSFs given a fixed budget of parameters or the number of graphs they can separate.

Summary updated

BibTeX
@inproceedings{lin2024equivariant,
  author = {Ya-Wei Eileen Lin and Ronen Talmon and Ron Levie},
  title = {{Equivariant Machine Learning on Graphs with Nonlinear Spectral Filters}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=y8P633E5HQ},
}
Figure