InFlow: Robust outlier detection utilizing Normalizing Flows

Nishant Kumar, Pia Hanfeld, Michael Hecht, Michael Bussmann, Stefan Gumhold +1 more
6/10/2021
cs.LGcs.AIcs.CR
diffusion-flow

Official code: ComputationalRadiationPhysics/InFlow (11 stars, Python, MIT, last commit 2021-07-01).

Abstract

Normalizing flows are prominent deep generative models that provide tractable probability distributions and efficient density estimation. However, they are well known to fail while detecting Out-of-Distribution (OOD) inputs as they directly encode the local features of the input representations in their latent space.

Show full abstract

In this paper, we solve this overconfidence issue of normalizing flows by demonstrating that flows, if extended by an attention mechanism, can reliably detect outliers including adversarial attacks. Our approach does not require outlier data for training and we showcase the efficiency of our method for OOD detection by reporting state-of-the-art performance in diverse experimental settings. Code available at https://github.com/ComputationalRadiationPhysics/InFlow .

View on arXivView PDF

Code Implementations(1)

MIT
111PythonDec 9, 20205 years agoMIT

Similar Papers

Cite this paper

@article{kumar2021inflow,
  title  = {InFlow: Robust outlier detection utilizing Normalizing Flows},
  author = {Nishant Kumar and Pia Hanfeld and Michael Hecht and Michael Bussmann and Stefan Gumhold and Nico Hoffmann},
  year   = {2021},
  eprint = {2106.12894},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.12894}
}

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

Discussion