On Last-Layer Algorithms for Classification: Decoupling Representation from Uncertainty Estimation

Nicolas Brosse, Carlos Riquelme, Alice Martin, Sylvain Gelly, Éric Moulines
1/22/2020
stat.MLcs.LG

Official code: nbrosse/uncertainties (6 stars, Jupyter Notebook, last commit 2019-01-14).

Abstract

Uncertainty quantification for deep learning is a challenging open problem. Bayesian statistics offer a mathematically grounded framework to reason about uncertainties; however, approximate posteriors for modern neural networks still require prohibitive computational costs.

Show full abstract

We propose a family of algorithms which split the classification task into two stages: representation learning and uncertainty estimation. We compare four specific instances, where uncertainty estimation is performed via either an ensemble of Stochastic Gradient Descent or Stochastic Gradient Langevin Dynamics snapshots, an ensemble of bootstrapped logistic regressions, or via a number of Monte Carlo Dropout passes. We evaluate their performance in terms of \emph{selective} classification (risk-coverage), and their ability to detect out-of-distribution samples. Our experiments suggest there is limited value in adding multiple uncertainty layers to deep classifiers, and we observe that these simple methods strongly outperform a vanilla point-estimate SGD in some complex benchmarks like ImageNet.

View on arXivView PDF

Code Implementations(1)

uncertainties in deep neural networks

63Jupyter Notebook, PythonNov 27, 20187 years ago

Similar Papers

Cite this paper

@article{brosse2020lastlayer,
  title  = {On Last-Layer Algorithms for Classification: Decoupling Representation from Uncertainty Estimation},
  author = {Nicolas Brosse and Carlos Riquelme and Alice Martin and Sylvain Gelly and Éric Moulines},
  year   = {2020},
  eprint = {2001.08049},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.08049}
}

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

Discussion