How Useful are Gradients for OOD Detection Really?
Not on the map. Why?
Abstract (arXiv)
One critical challenge in deploying highly performant machine learning models in real-life applications is out of distribution (OOD) detection. Given a predictive model which is accurate on in distribution (ID) data, an OOD detection system will further equip the model with the option to defer prediction when the input is novel and the model has little confidence in prediction. There has been some recent interest in utilizing the gradient information in pre-trained models for OOD detection. While these methods have shown competitive performance, there are misconceptions about the true mechanism underlying them, which conflate their performance with the necessity of gradients. In this work, we provide an in-depth analysis and comparison of gradient based methods and elucidate the key components that warrant their OOD detection performance. We further propose a general, non-gradient based method of OOD detection which improves over previous baselines in both performance and computational efficiency.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 22 of its 42 references that are in the map. First posted on arXiv 20 May 2022.
Builds on
22 of 42 references.
References · 22
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
10 more
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2019Unsupervised Out-of-Distribution Detection by Maximum Classifier Discrepancycited by 112
- 2020Estimating Example Difficulty Using Variance of Gradientscited by 96
- 2020Gradients as a Measure of Uncertainty in Neural Networkscited by 55
- 2019Out-of-distribution Detection in Classifiers via Generationcited by 49
Built on by
Citing papers per year: 2023: 8; 2024: 5; 2025: 5; 2026: 2.
20 papers.
Sort:
By area:
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directionscited by 115
- 2023Learning to Augment Distributions for Out-of-Distribution Detectioncited by 38
- 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sourcescited by 31
- 2023GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradientscited by 21
- 2023GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detectioncited by 12
- 2024Pursuing Feature Separation based on Neural Collapse for Out-of-Distribution Detectioncited by 12
- 2025Controlling Neural Collapse Enhances Out-of-Distribution Detection and Transfer Learningcited by 11
- 2023Meta OOD Learning for Continuously Adaptive OOD Detectioncited by 10
- 2024Epistemic Uncertainty Quantification For Pre-trained Neural Networkcited by 10
- 2023Low-Dimensional Gradient Helps Out-of-Distribution Detectioncited by 6
- 2025Digital Twin-based Out-of-Distribution Detection in Autonomous Vesselscited by 3
- 2023T2FNorm: Extremely Simple Scaled Train-time Feature Normalization for OOD Detectioncited by 2
8 more
- 2024Approximations to the Fisher Information Metric of Deep Generative Models for Out-Of-Distribution Detectioncited by 2
- 2025STOOD-X methodology: using statistical nonparametric test for OOD Detection Large-Scale datasets enhanced with explainabilitycited by 2
- 2025An Empirical Analysis of VLM-based OOD Detection: Mechanisms, Advantages, and Sensitivitycited by 1
- 2023GROOD: GRadient-Aware Out-of-Distribution Detectioncited by 0
- 2024Concept Matching with Agent for Out-of-Distribution Detectioncited by 0
- 2025Probabilistic Runtime Verification, Evaluation and Risk Assessment of Visual Deep Learning Systemscited by 0
- 2026Gradients with Respect to Semantics Preserving Embeddings Tell the Uncertainty of Large Language Modelscited by 0
- 2026Reliable Neural Collapse Approximation for Open-World Test-Time Adaptationcited by 0
- 2026Reliable Neural Collapse Approximation for Open-World Test-Time Adaptation20 Aug 2026
- 2026Gradients with Respect to Semantics Preserving Embeddings Tell the Uncertainty of Large Language Models6 May 2026
- 2025Probabilistic Runtime Verification, Evaluation and Risk Assessment of Visual Deep Learning Systems23 Sep 2025
- 2025An Empirical Analysis of VLM-based OOD Detection: Mechanisms, Advantages, and Sensitivity16 Sep 2025
- 2025Digital Twin-based Out-of-Distribution Detection in Autonomous Vessels28 Apr 2025
- 2025STOOD-X methodology: using statistical nonparametric test for OOD Detection Large-Scale datasets enhanced with explainability3 Apr 2025
- 2025Controlling Neural Collapse Enhances Out-of-Distribution Detection and Transfer Learning15 Feb 2025
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directions7 Dec 2024
- 2024Pursuing Feature Separation based on Neural Collapse for Out-of-Distribution Detection28 May 2024
- 2024Concept Matching with Agent for Out-of-Distribution Detection27 May 2024
- 2024Epistemic Uncertainty Quantification For Pre-trained Neural Network15 Apr 2024
- 2024Approximations to the Fisher Information Metric of Deep Generative Models for Out-Of-Distribution Detection3 Mar 2024
8 more
- 2023GROOD: GRadient-Aware Out-of-Distribution Detection22 Dec 2023
- 2023GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detection16 Nov 2023
- 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources6 Nov 2023
- 2023Learning to Augment Distributions for Out-of-Distribution Detection3 Nov 2023
- 2023Low-Dimensional Gradient Helps Out-of-Distribution Detection26 Oct 2023
- 2023Meta OOD Learning for Continuously Adaptive OOD Detection21 Sep 2023
- 2023GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradients1 Aug 2023
- 2023T2FNorm: Extremely Simple Scaled Train-time Feature Normalization for OOD Detection28 May 2023
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directionscited by 115
- 2023Learning to Augment Distributions for Out-of-Distribution Detectioncited by 38
- 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sourcescited by 31
- 2023GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradientscited by 21
- 2023GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detectioncited by 12
- 2024Pursuing Feature Separation based on Neural Collapse for Out-of-Distribution Detectioncited by 12
- 2025Controlling Neural Collapse Enhances Out-of-Distribution Detection and Transfer Learningcited by 11
- 2023Meta OOD Learning for Continuously Adaptive OOD Detectioncited by 10
- 2024Epistemic Uncertainty Quantification For Pre-trained Neural Networkcited by 10
- 2023Low-Dimensional Gradient Helps Out-of-Distribution Detectioncited by 6
- 2025Digital Twin-based Out-of-Distribution Detection in Autonomous Vesselscited by 3
- 2023T2FNorm: Extremely Simple Scaled Train-time Feature Normalization for OOD Detectioncited by 2
12 most cited of 17 All 17 (JSON)
- 2026Reliable Neural Collapse Approximation for Open-World Test-Time Adaptation20 Aug 2026
- 2026Gradients with Respect to Semantics Preserving Embeddings Tell the Uncertainty of Large Language Models6 May 2026
- 2025Probabilistic Runtime Verification, Evaluation and Risk Assessment of Visual Deep Learning Systems23 Sep 2025
- 2025Digital Twin-based Out-of-Distribution Detection in Autonomous Vessels28 Apr 2025
- 2025STOOD-X methodology: using statistical nonparametric test for OOD Detection Large-Scale datasets enhanced with explainability3 Apr 2025
- 2025Controlling Neural Collapse Enhances Out-of-Distribution Detection and Transfer Learning15 Feb 2025
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directions7 Dec 2024
- 2024Pursuing Feature Separation based on Neural Collapse for Out-of-Distribution Detection28 May 2024
- 2024Epistemic Uncertainty Quantification For Pre-trained Neural Network15 Apr 2024
- 2023GROOD: GRadient-Aware Out-of-Distribution Detection22 Dec 2023
- 2023GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detection16 Nov 2023
- 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources6 Nov 2023
12 newest of 17 All 17 (JSON)