mlsanityData to 14 Oct 2026

Evaluating Reliability in Medical DNNs: A Critical Analysis of Feature and Confidence-Based OOD Detection

arXiv 2408.17337 ↗First posted 30 Aug 2024cs.CV cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Reliable use of deep neural networks (DNNs) for medical image analysis requires methods to identify inputs that differ significantly from the training data, called out-of-distribution (OOD), to prevent erroneous predictions. OOD detection methods can be categorised as either confidence-based (using the model's output layer for OOD detection) or feature-based (not using the output layer). We created two new OOD benchmarks by dividing the D7P (dermatology) and BreastMNIST (ultrasound) datasets into subsets which either contain or don't contain an artefact (rulers or annotations respectively). Models were trained with artefact-free images, and images with the artefacts were used as OOD test sets. For each OOD image, we created a counterfactual by manually removing the artefact via image processing, to assess the artefact's impact on the model's predictions. We show that OOD artefacts can boost a model's softmax confidence in its predictions, due to correlations in training data among other factors. This contradicts the common assumption that OOD artefacts should lead to more uncertain outputs, an assumption on which most confidence-based methods rely. We use this to explain why feature-based methods (e.g. Mahalanobis score) typically have greater OOD detection performance than confidence-based methods (e.g. MCP). However, we also show that feature-based methods typically perform worse at distinguishing between inputs that lead to correct and incorrect predictions (for both OOD and ID data). Following from these insights, we argue that a combination of feature-based and confidence-based methods should be used within DNN pipelines to mitigate their respective weaknesses. These project's code and OOD benchmarks are available at: https://github.com/HarryAnthony/Evaluating_OOD_detection.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 25 of its 37 references that are in the map. First posted on arXiv 30 Aug 2024.

Builds on

25 of 37 references.

References · 25

  1. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  2. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  3. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  4. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  5. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  6. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  7. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  8. 2021MedMNIST v2 -- A large-scale lightweight benchmark for 2D and 3D biomedical image classificationcited by 690
  9. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  10. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  11. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  12. 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 425
13 more
  1. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
  2. 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
  3. 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
  4. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
  5. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  6. 2022Full-Spectrum Out-of-Distribution Detectioncited by 63
  7. 2022A Call to Reflect on Evaluation Practices for Failure Detection in Image Classificationcited by 52
  8. 2021Detecting Outliers with Poisson Image Interpolationcited by 44
  9. 2022Out-Of-Distribution Detection Is Not All You Needcited by 23
  10. 2023On the use of Mahalanobis distance for out-of-distribution detection with neural networks for medical imagingcited by 15
  11. 2023Modality Cycles with Masked Conditional Diffusion for Unsupervised Anomaly Segmentation in MRIcited by 12
  12. 2022Rethinking Out-of-Distribution Detection From a Human-Centric Perspectivecited by 7
  13. 2023Distance Matters For Improving Performance Estimation Under Covariate Shiftcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.