mlsanityData to 7 Oct 2026

A Simple Test-Time Method for Out-of-Distribution Detection

arXiv 2207.08210 ↗First posted 17 Jul 2022cs.CV cs.AI cs.LGcited by 6

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  5. 2016Densely Connected Convolutional Networkscited by 6,691
  6. 2016Wide Residual Networkscited by 3,057
  7. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  8. 2013Describing Textures in the Wildcited by 2,110
  9. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  10. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
  11. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  12. 2020Energy-based Out-of-distribution Detectioncited by 1,296
14 more
  1. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  2. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  3. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  4. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  5. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  6. 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
  7. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  8. 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 304
  9. 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
  10. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
  11. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  12. 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
  13. 2021MixNorm: Test-Time Adaptation Through Online Normalization Estimationcited by 47
  14. 2018Metric Learning for Novelty and Anomaly Detectioncited by 21

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 5.

6 papers.