On Performance Discrepancies Across Local Homophily Levels in Graph Neural Networks

Donald Loveland, Jiong Zhu, Mark Heimann, Benjamin Fish, Michael T. Schaub, Danai Koutra · DOI

Abstract

Graph Neural Networks (GNNs) are traditionally evaluated based on global graph properties, particularly the assumption that high homophily—the tendency for connected nodes to share the same class—is a prerequisite for high performance. However, this paper demonstrates that global metrics mask significant performance discrepancies at the local level. By shifting the focus to local homophily distributions, the authors show that GNNs become biased toward the global average seen during training, leading to significant performance degradation on "structural outliers." This study highlights how heterophily-specific designs provide greater robustness and identifies a novel form of structural inequality in graph-based learning.

Introduction

In the study of Graph Neural Networks, homophily is a central concept: it describes the tendency for similar nodes to be connected, such as researchers in the same field citing each other. Conventional wisdom suggests that GNNs thrive in homophilous graphs and struggle in heterophilous ones, where different classes are more likely to connect.

Recent research has challenged this binary view, showing that simple GNNs can sometimes perform well in heterophilous settings. This paper identifies a critical gap in this understanding: most research treats homophily as a global metric. In reality, a single graph contains a diverse mix of neighborhoods. A node might have 90% similar neighbors in a graph that is, on average, only 20% homophilous. This paper addresses the "performance discrepancy" problem: why GNNs fail on certain nodes even when the overall graph accuracy appears high.

Methodology

The authors combine theoretical analysis with a novel experimental framework to investigate how local structural variations affect model reliability.

Theoretical Perturbation Analysis

The researchers derived closed-form solutions for the weight matrices of both homophilous GNNs (like SGC) and heterophilous GNNs (which separate ego-node and neighbor features). Through Theorems 1 and 2, they prove that as a node’s local homophily ($\alpha_t$) shifts away from the global average ($h$), the model's confidence in the correct class drops significantly. This suggests that GNNs are mathematically predisposed to fail when local structures deviate from the global expectation.

Synthetic Graph Generation

To test their theory, the authors developed a modified "preferential attachment" model. This generator allows for granular control over the distribution of local homophily levels across the graph, enabling the intentional creation of structural outliers to observe model behavior in controlled environments.

Comparative Benchmarking

The study evaluates nine different GNN architectures, ranging from standard baselines like GCN and GAT to state-of-the-art models designed specifically for heterophily, such as H2GCN, GCNII, and LINKX.

Key Insights: The Expectation Trap

The core finding of the paper is that GNNs essentially learn an expected distribution of labels over a node’s neighbors. If a model is trained on a 20% homophilous graph, it "expects" 80% of neighbors to belong to a different class. If a test node actually has 80% similar neighbors, the model becomes confused, leading to misclassification.

This leads to a counter-intuitive phenomenon: in globally heterophilous graphs, nodes with high local homophily actually suffer from worse performance. This flips the traditional "homophily is good" narrative on its head, proving that consistency with the global average is more important for standard GNN performance than the absolute level of homophily.

Results and Performance Gaps

The empirical results across synthetic and real-world datasets (including Cora, Coauthor-CS, Wisconsin, and Arxiv-Year) reveal several critical trends:

  • The 0.6 F1 Drop: In homophilous real-world datasets, the authors observed a massive 0.6 drop in $\Delta F1$ score (the performance difference between a GNN and a simple MLP) for nodes whose local homophily was far from the global average.
  • MLP Superiority in Outliers: In many heterophilous regions of real-world graphs, a graph-agnostic MLP actually outperformed GNNs. This suggests that the graph structure was "actively corrupting" the GNN's predictions because the neighborhood did not match the model's learned expectations.
  • Robustness of Decoupled Models: Heterophilous GNN designs—specifically those that treat a node's own features separately from its neighbors' features—were significantly more consistent. These models reduced the performance gap between typical nodes and structural outliers, often retaining up to 0.5 higher F1-score compared to standard GNNs when tested on outliers.

Discussion and Structural Fairness

These discrepancies represent a "novel inequality" rooted in network structure. If a GNN is used for high-stakes decisions, such as fraud detection or social recommendations, nodes with underrepresented neighborhood patterns might be systematically penalized. This introduces a structural fairness concern that has been largely overlooked in GNN literature.

Limitations and Future Work

While the paper establishes the impact of local homophily, the authors acknowledge that node degree also influences performance. The interplay between degree and local homophily shift requires deeper study. Additionally, the paper assumes features are somewhat informative; in cases where features are noisy, the reliance on misleading graph structures might be even more pronounced. Future research should focus on developing "fairness-aware" loss functions to mitigate these structural biases.

Conclusion

By looking beyond global averages, this research demonstrates that local neighborhood structure is a primary driver of GNN performance. To build more robust and fair graph models, researchers must move away from the assumption of global uniformity and account for the diverse local patterns inherent in real-world networks.

Summary updated

BibTeX
@inproceedings{loveland2023performance,
  author = {Donald Loveland and Jiong Zhu and Mark Heimann and Benjamin Fish and Michael T. Schaub and Danai Koutra},
  title = {{On Performance Discrepancies Across Local Homophily Levels in Graph Neural Networks}},
  booktitle = {LoG},
  year = {2023},
  url = {https://openreview.net/forum?id=aBEF5nmwfu},
}
Figure