Hyperparameter Ensembles for Robustness and Uncertainty Quantification

Florian Wenzel, Jasper Snoek, Dustin Tran, Rodolphe Jenatton
6/24/2020
265 citations
cs.LGstat.ML

Official code: google/uncertainty-baselines (1,602 stars, Python, Apache-2.0, TensorFlow, last commit 2026-03-24).

Abstract

Ensembles over neural network weights trained from different random initialization, known as deep ensembles, achieve state-of-the-art accuracy and calibration. The recently introduced batch ensembles provide a drop-in replacement that is more parameter efficient.

Show full abstract

In this paper, we design ensembles not only over weights, but over hyperparameters to improve the state of the art in both settings. For best performance independent of budget, we propose hyper-deep ensembles, a simple procedure that involves a random search over different hyperparameters, themselves stratified across multiple random initializations. Its strong performance highlights the benefit of combining models with both weight and hyperparameter diversity. We further propose a parameter efficient version, hyper-batch ensembles, which builds on the layer structure of batch ensembles and self-tuning networks. The computational and memory costs of our method are notably lower than typical ensembles. On image classification tasks, with MLP, LeNet, ResNet 20 and Wide ResNet 28-10 architectures, we improve upon both deep and batch ensembles.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

High-quality implementations of standard and SOTA methods on a variety of tasks.

1,602226Python, Jupyter NotebookJul 16, 20208 months agoApache-2.0
bayesian-methodsdata-sciencedeep-learningmachine-learningneural-networks+3 more

Similar Papers

Cite this paper

@article{wenzel2020hyperparameter,
  title  = {Hyperparameter Ensembles for Robustness and Uncertainty Quantification},
  author = {Florian Wenzel and Jasper Snoek and Dustin Tran and Rodolphe Jenatton},
  year   = {2020},
  eprint = {2006.13570},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.13570}
}

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/2006.13570.svg)](https://codeofpaper.com/paper/2006.13570)

Discussion