Papers › Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancement

Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancement

30 Sep 2023arXiv:2310.00227archive 2025-07-28

Kai Xu, Rongyu Chen, Gianni Franchi, Angela Yao

The capacity of a modern deep learning system to determine if a sample falls within its realm of knowledge is fundamental and important. In this paper, we offer insights and analyses of recent state-of-the-art out-of-distribution (OOD) detection methods - extremely simple activation shaping (ASH). We demonstrate that activation pruning has a detrimental effect on OOD detection, while activation scaling enhances it. Moreover, we propose SCALE, a simple yet effective post-hoc network enhancement method for OOD detection, which attains state-of-the-art OOD detection performance without compromising in-distribution (ID) accuracy. By integrating scaling concepts into the training process to capture a sample's ID characteristics, we propose Intermediate Tensor SHaping (ISH), a lightweight method for training time OOD detection enhancement. We achieve AUROC scores of +1.85\% for near-OOD and +0.74\% for far-OOD datasets on the OpenOOD v1.5 ImageNet-1K benchmark. Our code and models are available at https://github.com/kai422/SCALE.

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

Code

Syntology Ran 0 of 1 code samples harvested from 1 repository linked to this paper; 1 has no recorded run.

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

kai422/scale officialmentioned in papermentioned on GitHubpytorchMIT 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

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

1unverified

Licence: 0 of the 1 sample 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 kai422/scale. “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.

scale kai422/scale/openood/networks/scale_net.py official repository unverified MIT (permissive) · 038b08510621e6a6 · report

Tasks

Out of Distribution (OOD) DetectionOut-of-Distribution Detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Out-of-Distribution Detection Far-OOD ISH (ResNet50) AUROC 96.79 #1 of 2 Archive leaderboard report
Out-of-Distribution Detection Far-OOD ISH (ResNet50) FPR@95 15.62 #1 of 2 Archive leaderboard report
Out-of-Distribution Detection Far-OOD ISH (ResNet50) ID ACC 76.74 #1 of 2 Archive leaderboard report
Out-of-Distribution Detection Far-OOD SCALE (ResNet50) AUROC 96.53 #2 of 2 Archive leaderboard report
Out-of-Distribution Detection Far-OOD SCALE (ResNet50) FPR@95 16.53 #2 of 2 Archive leaderboard report
Out-of-Distribution Detection Far-OOD SCALE (ResNet50) ID ACC 76.18 #2 of 2 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Curated OODs (avg.) SCALE (ResNet50) AUROC 95.71 #3 of 16 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Curated OODs (avg.) SCALE (ResNet50) FPR95 20.05 #3 of 16 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Places SCALE (ResNet50) AUROC 92.26 #5 of 25 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Places SCALE (ResNet50) FPR95 34.51 #5 of 25 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs SUN SCALE (ResNet50) AUROC 95.02 #4 of 22 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs SUN SCALE (ResNet50) FPR95 23.27 #4 of 22 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Textures SCALE (ResNet50) AUROC 97.37 #5 of 34 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Textures SCALE (ResNet50) FPR95 12.93 #5 of 34 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs Textures SCALE (ResNet50) Latency, ms 11.27 #5 of 34 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs iNaturalist SCALE (ResNet50) AUROC 98.17 #6 of 28 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs iNaturalist SCALE (ResNet50) FPR95 9.5 #6 of 28 Archive leaderboard report
Out-of-Distribution Detection ImageNet-1k vs iNaturalist SCALE (ResNet50) Latency, ms 11.27 #6 of 28 Archive leaderboard report
Out-of-Distribution Detection Near-OOD ISH (ResNet50) AUROC 84.01 #1 of 2 Archive leaderboard report
Out-of-Distribution Detection Near-OOD ISH (ResNet50) FPR@95 55.73 #1 of 2 Archive leaderboard report
Out-of-Distribution Detection Near-OOD ISH (ResNet50) ID ACC 76.74 #1 of 2 Archive leaderboard report
Out-of-Distribution Detection Near-OOD SCALE (ResNet50) AUROC 81.36 #2 of 2 Archive leaderboard report
Out-of-Distribution Detection Near-OOD SCALE (ResNet50) FPR@95 59.76 #2 of 2 Archive leaderboard report
Out-of-Distribution Detection Near-OOD SCALE (ResNet50) ID ACC 76.18 #2 of 2 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Pruning

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