SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.09867 · NeurIPS · 2024

Rethinking the Evaluation of Out-of-Distribution Detection: A Sorites Paradox

Jie Zhang, Xilin Chen, Shiguang Shan, Xingming Long

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.09867.json · badge: /api/ran/2406.09867.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
qqwsad5/IS-OOD canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
qqwsad5/is-ood canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
ASHPostprocessor Ran
ran on a synthesized input · constructed an object; no result was computed
qqwsad5/is-ood/openood/postprocessors/ash_postprocessor.py
pointer only (licence: NONE) · get_code("b78de58660ae49c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/is-ood when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ash_b Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
qqwsad5/IS-OOD/openood/networks/ash_net.py
pointer only (licence: NONE) · get_code("3bde09574ad009e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/IS-OOD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ash_p Ran
ran; our contract draft was wrong, not the code
qqwsad5/IS-OOD/openood/networks/ash_net.py
pointer only (licence: NONE) · get_code("e66910fd66299eb9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/IS-OOD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ash_s Ran
ran; our contract draft was wrong, not the code
qqwsad5/IS-OOD/openood/networks/ash_net.py
pointer only (licence: NONE) · get_code("5b873af1f2983f2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/IS-OOD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

auc_and_fpr_recall Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
qqwsad5/IS-OOD/evaluate.py
pointer only (licence: NONE); the stored copy get_code serves, from donghao51/aeo, is pointer only (licence: NONE) · get_code("27c636c26c1c2f18")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/IS-OOD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_all_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
qqwsad5/IS-OOD/evaluate.py
pointer only (licence: NONE) · get_code("ab6e565744fa6458")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/IS-OOD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

eval_ood Ran
ran, honoured the contract we drafted
qqwsad5/IS-OOD/evaluate.py
pointer only (licence: NONE) · get_code("f2ff9ff6157c2042")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/IS-OOD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_id_ood_dataloader_level_split Not yet run
unverified (harvested, no recorded run)
qqwsad5/IS-OOD/datasets.py
pointer only (licence: NONE) · get_code("94aff687fee7a62b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, qqwsad5/IS-OOD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 4 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 4 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
ash_b 2 other papers
1 dated earlier, 1 later
2209.09858 (2022-09)
Extremely Simple Activation Shaping for Out-of-Distribution Detection
2407.08966 (2024-07)
LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Models
ash_p 1 other paper
1 later
2407.08966 (2024-07)
LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Models
ash_s 1 other paper
1 later
2407.08966 (2024-07)
LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Models
auc_and_fpr_recall 1 other paper
1 later
2501.13924 (2025-01)
Towards Robust Multimodal Open-set Test-time Adaptation via Adaptive Entropy-aware Optimization

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Most existing out-of-distribution (OOD) detection benchmarks classify samples with novel labels as the OOD data. However, some marginal OOD samples actually have close semantic contents to the in-distribution (ID) sample, which makes determining the OOD sample a Sorites Paradox. In this paper, we construct a benchmark named Incremental Shift OOD (IS-OOD) to address the issue, in which we divide the test samples into subsets with different semantic and covariate shift degrees relative to the ID dataset. The data division is achieved through a shift measuring method based on our proposed Language Aligned Image feature Decomposition (LAID). Moreover, we construct a Synthetic Incremental Shift (Syn-IS) dataset that contains high-quality generated images with more diverse covariate contents to complement the IS-OOD benchmark. We evaluate current OOD detection methods on our benchmark and find several important insights: (1) The performance of most OOD detection methods significantly improves as the semantic shift increases; (2) Some methods like GradNorm may have different OOD detection mechanisms as they rely less on semantic shifts to make decisions; (3) Excessive covariate shifts in the image are also likely to be considered as OOD for some methods. Our code and data are released in https://github.com/qqwsad5/IS-OOD.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.09867")
get_code_for_paper("2406.09867")
have("2406.09867")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.09867.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.09867.svg)](https://syntology.ai/paper/2406.09867)

Connect an agent — have() is free.