Skip to main content
QUICK REVIEW

[Paper Review] Neural Ensemble Search for Uncertainty Estimation and Dataset Shift

Sheheryar Zaidi, Arber Zela|arXiv (Cornell University)|Jun 15, 2020
Adversarial Robustness in Machine LearningComputer Science68 references18 citations
TL;DR

This paper proposes Neural Ensemble Search (NES), a method that automatically constructs diverse neural network ensembles by varying architectures rather than relying on random weight initialization, as in deep ensembles. By leveraging architectural diversity through NAS-inspired search, NES achieves superior accuracy, uncertainty calibration, and robustness to dataset shift across multiple benchmarks, outperforming even deep ensembles with optimal individual architectures.

ABSTRACT

Ensembles of neural networks achieve superior performance compared to stand-alone networks in terms of accuracy, uncertainty calibration and robustness to dataset shift. \emph{Deep ensembles}, a state-of-the-art method for uncertainty estimation, only ensemble random initializations of a \emph{fixed} architecture. Instead, we propose two methods for automatically constructing ensembles with \emph{varying} architectures, which implicitly trade-off individual architectures' strengths against the ensemble's diversity and exploit architectural variation as a source of diversity. On a variety of classification tasks and modern architecture search spaces, we show that the resulting ensembles outperform deep ensembles not only in terms of accuracy but also uncertainty calibration and robustness to dataset shift. Our further analysis and ablation studies provide evidence of higher ensemble diversity due to architectural variation, resulting in ensembles that can outperform deep ensembles, even when having weaker average base learners. To foster reproducibility, our code is available: \url{https://github.com/automl/nes}

Motivation & Objective

  • To address the limitations of deep ensembles, which rely solely on random weight initialization for diversity and fix the network architecture, leading to suboptimal ensemble diversity and performance.
  • To explore whether architectural variation—beyond depth and width—can serve as a more effective source of diversity in neural network ensembles.
  • To develop an automatic, NAS-based method for constructing ensembles with complementary architectures that jointly improve performance, calibration, and robustness.
  • To validate that architectural diversity leads to better ensemble performance even when individual base learners are weaker than those in deep ensembles.
  • To ensure reproducibility by releasing code, hyperparameters, and detailed experimental protocols for NES and baselines.

Proposed method

  • Proposes two NES algorithms: NES-RS (random search over architecture pools) and NES-RE (regularized evolution-inspired search) to select diverse, high-performing architectures for ensemble construction.
  • Uses weight-sharing NAS methods (e.g., DARTS, Random Search with Weight Sharing) to pre-train a shared model and sample a diverse pool of candidate architectures efficiently.
  • Applies Forward Selection with a diversity-aware objective to iteratively select architectures that maximize ensemble performance and diversity, measured via predictive disagreement and oracle NLL.
  • Employs a two-stage training pipeline: first, architecture search using shared weights; second, retraining selected architectures from scratch with the same hyperparameters as baselines.
  • Introduces a diversity regularization term in the selection objective to explicitly encourage architectural and predictive diversity in the ensemble.
  • Uses NAS-Bench-201 and ImageNet-16-120 as search spaces, with evaluation on five datasets under standard training and test splits to ensure fair comparison.

Experimental results

Research questions

  • RQ1Can architectural variation beyond depth and width serve as a more effective source of diversity than random weight initialization in neural network ensembles?
  • RQ2Does automatically searching for diverse, complementary architectures lead to better ensemble performance than fixed-architecture deep ensembles?
  • RQ3Can NES outperform deep ensembles even when the base learners are weaker, due to improved ensemble diversity and synergy?
  • RQ4How does the performance of NES compare to deep ensembles when evaluated on accuracy, uncertainty calibration, and robustness to dataset shift?
  • RQ5To what extent do weight-sharing NAS methods enable efficient architecture pool generation without sacrificing ensemble quality?

Key findings

  • NES ensembles outperform deep ensembles in terms of error rate, negative log-likelihood (NLL), and expected calibration error (ECE), even when the deep ensemble uses the best single architecture from the search space.
  • On ImageNet-16-120 with NAS-Bench-201, NES-RS and NES-RE achieve lower NLL and ECE than the deep ensemble with the optimal architecture, demonstrating superior uncertainty calibration.
  • The ensemble diversity metrics—predictive disagreement and oracle NLL—show that NES produces significantly more diverse ensembles than deep ensembles, confirming architectural variation as a key driver of diversity.
  • Despite using weaker average base learners, NES ensembles achieve better performance than deep ensembles, indicating that architectural diversity enables strong ensemble synergy.
  • Weight-sharing-based pool generation (NES-RS-WS and NES-RS-DARTS) reduces search cost but leads to worse performance due to weight interference and co-adaptation, highlighting the need for retraining after selection.
  • Ablation studies confirm that diversity regularization improves performance in NES-RS but harms it in NES-RE, suggesting that search strategy and diversity objective must be carefully matched.

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.