Lune

ICLR2024Top-tier venue

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

Kai Xu, Rongyu Chen, Gianni Franchi, Angela Yao

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

32 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fast Decision Boundary based Out-of-Distribution Detector cites Energy-based Out-of-distribution Detection
  • Fast Decision Boundary based Out-of-Distribution Detector cites Scaling Out-of-Distribution Detection for Real-World Settings
  • Fast Decision Boundary based Out-of-Distribution Detector cites ReAct: Out-of-distribution Detection With Rectified Activations
  • AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models cites Energy-based Out-of-distribution Detection
  • AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
  • AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models cites ReAct: Out-of-distribution Detection With Rectified Activations
  • AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models cites Open-Set Recognition: A Good Closed-Set Classifier is All You Need
  • Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection cites Scaling Out-of-Distribution Detection for Real-World Settings
  • Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
  • Open-Set Recognition: A Good Closed-Set Classifier is All You Need cites Energy-based Out-of-distribution Detection
  • Energy-based Hopfield Boosting for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Energy-based Hopfield Boosting for Out-of-Distribution Detection cites Scaling Out-of-Distribution Detection for Real-World Settings
  • Energy-based Hopfield Boosting for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Kernel PCA for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Kernel PCA for Out-of-Distribution Detection cites Scaling Out-of-Distribution Detection for Real-World Settings
  • Kernel PCA for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers32

  1. Fast Decision Boundary based Out-of-Distribution DetectorLitian Liu, Yao QinICML 2024 · 47 citations
  2. Kernel PCA for Out-of-Distribution DetectionKun Fang, Qinghua Tao, Kexin Lv, Mingzhen He et al.NeurIPS 2024 · 37 citations
  3. AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language ModelsYabin Zhang, Lei ZhangNeurIPS 2024 · 30 citations
  4. Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution DetectionGeng Yu, Jianing Zhu, Jiangchao Yao, Bo HanNeurIPS 2024 · 26 citations
  5. Energy-based Hopfield Boosting for Out-of-Distribution DetectionClaus Hofmann, Simon Schmid, Bernhard Lehner, Daniel Klotz et al.NeurIPS 2024 · 19 citations

Builds on18

  1. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  2. AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
  3. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
  4. Scaling Out-of-Distribution Detection for Real-World SettingsDan Hendrycks, Steven Basart, Mantas Mazeika, Andy Zou et al.ICML 2022 · 653 citations
  5. Open-Set Recognition: A Good Closed-Set Classifier is All You NeedSagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanICLR 2022 · 594 citations

Related papers

  1. Extremely Simple Activation Shaping for Out-of-Distribution DetectionAndrija Djurisic, Nebojsa Bozanic, Arjun Ashok, Rosanne LiuICLR 2023 · 23 citations
  2. AdaSCALE: Adaptive Scaling for OOD DetectionSudarshan RegmiICML 2026 · 9 citations
  3. Activation Subspaces for Out-of-Distribution DetectionBaris Zöngür, Robin Hesse, Stefan RothICCV 2025 · 2 citations
  4. Activation Shape Matters: OOD Detection with Norm-Entropy FusionJiawei Gu, Ziyue Qiao, Zechao LiACM MM 2025 · 2 citations
  5. Leveraging Perturbation Robustness to Enhance Out-of-Distribution DetectionWenxi Chen, Raymond A. Yeh, Shaoshuai Mou, Yan GuCVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines