Lune

ICLR2021Top-tier venue

Combining Ensembles and Data Augmentation Can Harm Your Calibration

Yeming Wen, Ghassen Jerfel, Rafael Muller, Michael W. Dusenberry, Jasper Snoek, Balaji Lakshminarayanan, Dustin Tran

Abstract

Ensemble methods which average over multiple neural network predictions are a simple approach to improve a model's calibration and robustness. Similarly, data augmentation techniques, which encode prior information in the form of invariant feature transformations, are effective for improving calibration and robustness. In this paper, we show a surprising pathology: combining ensembles and data augmentation can harm model calibration. This leads to a trade-off in practice, whereby improved accuracy by combining the two techniques comes at the expense of calibration. On the other hand, selecting only one of the techniques ensures good uncertainty estimates at the expense of accuracy. We investigate this pathology and identify a compounding under-confidence among methods which marginalize over sets of weights and data augmentation techniques which soften labels. Finally, we propose a simple correction, achieving the best of both worlds with significant accuracy and calibration gains over using only ensembles or data augmentation individually. Applying the correction produces new state-of-the art in uncertainty calibration across CIFAR-10, CIFAR-100, and ImageNet. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hyperparameter Ensembles for Robustness and Uncertainty Quantification cites BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong Learning
  • Revisiting the Calibration of Modern Neural Networks cites Hyperparameter Ensembles for Robustness and Uncertainty Quantification
  • Revisiting the Calibration of Modern Neural Networks cites BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong Learning
  • Revisiting the Calibration of Modern Neural Networks cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
  • Revisiting the Calibration of Modern Neural Networks cites Uncertainty Quantification and Deep Ensembles
  • Diverse Weight Averaging for Out-of-Distribution Generalization cites Hyperparameter Ensembles for Robustness and Uncertainty Quantification
  • Diverse Weight Averaging for Out-of-Distribution Generalization cites Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learning
  • How Do Vision Transformers Work? cites Revisiting the Calibration of Modern Neural Networks
  • How Do Vision Transformers Work? cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • Uncertainty Quantification and Deep Ensembles cites Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. How Do Vision Transformers Work?Namuk Park, Songkuk KimICLR 2022 · 653 citations
  2. Revisiting the Calibration of Modern Neural NetworksMatthias Minderer, Josip Djolonga, Rob Romijnders, Frances Hubis et al.NeurIPS 2021 · 633 citations
  3. Uncertainty Quantification and Deep EnsemblesRahul Rahaman, Alexandre H. ThiéryNeurIPS 2021 · 250 citations
  4. Diverse Weight Averaging for Out-of-Distribution GeneralizationAlexandre Ramé, Matthieu Kirchmeyer, Thibaud Rahier, Alain Rakotomamonjy et al.NeurIPS 2022 · 183 citations
  5. When and How Mixup Improves CalibrationLinjun Zhang, Zhun Deng, Kenji Kawaguchi, James ZouICML 2022 · 79 citations

Builds on9

  1. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
  2. AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
  3. BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong LearningYeming Wen, Dustin Tran, Jimmy BaICLR 2020 · 569 citations
  4. Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep LearningArsenii Ashukha, Alexander Lyzhov, Dmitry Molchanov, Dmitry P. VetrovICLR 2020 · 354 citations
  5. Hyperparameter Ensembles for Robustness and Uncertainty QuantificationFlorian Wenzel, Jasper Snoek, Dustin Tran, Rodolphe JenattonNeurIPS 2020 · 263 citations

Related papers

  1. On the Pitfall of Mixup for Uncertainty CalibrationDeng-Bao Wang, Lanqing Li, Peilin Zhao, Pheng-Ann Heng et al.CVPR 2023
  2. Who's the (Multi-)Fairest of Them All: Rethinking Interpolation-Based Data Augmentation Through the Lens of MulticalibrationKarina Halevy, Karly Hou, Charumathi BadrinathAAAI 2025 · 2 citations
  3. Are Data Augmentation Methods in Named Entity Recognition Applicable for Uncertainty Estimation?Wataru Hashimoto, Hidetaka Kamigaito, Taro WatanabeEMNLP 2024 · 1 citation
  4. Deep Ensembles Work, But Are They Necessary?Taiga Abe, Estefany Kelly Buchanan, Geoff Pleiss, Richard S. Zemel et al.NeurIPS 2022 · 101 citations
  5. On the Limitations of Temperature Scaling for Distributions with OverlapsMuthu Chidambaram, Rong GeICLR 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines