Window-Based Early-Exit Cascades for Uncertainty Estimation: When Deep Ensembles are More Efficient than Single Models

Guoxuan Xia, Christos-Savvas Bouganis
3/14/2023
cs.LGcs.AIcs.CV

Official code: Guoxoug/window-early-exit (8 stars, MIT, last commit 2023-08-18).

Abstract

Deep Ensembles are a simple, reliable, and effective method of improving both the predictive performance and uncertainty estimates of deep learning approaches. However, they are widely criticised as being computationally expensive, due to the need to deploy multiple independent models. Recent work has challenged this view, showing that for predictive accuracy, ensembles can be more computationally efficient (at inference) than scaling single models within an architecture family. This is achieved by cascading ensemble members via an early-exit approach. In this work, we investigate extending these efficiency gains to tasks related to uncertainty estimation. As many such tasks, e.g. selective classification, are binary classification, our key novel insight is to only pass samples within a window close to the binary decision boundary to later cascade stages. Experiments on ImageNet-scale data across a number of network architectures and uncertainty tasks show that the proposed window-based early-exit approach is able to achieve a superior uncertainty-computation trade-off compared to scaling single models. For example, a cascaded EfficientNet-B2 ensemble is able to achieve similar coverage at 5% risk as a single EfficientNet-B4 with <30% the number of MACs. We also find that cascades/ensembles give more reliable improvements on OOD data vs scaling models up. Code for this work is available at: https://github.com/Guoxoug/window-early-exit.

View on arXivView PDF

Code Implementations(1)

MIT
82Shell, PythonMar 14, 20233 years agoMIT

Similar Papers

Cite this paper

@article{xia2023windowbased,
  title  = {Window-Based Early-Exit Cascades for Uncertainty Estimation: When Deep Ensembles are More Efficient than Single Models},
  author = {Guoxuan Xia and Christos-Savvas Bouganis},
  year   = {2023},
  eprint = {2303.08010},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.08010v3},
  journal = {ICCV 2023 2023}
}

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

Discussion