Out-of-distribution detection using normalizing flows on the data manifold

Seyedeh Fatemeh Razavi, Mohammad Mahdi Mehmanchi, Reshad Hosseini, Mostafa Tavassolipour
8/26/2023
cs.LGcs.CV
diffusion-flow

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Using the intuition that out-of-distribution data have lower likelihoods, a common approach for out-of-distribution detection involves estimating the underlying data distribution. Normalizing flows are likelihood-based generative models providing a tractable density estimation via dimension-preserving invertible transformations.

Show full abstract

Conventional normalizing flows are prone to fail in out-of-distribution detection, because of the well-known curse of dimensionality problem of the likelihood-based models. To solve the problem of likelihood-based models, some works try to modify likelihood for example by incorporating a data complexity measure. We observed that these modifications are still insufficient. According to the manifold hypothesis, real-world data often lie on a low-dimensional manifold. Therefore, we proceed by estimating the density on a low-dimensional manifold and calculating a distance from the manifold as a measure for out-of-distribution detection. We propose a powerful criterion that combines this measure with the modified likelihood measure based on data complexity. Extensive experimental results show that incorporating manifold learning while accounting for the estimation of data complexity improves the out-of-distribution detection ability of normalizing flows. This improvement is achieved without modifying the model structure or using auxiliary out-of-distribution data during training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{razavi2023outofdistribution,
  title  = {Out-of-distribution detection using normalizing flows on the data manifold},
  author = {Seyedeh Fatemeh Razavi and Mohammad Mahdi Mehmanchi and Reshad Hosseini and Mostafa Tavassolipour},
  year   = {2023},
  eprint = {2308.13792},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.13792v2}
}

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

Discussion