Energy-based Out-of-Distribution Detection for Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
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 (cross-domain 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.
Key facts. Cited by 68 papers in the map (data through 14 Oct 2026). Builds on 36 of its 52 references that are in the map. First posted on arXiv 6 Feb 2023.
Builds on
36 of 52 references.
References · 36
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2016Concrete Problems in AI Safetycited by 1,642
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 877
- 2015Image-based Recommendations on Styles and Substitutescited by 706
24 more
- 2013Domain Generalization via Invariant Feature Representationcited by 623
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2019MixHop: Higher-Order Graph Convolutional Architectures via Sparsified Neighborhood Mixingcited by 443
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
- 2016A Theory of Generative ConvNetcited by 174
- 2022Handling Distribution Shifts on Graphs: An Invariance Perspectivecited by 164
- 2018Dark Model Adaptation: Semantic Image Segmentation from Daytime to Nighttimecited by 122
- 2020Uncertainty Aware Semi-Supervised Learning on Graph Datacited by 95
- 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 87
- 2021Size-Invariant Graph Representations for Graph Classification Extrapolationscited by 84
- 2021Graph Posterior Network: Bayesian Predictive Uncertainty for Node Classificationcited by 80
- 2021Subgroup Generalization and Fairness of Graph Neural Networkscited by 69
- 2021Twitch Gamers: a Dataset for Evaluating Proximity Preserving and Structural Role-based Node Embeddingscited by 49
- 2018Discriminative out-of-distribution detection for semantic segmentationcited by 47
- 2022Breaking Down Out-of-Distribution Detection: Many Methods Based on OOD Training Data Estimate a Combination of the Same Core Quantitiescited by 23
- 2022Geometric Knowledge Distillation: Topology Compression for Graph Neural Networkscited by 22
- 2021Towards Open-World Feature Extrapolation: An Inductive Graph Learning Approachcited by 20
- 2022Towards OOD Detection in Graph Classification from Uncertainty Estimation Perspectivecited by 13
- 2022Towards Out-of-Distribution Sequential Event Prediction: A Causal Treatmentcited by 10
- 2023Predicting the Silent Majority on Graphs: Knowledge Transferable Graph Neural Networkcited by 10
Built on by
Citing papers per year: 2023: 10; 2024: 19; 2025: 31; 2026: 8.
68 papers.
Sort:
By area:
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
- 2023Dream the Impossible: Outlier Imagination with Diffusion Modelscited by 77
- 2024A Survey of Graph Neural Networks in Real world: Imbalance, Noise, Privacy and OOD Challengescited by 54
- 2023Towards Understanding the Generalization of Graph Neural Networkscited by 41
- 2024How Does Unlabeled Data Provably Help Out-of-Distribution Detection?cited by 36
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 26
- 2024Subgraph Pooling: Tackling Negative Transfer on Graphscited by 17
- 2025GOLD: Graph Out-of-Distribution Detection via Implicit Adversarial Latent Generationcited by 15
- 2025Handling Out-of-Distribution Data: A Surveycited by 14
- 2023GraphGLOW: Universal and Generalizable Structure Learning for Graph Neural Networkscited by 12
- 2024Uncertainty for Active Learning on Graphscited by 12
- 2024SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximationcited by 10
38 more
- 2024Can OOD Object Detectors Learn from Foundation Models?cited by 10
- 2024LEGO-Learn: Label-Efficient Graph Open-Set Learningcited by 10
- 2025Decoupled Graph Energy-based Model for Node Out-of-Distribution Detection on Heterophilic Graphscited by 9
- 2023SGOOD: Substructure-enhanced Graph-Level Out-of-Distribution Detectioncited by 7
- 2024Taming False Positives in Out-of-Distribution Detection with Human Feedbackcited by 7
- 2024Mitigating Label Noise on Graph via Topological Sample Selectioncited by 6
- 2024When and How Does In-Distribution Label Help Out-of-Distribution Detection?cited by 6
- 2025Few-Shot Graph Out-of-Distribution Detection with LLMscited by 6
- 2025Bounded and Uniform Energy-based Out-of-distribution Detection for Graphscited by 6
- 2025Graph Synthetic Out-of-Distribution Exposure with Large Language Modelscited by 6
- 2025Understanding and Mitigating Under-Confidence in GNNs from the Final Layercited by 6
- 2023Clarify Confused Nodes via Separated Learningcited by 5
- 2023Improvements on Uncertainty Quantification for Node Classification via Distance-Based Regularizationcited by 5
- 2024GDDA: Semantic OOD Detection on Graphs under Covariate Shift via Score-Based Diffusion Modelscited by 5
- 2023Managing the unknown: a survey on Open Set Recognition and tangential areascited by 4
- 2024MLDGG: Meta-Learning for Domain Generalization on Graphscited by 4
- 2025Out-of-Distribution Detection using Synthetic Data Generationcited by 4
- 2025An Information-Theoretic Framework for Feature Construction in Out-of-Distribution Detectioncited by 4
- 2024Skeleton-OOD: An End-to-End Skeleton-Based Model for Robust Out-of-Distribution Human Action Detectioncited by 3
- 2026Random-Set Graph Neural Networkscited by 3
- 2023Anomaly Detection in Networks via Score-Based Generative Modelscited by 2
- 2024EdgeOL: Efficient in-situ Online Learning on Edge Devicescited by 2
- 2024Learning Divergence Fields for Shift-Robust Graph Representationscited by 2
- 2024DeCaf: A Causal Decoupling Framework for OOD Generalization on Node Classificationcited by 2
- 2025GLIP-OOD: Zero-Shot Graph OOD Detection with Graph Foundation Modelcited by 2
- 2025SpectralGap: Graph-Level Out-of-Distribution Detection via Laplacian Eigenvalue Gapscited by 2
- 2025Uncertainty Estimation for Heterophilic Graphs Through the Lens of Information Theorycited by 2
- 2025Uncertainty Estimation on Graphs with Structure Informed Stochastic Partial Differential Equationscited by 2
- 2025Can Molecular Foundation Models Know What They Don't Know? A Simple Remedy with Preference Optimizationcited by 2
- 2025Medix: Out-of-Distribution Detection from Unlabeled Wild Data via Robust Gradient Statisticscited by 2
- 2025Credal Graph Neural Networkscited by 2
- 2026Tuning Out-of-Distribution (OOD) Detectors Without Given OOD Datacited by 2
- 2023FALCON: Feature-Label Constrained Graph Net Collapse for Memory Efficient GNNscited by 1
- 2024Novel Node Category Detection Under Subpopulation Shiftcited by 1
- 2024LSM-GNN: Large-scale Storage-based Multi-GPU GNN Training by Optimizing Data Transfer Schemecited by 1
- 2025Harnessing Feature Resonance under Arbitrary Target Alignment for Out-of-Distribution Node Detectioncited by 1
- 2025When LLMs meet open-world graph learning: a new perspective for unlabeled data uncertaintycited by 1
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generationcited by 1
50 most cited of 68 All 68 (JSON)
- 2026A Unified Uncertainty Representation for Graph Neural Networks via Doubly-Spectral Stochastic Expansion28 Sep 2026
- 2026MOVE: Multimodal Open-world Verification and Expansion for Graph Learning24 Sep 2026
- 2026Hypergraph Neural Stochastic Diffusion: An SDE Framework for Uncertainty Estimation8 Jul 2026
- 2026What Information Matters? Graph Out-of-Distribution Detection via Tri-Component Information Decomposition13 May 2026
- 2026Random-Set Graph Neural Networks12 May 2026
- 2026Disentangled Graph Prompting for Out-Of-Distribution Detection31 Mar 2026
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generation24 Mar 2026
- 2026Tuning Out-of-Distribution (OOD) Detectors Without Given OOD Data5 Feb 2026
- 2025Out-of-Distribution Detection in Molecular Complexes via Diffusion Models for Irregular Graphs20 Dec 2025
- 2025Predictive Sample Assignment for Semantically Coherent Out-of-Distribution Detection15 Dec 2025
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classification11 Dec 2025
- 2025Credal Graph Neural Networks2 Dec 2025
38 more
- 2025Medix: Out-of-Distribution Detection from Unlabeled Wild Data via Robust Gradient Statistics7 Oct 2025
- 2025Can Molecular Foundation Models Know What They Don't Know? A Simple Remedy with Preference Optimization29 Sep 2025
- 2025GraphTorque: Torque-Driven Rewiring Graph Neural Network29 Jul 2025
- 2025Robust Taxi Fare Prediction Under Noisy Conditions: A Comparative Study of GAT, TimesNet, and XGBoost26 Jul 2025
- 2025Handling Out-of-Distribution Data: A Survey25 Jul 2025
- 2025Subgraph Generation for Generalizing on Out-of-Distribution Links15 Jul 2025
- 2025Exploiting Vision Language Model for Training-Free 3D Point Cloud OOD Detection via Graph Score Propagation27 Jun 2025
- 2025SODA: Out-of-Distribution Detection in Domain-Shifted Point Clouds via Neighborhood Propagation27 Jun 2025
- 2025An Information-Theoretic Framework for Feature Construction in Out-of-Distribution Detection17 Jun 2025
- 2025Unleashing Diffusion and State Space Models for Medical Image Segmentation15 Jun 2025
- 2025Evidential Spectrum-Aware Contrastive Learning for OOD Detection in Dynamic Graphs9 Jun 2025
- 2025Uncertainty Estimation on Graphs with Structure Informed Stochastic Partial Differential Equations7 Jun 2025
- 2025Uncertainty Estimation for Heterophilic Graphs Through the Lens of Information Theory28 May 2025
- 2025SpectralGap: Graph-Level Out-of-Distribution Detection via Laplacian Eigenvalue Gaps21 May 2025
- 2025When LLMs meet open-world graph learning: a new perspective for unlabeled data uncertainty20 May 2025
- 2025Understanding and Mitigating Under-Confidence in GNNs from the Final Layer16 May 2025
- 2025Out-of-Distribution Detection in Heterogeneous Graphs via Energy Propagation29 Apr 2025
- 2025Graph Synthetic Out-of-Distribution Exposure with Large Language Models29 Apr 2025
- 2025GLIP-OOD: Zero-Shot Graph OOD Detection with Graph Foundation Model29 Apr 2025
- 2025Bounded and Uniform Energy-based Out-of-distribution Detection for Graphs18 Apr 2025
- 2025Few-Shot Graph Out-of-Distribution Detection with LLMs28 Mar 2025
- 2025Evidential Uncertainty Probes for Graph Neural Networks11 Mar 2025
- 2025G-OSR: A Comprehensive Benchmark for Graph Open-Set Recognition1 Mar 2025
- 2025Decoupled Graph Energy-based Model for Node Out-of-Distribution Detection on Heterophilic Graphs25 Feb 2025
- 2025Harnessing Feature Resonance under Arbitrary Target Alignment for Out-of-Distribution Node Detection22 Feb 2025
- 2025GOLD: Graph Out-of-Distribution Detection via Implicit Adversarial Latent Generation9 Feb 2025
- 2025Out-of-Distribution Detection using Synthetic Data Generation5 Feb 2025
- 2024MLDGG: Meta-Learning for Domain Generalization on Graphs19 Nov 2024
- 2024DeCaf: A Causal Decoupling Framework for OOD Generalization on Node Classification27 Oct 2024
- 2024GDDA: Semantic OOD Detection on Graphs under Covariate Shift via Score-Based Diffusion Models23 Oct 2024
- 2024LEGO-Learn: Label-Efficient Graph Open-Set Learning21 Oct 2024
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances18 Sep 2024
- 2024Can OOD Object Detectors Learn from Foundation Models?8 Sep 2024
- 2024LSM-GNN: Large-scale Storage-based Multi-GPU GNN Training by Optimizing Data Transfer Scheme21 Jul 2024
- 2024SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximation18 Jun 2024
- 2024Learning Divergence Fields for Shift-Robust Graph Representations7 Jun 2024
- 2024Skeleton-OOD: An End-to-End Skeleton-Based Model for Robust Out-of-Distribution Human Action Detection31 May 2024
- 2024When and How Does In-Distribution Label Help Out-of-Distribution Detection?28 May 2024
50 newest of 68 All 68 (JSON)
- 2023Dream the Impossible: Outlier Imagination with Diffusion Modelscited by 77
- 2024GDDA: Semantic OOD Detection on Graphs under Covariate Shift via Score-Based Diffusion Modelscited by 5
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generationcited by 1
- 2025Out-of-Distribution Detection in Molecular Complexes via Diffusion Models for Irregular Graphscited by 0
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generation24 Mar 2026
- 2025Out-of-Distribution Detection in Molecular Complexes via Diffusion Models for Irregular Graphs20 Dec 2025
- 2024GDDA: Semantic OOD Detection on Graphs under Covariate Shift via Score-Based Diffusion Models23 Oct 2024
- 2023Dream the Impossible: Outlier Imagination with Diffusion Models23 Sep 2023
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
- 2024A Survey of Graph Neural Networks in Real world: Imbalance, Noise, Privacy and OOD Challengescited by 54
- 2023Towards Understanding the Generalization of Graph Neural Networkscited by 41
- 2024How Does Unlabeled Data Provably Help Out-of-Distribution Detection?cited by 36
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 26
- 2024Subgraph Pooling: Tackling Negative Transfer on Graphscited by 17
- 2025GOLD: Graph Out-of-Distribution Detection via Implicit Adversarial Latent Generationcited by 15
- 2025Handling Out-of-Distribution Data: A Surveycited by 14
- 2023GraphGLOW: Universal and Generalizable Structure Learning for Graph Neural Networkscited by 12
- 2024Uncertainty for Active Learning on Graphscited by 12
- 2024SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximationcited by 10
- 2024Can OOD Object Detectors Learn from Foundation Models?cited by 10
12 most cited of 61 All 61 (JSON)
- 2026A Unified Uncertainty Representation for Graph Neural Networks via Doubly-Spectral Stochastic Expansion28 Sep 2026
- 2026MOVE: Multimodal Open-world Verification and Expansion for Graph Learning24 Sep 2026
- 2026Hypergraph Neural Stochastic Diffusion: An SDE Framework for Uncertainty Estimation8 Jul 2026
- 2026What Information Matters? Graph Out-of-Distribution Detection via Tri-Component Information Decomposition13 May 2026
- 2026Random-Set Graph Neural Networks12 May 2026
- 2026Disentangled Graph Prompting for Out-Of-Distribution Detection31 Mar 2026
- 2026Tuning Out-of-Distribution (OOD) Detectors Without Given OOD Data5 Feb 2026
- 2025Predictive Sample Assignment for Semantically Coherent Out-of-Distribution Detection15 Dec 2025
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classification11 Dec 2025
- 2025Credal Graph Neural Networks2 Dec 2025
- 2025Medix: Out-of-Distribution Detection from Unlabeled Wild Data via Robust Gradient Statistics7 Oct 2025
- 2025GraphTorque: Torque-Driven Rewiring Graph Neural Network29 Jul 2025
12 newest of 61 All 61 (JSON)