OOD Detection with Class Ratio Estimation

Abstract

Density-based Out-of-distribution (OOD) detection has recently been shown unreliable for the task of detecting OOD images. Various density ratio based approaches have achieved good empirical performance. However, these methods typically lack a principled probabilistic modelling explanation. In this work, we propose to unify density ratio based methods under a novel energy-based model framework that allows us to view the density ratio as the unnormalized density of an implicit semantic distribution. Further, we propose to directly estimate the density ratio of a data sample through class ratio estimation, which can achieve competitive OOD detection results without training any deep generative models. Our approach enables a simple yet effective path towards solving OOD detection problems in the image domain.

Cite

Text

Zhang et al. "OOD Detection with Class Ratio Estimation." NeurIPS 2022 Workshops: MLSW, 2022.

Markdown

[Zhang et al. "OOD Detection with Class Ratio Estimation." NeurIPS 2022 Workshops: MLSW, 2022.](https://mlanthology.org/neuripsw/2022/zhang2022neuripsw-ood/)

BibTeX

@inproceedings{zhang2022neuripsw-ood,
  title     = {{OOD Detection with Class Ratio Estimation}},
  author    = {Zhang, Mingtian and Zhang, Andi and Xiao, Tim Z. and Sun, Yitong and McDonagh, Steven},
  booktitle = {NeurIPS 2022 Workshops: MLSW},
  year      = {2022},
  url       = {https://mlanthology.org/neuripsw/2022/zhang2022neuripsw-ood/}
}