mlsanityData to 7 Oct 2026

Mitigating Overconfidence in Out-of-Distribution Detection by Capturing Extreme Activations

arXiv 2405.12658 ↗First posted 21 May 2024cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Detecting out-of-distribution (OOD) instances is crucial for the reliable deployment of machine learning models in real-world scenarios. OOD inputs are commonly expected to cause a more uncertain prediction in the primary task; however, there are OOD cases for which the model returns a highly confident prediction. This phenomenon, denoted as "overconfidence", presents a challenge to OOD detection. Specifically, theoretical evidence indicates that overconfidence is an intrinsic property of certain neural network architectures, leading to poor OOD detection. In this work, we address this issue by measuring extreme activation values in the penultimate layer of neural networks and then leverage this proxy of overconfidence to improve on several OOD detection baselines. We test our method on a wide array of experiments spanning synthetic data and real-world data, tabular and image datasets, multiple architectures such as ResNet and Transformer, different training loss functions, and include the scenarios examined in previous theoretical work. Compared to the baselines, our method often grants substantial improvements, with double-digit increases in OOD detection AUC, and it does not damage performance in any scenario.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 34 of its 48 references that are in the map. First posted on arXiv 21 May 2024.

Builds on

34 of 48 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  3. 2017On Calibration of Modern Neural Networkscited by 4,860
  4. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
  5. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  6. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  7. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  8. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  9. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  10. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  11. 2021Revisiting Deep Learning Models for Tabular Datacited by 725
  12. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
22 more
  1. 2015Towards Open Set Deep Networkscited by 533
  2. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  3. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  4. 2020Hopfield Networks is All You Needcited by 461
  5. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  6. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  7. 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
  8. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
  9. 2016Understanding Deep Neural Networks with Rectified Linear Unitscited by 253
  10. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
  11. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  12. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
  13. 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
  14. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  15. 2022Rethinking Reconstruction Autoencoder-Based Out-of-Distribution Detectioncited by 59
  16. 2020Trust Issues: Uncertainty Estimation Does Not Enable Reliable OOD Detection On Medical Tabular Datacited by 52
  17. 2022An Extensive Data Processing Pipeline for MIMIC-IVcited by 39
  18. 2019Benchmarking machine learning models on multi-centre eICU critical care datasetcited by 35
  19. 2020Know Your Limits: Uncertainty Estimation with ReLU Classifiers Fails at Reliable OOD Detectioncited by 26
  20. 2014An ensemble-based system for automatic screening of diabetic retinopathycited by 14
  21. 2018A randomized gradient-free attack on ReLU networkscited by 8
  22. 2023Unmasking the Chameleons: A Benchmark for Out-of-Distribution Detection in Medical Tabular Datacited by 8

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.