Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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}}.

Richard Bergna, Sergio Calvo-Ordo\~nez, Felix L. Opolka, Pietro Li\`o, Jose Miguel Hernandez-Lobato• 2024

Related benchmarks

TaskDatasetResultRank
OOD DetectionCora (Label Leave-out)
AUROC86.84
28
OOD DetectionCora Structure Manipulation
AUROC0.6447
28
OOD DetectionCiteseer Feature Interpolation
AUROC78.65
14
OOD DetectionDBLP Feature Interpolation
AUROC97.73
14
OOD DetectionDBLP Structure Manipulation
AUROC63.81
14
OOD DetectionModelNet40 Feature Interpolation
AUROC85.14
14
OOD DetectionCora Feature Interpolation
AUROC71.84
14
OOD DetectionModelNet40 Structure Manipulation
AUROC62.68
14
OOD DetectionCiteseer Structure Manipulation
AUROC64.03
14
OOD DetectionDBLP Label Leave-out
AUROC90.58
14
Showing 10 of 22 rows

Other info

Follow for update