Deep Ensembles Work, But Are They Necessary?

Taiga Abe, E. Kelly Buchanan, Geoff Pleiss, Richard Zemel, John P. Cunningham
2/14/2022
cs.LGstat.ML

Official code: cellistigs/interp_ensembles (9 stars, Python, last commit 2023-05-23).

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?

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

92Python, Jupyter NotebookOct 13, 20213 years ago

Similar Papers

Cite this paper

@article{abe2022deep,
  title  = {Deep Ensembles Work, But Are They Necessary?},
  author = {Taiga Abe and E. Kelly Buchanan and Geoff Pleiss and Richard Zemel and John P. Cunningham},
  year   = {2022},
  eprint = {2202.06985},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.06985}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.06985.svg)](https://codeofpaper.com/paper/2202.06985)

Discussion