Graph Neural Networks Are More Than Filters: Revisiting and Benchmarking from A Spectral Perspective

Yushun Dong, Patrick Soga, Yinhan He, Song Wang, Jundong Li

TL;DR

While Graph Neural Networks (GNNs) are traditionally viewed as "filters" that simply smooth or sharpen graph signals, this paper proves they are much more dynamic. By introducing a new spectral benchmarking protocol, the authors demonstrate that GNNs can actually generate new frequency components not present in the input data, though they suffer from a consistent "blind spot" in the middle-frequency range.

What Problem Does This Paper Address?

In the world of Graph Signal Processing, the prevailing wisdom is that GNNs act as filters. Specifically, the neighborhood aggregation mechanism is often equated to a low-pass filter that captures smooth, task-relevant information. However, this "GNN-as-a-filter" perspective largely ignores the impact of non-linear layers and other architectural components.

If a GNN were truly just a filter, it would be mathematically impossible for it to produce an output containing frequency components that were absent in the input. The authors set out to challenge this assumption and answer a fundamental question: Can GNNs flexibly output different frequency components even when those frequencies are filtered out of the input? Furthermore, they identify a lack of standardized metrics to measure how well GNNs handle information across the entire spectral domain (from low to high frequencies).

Methods

The authors approach this through a three-step process:

  1. Exploratory Study: They designed a node-level regression task where the input features were restricted to one frequency range (e.g., low), while the target labels were in another (e.g., high).
GNNs recovering missing high-frequency signals

Surprisingly, standard GNNs like GCN were able to "recover" these missing frequencies, proving that non-linearities allow GNNs to shift energy across the spectrum.

  1. Spectral Benchmarking Protocol: To systematically measure this, they proposed a novel evaluation protocol. They compute the eigenvectors of the normalized graph Laplacian, bin them by eigenvalue (frequency), and discretize these values to create synthetic node classification tasks for every part of the spectrum.
  2. New Metrics: They introduce the Accuracy Curve in the Spectral Domain and the Normalized Area Under the Accuracy Curve (Normalized AUAC). This allows researchers to visualize and quantify a model's performance across the entire frequency spectrum, rather than just looking at a single global accuracy score.

Datasets

The benchmark was evaluated on several well-known real-world graph datasets:

  • Citation Networks: Cora-Full, DBLP.
  • Co-authorship Graphs: CS, Physics.
  • Product Graphs: Amazon Computers, Amazon Photo.
  • Case Study Graphs: Airport-Brazil, Wisconsin, Cornell, Squirrel, and Chameleon (used to test the benchmark's predictive power for model selection).

Key Insights and Ideas

  • The "V-Shaped" Performance Curve: Across almost all 14 GNN models tested, performance followed a distinct V-shape.
V-shaped performance curve on Cora-Full

GNNs are excellent at capturing low-frequency (smooth) and high-frequency (oscillating) information but struggle significantly with middle-frequency components.

  • Neighborhood Aggregation's Inherent Limit: The authors argue that in the middle-frequency range, the label distribution in a node's neighborhood is often uniform. This makes it incredibly difficult for neighborhood aggregation—the "bread and butter" of GNNs—to learn a useful prediction criterion.
  • Spatial Models are Spectral Powerhouses: Interestingly, models designed in the spatial domain (like SAGE and GATv2) often outperformed dedicated spectral-based GNNs (like ChebNet) when evaluated across the full spectrum.
  • Architectural Stability: A parameter study revealed that increasing the depth or width of a GNN does not change the fundamental "V-shape" of its spectral accuracy curve. This suggests that the middle-frequency weakness is an inherent property of current GNN architectures.

Key Results

The authors benchmarked 14 popular GNNs (including GCN, SAGE, GATv2, GCNII, and Transformers).

  • Top Performer: SAGE achieved the best average ranking (3.17) across all datasets, showing remarkable robustness across the spectrum.
  • Specialization: Different models showed "spectral niches." For instance, GCNII and GATv2 were particularly strong in the middle-frequency range compared to others, while GPS and Transformers excelled at high frequencies.
  • Predictive Power: The authors showed that their benchmark rankings (Normalized AUAC) could accurately predict which GNN would perform best on a new, unseen task by simply analyzing the frequency distribution of the new task's labels.

Limitations and Future Work

The paper primarily focuses on node classification; how these spectral characteristics translate to link prediction or graph-level classification remains an open question. Additionally, while the paper identifies the "middle-frequency blind spot," it does not propose a new architecture to solve it.

The authors suggest that future research should move away from just designing "more flexible filters" and instead focus on how non-linear components and new aggregation strategies can better capture the elusive middle-frequency information that current models miss.

Summary updated

BibTeX
@inproceedings{dong2025graph,
  author = {Yushun Dong and Patrick Soga and Yinhan He and Song Wang and Jundong Li},
  title = {{Graph Neural Networks Are More Than Filters: Revisiting and Benchmarking from A Spectral Perspective}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=nWdQX5hOL9},
}
Figure