Energy-based Out-of-Distribution Detection for Graph Neural Networks
Qitian Wu, Yiting Chen, Chenxiao Yang, Junchi Yan
摘要
Learning on graphs, where instance nodes are inter-connected, has become one of the central problems for deep learning, as relational structures are pervasive and induce data inter-dependence which hinders trivial adaptation of existing approaches that assume inputs to be i.i.d. sampled. However, current models mostly focus on improving testing performance of in-distribution data and largely ignore the potential risk w.r.t. out-of-distribution (OOD) testing samples that may cause negative outcome if the prediction is overconfident on them. In this paper, we investigate the under-explored problem, OOD detection on graph-structured data, and identify a provably effective OOD discriminator based on an energy function directly extracted from graph neural networks trained with standard classification loss. This paves a way for a simple, powerful and efficient OOD detection model for GNN-based learning on graphs, which we call GNNSAFE. It also has nice theoretical properties that guarantee an overall distinguishable margin between the detection scores for in-distribution and OOD samples, which, more critically, can be further strengthened by a learning-free energy belief propagation scheme. For comprehensive evaluation, we introduce new benchmark settings that evaluate the model for detecting OOD data from both synthetic and real distribution shifts (crossdomain graph shifts and temporal graph shifts). The results show that GNNSAFE achieves up to 17.0% AUROC improvement over state-of-the-arts and it could serve as simple yet strong baselines in such an under-developed area. The codes are available at https://github.com/qitianwu/GraphOOD-GNNSafe .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 56 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? 引用了 Energy-based Out-of-distribution Detection
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
- Simplifying and Empowering Transformers for Large-Graph Representations 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Energy-based Out-of-distribution Detection 引用了 Your classifier is secretly an energy based model and you should treat it like one
- Graph Out-of-Distribution Generalization via Causal Intervention 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Graph Out-of-Distribution Generalization via Causal Intervention 引用了 Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift
- Graph Out-of-Distribution Generalization via Causal Intervention 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- ReAct: Out-of-distribution Detection With Rectified Activations 引用了 Energy-based Out-of-distribution Detection
- ReAct: Out-of-distribution Detection With Rectified Activations 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Dream the Impossible: Outlier Imagination with Diffusion Models 引用了 Energy-based Out-of-distribution Detection
- Dream the Impossible: Outlier Imagination with Diffusion Models 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
- Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- WILDS: A Benchmark of in-the-Wild Distribution Shifts 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
引用它的顶会 Paper56
- Simplifying and Empowering Transformers for Large-Graph RepresentationsQitian Wu, Wentao Zhao, Chenxiao Yang, Hengrui Zhang 等NeurIPS 2023 · 318 次引用
- Dream the Impossible: Outlier Imagination with Diffusion ModelsXuefeng Du, Yiyou Sun, Jerry Zhu, Yixuan LiNeurIPS 2023 · 114 次引用
- Unleashing the Power of Graph Data Augmentation on Covariate Distribution ShiftYongduo Sui, Qitian Wu, Jiancan Wu, Qing Cui 等NeurIPS 2023 · 63 次引用
- Graph Out-of-Distribution Generalization via Causal InterventionQitian Wu, Fan Nie, Chenxiao Yang, Tianyi Bao 等WWW 2024 · 58 次引用
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection?Xuefeng Du, Zhen Fang, Ilias Diakonikolas, Yixuan LiICLR 2024 · 39 次引用
它引用的 Paper21
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie 等ICML 2021 · 1,773 次引用
- ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 次引用
- Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud 等ICLR 2020 · 643 次引用
相关 Paper
- Decoupled Graph Energy-based Model for Node Out-of-Distribution Detection on Heterophilic GraphsYuhan Chen, Yihong Luo, Yifan Song, Pengwen Dai 等ICLR 2025
- Bounded and Uniform Energy-based Out-of-distribution Detection for GraphsShenzhi Yang, Bin Liang, An Liu, Lin Gui 等ICML 2024 · 11 次引用
- Graph Out-of-Distribution Detection Goes Neighborhood ShapingTianyi Bao, Qitian Wu, Zetian Jiang, Yiting Chen 等ICML 2024 · 11 次引用
- HyperGOOD: Towards Out-of-Distribution Detection in HypergraphsTingyi Cai, Yunliang Jiang, Ming Li, Changqin Huang 等AAAI 2026
- From Subtle to Significant: Prompt-Driven Self-Improving Optimization in Test-Time Graph OOD DetectionLuzhi Wang, Xuanshuo Fu, He Zhang, Chuang Liu 等AAAI 2026
