Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancement
Kai Xu, Rongyu Chen, Gianni Franchi, Angela Yao

TL;DR
This paper introduces SCALE, a simple post-hoc method for improving out-of-distribution detection in deep learning, and proposes ISH for training-time enhancement, achieving state-of-the-art results without sacrificing in-distribution accuracy.
Contribution
It presents SCALE and ISH as novel methods that enhance OOD detection performance through activation scaling and training-time sample characterization.
Findings
SCALE achieves state-of-the-art OOD detection performance.
Activation pruning negatively impacts OOD detection.
Activation scaling improves OOD detection accuracy.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Advanced Neural Network Applications · COVID-19 diagnosis using AI
MethodsPruning
