Masksembles for Uncertainty Estimation

Nikita Durasov, Timur Bagautdinov, Pierre Baque, Pascal Fua
12/15/2020
129 citations
cs.LGcs.CV

Official code: nikitadurasov/masksembles (105 stars, Python, MIT, TensorFlow, last commit 2025-11-09).

Abstract

Deep neural networks have amply demonstrated their prowess but estimating the reliability of their predictions remains challenging. Deep Ensembles are widely considered as being one of the best methods for generating uncertainty estimates but are very expensive to train and evaluate.

Show full abstract

MC-Dropout is another popular alternative, which is less expensive, but also less reliable. Our central intuition is that there is a continuous spectrum of ensemble-like models of which MC-Dropout and Deep Ensembles are extreme examples. The first uses an effectively infinite number of highly correlated models while the second relies on a finite number of independent models. To combine the benefits of both, we introduce Masksembles. Instead of randomly dropping parts of the network as in MC-dropout, Masksemble relies on a fixed number of binary masks, which are parameterized in a way that allows to change correlations between individual models. Namely, by controlling the overlap between the masks and their density one can choose the optimal configuration for the task at hand. This leads to a simple and easy to implement method with performance on par with Ensembles at a fraction of the cost. We experimentally validate Masksembles on two widely used datasets, CIFAR10 and ImageNet.

View on arXivView PDF

Code Implementations(1)

TensorFlowMIT

Official repository for the paper "Masksembles for Uncertainty Estimation" (CVPR 2021).

10516PythonMar 3, 20211 years agoMIT
computer-visiondeep-learningout-of-distribution-detectionpapertensorflow+4 more

Similar Papers

Cite this paper

@article{durasov2020masksembles,
  title  = {Masksembles for Uncertainty Estimation},
  author = {Nikita Durasov and Timur Bagautdinov and Pierre Baque and Pascal Fua},
  year   = {2020},
  eprint = {2012.08334},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.08334}
}

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

Discussion