Energy-based Epistemic Uncertainty for Graph Neural Networks
Dominik Fuchsgruber, Tom Wollschläger, Stephan Günnemann
TL;DR
The paper tackles epistemic uncertainty in graph neural networks by introducing GEBM, an energy-based model that aggregates energy signals at independent, local, and group graph scales via diffusion. A Gaussian regularizer on logits ensures the induced data density is integrable, and the framework admits an evidential interpretation that yields robust predictions under distribution shifts. Empirically, GEBM achieves state-of-the-art out-of-distribution detection and the best average performance across multiple distribution shifts while preserving backbone accuracy. The work also clarifies theoretical connections between EBMs and evidential learning, and discusses limitations and broader impact in the graph learning setting.
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.
