paper-with-me

Papers

Extremely Simple Activation Shaping for Out-of-Distribution Detection

2022-09-20 · Andrija Djurisic, Nebojsa Bozanic, Arjun Ashok, Rosanne Liu

The separation between training and deployment of machine learning models implies that not all scenarios encountered in deployment can be anticipated during training, and therefore relying solely on advancements in training has its limits. Out-of-distribution (OOD) detection is an important area that stress-tests a model's ability to handle unseen situations: Do models know when they don't know? Existing OOD detection methods either incur extra training steps, additional data or make nontrivial modifications to the trained network. In contrast, in this work, we propose an extremely simple, post-hoc, on-the-fly activation shaping method, ASH, where a large portion (e.g. 90%) of a sample's activation at a late layer is removed, and the rest (e.g. 10%) simplified or lightly adjusted. The shaping is applied at inference time, and does not require any statistics calculated from training data. Experiments show that such a simple treatment enhances in-distribution and out-of-distribution distinction so as to allow state-of-the-art OOD detection on ImageNet, and does not noticeably deteriorate the in-distribution accuracy. Video, animation and code can be found at: https://andrijazz.github.io/ash

📄 PDF Abstract BibTeX arXiv:2209.09858

Code (2)

andrijazz/ash 공식 구현 pytorch
litianliu/fdbd-ood pytorch

Tasks

Out-of-Distribution Detection

Similar Papers 제목 키워드 기반

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

2023-09-30 · 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-dis…

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

GDRQ: Group-based Distribution Reshaping for Quantization

2019-08-05 · Haibao Yu, Tuopu Wen, Guangliang Cheng, Jiankai Sun 외

Low-bit quantization is challenging to maintain high performance with limited model capacity (e.g., 4-bit for both weights and activations). Naturally, the distribution of both weights and activations in deep neural netw…

Quantization

Activation Subspaces for Out-of-Distribution Detection

2025-08-29 · Barış Zöngür, Robin Hesse, Stefan Roth arxiv

To ensure the reliability of deep models in real-world applications, out-of-distribution (OOD) detection methods aim to distinguish samples close to the training distribution (in-distribution, ID) from those farther away…

Out-of-Distribution Detection

Towards Optimal Feature-Shaping Methods for Out-of-Distribution Detection

2024-02-01 · Qinyu Zhao, Ming Xu, Kartik Gupta, Akshay Asthana 외

Feature shaping refers to a family of methods that exhibit state-of-the-art performance for out-of-distribution (OOD) detection. These approaches manipulate the feature representation, typically from the penultimate laye…

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

AdaSCALE: Adaptive Scaling for OOD Detection

2025-03-11 · Sudarshan Regmi

The ability of the deep learning model to recognize when a sample falls outside its learned distribution is critical for safe and reliable deployment. Recent state-of-the-art out-of-distribution (OOD) detection methods l…

Out of Distribution (OOD) Detection