Uncertainty Modeling in Graph Neural Networks via Stochastic Differential Equations
About
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 \href{https://github.com/Richard-Bergna/GraphNeuralSDE}{\texttt{github.com/Richard-Bergna/GraphNeuralSDE}}.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| OOD Detection | Cora (Label Leave-out) | AUROC86.84 | 28 | |
| OOD Detection | Cora Structure Manipulation | AUROC0.6447 | 28 | |
| OOD Detection | Citeseer Feature Interpolation | AUROC78.65 | 14 | |
| OOD Detection | DBLP Feature Interpolation | AUROC97.73 | 14 | |
| OOD Detection | DBLP Structure Manipulation | AUROC63.81 | 14 | |
| OOD Detection | ModelNet40 Feature Interpolation | AUROC85.14 | 14 | |
| OOD Detection | Cora Feature Interpolation | AUROC71.84 | 14 | |
| OOD Detection | ModelNet40 Structure Manipulation | AUROC62.68 | 14 | |
| OOD Detection | Citeseer Structure Manipulation | AUROC64.03 | 14 | |
| OOD Detection | DBLP Label Leave-out | AUROC90.58 | 14 |