[Paper Review] Deep Ensembles from a Bayesian Perspective
This paper frames deep ensembles as an approximate Bayesian inference method by specifying the underlying statistical model and prior assumptions. It improves uncertainty quantification by replacing delta distributions with Gaussian approximations for network weights via post-processing, significantly increasing epistemic uncertainty in low-data regimes without altering training or performance.
Deep ensembles can be considered as the current state-of-the-art for uncertainty quantification in deep learning. While the approach was originally proposed as a non-Bayesian technique, arguments supporting its Bayesian footing have been put forward as well. We show that deep ensembles can be viewed as an approximate Bayesian method by specifying the corresponding assumptions. Our findings lead to an improved approximation which results in an enlarged epistemic part of the uncertainty. Numerical examples suggest that the improved approximation can lead to more reliable uncertainties. Analytical derivations ensure easy calculation of results.
Motivation & Objective
- To formally establish deep ensembles as an approximate Bayesian method by identifying the required statistical model and prior distributions.
- To improve the uncertainty quantification of deep ensembles by enhancing the posterior approximation beyond delta distributions.
- To develop a post-processing method that increases epistemic uncertainty without modifying the training procedure or regression function.
- To demonstrate that the improved approximation leads to better-calibrated uncertainty estimates, especially in low-data regimes.
Proposed method
- The method treats deep ensembles as a mixture of delta distributions centered at local maximum a posteriori (MAP) estimates of network weights.
- It replaces delta distributions with Gaussian distributions to better approximate the true posterior, enabling a more accurate representation of epistemic uncertainty.
- The variances of the Gaussian components are determined by minimizing the Kullback-Leibler divergence between the approximate and true posterior, using variational inference.
- The ELBO (evidence lower bound) is maximized analytically in a post-processing step, avoiding retraining.
- Only the weights of the final layer are treated as random variables, enabling analytical computation of the posterior variance.
- The approach preserves the original deep ensemble's regression function and training process, applying the improvement as a lightweight post-processing step.
Experimental results
Research questions
- RQ1Can deep ensembles be formally interpreted as an approximate Bayesian inference method under specific statistical assumptions?
- RQ2How does replacing delta distributions with Gaussian approximations for network weights affect uncertainty quantification in deep ensembles?
- RQ3Does the proposed post-processing method lead to more reliable epistemic uncertainty estimates, particularly when training data are limited?
- RQ4In what scenarios does the improved approximation significantly alter uncertainty estimates compared to classical deep ensembles?
Key findings
- The proposed method increases epistemic uncertainty by adding a finite-variance component to the posterior approximation, leading to a larger epistemic variance component.
- In the QSAR aquatic toxicity and yacht hydrodynamics datasets with limited training data, epistemic coverage increased from 20.4% to 22.8%, while total coverage remained well-calibrated at ~95.3%.
- For the year prediction MSD dataset with abundant data, the improvement was negligible, consistent with theoretical expectations that Gaussian variances shrink to zero as data size increases.
- The ratio of epistemic to aleatoric variance increased from 0.093 to 0.094 in the first dataset, indicating a measurable rise in epistemic uncertainty.
- The method enables analytical computation of the improved uncertainty estimates via post-processing, without retraining or modifying the original ensemble.
- The extension is applicable to single networks by treating the ensemble as a single posterior approximation, enabling epistemic uncertainty estimation for any trained network.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.