Papers › A Unified Benchmark for the Unknown Detection Capability of Deep Neural Networks

A Unified Benchmark for the Unknown Detection Capability of Deep Neural Networks

1 Dec 2021arXiv:2112.00337archive 2025-07-28

Jihyo Kim, Jiin Koo, Sangheum Hwang

Deep neural networks have achieved outstanding performance over various tasks, but they have a critical issue: over-confident predictions even for completely unknown samples. Many studies have been proposed to successfully filter out these unknown samples, but they only considered narrow and specific tasks, referred to as misclassification detection, open-set recognition, or out-of-distribution detection. In this work, we argue that these tasks should be treated as fundamentally an identical problem because an ideal model should possess detection capability for all those tasks. Therefore, we introduce the unknown detection task, an integration of previous individual tasks, for a rigorous examination of the detection capability of deep neural networks on a wide spectrum of unknown samples. To this end, unified benchmark datasets on different scales were constructed and the unknown detection capabilities of existing popular methods were subject to comparison. We found that Deep Ensemble consistently outperforms the other approaches in detecting unknowns; however, all methods are only successful for a specific type of unknown. The reproducible code and benchmark datasets are available at https://github.com/daintlab/unknown-detection-benchmarks .

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2112.00337")

Code

Syntology Ran 14 of 15 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

daintlab/unknown-detection-benchmarks officialmentioned in paperpytorchMIT 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

15 samples harvested; 14 ran; 2 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · violated contract
3ran · our draft was wrong
1ran · fixture could not drive it
7ran
1unverified

Licence: 0 of the 15 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 daintlab/unknown-detection-benchmarks. “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.

accuracy daintlab/unknown-detection-benchmarks/utils.py official repository ran · fixture could not drive it MIT (permissive) · 67a13c0cb19afb83 · report
aurc_eaurc daintlab/unknown-detection-benchmarks/metrics_md.py official repository ran MIT (permissive) · 612bae70040c203f · report
conv1x1 daintlab/unknown-detection-benchmarks/models/resnet_imagenet.py official repository ran · our draft was wrong MIT (permissive) · d9def42110729a85 · report
conv3x3 daintlab/unknown-detection-benchmarks/models/resnet_imagenet.py official repository ran · our draft was wrong MIT (permissive) · 160bb14bd76201b4 · report
conv3x3 daintlab/unknown-detection-benchmarks/models/resnet_cifar.py official repository ran · our draft was wrong MIT (permissive) · 6af95ebe99af2e36 · report
float_parameter daintlab/unknown-detection-benchmarks/methods/augmix/augmentations.py official repository ran · honoured contract MIT (permissive) · be1cf2403304fa6d · report
get_curve daintlab/unknown-detection-benchmarks/metrics_ood.py official repository ran MIT (permissive) · ed35359a5c2b419c · report
in_dist_loader daintlab/unknown-detection-benchmarks/dataloader.py official repository ran MIT (permissive) · 1693518f0ab9445d · report
int_parameter daintlab/unknown-detection-benchmarks/methods/augmix/augmentations.py official repository ran · honoured contract fingerprinted MIT (permissive) · beaa91443124b324 · report
one_hot_embedding daintlab/unknown-detection-benchmarks/utils.py official repository ran MIT (permissive) · d018404cd06ecc3f · report
sample_level daintlab/unknown-detection-benchmarks/methods/augmix/augmentations.py official repository ran · violated contract fingerprinted MIT (permissive) · 5cc8d4764ac07a35 · report
str2bool daintlab/unknown-detection-benchmarks/utils.py official repository ran MIT (permissive) · 9052013b7e166b05 · report
trn_loader daintlab/unknown-detection-benchmarks/dataloader.py official repository ran MIT (permissive) · 10d0fca58f787cd4 · report
tst_loader daintlab/unknown-detection-benchmarks/dataloader.py official repository ran MIT (permissive) · d3690f3ae6c59a20 · report
resnet18 daintlab/unknown-detection-benchmarks/models/resnet_imagenet.py official repository unverified MIT (permissive) · f1558cd7a9612567 · report

Tasks

Open Set LearningOut-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