Proceedings

Graph OOD Detection via Plug-and-Play Energy-based Evaluation and Propagation

Download BibTeX Cite

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

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

Abstract

Existing graph neural network (GNN) methods are typically built upon the i.i.d. assumption, emphasizing the enhancement of the test performance for in-distribution (ID) data. However, there has been limited exploration of their adaptability to scenarios involving unknown distribution data. On the one hand, in real-world application scenarios, graph data often expands continuously with the acquisition of external knowledge, which means that new nodes with unknown categories may be added to the graph data. The gap between the new node distribution and the original node distribution can make existing GNN methods less effective. On the other hand, existing out-of-distribution (OOD) detection methods often rely on the softmax confidence score, which makes the OOD data suffer from overconfident posterior distributions. To address the above issues, we propose an Energy Propagation-based Graph Neural Network (EPGNN), which improves the OOD generalization ability by endowing GNN with the capacity to detect the OOD nodes in the graph. Specifically, we first construct GNN encoder to obtain node embedding that incorporates neighborhood structural information. Then, we design a plug-and-play energy-based OOD evaluator by assigning corresponding energy values to different nodes. Finally, we construct a plug-and-play structure-aware energy propagation module and joint alignment regularization, which make the node energy more flexible during the training process. Extensive experiments on benchmark datasets demonstrate the superiority of our method.

  1. [Abdi et al., 2024] Lemar Abdi, M. M. Amaan Valiuddin, Christiaan G. A. Viviers, Peter H. N. de With, and Fons van der Sommen. Typicality excels likelihood for unsu- pervised out-of-distribution detection in medical imaging. In Proceedings of the 6th Uncertainty for Safe Utilization of Machine Learning in Medical Imaging, pages 149-159, Marrakesh, Morocco, October 2024. Springer.
  2. [Arbel et al., 2021] Michael Arbel, Liang Zhou, and Arthur Gretton. Generalized energy based models. In Proceed- ings of the 9th International Conference on Learning Rep- resentations, Virtual Event, May 2021. OpenReview.net. Brody et al., 2022]
  3. Shaked Brody, Uri Alon, and Eran Ya- hav. How attentive are graph attention networks? In Pro- ceedings of the 10th International Conference on Learn- ing Representations, Virtual Event, April 2022. OpenRe- view.net.
  4. [Cui et al., 2023] Jiali Cui, Ying Nian Wu, and Tian Han. Learning hierarchical features with joint latent space energy-based prior. In Proceedings of the International Conference on Computer Vision, pages 2218-2227, Paris, France, October 2023. IEEE.
  5. [Du et al., 2020] Yilun Du, Shuang Li, and Igor Mordatch. Compositional visual generation with energy based mod- els. In Proceedings of the Annual Conference on Neural Information Processing Systems, virtual, December 2020.
  6. [Gao et al., 2020] Ruiqi Gao, Erik Nijkamp, Diederik P. Kingma, Zhen Xu, Andrew M. Dai, and Ying Nian Wu. Flow contrastive estimation of energy-based models. In Proceedings of the Conference on Computer Vision and Pattern Recognition, pages 7515-7525, Seattle, WA, USA, June 2020. Computer Vision Foundation / IEEE.
  7. [Guo et al., 2022] Kai Guo, Kaixiong Zhou, Xia Hu, Yu Li, Yi Chang, and Xin Wang. Orthogonal graph neural net- works. In Proceedings of the 36th AAAI Conference on Ar- tificial Intelligence, pages 3996-4004. AAAI Press, 2022.
  8. [Hamilton et al., 2017] William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Proceedings of the Annual Conference on Neural Information Processing Systems, pages 1024- 1034, Long Beach, CA, USA, December 2017.
  9. [Hendrycks and Gimpel, 2017] Dan Hendrycks and Kevin Gimpel. A baseline for detecting misclassified and out-of- distribution examples in neural networks. In Proceedings of the 5th International Conference on Learning Represen- tations, Toulon, France, April 2017. OpenReview.net.
  10. [Hendrycks et al., 2019] Dan Hendrycks, Mantas Mazeika, and Thomas G. Dietterich. Deep anomaly detection with outlier exposure. In Proceedings of the 7th International Conference on Learning Representations, New Orleans, LA, USA, May 2019. OpenReview.net.
  11. [Hoffmann et al., 2023] Marcel Hoffmann, Lukas Galke, and Ansgar Scherp. Open-world lifelong graph learning. In Proceedings of the International Joint Conference on Neural Networks, pages 1-9, Gold Coast, Australia, June 2023. IEEE.
  12. [Hsu et al., 2020] Yen-Chang Hsu, Yilin Shen, Hongxia Jin, and Zsolt Kira. Generalized ODIN: detecting out-of-distribution image without learning from out-of- distribution data. In Proceedings of the Conference on Computer Vision and Pattern Recognition, pages 10948- 10957, Seattle, WA, USA, June 2020.
  13. [Hu et al., 2021] Yang Hu, Haoxuan You, Zhecan Wang, Zhicheng Wang, Erjin Zhou, and Yue Gao. Graph-mlp: Node classification without message passing in graph. CoRR, abs/2106.04051, 2021.
  14. [Juan et al., 2024] Xin Juan, Xiao Liang, Haotian Xue, and Xin Wang. Multi-strategy adaptive data augmentation for graph neural networks. Expert Syst. Appl., 258:125076, 2024.
  15. [Kipf and Welling, 2017] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In Proceedings of the 5th International Confer- ence on Learning Representations, Toulon, France, April 2017. OpenReview.net.
  16. [Liang et al., 2018] Shiyu Liang, Yixuan Li, and R. Srikant. Enhancing the reliability of out-of-distribution image de- tection in neural networks. In Proceedings of the 6th In- ternational Conference on Learning Representations, Van- couver, BC, Canada, April 2018. OpenReview.net.
  17. [Liu et al., 2020] Meng Liu, Hongyang Gao, and Shuiwang Ji. Towards deeper graph neural networks. In Proceedings of the 26th Conference on Knowledge Discovery and Data Mining, pages 338-348. ACM, 2020.
  18. [Pang et al., 2021] Bo Pang, Tianyang Zhao, Xu Xie, and Ying Nian Wu. Trajectory prediction with latent belief energy-based model. In Proceedings of the Conference on Computer Vision and Pattern Recognition, pages 11814- 11824, virtual, June 2021. Computer Vision Foundation / IEEE.
  19. [Peng et al., 2024] Tianshuo Peng, Zuchao Li, Ping Wang, Lefei Zhang, and Hai Zhao. A novel energy based model mechanism for multi-modal aspect-based sentiment analy- sis. In Proceedings of the 38th AAAI Conference on Artifi- cial Intelligence, pages 18869-18878, Vancouver, Canada, February 2024. AAAI Press.
  20. [Salehi et al., 2022] Mohammadreza Salehi, Hossein Mirzaei, Dan Hendrycks, Yixuan Li, Mohammad Hossein Rohban, and Mohammad Sabokrou. A unified survey on anomaly, novelty, open-set, and out of-distribution detection: Solutions and future challenges. Trans. Mach. Learn. Res., 2022, 2022.
  21. [Schmarje et al., 2024] Lars Schmarje, Kaspar Sakman, Reinhard Koch, and Dan Zhang. UNCOVER: unknown class object detection for autonomous vehicles in real- time. CoRR, abs/2412.03986, 2024.
  22. [Shen et al., 2024] Xu Shen, Yili Wang, Kaixiong Zhou, Shirui Pan, and Xin Wang. Optimizing OOD detection in molecular graphs: A novel approach with diffusion mod- els. In Proceedings of the 30th Conference on Knowledge Discovery and Data Mining, pages 2640-2650. ACM, 2024.
  23. [Song and Kingma, 2021] Yang Song and Diederik P. Kingma. How to train your energy-based models. CoRR, abs/2101.03288, 2021.
  24. [Song and Wang, 2022] Yu Song and Donglin Wang. Learn- ing on graphs with out-of-distribution nodes. In Proceed- ings of the 28th conference on Knowledge Discovery and Data Mining, pages 1635-1645, Washington, DC, USA, August 2022. ACM.
  25. [Sun et al., 2022] Yiyou Sun, Yifei Ming, Xiaojin Zhu, and Yixuan Li. Out-of-distribution detection with deep nearest neighbors. In Proceedings of the 39th International Con- ference on Machine Learning, pages 20827-20840, Balti- more, Maryland, USA, July 2022. PMLR.
  26. [Tang et al., 2008] Jie Tang, Jing Zhang, Limin Yao, Juanzi Li, Li Zhang, and Zhong Su. Arnetminer: extraction and mining of academic social networks. In Proceedings of the 14th International Conference on Knowledge Discov- ery and Data Mining, pages 990-998, Las Vegas, Nevada, USA, August 2008. ACM.
  27. [Tu et al., 2020] Lifu Tu, Richard Yuanzhe Pang, Sam Wise- man, and Kevin Gimpel. ENGINE: energy-based infer- ence networks for non-autoregressive machine translation. In Proceedings of the 58th Annual Meeting of the Associa- tion for Computational Linguistics, pages 2819-2826, On- line, July 2020. Association for Computational Linguis- tics.
  28. [Velickovic et al., 2017] Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. CoRR, abs/1710.10903, August 2017.
  29. [Wu et al., 2023] Qitian Wu, Yiting Chen, Chenxiao Yang, and Junchi Yan. Energy-based out-of-distribution detec- tion for graph neural networks. In Proceedings of the 11th International Conference on Learning Representa- tions, Kigali, Rwanda, May 2023. OpenReview.net.
  30. [Xu et al., 2019] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural net- works? In Proceedings of the 7th International Con- ference on Learning Representations, New Orleans, LA, USA, May 2019. OpenReview.net.
  31. [Yang et al., 2024a] Cheng Yang, Guoping Huang, Mo Yu, Zhirui Zhang, Siheng Li, Mingming Yang, Shuming Shi, Yujiu Yang, and Lemao Liu. An energy-based model for word-level autocompletion in computer-aided translation. Trans. Assoc. Comput. Linguistics, 12:137-156, 2024.
  32. [Yang et al., 2024b] Jingkang Yang, Kaiyang Zhou, Yixuan Li, and Ziwei Liu. Generalized out-of-distribution detec- tion: A survey. Int. J. Comput. Vis., 132(12):5635-5662, 2024.

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

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