Cooperative Bayesian and variance networks disentangle aleatoric and epistemic uncertainties
Jiaxiang Yi, Miguel A. Bessa
TL;DR
The paper addresses the challenge of splitting aleatoric (data) uncertainty from epistemic (model) uncertainty in regression tasks. It introduces a cooperative framework that sequentially trains a mean network, a variance estimation network for aleatoric noise, and a Bayesian neural network that updates the mean and captures epistemic uncertainty, ensuring explicit disentanglement. The approach uses a Gaussian likelihood with heteroscedastic variance for the mean, a Gamma-based residual model for aleatoric variance, and pSGLD-based Bayesian inference to obtain a predictive distribution composed of the mean, aleatoric, and epistemic components. Across 18 datasets, including a synthetic plasticity problem with known aleatoric noise, the method consistently improves mean predictions and provides well-calibrated uncertainty estimates, outperforming end-to-end baselines and enabling robust uncertainty quantification for decision-making and active learning.
Abstract
Real-world data contains aleatoric uncertainty - irreducible noise arising from imperfect measurements or from incomplete knowledge about the data generation process. Mean variance estimation (MVE) networks can learn this type of uncertainty but require ad-hoc regularization strategies to avoid overfitting and are unable to predict epistemic uncertainty (model uncertainty). Conversely, Bayesian neural networks predict epistemic uncertainty but are notoriously difficult to train due to the approximate nature of Bayesian inference. We propose to cooperatively train a variance network with a Bayesian neural network and demonstrate that the resulting model disentangles aleatoric and epistemic uncertainties while improving the mean estimation. We demonstrate the effectiveness and scalability of this method across a diverse range of datasets, including a time-dependent heteroscedastic regression dataset we created where the aleatoric uncertainty is known. The proposed method is straightforward to implement, robust, and adaptable to various model architectures.
