mlsanityData to 14 Oct 2026

On Uniform, Bayesian, and PAC-Bayesian Deep Ensembles

arXiv 2406.05469 ↗First posted 8 Jun 2024cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

It is common practice to combine deep neural networks into ensembles. These deep ensembles can benefit from the cancellation of errors effect: Errors by ensemble members may average out, leading to better generalization performance than each individual network. Bayesian neural networks learn a posterior distribution over model parameters, and sampling and weighting networks according to this posterior yields an ensemble model referred to as a Bayes ensemble. This study reviews the argument that neither the sampling nor the weighting in Bayes ensembles are particularly well suited for increasing generalization performance, as they do not support the cancellation of errors effect. In contrast, we show that a weighted average of models, where the weights are optimized by minimizing a second-order PAC-Bayesian generalization bound, can improve generalization. It is crucial that the optimization takes correlations between models into account. This can be achieved by minimizing the tandem loss, which requires hold-out data for estimating error correlations. The tandem loss based PAC-Bayesian weighting increases robustness against correlated models and models with lower performance in an ensemble. This allows us to safely add several models from the same learning process to an ensemble, instead of using early-stopping for selecting a single weight configuration. Our experiments provide further evidence that state-of-the-art intricate Bayes ensembles do not outperform simple uniformly weighted deep ensembles in terms of classification accuracy. Additionally, we show that these Bayes ensembles cannot match the performance of deep ensembles weighted by optimizing the tandem loss, which additionally provides nonvacuous rigorous generalization guarantees.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 44 of its 86 references that are in the map. First posted on arXiv 8 Jun 2024.

Builds on

44 of 86 references.

References · 44

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  4. 2016Wide Residual Networkscited by 3,070
  5. 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
  6. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  7. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
  8. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 560
  9. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
  10. 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
  11. 2017Snapshot Ensembles: Train 1, get M for freecited by 350
  12. 2014Stochastic Gradient Hamiltonian Monte Carlocited by 343
32 more
  1. 2021What Are Bayesian Neural Network Posteriors Really Like?cited by 308
  2. 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 210
  3. 2019Cyclical Stochastic Gradient MCMC for Bayesian Deep Learningcited by 203
  4. 2019Evaluating Scalable Bayesian Deep Learning Methods for Robust Computer Visioncited by 182
  5. 2020Hyperparameter Ensembles for Robustness and Uncertainty Quantificationcited by 150
  6. 2015A Complete Recipe for Stochastic Gradient MCMCcited by 146
  7. 2015Why M Heads are Better than One: Training a Diverse Ensemble of Deep Networkscited by 139
  8. 2015Preconditioned Stochastic Gradient Langevin Dynamics for Deep Neural Networkscited by 121
  9. 2021Bayesian Neural Network Priors Revisitedcited by 121
  10. 2020Tighter risk certificates for neural networkscited by 112
  11. 2021Repulsive Deep Ensembles are Bayesiancited by 104
  12. 2018Uncertainty in Neural Networks: Approximately Bayesian Ensemblingcited by 94
  13. 2021Uncertainty Baselines: Benchmarks for Uncertainty & Robustness in Deep Learningcited by 82
  14. 2016A Strongly Quasiconvex PAC-Bayesian Boundcited by 54
  15. 2020A statistical theory of cold posteriors in deep neural networkscited by 54
  16. 2015Risk Bounds for the Majority Vote: From a PAC-Bayesian Analysis to a Learning Algorithmcited by 50
  17. 2022Benchmarking Bayesian Deep Learning on Diabetic Retinopathy Detection Taskscited by 49
  18. 2022On Uncertainty, Tempering, and Data Augmentation in Bayesian Classificationcited by 46
  19. 2023Credal Bayesian Deep Learningcited by 45
  20. 2023Tractable Function-Space Variational Inference in Bayesian Neural Networkscited by 41
  21. 2019Radial Bayesian Neural Networks: Beyond Discrete Support In Large-Scale Bayesian Deep Learningcited by 37
  22. 2021Data augmentation in Bayesian neural networks and the cold posterior effectcited by 36
  23. 2021Is MC Dropout Bayesian?cited by 35
  24. 2020Second Order PAC-Bayesian Bounds for the Weighted Majority Votecited by 34
  25. 2021Diversity and Generalization in Neural Network Ensemblescited by 32
  26. 2020Cold Posteriors and Aleatoric Uncertaintycited by 22
  27. 2023Towards Efficient MCMC Sampling in Bayesian Neural Networks by Exploiting Symmetrycited by 21
  28. 2023Fantastic Generalization Measures are Nowhere to be Foundcited by 19
  29. 2020Generalized Negative Correlation Learning for Deep Ensemblingcited by 17
  30. 2021Chebyshev-Cantelli PAC-Bayes-Bennett Inequality for the Weighted Majority Votecited by 13
  31. 2022How Tempering Fixes Data Augmentation in Bayesian Neural Networkscited by 13
  32. 2018On PAC-Bayesian Bounds for Random Forestscited by 10

Built on by

Not cited yet.