Paper commentary
Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles
Deep ensembles give useful uncertainty estimates without Bayesian training
- Problem Neural networks give overconfident predictions, and Bayesian fixes are hard to implement and slow to train. Their approximations also depend on how close they get to the true posterior.
- Method Deep ensembles train several ordinary networks independently, each with a proper scoring rule. They then average the members' predicted distributions, using a random start and shuffled data for diversity.
- Results On the Energy regression benchmark, the ensemble reaches an NLL of 1.38±0.22, compared to 2.04±0.02 for PBP.
Why network confidence can't be taken at face value
Neural networks are strong predictors, yet their outputs often look more confident than the data justify. A confident wrong answer can do real damage, so the stated uncertainty matters as much as the accuracy. The authors judge uncertainty by calibration, and by how it behaves on inputs unlike the training data.
The standard remedy is Bayesian: place a prior over the weights and average over the resulting posterior. Exact inference is intractable for networks, so practitioners use approximations such as variational methods, MCMC and Laplace approximations. These approximations are harder to implement and slower to train, and their quality depends on how close they get and on whether the prior is sensible.
MC-dropout offers a cheaper route by keeping dropout active at test time and averaging the stochastic predictions. The authors note that dropout can also be read as an ensemble with shared parameters, and that reading is more plausible when dropout rates are not tuned on the training data.
The key idea: ensembles of proper-scoring networks
The key idea is to train several ordinary networks independently, have each output a full predictive distribution, and pool them. Each network is fitted with a proper scoring rule, a loss that is best only when the predicted distribution matches the true one. Common losses qualify, including the log likelihood and the squared error against one-hot labels, which is the Brier score.
Bayesian model averaging picks the best model within a hypothesis class, so it assumes the true model lies in that class. The authors argue that when the true model sits outside the class, combining models is the better bet. This motivates studying ensembles as the alternative to MC-dropout for estimating predictive uncertainty.
A second ingredient is adversarial training, which the authors use to smooth the predicted distribution around each training point. They describe it as a cheap way to raise the likelihood of the target in a small neighbourhood of each training example. Random perturbations would be cheaper still, but they are less useful because they need not increase the loss.
Training one member and its Gaussian head
For regression, each network outputs two values, a predicted mean and a variance. Training minimizes the negative log likelihood of a Gaussian, so the network is penalized both for missing the target and for claiming the wrong spread.
Training only the mean with MSE gives no uncertainty, and taking the spread of several MSE-trained networks works worse. The toy regression study shows that learning the variance, and then ensembling, each improve the fit away from the observed data.
Algorithm 1 draws a data point for each network, builds an adversarial copy with epsilon set to 1% of the input range, and minimizes the loss on both. The adversarial step is marked optional in the algorithm, and epsilon is scaled per input dimension rather than fixed for all dimensions as in Goodfellow et al. The recommended default is M = 5 members.
Combining members into one prediction
The ensemble is a uniformly weighted mixture of the members' predictive distributions, so for classification it averages the predicted probabilities. For regression the mixture is replaced by one Gaussian with the same mean and variance, which makes quantiles and probabilities easy to compute. The mixture mean is the average of the member means, and the mixture variance adds each member's variance and squared mean, then subtracts the squared overall mean.
Members are trained on the whole training set, each with its own random initialization and shuffling of the data. The authors tried bagging and found it hurt, since a bootstrap sample holds only about 0.632 times N unique points. The diversity therefore comes from initialization and shuffling alone, and the study relies on that assumption.
Regression benchmarks: better NLL, mixed RMSE
The authors follow the protocol of Hernández-Lobato and Adams, with a one-hidden-layer ReLU network and five ensemble members. On Energy the ensemble reaches an NLL of 1.38±0.22, compared to 2.04±0.02 for PBP and 1.99±0.09 for MC-dropout. On Kin8nm the NLL is -1.20±0.02, compared to -0.90±0.01 for PBP, and lower is better here.
The picture changes on RMSE, where Boston housing gives 3.28±1.00 for the ensemble and 3.01±0.18 for PBP. The authors attribute these RMSE gaps to optimizing NLL rather than MSE. So the advantage lies in predictive likelihood, and the ensemble isn't uniformly better on point error.
Classification: ensemble size and adversarial training
On MNIST the authors use a three-layer MLP and compare against MC-dropout and against augmenting with a random signed vector. Adding members and adding adversarial training both improve accuracy, NLL and Brier score. Adversarial training also beats the random-direction baseline.
On SVHN, with a VGG-style convnet, ensembles outperform MC-dropout. Adversarial training helps slightly with one network, but its effect fades as members are added. The authors suspect that well-separated classes leave the boundary little changed under adversarial training, and they flag this for further study.
ImageNet: ensemble size at scale
Because of computational limits, the ImageNet study uses the Inception network, single-crop evaluation, and ensembles only. NLL falls from 0.959 to 0.789 over the same range, so uncertainty improves along with accuracy.
Entropy on classes the model never saw
The authors train an MLP on MNIST and test on NotMNIST, whose images match MNIST in size but carry letter labels. For unseen inputs they expect predictions to lean toward uniform, so entropy should be high. On unseen classes, entropy for deep ensembles rises with M much faster than for MC-dropout, which gives confident answers on some unseen examples.
The authors repeat the pattern with an SVHN model tested on CIFAR-10. On ImageNet trained only on dogs, non-dog images serve as unknown classes, and the entropy and max-probability histograms shift as members are added. Adversarial training raises entropy on unseen classes slightly faster than vanilla ensembles, which the authors read as a modest benefit.
Can confidence decide when to trust the model?
The test mixes MNIST known-class examples with NotMNIST unknown-class examples, and only predictions above a confidence threshold are scored. If confidence is well calibrated, accuracy should rise as the threshold rises. MC-dropout shows low accuracy even at high thresholds, while the ensemble stays more reliable.
Limitations
An ensemble has M times as many parameters as a single network, which matters for memory-limited applications. Distilling the ensemble into one network is suggested as future work, and no distillation result is reported here. The ImageNet study covers only ensembles, without adversarial training or MC-dropout.
Adversarial training's effect on SVHN for larger ensembles is left unexplained. Diversity relies on random initialization and shuffling, and explicitly de-correlating members is listed as future work. The Gaussian regression head may be too restrictive, and mixture or heavy-tailed outputs are left for later.
Paper info
- Authors
- Balaji Lakshminarayanan, Alexander Pritzel, Charles Blundell
- Venue
- arXiv · Preprint
- First published
- 2016-12-5
- Added
- 2026-11-12
- Updated
- 2017-11-4
- Version
- v3
- arXiv
- 1612.01474
- Category
- stat.ML · cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Balaji Lakshminarayanan, Alexander Pritzel, Charles Blundell (2016). Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles. arXiv:1612.01474v3. https://arxiv.org/abs/1612.01474v3
BibTeX
@misc{lakshminarayanan2016simple,
title = {{Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles}},
author = {Balaji Lakshminarayanan and Alexander Pritzel and Charles Blundell},
year = {2016},
eprint = {1612.01474},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1612.01474v3}
}