Energy-based Epistemic Uncertainty for Graph Neural Networks
Dominik Fuchsgruber, Tom Wollschläger, Stephan Günnemann
Abstract
In domains with interdependent data, such as graphs, quantifying the epistemic uncertainty of a Graph Neural Network (GNN) is challenging as uncertainty can arise at different structural scales. Existing techniques neglect this issue or only distinguish between structure-aware and structure-agnostic uncertainty without combining them into a single measure. We propose GEBM, an energy-based model (EBM) that provides high-quality uncertainty estimates by aggregating energy at different structural levels that naturally arise from graph diffusion. In contrast to logit-based EBMs, we provably induce an integrable density in the data space by regularizing the energy function. We introduce an evidential interpretation of our EBM that significantly improves the predictive robustness of the GNN. Our framework is a simple and effective post hoc method applicable to any pre-trained GNN that is sensitive to various distribution shifts. It consistently achieves the best separation of in-distribution and out-of-distribution data on 6 out of 7 anomaly types while having the best average rank over shifts on all datasets.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Softmax is not Enough (for Adaptive Conformal Classification) cites Energy-based Out-of-distribution Detection
- Uncertainty Estimation for Heterophilic Graphs Through the Lens of Information Theory cites BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong Learning
- Uncertainty Estimation for Heterophilic Graphs Through the Lens of Information Theory cites Energy-based Out-of-distribution Detection
- Uncertainty Estimation for Heterophilic Graphs Through the Lens of Information Theory cites Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awareness
- Uncertainty Estimation for Heterophilic Graphs Through the Lens of Information Theory cites How Attentive are Graph Attention Networks?
- X-EviProbe: Post-hoc Parameter-Free Evidential Uncertainty Quantification for Frozen Graph Neural Networks cites Energy-based Out-of-distribution Detection
- Joint Out-of-Distribution Filtering and Data Discovery Active Learning cites Energy-based Out-of-distribution Detection
- Joint Out-of-Distribution Filtering and Data Discovery Active Learning cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Uncertainty Estimation on Graphs with Structure Informed Stochastic Partial Differential Equations cites Energy-based Out-of-distribution Detection
- Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awareness cites BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong Learning
- Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
Cited by top-tier papers8
- Uncertainty Estimation on Graphs with Structure Informed Stochastic Partial Differential EquationsFred Xu, Thomas MarkovichNeurIPS 2025 · 5 citations
- Softmax is not Enough (for Adaptive Conformal Classification)Navid Akhavan Attar, Hesam Asadollahzadeh, Ling Luo, Uwe AickelinICLR 2026
- Uncertainty Estimation for Heterophilic Graphs Through the Lens of Information TheoryDominik Fuchsgruber, Tom Wollschläger, Johannes Bordne, Stephan GünnemannICML 2025
- X-EviProbe: Post-hoc Parameter-Free Evidential Uncertainty Quantification for Frozen Graph Neural NetworksChenghua Guo, Sihong Xie, Xi ZhangICML 2026
- Joint Out-of-Distribution Filtering and Data Discovery Active LearningSebastian Schmidt, Leonard Schenk, Leo Schwinn, Stephan GünnemannCVPR 2025
Builds on23
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- How Attentive are Graph Attention Networks?Shaked Brody, Uri Alon, Eran YahavICLR 2022 · 1,717 citations
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
- Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance AwarenessJeremiah Z. Liu, Zi Lin, Shreyas Padhy, Dustin Tran et al.NeurIPS 2020 · 604 citations
- BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong LearningYeming Wen, Dustin Tran, Jimmy BaICLR 2020 · 569 citations
Related papers
- Graph Neural Stochastic Diffusion for Estimating Uncertainty in Node ClassificationXixun Lin, Wenxiao Zhang, Fengzhao Shi, Chuan Zhou et al.ICML 2024 · 16 citations
- Graph Evidential Learning for Anomaly DetectionChunyu Wei, Wenji Hu, Xingjia Hao, Yunhai Wang et al.KDD 2025 · 2 citations
- Uncertainty-Matching Graph Neural Networks to Defend Against Poisoning AttacksUday Shankar Shanthamallu, Jayaraman J. Thiagarajan, Andreas SpaniasAAAI 2021 · 19 citations
- Graph Posterior Network: Bayesian Predictive Uncertainty for Node ClassificationMaximilian Stadler, Bertrand Charpentier, Simon Geisler, Daniel Zügner et al.NeurIPS 2021 · 133 citations
- Uncertainty Modeling in Graph Neural Networks via Stochastic Differential EquationsRichard Bergna, Sergio Calvo-Ordoñez, Felix L. Opolka, Pietro Lio et al.ICLR 2025
