Uncertainty Modeling in Graph Neural Networks via Stochastic Differential Equations
Richard Bergna, Sergio Calvo-Ordoñez, Felix L. Opolka, Pietro Lio, José Miguel Hernández-Lobato
Abstract
We propose a novel Stochastic Differential Equation (SDE) framework to address the problem of learning uncertainty-aware representations for graph-structured data. While Graph Neural Ordinary Differential Equations (GNODEs) have shown promise in learning node representations, they lack the ability to quantify uncertainty. To address this, we introduce Latent Graph Neural Stochastic Differential Equations (LGNSDE), which enhance GNODE by embedding randomness through a Bayesian prior-posterior mechanism for epistemic uncertainty and Brownian motion for aleatoric uncertainty. By leveraging the existence and uniqueness of solutions to graph-based SDEs, we prove that the variance of the latent space bounds the variance of model outputs, thereby providing theoretically sensible guarantees for the uncertainty estimates. Furthermore, we show mathematically that LGNSDEs are robust to small perturbations in the input, maintaining stability over time. Empirical results across several benchmarks demonstrate that our framework is competitive in out-of-distribution detection, robustness to noise, and active learning, underscoring the ability of LGNSDEs to quantify uncertainty reliably. Code is available at github.com/Richard-Bergna/GraphNeuralSDE.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 60daee19-1e76-4068-ad9b-26f9506cb359Cited by top-tier papers5
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph LearningAlvaro Arroyo, Alessio Gravina, Benjamin Gutteridge, Federico Barbero et al.NeurIPS 2025 · 58 citations
- Permutation Equivariant Neural Controlled Differential Equations for Dynamic Graph Representation LearningTorben Berndt, Benjamin Walker, Tiexin Qin, Jan Stühmer et al.NeurIPS 2025 · 5 citations
- Richer Bayesian Last Layers with Subsampled NTK FeaturesSergio Calvo Ordoñez, Jonathan Plenk, Richard Bergna, Alvaro Cartea et al.ICML 2026 · 4 citations
- X-EviProbe: Post-hoc Parameter-Free Evidential Uncertainty Quantification for Frozen Graph Neural NetworksChenghua Guo, Sihong Xie, Xi ZhangICML 2026
- Breaking One-Size-Fits-All: Revisiting Out-of-Distribution Detection on Graphs Under Diverse Distribution ShiftsChuancheng Song, Hanyang Shen, Yan Dong, Xixun Lin et al.AAAI 2026
Builds on6
- Uncertainty Aware Semi-Supervised Learning on Graph DataXujiang Zhao, Feng Chen, Shu Hu, Jin-Hee ChoNeurIPS 2020 · 178 citations
- Bayesian Graph Neural Networks with Adaptive Connection SamplingArman Hasanzadeh, Ehsan Hajiramezanali, Shahin Boluki, Mingyuan Zhou et al.ICML 2020 · 140 citations
- Graph Posterior Network: Bayesian Predictive Uncertainty for Node ClassificationMaximilian Stadler, Bertrand Charpentier, Simon Geisler, Daniel Zügner et al.NeurIPS 2021 · 133 citations
- Neural Latent Geometry Search: Product Manifold Inference via Gromov-Hausdorff-Informed Bayesian OptimizationHaitz Sáez de Ocáriz Borde, Alvaro Arroyo, Ismael Morales, Ingmar Posner et al.NeurIPS 2023 · 21 citations
- Graph Neural Stochastic Diffusion for Estimating Uncertainty in Node ClassificationXixun Lin, Wenxiao Zhang, Fengzhao Shi, Chuan Zhou et al.ICML 2024 · 16 citations
Related papers
- Uncertainty Estimation on Graphs with Structure Informed Stochastic Partial Differential EquationsFred Xu, Thomas MarkovichNeurIPS 2025 · 5 citations
- Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural NetworksPuja Trivedi, Mark Heimann, Rushil Anirudh, Danai Koutra et al.ICLR 2024 · 8 citations
- GraphDE: A Generative Framework for Debiased Learning and Out-of-Distribution Detection on GraphsZenan Li, Qitian Wu, Fan Nie, Junchi YanNeurIPS 2022 · 75 citations
- Graph Stochastic Neural Networks for Semi-supervised LearningHaibo Wang, Chuan Zhou, Xin Chen, Jia Wu et al.NeurIPS 2020 · 44 citations
- Tackling covariate shift with node-based Bayesian neural networksTrung Q. Trinh, Markus Heinonen, Luigi Acerbi, Samuel KaskiICML 2022 · 7 citations
