Energy-based Epistemic Uncertainty for Graph Neural Networks

Dominik Fuchsgruber, Tom Wollschlager, Stephan Günnemann
2/3/2026

No official code found. Best implementation: dfuchsgruber/graph-ebm (6 stars, last commit 2025-01-30).

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 \emph{all} datasets.

View on arXivView PDF

Code Implementations(1)

Official reference implementation of NeurIPS 2024 paper "Energy-based Epistemic Uncertainty for Graph Neural Networks"

61Python, Jupyter NotebookOct 15, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{fuchsgruber2026energybased,
  title  = {Energy-based Epistemic Uncertainty for Graph Neural Networks},
  author = {Dominik Fuchsgruber and Tom Wollschlager and Stephan Günnemann},
  year   = {2026},
  eprint = {2406.04043},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.04043},
  url    = {https://arxiv.org/abs/2406.04043},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.04043.svg)](https://codeofpaper.com/paper/2406.04043)

Discussion