Abstract
Graph Neural Networks (GNNs) extend basic Neural Networks (NNs) by additionally making use of graph structure based on the relational inductive bias (edge bias), rather than treating the nodes as collections of independent and identically distributed (i.i.d.) samples. Though GNNs are believed to outperform basic NNs in real-world tasks, it is found that in some cases, GNNs have little performance gain or even underperform graph-agnostic NNs. To identify these cases, based on graph signal processing and statistical hypothesis testing, we propose two measures which analyze the cases in which the edge bias in features and labels does not provide advantages. Based on the measures, a threshold value can be given to predict the potential performance advantages of graph-aware models over graph-agnostic models.
Introduction
In the domain of graph machine learning, Graph Neural Networks (GNNs) are typically the default choice. They operate on the "edge bias" assumption: connected nodes are likely to share similar features or labels (homophily). However, empirical evidence suggests that on certain datasets—such as Cornell or Texas—a simple Multi-Layer Perceptron (MLP) that ignores graph structure can significantly outperform state-of-the-art GNNs.
The fundamental challenge is the lack of a reliable a priori method to determine if a GNN will provide a performance boost. Existing homophily metrics are often inconsistent. This research introduces a mathematical and statistical framework to predict when the relational inductive bias of a graph is beneficial or detrimental.
Methodology and Empirical Analysis
The authors propose two primary measures rooted in graph signal processing to quantify the utility of graph structure:
- Normalized Total Variation (NTV): Measures the variation of a graph signal (features or labels) across edges. Low NTV indicates a "smooth" signal where neighbors are similar.
- Normalized Smoothness Value (NSV): Compares average pairwise distances between connected nodes versus unconnected nodes. An NSV < 0.5 suggests neighbors are more similar than random pairs (beneficial for GNNs), while NSV > 0.5 suggests neighbors are more dissimilar (harmful for GNNs).
Beyond raw metrics, the framework employs statistical hypothesis testing (Welch’s t-test for features and $\chi^2$ test for labels) to determine if the observed smoothness is statistically significant. This allows for a rigorous threshold to predict GNN performance advantages.
Key Results
The study evaluated 14 datasets, ranging from heterophilous (low homophily) to homophilous (high homophily) structures.
MLP Dominance vs. GNN Superiority
On datasets like Cornell, Texas, and Wisconsin, MLPs outperformed GNNs by as much as 16-17%. In these instances, the NSV for labels was consistently $> 0.5$, and hypothesis tests confirmed the labels were statistically non-smooth. Conversely, on datasets like Cora and Chameleon, GNNs outperformed MLPs by 10-12%, correlating with statistically significant label smoothness (NSV $< 0.5$).
Theoretical Insights
GNNs essentially act as low-pass filters that smooth node representations. If ground-truth labels are non-smooth (heterophilous), this smoothing process destroys discriminative information. Furthermore, the "unconnected" context is vital; if unconnected nodes are as similar as connected ones, the graph structure provides no useful bias. By analyzing the p-values of label smoothness, the framework accurately predicted every instance where an MLP would outperform a GNN.
Conclusion
This work provides a robust diagnostic tool for model selection in node classification. While GNNs are powerful, their "edge bias" can become a liability when labels are statistically non-smooth. Future research may focus on "graph-adaptive" filters that can dynamically switch between smoothing and sharpening based on detected NTV/NSV, or addressing other performance bottlenecks like over-smoothing in deep architectures.
Summary updated