A Simple Test-Time Method for Out-of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
Neural networks are known to produce over-confident predictions on input images, even when these images are out-of-distribution (OOD) samples. This limits the applications of neural network models in real-world scenarios, where OOD samples exist. Many existing approaches identify the OOD instances via exploiting various cues, such as finding irregular patterns in the feature space, logits space, gradient space or the raw space of images. In contrast, this paper proposes a simple Test-time Linear Training (ETLT) method for OOD detection. Empirically, we find that the probabilities of input images being out-of-distribution are surprisingly linearly correlated to the features extracted by neural networks. To be specific, many state-of-the-art OOD algorithms, although designed to measure reliability in different ways, actually lead to OOD scores mostly linearly related to their image features. Thus, by simply learning a linear regression model trained from the paired image features and inferred OOD scores at test-time, we can make a more precise OOD prediction for the test instances. We further propose an online variant of the proposed method, which achieves promising performance and is more practical in real-world applications. Remarkably, we improve FPR95 from 51.37% to 12.30% on CIFAR-10 datasets with maximum softmax probability as the base OOD detector. Extensive experiments on several benchmark datasets show the efficacy of ETLT for OOD detection task.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 26 of its 39 references that are in the map. First posted on arXiv 17 Jul 2022.
Builds on
26 of 39 references.
References · 26
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2016Wide Residual Networkscited by 3,057
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
14 more
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 304
- 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
- 2021MixNorm: Test-Time Adaptation Through Online Normalization Estimationcited by 47
- 2018Metric Learning for Novelty and Anomaly Detectioncited by 21
Built on by
Citing papers per year: 2023: 1; 2024: 5.
6 papers.
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 24
- 2024AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Modelscited by 16
- 2023AUTO: Adaptive Outlier Optimization for Test-Time OOD Detectioncited by 12
- 2024Taming False Positives in Out-of-Distribution Detection with Human Feedbackcited by 7
- 2024Long-Tailed Out-of-Distribution Detection via Normalized Outlier Distribution Adaptationcited by 4
- 2024Iterative Deployment Exposure for Unsupervised Out-of-Distribution Detectioncited by 0
- 2024Long-Tailed Out-of-Distribution Detection via Normalized Outlier Distribution Adaptation28 Oct 2024
- 2024AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models26 Oct 2024
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances18 Sep 2024
- 2024Iterative Deployment Exposure for Unsupervised Out-of-Distribution Detection4 Jun 2024
- 2024Taming False Positives in Out-of-Distribution Detection with Human Feedback25 Apr 2024
- 2023AUTO: Adaptive Outlier Optimization for Test-Time OOD Detection22 Mar 2023