Skip to main content
QUICK REVIEW

[Paper Review] Deep Ensembles Work, But Are They Necessary?

Taiga Abe, E. Kelly Buchanan|arXiv (Cornell University)|Feb 14, 2022
Adversarial Robustness in Machine LearningComputer Science18 citations
TL;DR

This paper investigates whether deep ensembles offer unique advantages in uncertainty quantification and robustness beyond what single larger neural networks can achieve. Through controlled experiments across multiple architectures and datasets, the authors demonstrate that ensemble diversity does not meaningfully contribute to improved OOD uncertainty or robustness; instead, these benefits are primarily driven by in-distribution performance and model capacity, which can be replicated by a single, larger model.

ABSTRACT

Ensembling neural networks is an effective way to increase accuracy, and can often match the performance of individual larger models. This observation poses a natural question: given the choice between a deep ensemble and a single neural network with similar accuracy, is one preferable over the other? Recent work suggests that deep ensembles may offer distinct benefits beyond predictive power: namely, uncertainty quantification and robustness to dataset shift. In this work, we demonstrate limitations to these purported benefits, and show that a single (but larger) neural network can replicate these qualities. First, we show that ensemble diversity, by any metric, does not meaningfully contribute to an ensemble's uncertainty quantification on out-of-distribution (OOD) data, but is instead highly correlated with the relative improvement of a single larger model. Second, we show that the OOD performance afforded by ensembles is strongly determined by their in-distribution (InD) performance, and -- in this sense -- is not indicative of any "effective robustness". While deep ensembles are a practical way to achieve improvements to predictive power, uncertainty quantification, and robustness, our results show that these improvements can be replicated by a (larger) single model.

Motivation & Objective

  • To evaluate whether deep ensembles provide unique benefits in uncertainty quantification and robustness beyond predictive accuracy.
  • To test the hypothesis that ensemble diversity—rather than model capacity or in-distribution performance—is responsible for improved OOD performance.
  • To determine whether the same levels of uncertainty calibration and robustness can be achieved using a single, larger neural network instead of an ensemble.
  • To assess whether the purported advantages of ensembles are artifacts of model capacity or inherent to ensemble diversity.
  • To compare performance gains between ensembles and single models using statistical tests on improvement correlations across in-distribution and out-of-distribution data.

Proposed method

  • Controlled comparison of deep ensembles and single larger models with similar in-distribution accuracy across multiple architectures (e.g., VGG, WideResNet, ResNet, GoogleNet).
  • Use of kernel two-sample test (MMD²) to compare improvement correlation distributions between ensembles and single models, with control models to isolate the effect of diversity.
  • Evaluation of uncertainty quantification using metrics like negative log likelihood (NLL), Brier score, and calibration error on both in-distribution (CIFAR10, CINIC10) and out-of-distribution (CIFAR10.1) data.
  • Conditional analysis to isolate the contribution of ensemble diversity by controlling for individual model uncertainty and in-distribution performance.
  • Comparison across heterogeneous ensembles (e.g., combining different architectures) and implicit ensembles (e.g., MC Dropout, BatchEnsemble, MIMO).
  • Statistical testing to determine whether the distribution of performance gains from ensembles differs significantly from those of control single models or vice versa.

Experimental results

Research questions

  • RQ1Does ensemble diversity contribute meaningfully to improved uncertainty quantification on out-of-distribution data?
  • RQ2Is the robustness of deep ensembles to dataset shift truly due to diversity, or is it explainable by in-distribution performance and model capacity?
  • RQ3Can a single, larger neural network replicate the uncertainty calibration and OOD robustness of a deep ensemble with similar predictive accuracy?
  • RQ4Are the performance gains from ensembling statistically distinct from those achievable by increasing model size in a single network?
  • RQ5What is the relative contribution of individual model uncertainty versus ensemble diversity to overall uncertainty estimation?

Key findings

  • Ensemble diversity does not significantly contribute to uncertainty quantification on OOD data when individual model uncertainty is controlled for, as disagreement levels do not differ meaningfully between in-distribution and out-of-distribution inputs.
  • The correlation between ensemble diversity and performance improvement is statistically indistinguishable from that of model capacity increases in single models, indicating diversity is not a unique source of benefit.
  • OOD performance of ensembles is strongly determined by in-distribution performance, following the same deterministic relationship observed in single models, suggesting no additional robustness from diversity.
  • Statistical tests (MMD²) show no significant difference in improvement correlation distributions between ensembles and control single models across multiple datasets and metrics, failing to reject the null hypothesis of equivalent distributions.
  • Performance gains from ensembles are not statistically distinct from those of single models with similar in-distribution accuracy, as evidenced by non-significant MMD² test statistics across all comparisons.
  • Accuracies of compared models are tightly matched (e.g., ensemble and single model on CIFAR10: 93.44% vs. 94.32±0.1495%), confirming comparable baseline performance across all experiments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.