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

Kai Xu, Rongyu Chen, Gianni Franchi, Angela Yao
2/12/2026

No official code found. Best implementation: kai422/SCALE (15 stars, MIT, last commit 2024-03-12).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

kai422/SCALECommunity100%
MIT

[ICLR 2024] Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancement.

151PythonSep 30, 20232 years agoMIT

Similar Papers

Cite this paper

@article{xu2026scaling,
  title  = {Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancement},
  author = {Kai Xu and Rongyu Chen and Gianni Franchi and Angela Yao},
  year   = {2026},
  eprint = {2310.00227},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.00227},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.00227.svg)](https://codeofpaper.com/paper/2310.00227)

Discussion