SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.08939 · 2023

EAT: Towards Long-Tailed Out-of-Distribution Detection

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2312.08939.json · badge: /api/ran/2312.08939.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
stomach-ache/long-tailed-ood-detection canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
AUCloss Ran
ran; our contract draft was wrong, not the code
stomach-ache/long-tailed-ood-detection/stage1.py
pointer only (licence: NONE) · get_code("43083fde245fbcc7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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
stomach-ache/long-tailed-ood-detection/models/our_resnet.py
pointer only (licence: NONE) · get_code("1522f2caa81eeb43")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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
stomach-ache/long-tailed-ood-detection/models/our_resnet.py
pointer only (licence: NONE) · get_code("902136f1bf7317f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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
stomach-ache/long-tailed-ood-detection/models/our_resnet_imagenet.py
pointer only (licence: NONE) · get_code("07e8622a7502e58c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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_msp_scores Ran
ran; our contract draft was wrong, not the code
stomach-ache/long-tailed-ood-detection/utils/ood_metrics.py
pointer only (licence: NONE) · get_code("cdbe27a27167f4f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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.

oe_loss_fn Ran
ran; our contract draft was wrong, not the code
stomach-ache/long-tailed-ood-detection/utils/loss_fn.py
pointer only (licence: NONE) · get_code("458d48072a87285a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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.

prior_to_tau Ran
ran, violated the contract we drafted
stomach-ache/long-tailed-ood-detection/utils/loss_fn.py
pointer only (licence: NONE) · get_code("b32fe2b98a415083")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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.

my_cl_loss_fn3 Not yet run
unverified (harvested, no recorded run)
stomach-ache/long-tailed-ood-detection/utils/loss_fn.py
pointer only (licence: NONE) · get_code("e617cdf7a71329db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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.

rand_bbox Not yet run
unverified (harvested, no recorded run)
stomach-ache/long-tailed-ood-detection/stage1.py
pointer only (licence: NONE) · get_code("dc38cf45af8c7880")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stomach-ache/long-tailed-ood-detection 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 2 later) and 6 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
rand_bbox 8 other papers
2 dated earlier, 6 later
2112.00412 (2021-12)
The Majority Can Help The Minority: Context-rich Minority Oversampling for Long-tailed Classification
2305.19254 (2023-05)
What Can We Learn from Unlearnable Datasets?
2401.09417 (2024-01)
Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
and 5 more not named here
ResNet50 3 other papers
1 the same month, 2 later
2312.10686 (2023-12)
Out-of-Distribution Detection in Long-Tailed Recognition with Calibrated Outlier Class Learning
aaai_28217 (2024 (year only))
Out-of-Distribution Detection in Long-Tailed Recognition with Calibrated Outlier Class Learning
2408.06742 (2024-08)
Long-Tailed Out-of-Distribution Detection: Prioritizing Attention to Tail
my_cl_loss_fn3 1 other paper
1 dated earlier
2207.01160 (2022-07)
Partial and Asymmetric Contrastive Learning for Out-of-Distribution Detection in Long-Tailed Recognition

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

Repositories linked to this paper

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

Abstract

Despite recent advancements in out-of-distribution (OOD) detection, most current studies assume a class-balanced in-distribution training dataset, which is rarely the case in real-world scenarios. This paper addresses the challenging task of long-tailed OOD detection, where the in-distribution data follows a long-tailed class distribution. The main difficulty lies in distinguishing OOD data from samples belonging to the tail classes, as the ability of a classifier to detect OOD instances is not strongly correlated with its accuracy on the in-distribution classes. To overcome this issue, we propose two simple ideas: (1) Expanding the in-distribution class space by introducing multiple abstention classes. This approach allows us to build a detector with clear decision boundaries by training on OOD data using virtual labels. (2) Augmenting the context-limited tail classes by overlaying images onto the context-rich OOD data. This technique encourages the model to pay more attention to the discriminative features of the tail classes. We provide a clue for separating in-distribution and OOD data by analyzing gradient noise. Through extensive experiments, we demonstrate that our method outperforms the current state-of-the-art on various benchmark datasets. Moreover, our method can be used as an add-on for existing long-tail learning approaches, significantly enhancing their OOD detection performance. Code is available at: https://github.com/Stomach-ache/Long-Tailed-OOD-Detection .

For agents

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

get_harvested_code_for_paper("2312.08939")
get_code_for_paper("2312.08939")
have("2312.08939")

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

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

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

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

Connect an agent — have() is free.