SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2109.05554 · ICML · 2021

No True State-of-the-Art? OOD Detection Methods are Inconsistent across Datasets

Sang Xie, Percy Liang, Ananya Kumar, Fahim Tajwar

arXiv · PDF · Open in the Atlas

Code that ran

11 of 25 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 4 failures of our instrument; 14 no recorded run), measured 2026-11-21; 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/2109.05554.json · badge: /api/ran/2109.05554.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
tajwarfahim/ood_detection_inconsistency canonical (classifier label)
classifier basis: classifier_2025
11 ran · 14 no recorded run
FunctionStatusWhere it lives
LinearCritic Ran
ran on a synthesized input
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("a04706445c3a44b5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

ResNet Ran
ran on a synthesized input
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("0f5c726e9580ca0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

ResNet18 Ran
ran; our contract draft was wrong, not the code
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("7ca36149b988c54e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

ResNet34 Ran
ran; our contract draft was wrong, not the code
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("9d4e412922385a20")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

ResNet50 Ran
ran; our contract draft was wrong, not the code
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("caa63b6cbc7fd52e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

ResNetWithoutLastLayer Ran
ran on a synthesized input
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("a1333c964477658d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

SiameseNetworkVersion1 Ran
ran on a synthesized input
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("ef84d9b3e36ef6bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

SiameseNetworkVersion2 Ran
ran on a synthesized input
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("091727a59cfe18c5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

SiameseNetworkVersion3 Ran
ran on a synthesized input
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("bb726f48afa2bf1e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

SiameseNetworkVersion5 Ran
ran on a synthesized input
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("b655b80a757b91a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

process_shared_model_name_wide_resnet Ran
ran; our contract draft was wrong, not the code
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("a8193ab021196916")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

SiameseNetworkSkeleton Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("e113c4f6c24ebbd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

SiameseNetworkVersion4 Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("0b7f4ef94c512dfd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

WideResNet Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("e005fe22e69cd426")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

WideResNetWithoutLastLayer Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("c175203550f4dcb0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

createSiameseNetwork Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("84ab954d28da2dfd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

create_resnet Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("31f08a3d3a6f84f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

create_resnet Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("e893a80255c1f421")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

create_resnet_based_shared_model Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("1bf44f5fcc3432c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

create_siamese_network_wrapper Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("1655bbb2f181e73d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

create_wide_resnet Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("cfd72ce7f48cf580")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

create_wide_resnet_based_shared_model Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("3d3f74f6425de128")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

create_wide_resnet_based_shared_model Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("adefa2d05ffc3cb9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

print_message Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("623dbfda864bfef7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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.

process_shared_model_name_wide_resnet Not yet run
unverified (harvested, no recorded run)
tajwarfahim/ood_detection_inconsistency/utils/siamese_network.py
pointer only (licence: NONE) · get_code("39a439e6c10d840b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tajwarfahim/ood_detection_inconsistency 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 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 22 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.

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-21.

Repositories linked to this paper

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

Abstract

Out-of-distribution detection is an important component of reliable ML systems. Prior literature has proposed various methods (e.g., MSP (Hendrycks & Gimpel, 2017), ODIN (Liang et al., 2018), Mahalanobis (Lee et al., 2018)), claiming they are state-of-the-art by showing they outperform previous methods on a selected set of in-distribution (ID) and out-of-distribution (OOD) datasets. In this work, we show that none of these methods are inherently better at OOD detection than others on a standardized set of 16 (ID, OOD) pairs. We give possible explanations for these inconsistencies with simple toy datasets where whether one method outperforms another depends on the structure of the ID and OOD datasets in question. Finally, we show that a method outperforming another on a certain (ID, OOD) pair may not do so in a low-data regime. In the low-data regime, we propose a distance-based method, Pairwise OOD detection (POD), which is based on Siamese networks and improves over Mahalanobis by sidestepping the expensive covariance estimation step. Our results suggest that the OOD detection problem may be too broad, and we should consider more specific structures for leverage.

For agents

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

get_harvested_code_for_paper("2109.05554")
get_code_for_paper("2109.05554")
have("2109.05554")

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

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

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

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

Connect an agent — have() is free.