Elevating Spectral GNNs through Enhanced Band-pass Filter Approximation

Guoming Li, Jian Yang, Shangsong Liang, Dongsheng LuoarXiv 2024 · OpenReview

Abstract

Spectral Graph Neural Networks (GNNs) capture frequency-domain patterns using graph filters, typically approximated by polynomials (poly-GNNs). While widely used, previous poly-GNNs focused on overall approximation error across all filter types, neglecting the specific importance of band-pass filters. This paper demonstrates that better approximation of band-pass filters directly correlates with superior graph learning performance. We identify that existing poly-GNNs struggle with these filters and propose TrigoNet, a novel model utilizing trigonometric polynomials. TrigoNet achieves state-of-the-art band-pass approximation and, through Taylor expansion, maintains high efficiency. Extensive experiments validate TrigoNet's advantages in both accuracy and scalability.

Introduction

Spectral GNNs act as signal processors for graph data, applying filters to eigenvalues to extract meaningful patterns. Since direct eigenvalue calculation is computationally prohibitive for large graphs, researchers rely on polynomial approximations (e.g., Chebyshev or Bernstein polynomials). However, selecting the optimal polynomial has historically been a matter of trial and error. This work addresses two critical gaps:

  1. The Theoretical Gap: Establishing a formal link between mathematical approximation error and a GNN's predictive performance.
  2. The Practical Gap: Developing filters capable of handling the "sharp" or "narrow" spectral signals prevalent in complex, real-world graphs without sacrificing computational efficiency.

Theoretical Framework: Function Slicing

A core contribution of this work is the Error-Sum of Function Slices framework. Rather than treating a graph filter as a single continuous curve, the authors propose viewing it as a summation of disjoint "slices" across the spectral domain.

Decomposition of a graph filter into disjoint function slices across the spectral domain.

Mathematically, the paper proves that the construction error of a GNN layer is bounded by the sum of approximation errors on these individual slices. This theoretical bridge suggests that the most effective GNNs require polynomials exceptionally adept at fitting narrow, localized spectral intervals—specifically band-pass filters.

Proposed Method: TrigoNet

To address the limitations of standard polynomials in fitting sharp spectral changes, the authors introduce TrigoNet (also referred to as TFGNN).

1. Trigonometric Polynomials

Standard polynomials often struggle with localized fluctuations. In contrast, trigonometric polynomials (sines and cosines) are the gold standard in signal processing for fitting narrow intervals. TrigoNet leverages these as its basis for filter construction to better handle diverse spectral signals.

A variety of target filters, including low-pass, high-pass, and complex band-pass types, used to evaluate approximation power.

2. Taylor-based Parameter Decomposition (TPD)

Implementing trigonometric filters typically requires an expensive eigen-decomposition. TrigoNet bypasses this by using a Taylor expansion to transform trigonometric terms into a standard polynomial form. This allows the model to retain the expressive power of sines and cosines while maintaining the "decoupled" efficiency of modern GNNs, where graph features can be precomputed.

Experimental Evaluation

TrigoNet was evaluated across 16 diverse datasets, including homophilic (e.g., Cora, ogbn-Arxiv), heterophilic (e.g., Roman-empire, Questions), and large-scale graphs (ogbn-Papers100M).

Key Results

  • State-of-the-Art Performance: TrigoNet outperformed 18 leading baselines, including GPRGNN, BernNet, and ChebNetII.
  • Heterophily Excellence: On complex datasets like "Questions," TrigoNet achieved a performance jump of 6.06% over the next best model, demonstrating its strength in handling "noisy" spectral signals.
  • Scalability: The model successfully scaled to the Papers100M dataset (111 million nodes), achieving the highest reported accuracy (68.65%) with competitive runtimes.
  • Anomaly Detection: In practical fraud detection tasks (e.g., YelpChi), TrigoNet improved AUROC by over 10% compared to general-purpose spectral GNNs.

Conclusion and Future Work

TrigoNet provides the first theoretical bridge between polynomial approximation power and GNN performance, highlighting the critical role of band-pass filters. By utilizing trigonometric polynomials and efficient Taylor decomposition, it sets a new standard for spectral graph learning. Future work includes categorizing graph filters for specific polynomial families and extending these filters to dynamic, time-varying graphs.

Summary updated

Abstract

Spectral Graph Neural Networks (GNNs) have attracted great attention due to their capacity to capture patterns in the frequency domains with essential graph filters. Polynomial-based ones (namely poly-GNNs), which approximately construct graph filters with conventional or rational polynomials, are routinely adopted in practice for their substantial performances on graph learning tasks. However, previous poly-GNNs aim at achieving overall lower approximation error on different types of filters, e.g., low-pass and high-pass, but ignore a key question: \textit{which type of filter warrants greater attention for poly-GNNs?} In this paper, we first show that poly-GNN with a better approximation for band-pass graph filters performs better on graph learning tasks. This insight further sheds light on critical issues of existing poly-GNNs, i.e., those poly-GNNs achieve trivial performance in approximating band-pass graph filters, hindering the great potential of poly-GNNs. To tackle the issues, we propose a novel poly-GNN named TrigoNet. TrigoNet constructs different graph filters with novel trigonometric polynomial, and achieves leading performance in approximating band-pass graph filters against other polynomials. By applying Taylor expansion and deserting nonlinearity, TrigoNet achieves noticeable efficiency among baselines. Extensive experiments show the advantages of TrigoNet in both accuracy performances and efficiency.
BibTeX
@misc{li2024elevating,
  author = {Guoming Li and Jian Yang and Shangsong Liang and Dongsheng Luo},
  title = {{Elevating Spectral GNNs through Enhanced Band-pass Filter Approximation}},
  year = {2024},
  eprint = {2404.15354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.15354},
}
Figure