All Roads Lead to Rome: Exploring Edge Distribution Shifts for Heterophilic Graph Learning

Abstract

Heterophilic graph neural networks (GNNs) have gained prominence for their ability to learn effective representations in graphs with diverse, attribute-aware relationships. While existing methods leverage attribute inference during message passing to improve performance, they often struggle with challenging heterophilic graphs. This is due to edge distribution shifts introduced by diverse connection patterns, which blur attribute distinctions and undermine message-passing stability. This paper introduces H₂OGNN, a novel framework that reframes edge attribute inference as an out-of-distribution (OOD) detection problem. H₂OGNN introduces a simple yet effective symbolic energy regularization approach for OOD learning, ensuring robust classification boundaries between homophilic and heterophilic edge attributes. This design significantly improves the stability and reliability of GNNs across diverse connectivity patterns. Through theoretical analysis, we show that H₂OGNN addresses the graph denoising problem by going beyond feature smoothing, offering deeper insights into how precise edge attribute identification boosts model performance. Extensive experiments on nine benchmark datasets demonstrate that H₂OGNN not only achieves state-of-the-art performance but also consistently outperforms other heterophilic GNN frameworks, particularly on datasets with high heterophily.

Cite

Text

Wang et al. "All Roads Lead to Rome: Exploring Edge Distribution Shifts for Heterophilic Graph Learning." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/722

Markdown

[Wang et al. "All Roads Lead to Rome: Exploring Edge Distribution Shifts for Heterophilic Graph Learning." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/wang2025ijcai-all/) doi:10.24963/IJCAI.2025/722

BibTeX

@inproceedings{wang2025ijcai-all,
  title     = {{All Roads Lead to Rome: Exploring Edge Distribution Shifts for Heterophilic Graph Learning}},
  author    = {Wang, Yi and Huang, Changqin and Li, Ming and Cai, Tingyi and Zheng, Zhonglong and Huang, Xiaodi},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {6487-6495},
  doi       = {10.24963/IJCAI.2025/722},
  url       = {https://mlanthology.org/ijcai/2025/wang2025ijcai-all/}
}