Understanding Measures of Uncertainty for Adversarial Example Detection

Lewis Smith, Yarin Gal
3/22/2018
stat.MLcs.LG

Official code: lsgos/uncertainty-adversarial-paper (61 stars, Python, MIT, last commit 2018-06-03).

Abstract

Measuring uncertainty is a promising technique for detecting adversarial examples, crafted inputs on which the model predicts an incorrect class with high confidence. But many measures of uncertainty exist, including predictive en- tropy and mutual information, each capturing different types of uncertainty.

Show full abstract

We study these measures, and shed light on why mutual information seems to be effective at the task of adversarial example detection. We highlight failure modes for MC dropout, a widely used approach for estimating uncertainty in deep models. This leads to an improved understanding of the drawbacks of current methods, and a proposal to improve the quality of uncertainty estimates using probabilistic model ensembles. We give illustrative experiments using MNIST to demonstrate the intuition underlying the different measures of uncertainty, as well as experiments on a real world Kaggle dogs vs cats classification dataset.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper 'Understanding Measures of Uncertainty for Adversarial Example Detection'

6114PythonMar 12, 20188 years agoMIT

Similar Papers

Cite this paper

@article{smith2018understanding,
  title  = {Understanding Measures of Uncertainty for Adversarial Example Detection},
  author = {Lewis Smith and Yarin Gal},
  year   = {2018},
  eprint = {1803.08533},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.08533}
}

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

Discussion