English

Understanding Heterophily for Graph Neural Networks

Machine Learning 2024-06-05 v2 Machine Learning

Abstract

Graphs with heterophily have been regarded as challenging scenarios for Graph Neural Networks (GNNs), where nodes are connected with dissimilar neighbors through various patterns. In this paper, we present theoretical understandings of the impacts of different heterophily patterns for GNNs by incorporating the graph convolution (GC) operations into fully connected networks via the proposed Heterophilous Stochastic Block Models (HSBM), a general random graph model that can accommodate diverse heterophily patterns. Firstly, we show that by applying a GC operation, the separability gains are determined by two factors, i.e., the Euclidean distance of the neighborhood distributions and E[deg]\sqrt{\mathbb{E}\left[\operatorname{deg}\right]}, where E[deg]\mathbb{E}\left[\operatorname{deg}\right] is the averaged node degree. It reveals that the impact of heterophily on classification needs to be evaluated alongside the averaged node degree. Secondly, we show that the topological noise has a detrimental impact on separability, which is equivalent to degrading E[deg]\mathbb{E}\left[\operatorname{deg}\right]. Finally, when applying multiple GC operations, we show that the separability gains are determined by the normalized distance of the ll-powered neighborhood distributions. It indicates that the nodes still possess separability as ll goes to infinity in a wide range of regimes. Extensive experiments on both synthetic and real-world data verify the effectiveness of our theory.

Keywords

Cite

@article{arxiv.2401.09125,
  title  = {Understanding Heterophily for Graph Neural Networks},
  author = {Junfu Wang and Yuanfang Guo and Liang Yang and Yunhong Wang},
  journal= {arXiv preprint arXiv:2401.09125},
  year   = {2024}
}

Comments

ICML 2024

R2 v1 2026-06-28T14:19:09.664Z