Papers › OpenOOD: Benchmarking Generalized Out-of-Distribution Detection

OpenOOD: Benchmarking Generalized Out-of-Distribution Detection

13 Oct 2022arXiv:2210.07242archive 2025-07-28

Jingkang Yang, Pengyun Wang, Dejian Zou, Zitang Zhou, Kunyuan Ding, Wenxuan Peng, Haoqi Wang, Guangyao Chen, Bo Li, Yiyou Sun, Xuefeng Du, Kaiyang Zhou, Wayne Zhang, Dan Hendrycks, Yixuan Li, Ziwei Liu

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2210.07242")

Code

Syntology Ran 8 of 17 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 5 ran · our draft was wrong.

By repository: community (archive-listed): 17 samples from 2 repositories, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jingkang50/openood officialmentioned in papermentioned on GitHubpytorchMIT report
adverml/advopenood mentioned on GitHubpytorch report
antoinedemathelin/openood mentioned on GitHubpytorchMIT report
stevenboys/moon mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 8 ran; 1 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
5ran · our draft was wrong
9unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

check_file_ending adverml/advopenood/openood/attacks/misc.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 4c4dd64f6d883f76 · report
conv1x1 antoinedemathelin/openood/openood/networks/bit.py community (archive-listed) ran · our draft was wrong MIT (permissive) · ee80cf467065076b · report
conv3x3 antoinedemathelin/openood/openood/networks/bit.py community (archive-listed) ran · our draft was wrong MIT (permissive) · f01b8d3901f0b289 · report
convert_to_float adverml/advopenood/openood/attacks/misc.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · c86ea3831fc179f4 · report
load_args adverml/advopenood/openood/attacks/misc.py community (archive-listed) ran · our draft was wrong MIT (permissive) · dbe36e80c469a4e2 · report
rew_ce antoinedemathelin/openood/openood/losses/reweight.py community (archive-listed) ran · violated contract MIT (permissive) · d8339d591bbd7f52 · report
soft_cross_entropy antoinedemathelin/openood/openood/losses/sce.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 61492b343324d2ea · report
tf2th antoinedemathelin/openood/openood/networks/bit.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · 7023eb86801bb3a3 · report
Discriminator32 antoinedemathelin/openood/openood/networks/arpl_net.py community (archive-listed) unverified MIT (permissive) · 3cce4936256bdc33 · report
Generator antoinedemathelin/openood/openood/networks/arpl_net.py community (archive-listed) unverified MIT (permissive) · 797cd0913159403b · report
Generator32 antoinedemathelin/openood/openood/networks/arpl_net.py community (archive-listed) unverified MIT (permissive) · 893f424fd19a9b6c · report
create_window antoinedemathelin/openood/openood/losses/ssim.py community (archive-listed) unverified MIT (permissive) · 45b6edb2cf78cda2 · report
gaussian antoinedemathelin/openood/openood/losses/ssim.py community (archive-listed) unverified MIT (permissive) · e2424ce033ba3a0f · report
get_shift_module antoinedemathelin/openood/openood/networks/csi_net.py community (archive-listed) unverified MIT (permissive) · 3fec666ee416a824 · report
loss_function antoinedemathelin/openood/openood/losses/rd4ad_loss.py community (archive-listed) unverified MIT (permissive) · 4c1d0e3674921db5 · report
rew_sce antoinedemathelin/openood/openood/losses/reweight.py community (archive-listed) unverified MIT (permissive) · e1014da2309b3946 · report
ssim antoinedemathelin/openood/openood/losses/ssim.py community (archive-listed) unverified MIT (permissive) · d1619ad1bb7ea0f7 · report

Tasks

Anomaly DetectionBenchmarkingOpen Set LearningOut of Distribution (OOD) DetectionOut-of-Distribution Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections