OpenOOD: Benchmarking Generalized Out-of-Distribution Detection

Jingkang Yang, Pengyun Wang, Dejian Zou, Zitang Zhou, Kunyuan Ding +11 more
10/13/2022
cs.CVcs.AIcs.LG

Official code: Jingkang50/OpenOOD (1,059 stars, MIT, last commit 2025-12-01).

Abstract

Out-of-distribution (OOD) detection is vital to safety-critical machine learning applications and has thus been extensively studied, with a plethora of methods developed in the literature. However, the field currently lacks a unified, strictly formulated, and comprehensive benchmark, which often results in unfair comparisons and inconclusive results. From the problem setting perspective, OOD detection is closely related to neighboring fields including anomaly detection (AD), open set recognition (OSR), and model uncertainty, since methods developed for one domain are often applicable to each other. To help the community to improve the evaluation and advance, we build a unified, well-structured codebase called OpenOOD, which implements over 30 methods developed in relevant fields and provides a comprehensive benchmark under the recently proposed generalized OOD detection framework. With a comprehensive comparison of these methods, we are gratified that the field has progressed significantly over the past few years, where both preprocessing methods and the orthogonal post-hoc methods show strong potential.

View on arXivView PDF

Code Implementations(1)

Jingkang50/OpenOODOfficial100%
MIT

Benchmarking Generalized Out-of-Distribution Detection

1,059179Shell, PythonNov 29, 202110 months agoMIT
anomaly-detectionnovelty-detectionopen-set-recognitionout-of-distribution-detectionoutlier-detection+1 more

Similar Papers

Cite this paper

@article{yang2022openood,
  title  = {OpenOOD: Benchmarking Generalized Out-of-Distribution Detection},
  author = {Jingkang Yang and Pengyun Wang and Dejian Zou and Zitang Zhou and Kunyuan Ding and Wenxuan Peng and Haoqi Wang and Guangyao Chen and Bo Li and Yiyou Sun and Xuefeng Du and Kaiyang Zhou and Wayne Zhang and Dan Hendrycks and Yixuan Li and Ziwei Liu},
  year   = {2022},
  eprint = {2210.07242},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.07242}
}

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

Discussion