Proceedings

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

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 6487-6495.

https://doi.org/10.24963/ijcai.2025/722

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.

  1. [Abu-El-Haija et al., 2019] Sami Abu-El-Haija, Bryan Per- ozzi, Amol Kapoor, Nazanin Alipourfard, Kristina Ler- man, Hrayr Harutyunyan, Greg Ver Steeg, and Aram Gal- styan. MixHop: Higher-order graph convolutional archi- tectures via sparsified neighborhood mixing. In ICML, pages 21-29, 2019.
  2. [Bi et al., 2024] Wendong Bi, Lun Du, Qiang Fu, Yan- lin Wang, Shi Han, and Dongmei Zhang. Make het- erophilic graphs better fit gnn: A graph rewiring approach. IEEE Transactions on Knowledge and Data Engineering, 36(12):8744-8757, 2024.
  3. [Bo et al., 2021] Deyu Bo, Xiao Wang, Chuan Shi, and Huawei Shen. Beyond low-frequency information in graph convolutional networks. In AAAI, pages 3950-3957, 2021.
  4. [Cai et al., 2025a] Tingyi Cai, Yunliang Jiang, Ming Li, Changqin Huang, Yi Wang, and Qionghao Huang. ML- GOOD: Towards multi-label graph out-of-distribution de- tection. In AAAI, volume 39, pages 15650-15658, 2025.
  5. [Cai et al., 2025b] Tingyi Cai, Yunliang Jiang, Yixin Liu, Ming Li, Changqin Huang, and Shirui Pan. Out-of- distribution detection on graphs: A survey. arXiv preprint arXiv:2502.08105, 2025.
  6. [Chen et al., 2020] Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In ICML, pages 1725- 1735, 2020.
  7. [Chen et al., 2023] Jie Chen, Zilong Li, Yin Zhu, Junping Zhang, and Jian Pu. From node interaction to hop interac- tion: New effective and scalable graph learning paradigm. In CVPR, pages 7876-7885, 2023.
  8. [Chen et al., 2024] Jie Chen, Shouzhen Chen, Junbin Gao, Zengfeng Huang, Junping Zhang, and Jian Pu. Exploit- ing neighbor effect: Conv-agnostic GNN framework for graphs with heterophily. IEEE Transactions on Neu- ral Networks and Learning Systems, 35(10):13383-13396, 2024.
  9. [Chien et al., 2021] Eli Chien, Jianhao Peng, Pan Li, and Ol- gica Milenkovic. Adaptive universal generalized pagerank graph neural network. In ICLR, 2021.
  10. [Gong et al., 2024] Chenghua Gong, Yao Cheng, Jianxiang Yu, Can Xu, Caihua Shan, Siqiang Luo, and Xiang Li. A survey on learning from graphs with heterophily: Recent advances and future directions. arXiv preprint arXiv:2401.09769, 2024.
  11. [He et al., 2023] Dongxiao He, Jitao Zhao, Rui Guo, Zhiy- ong Feng, Di Jin, Yuxiao Huang, Zhen Wang, and Weix- iong Zhang. Contrastive learning meets homophily: Two birds with one stone. In ICML, pages 12775-12789, 2023.
  12. [Kingma and Ba, 2014] D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  13. [Li et al., 2022] Xiang Li, Renyu Zhu, Yao Cheng, Caihua Shan, Siqiang Luo, Dongsheng Li, and Weining Qian. Finding global homophily in graph neural networks when meeting heterophily. In ICML, pages 13242-13256, 2022.
  14. [Li et al., 2023a] Wen-Zhi Li, Chang-Dong Wang, Hui Xiong, and Jian-Huang Lai. Homogcl: Rethinking ho- mophily in graph contrastive learning. In KDD, pages 1341-1352, 2023.
  15. [Li et al., 2023b] You Li, Bei Lin, Binli Luo, and Ning Gui. Graph representation learning beyond node and ho- mophily. IEEE Transactions on Knowledge and Data En- gineering, 35(5):4880-4893, 2023.
  16. [Li et al., 2024] Jianfei Li, Ruigang Zheng, Han Feng, Ming Li, and Xiaosheng Zhuang. Permutation equivariant graph framelets for heterophilous graph learning. IEEE Transactions on Neural Networks and Learning Systems, 35(9):11634-11648, 2024.
  17. [Liang et al., 2023] Langzhang Liang, Xiangjing Hu, Zenglin Xu, Zixing Song, and Irwin King. Predicting global label relationship matrix for graph neural networks under heterophily. In NeurIPS, pages 10909-10921, 2023.
  18. [Lim et al., 2021] Derek Lim, Felix Hohne, Xiuyu Li, Si- jia Linda Huang, Vaishnavi Gupta, Omkar Bhalerao, and Ser Nam Lim. Large scale learning on non-homophilous graphs: New benchmarks and strong simple methods. In NeurIPS, pages 20887-20902, 2021.
  19. [Liu et al., 2023] Yixin Liu, Kaize Ding, Huan Liu, and Shirui Pan. Good-d: On unsupervised graph out-of- distribution detection. In ICDM, pages 339-347, 2023.
  20. [Luan et al., 2022] Sitao Luan, Chenqing Hua, Qincheng Lu, Jiaqi Zhu, Mingde Zhao, Shuyuan Zhang, Xiao-Wen Chang, and Doina Precup. Revisiting heterophily for graph neural networks. In NeurIPS, pages 1362-1375, 2022.
  21. [Luan et al., 2024] Sitao Luan, Chenqing Hua, Qincheng Lu, Liheng Ma, Lirong Wu, Xinyu Wang, Minkai Xu, Xiao- Wen Chang, Doina Precup, Rex Ying, et al. The het- erophilic graph learning handbook: Benchmarks, models, theoretical analysis, applications and challenges. arXiv preprint arXiv:2407.09618, 2024.
  22. [Ma et al., 2021] Yao Ma, Xiaorui Liu, Tong Zhao, Yozen Liu, Jiliang Tang, and Neil Shah. A unified view on graph neural networks as graph signal denoising. In CIKM, pages 1202-1211, 2021.
  23. [Ma et al., 2022] Yao Ma, Xiaorui Liu, Neil Shah, and Jil- iang Tang. Is homophily a necessity for graph neural net- works? In ICLR, 2022.
  24. [Pei et al., 2020] Hongbin Pei, Bingzhe Wei, Kevin Chen- Chuan Chang, Yu Lei, and Bo Yang. Geom-GCN: Geo- metric graph convolutional networks. In ICLR, 2020.
  25. [Ranzato, 2007] Boureau Y. L. Chopra S. LeCun Y. Ran- zato, M. A. A unified energy-based framework for unsu- pervised learning. In AISTATS, pages 371-379, 2007.
  26. [Song and Wang, 2022] Yu Song and Donglin Wang. Learn- ing on graphs with out-of-distribution nodes. In KDD, pages 1635-1645, 2022.
  27. [Veličković et al., 2018] Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In ICLR, 2018.
  28. [Wang et al., 2024] Chenhao Wang, Yong Liu, Yan Yang, and Wei Li. HeterGCL: Graph contrastive learning frame- work on heterophilic graph. In IJCAI, 2024. IJCAI
  29. [Welling and Kipf, 2017] Max Welling and Thomas N Kipf. Semi-supervised classification with graph convolutional networks. In ICLR, 2017.
  30. [Zhu et al., 2020] Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Be- yond homophily in graph neural networks: Current limita- tions and effective designs. In NeurIPS, pages 7793-7804, 2020.
  31. [Zhu et al., 2021] Meiqi Zhu, Xiao Wang, Chuan Shi, Houye Ji, and Peng Cui. Interpreting and unifying graph neu- ral networks with an optimization framework. In WWW, pages 1215-1226, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards