Beyond Homophily in Graph Neural Networks: Current Limitations and\n Effective Designs

Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, Danai Koutra · DOI

Abstract

We investigate the representation power of graph neural networks in the semi-supervised node classification task under heterophily or low homophily, i.e., in networks where connected nodes may have different class labels and dissimilar features. Many popular GNNs fail to generalize to this setting, and are even outperformed by models that ignore the graph structure (e.g., multilayer perceptrons). Motivated by this limitation, we identify a set of key designs—ego- and neighbor-embedding separation, higher-order neighborhoods, and combination of intermediate representations—that boost learning from the graph structure under heterophily. We combine them into a graph neural network, $H_2GCN$, which we use as the base method to empirically evaluate the effectiveness of the identified designs. Our empirical analysis shows that the identified designs increase the accuracy of GNNs by up to 40% and 27% over models without them on synthetic and real networks with heterophily, respectively, and yield competitive performance under homophily.

Introduction

Most Graph Neural Networks (GNNs) are built on the assumption of homophily: the principle that connected nodes are likely to share similar attributes or labels. Standard architectures like GCN and GAT exploit this by "smoothing" or averaging features across neighborhoods. However, many real-world networks—such as dating networks, fraud networks, or protein-protein interactions—are heterophilous, meaning "opposites attract." In these scenarios, standard GNNs often perform poorly, sometimes even worse than a simple Multilayer Perceptron (MLP) that ignores the graph structure entirely. This paper identifies why GNNs fail under heterophily and proposes architectural fixes to overcome these limitations.

Effective Design Principles for Heterophily

Through systematic investigation, we identify three "Effective Designs" (D1-D3) that enable GNNs to handle heterophily:

  1. D1: Ego- and Neighbor-Embedding Separation: Instead of averaging a node's features with its neighbors (which "washes out" the signal if they are different), we maintain the node's own representation (ego) separate from its neighbors' representations via concatenation.
  2. D2: Higher-Order Neighborhoods: We explicitly aggregate information from both 1-hop and 2-hop neighbors. The intuition is that even if 1-hop neighbors are different, "neighbors of neighbors" (2-hop) are more likely to be similar to the ego node.
  3. D3: Combination of Intermediate Representations: The final classification layer uses representations from all previous rounds of aggregation, allowing the model to capture both local and global structural patterns adaptively.
Illustration of 1-hop ($\bar{N}_1$) and 2-hop ($\bar{N}_2$) neighborhoods around a central node $v$. Higher-order neighborhoods help recover homophilous signals in heterophilous graphs.

The $H_2GCN$ Model

We combine these designs into a new architecture, $H_2GCN$. The model is intentionally streamlined: it performs a graph-agnostic feature embedding, followed by rounds of neighborhood aggregation (using D1 and D2) without non-linearities between layers, and finishes with a final combination step (D3). This design ensures the model preserves essential ego-features while effectively mining the graph structure for relevant signals.

Key Results and Empirical Evaluation

We evaluated $H_2GCN$ against standard GNNs on both synthetic and real-world datasets. Synthetic benchmarks allowed us to vary the homophily ratio ($h$) from 0 (perfect heterophily) to 1 (perfect homophily).

Test accuracy on synthetic Cora benchmarks across varying homophily levels ($h$). $H_2GCN$ variants significantly outperform traditional GNNs like GCN and GAT as homophily decreases.

Our empirical analysis yielded several key insights:

  • Massive Gains on Heterophily: On synthetic datasets with low homophily, $H_2GCN$ outperformed models like GCN and GAT by up to 40%.
  • Real-World Superiority: On real-world heterophilous datasets (like university webpage graphs), $H_2GCN$ variants achieved the best results, outperforming standard GNNs by up to 27%.
  • No Trade-offs: Unlike some specialized models, $H_2GCN$ does not sacrifice performance on traditional homophilous benchmarks like Cora or PubMed, where it remains highly competitive.

Conclusion

By identifying and implementing key design principles—embedding separation, higher-order neighborhoods, and intermediate representation combination—we demonstrate that GNNs can be made robust to heterophily. $H_2GCN$ serves as a strong baseline for future research into graph learning beyond the homophily assumption.

Summary updated

Abstract

We investigate the representation power of graph neural networks in the\nsemi-supervised node classification task under heterophily or low homophily,\ni.e., in networks where connected nodes may have different class labels and\ndissimilar features. Many popular GNNs fail to generalize to this setting, and\nare even outperformed by models that ignore the graph structure (e.g.,\nmultilayer perceptrons). Motivated by this limitation, we identify a set of key\ndesigns -- ego- and neighbor-embedding separation, higher-order neighborhoods,\nand combination of intermediate representations -- that boost learning from the\ngraph structure under heterophily. We combine them into a graph neural network,\nH2GCN, which we use as the base method to empirically evaluate the\neffectiveness of the identified designs. Going beyond the traditional\nbenchmarks with strong homophily, our empirical analysis shows that the\nidentified designs increase the accuracy of GNNs by up to 40% and 27% over\nmodels without them on synthetic and real networks with heterophily,\nrespectively, and yield competitive performance under homophily.\n
BibTeX
@inproceedings{zhu2020beyond,
  author = {Jiong Zhu and Yujun Yan and Lingxiao Zhao and Mark Heimann and Leman Akoglu and Danai Koutra},
  title = {{Beyond Homophily in Graph Neural Networks: Current Limitations and\textbackslash\{\}n Effective Designs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=tschVBAgP},
}
Figure