Introduction
Graph Convolutional Networks (GCNs) have become the standard for learning on graph-structured data. However, most existing architectures are "hard-wired" with a fundamental assumption: homophily. This is the principle that connected nodes are likely to share similar properties (e.g., citation networks where papers cite others in the same field). Mathematically, standard GCNs act as "low-pass filters," smoothing feature differences between neighbors to capture this shared signal.
This assumption fails in many real-world scenarios exhibiting heterophily, where neighbors are often different (e.g., protein-protein interactions or bipartite transaction graphs). In these cases, the important information resides in high-frequency signals, which low-pass filters inadvertently discard. Traditionally, researchers have had to manually tune complex hyperparameters or design specialized architectures for each new dataset to account for its specific "frequency." This paper introduces the Adaptive Stacked Graph Filter (SGF), a novel architecture that learns graph filter coefficients directly from data, allowing it to automatically adapt to any graph structure—from highly homophilic to strictly heterophilic—without manual intervention.
Methodology: The Stacked Graph Filter
The core innovation of SGF is its shift in focus from learning feature transformation weights to learning the polynomial coefficients of the graph filter itself.
The SGF architecture is "decoupled," separating the feature transformation from the graph filtering process. First, input features $X$ are transformed through a linear layer with weights $W_{in}$ and an activation function $\sigma$ to produce an initial state $H_0$. This state is then passed through a stack of $K$ filter layers. Each layer $\ell$ is defined by:
$$H_\ell = \alpha_\ell \tilde{A} H_{\ell-1} + \beta_\ell H_0$$
where $\alpha_\ell$ and $\beta_\ell$ are learnable scalars. $\alpha_\ell$ controls the "slope" or frequency response of the filter at that layer, while $\beta_\ell$ acts as a vertical translation via a skip-connection to the initial state $H_0$. This vertical stacking approach is mathematically robust; the authors prove it can represent any polynomial filter of order $K$ while remaining numerically stable even for deep architectures (up to 64 layers), avoiding the "numerical explosions" common in previous methods like ChebyNet.
Experimental Setup
To test the universality of SGF, the authors evaluated it across ten datasets spanning the frequency spectrum:
- Low-Frequency (High Homophily): Citation networks (Cora, Citeseer, Pubmed) and co-purchase networks (Amazon-Photo, Amazon-Computer).
- Mixed/Mid-Frequency: Webpage networks (Wisconsin, Cornell, Texas) and Wikipedia pages (Chameleon).
- High-Frequency (Heterophily): A synthetic Bipartite graph where neighbors are guaranteed to have different labels.
Crucially, the model was tested using the exact same hyperparameter settings for every dataset, emphasizing its automatic adaptability.
Results and Discussion
The primary strength of SGF is its ability to "discover" the nature of a graph during training. By visualizing the learned filters, we can see how the model adapts its frequency response to match the underlying data.
As shown in the visualizations:
- On Cora (homophilic), the model learns a classic low-pass filter to smooth signals.
- On Wisconsin (mixed), the model learns a band-pass response, automatically "shutting off" certain layers (setting $\alpha$ to zero) to prevent over-smoothing and preserve discriminative signals.
- On the Bipartite graph (heterophilic), it learns a high-pass filter, achieving a perfect 100% accuracy.
Quantitatively, SGF achieved state-of-the-art or competitive results across all 10 datasets. On the Wisconsin dataset—a known challenge for standard GCNs—SGF reached 87.06% accuracy, significantly outperforming standard GCNs (45.88%) and the previous state-of-the-art GCNII (81.57%). Furthermore, SGF demonstrated exceptional structural robustness, maintaining high accuracy even when 90% of the graph's edges were randomly swapped, a scenario where other popular models like APPNP degrade significantly.
Conclusion
The Stacked Graph Filter represents a significant step toward "ubiquitous" graph machine learning. By automating the learning of filter coefficients through a stable, stacked architecture, SGF removes the need for manual frequency tuning. While challenges remain in estimating filters from very small training sets, SGF provides a powerful and efficient framework for handling the diverse structural properties of real-world graphs.
Summary updated