Skip to main content
QUICK REVIEW

[Paper Review] Hyperparameter Ensembles for Robustness and Uncertainty Quantification

Florian Wenzel, Jasper Snoek|arXiv (Cornell University)|Jun 24, 2020
Advanced Neural Network ApplicationsComputer Science57 references34 citations
TL;DR

The paper introduces hyperparameter ensembles, including hyper-deep ensembles and hyper-batch ensembles, to combine weight and hyperparameter diversity for improved robustness and uncertainty estimates, with efficient implementations that outperform deep and batch ensembles.

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. 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.

Motivation & Objective

  • Investigate the benefits of combining weight diversity (random initialization) with hyperparameter diversity for robustness and uncertainty quantification.
  • Develop two ensemble paradigms: hyper-deep ensembles (budget-independent performance) and hyper-batch ensembles (parameter-efficient performance).
  • Propose practical algorithms that integrate hyperparameter search with ensemble construction and assess their empirical gains on image classification tasks.

Proposed method

  • Introduce hyper-deep ensembles by stratifying a hyperparameter-driven row of models and then layering with random initializations to create a two-axis diversity (hyperparameters and initializations).
  • Extend batch ensembles by composing layer structures with self-tuning networks to enable weight and hyperparameter diversity in a single training procedure.
  • Use a greedy ensemble construction (hyper_ens) to select models from random-search results and form ensembles with replacement for weighting.
  • Model each ensemble member with a hyperparameter-conditioned layer where weights are modulated by rank-1 factorization and hyper-parameter embeddings (as in self-tuning networks).
  • Train ensembles by optimizing an expected objective over a distribution of hyperparameters, using alternating training and tuning steps and an entropy term to prevent collapse (equations (4)-(6)).
  • For hyper-batch ensembles, parameterize each member’s weights as W_k(lambda_k) and b_k(lambda_k) with shared W, Delta, r_k, s_k, e(lambda_k), and similar for biases, enabling efficient parallel minibatching (equations (7)-(9)).

Experimental results

Research questions

  • RQ1Can combining weight diversity (random initialization) and hyperparameter diversity outperform traditional deep ensembles?
  • RQ2Do hyper-deep ensembles and hyper-batch ensembles provide robustness and uncertainty quantification advantages across architectures and datasets?
  • RQ3Can the proposed hyperparameter-aware layers be trained efficiently while preserving memory and computation advantages of batch ensembles?
  • RQ4How do hyperparameter distributions with entropy regularization affect ensemble performance and calibration?
  • RQ5What are the empirical gains of the two proposed schemes on standard image classification benchmarks?

Key findings

  • Hyper-deep ensembles consistently outperform standard deep ensembles by leveraging both hyperparameter and initialization diversity.
  • Hyper-batch ensembles outperform batch ensembles and self-tuning networks, offering a parameter-efficient and scalable path to ensemble diversity.
  • Both methods yield improvements in predictive performance and uncertainty metrics on Fashion-MNIST, CIFAR-100, CIFAR-10/100 across MLP, LeNet, ResNet-20, and Wide ResNet-28-10.
  • The approach maintains efficient minibatching and memory footprint comparable to prior efficient ensemble methods while enabling hyperparameter diversity.
  • Empirical results indicate that stratifying over hyperparameters plus initializations yields more diverse predictions and improved calibration (ECE) versus baselines.
  • The methods are designed to be drop-in replacements and come with public code for implementation and reproduction.

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.