WAIC, but Why? Generative Ensembles for Robust Anomaly Detection

Hyunsun Choi, Eric Jang, Alexander A. Alemi
10/2/2018
stat.MLcs.LG

Official code: ericjang/odin (4 stars, Python, last commit 2019-03-14).

Abstract

Machine learning models encounter Out-of-Distribution (OoD) errors when the data seen at test time are generated from a different stochastic generator than the one used to generate the training data. One proposal to scale OoD detection to high-dimensional data is to learn a tractable likelihood approximation of the training distribution, and use it to reject unlikely inputs.

Show full abstract

However, likelihood models on natural data are themselves susceptible to OoD errors, and even assign large likelihoods to samples from other datasets. To mitigate this problem, we propose Generative Ensembles, which robustify density-based OoD detection by way of estimating epistemic uncertainty of the likelihood model. We present a puzzling observation in need of an explanation -- although likelihood measures cannot account for the typical set of a distribution, and therefore should not be suitable on their own for OoD detection, WAIC performs surprisingly well in practice.

View on arXivView PDF

Code Implementations(1)

ericjang/odinOfficial100%

A simple and effective method for detecting out-of-distribution images in neural networks.

41PythonMar 13, 20197 years agoNOASSERTION

Similar Papers

Cite this paper

@article{choi2018waic,
  title  = {WAIC, but Why? Generative Ensembles for Robust Anomaly Detection},
  author = {Hyunsun Choi and Eric Jang and Alexander A. Alemi},
  year   = {2018},
  eprint = {1810.01392},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.01392}
}

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

Discussion