Gradients as a Measure of Uncertainty in Neural Networks
Not on the map. Why?
Abstract (arXiv)
Despite tremendous success of modern neural networks, they are known to be overconfident even when the model encounters inputs with unfamiliar conditions. Detecting such inputs is vital to preventing models from making naive predictions that may jeopardize real-world applications of neural networks. In this paper, we address the challenging problem of devising a simple yet effective measure of uncertainty in deep neural networks. Specifically, we propose to utilize backpropagated gradients to quantify the uncertainty of trained models. Gradients depict the required amount of change for a model to properly represent given inputs, thus providing a valuable insight into how familiar and certain the model is regarding the inputs. We demonstrate the effectiveness of gradients as a measure of model uncertainty in applications of detecting unfamiliar inputs, including out-of-distribution and corrupted samples. We show that our gradient-based method outperforms state-of-the-art methods by up to 4.8% of AUROC score in out-of-distribution detection and 35.7% in corrupted input detection.
Key facts. Cited by 55 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 11; 2023: 15; 2024: 14; 2025: 7; 2026: 3.
55 papers.
Sort:
By area:
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 680
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directionscited by 121
- 2024LUQ: Long-text Uncertainty Quantification for LLMscited by 81
- 2023Single-model uncertainty quantification in neural network potentials does not consistently outperform model ensemblescited by 30
- 2022Gradient-based Uncertainty for Monocular Depth Estimationcited by 26
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 26
- 2024A Comprehensive Survey on Evidential Deep Learning and Its Applicationscited by 25
- 2023GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradientscited by 21
- 2022How Useful are Gradients for OOD Detection Really?cited by 20
- 2022Introspective Learning : A Two-Stage Approach for Inference in Neural Networkscited by 20
- 2024Predictive Dynamic Fusioncited by 17
38 more
- 2022Fine-grained TLS services classification with reject optioncited by 14
- 2022Gradient-Based Adversarial and Out-of-Distribution Detectioncited by 14
- 2024Ctrl-U: Robust Conditional Image Generation via Uncertainty-aware Reward Modelingcited by 14
- 2021Extracting Causal Visual Features for Limited label Classificationcited by 12
- 2023GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detectioncited by 12
- 2021Contrastive Reasoning in Neural Networkscited by 11
- 2022Explanatory Paradigms in Neural Networkscited by 11
- 2021Gradient-based Novelty Detection Boosted by Self-supervised Binary Classificationcited by 10
- 2023Gaussian Switch Sampling: A Second Order Approach to Active Learningcited by 10
- 2023Revisiting Deep Ensemble for Out-of-Distribution Detection: A Loss Landscape Perspectivecited by 10
- 2024Epistemic Uncertainty Quantification For Pre-trained Neural Networkcited by 10
- 2024A Structured Review of Literature on Uncertainty in Machine Learning & Deep Learningcited by 10
- 2022Highlighting Object Category Immunity for the Generalization of Human-Object Interaction Detectioncited by 9
- 2023WDiscOOD: Out-of-Distribution Detection via Whitened Linear Discriminant Analysiscited by 9
- 2023Probing the Purview of Neural Networks via Gradient Analysiscited by 9
- 2024Harnessing Uncertainty-aware Bounding Boxes for Unsupervised 3D Object Detectioncited by 9
- 2023Forgetful Active Learning with Switch Events: Efficient Sampling for Out-of-Distribution Datacited by 8
- 2022Open-Set Recognition with Gradient-Based Representationscited by 7
- 2023Explaining Deep Models through Forgettable Learning Dynamicscited by 7
- 2025Probabilistic Machine Learning for Noisy Labels in Earth Observationcited by 6
- 2023Example Forgetting: A Novel Approach to Explain and Interpret Deep Neural Networks in Seismic Interpretationcited by 4
- 2025Uncertainty-Aware Deep Learning for Wildfire Danger Forecastingcited by 4
- 2022TEDL: A Two-stage Evidential Deep Learning Method for Classification Uncertainty Quantificationcited by 3
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executablescited by 3
- 2024VOICE: Variance of Induced Contrastive Explanations to quantify Uncertainty in Neural Network Interpretabilitycited by 3
- 2024Understanding the Dependence of Perception Model Competency on Regions in an Imagecited by 3
- 2022A Benchmark for Out of Distribution Detection in Point Cloud 3D Semantic Segmentationcited by 2
- 2023Generalized Uncertainty of Deep Neural Networks: Taxonomy and Applicationscited by 2
- 2023Delay-SDE-net: A deep learning approach for time series modelling with memory and uncertainty estimatescited by 2
- 2024Generalizable Physics-Informed Learning for Stochastic Safety-Critical Systemscited by 2
- 2024Estimating Environmental Cost Throughout Model's Adaptive Life Cyclecited by 2
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detectioncited by 2
- 2022Explainable Machine Learning for Hydrocarbon Prospect Riskingcited by 1
- 2023GIT: Detecting Uncertainty, Out-Of-Distribution and Adversarial Samples using Gradients and Invariance Transformationscited by 0
- 2023GROOD: GRadient-Aware Out-of-Distribution Detectioncited by 0
- 2024RESQUE: Quantifying Estimator to Task and Distribution Shift for Sustainable Model Reusabilitycited by 0
- 2025Model uncertainty quantification using feature confidence sets for outcome excursionscited by 0
- 2025ELMAR: Enhancing LiDAR Detection with 4D Radar Motion Awareness and Cross-modal Uncertaintycited by 0
50 most cited of 55 All 55 (JSON)
- 2026Uncertainty-Aware Consistency Distillation for Few-Step Video Generation30 Sep 2026
- 2026Gradients with Respect to Semantics Preserving Embeddings Tell the Uncertainty of Large Language Models6 May 2026
- 2026Gradient based Severity Labeling for Biomarker Classification in OCT23 Feb 2026
- 2025Uncertainty-Aware Subset Selection for Robust Visual Explainability under Distribution Shifts9 Dec 2025
- 2025Uncertainty-Aware Deep Learning for Wildfire Danger Forecasting29 Sep 2025
- 2025Probabilistic Runtime Verification, Evaluation and Risk Assessment of Visual Deep Learning Systems23 Sep 2025
- 2025ELMAR: Enhancing LiDAR Detection with 4D Radar Motion Awareness and Cross-modal Uncertainty22 Jun 2025
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection21 May 2025
- 2025Model uncertainty quantification using feature confidence sets for outcome excursions28 Apr 2025
- 2025Probabilistic Machine Learning for Noisy Labels in Earth Observation4 Apr 2025
- 2024RESQUE: Quantifying Estimator to Task and Distribution Shift for Sustainable Model Reusability20 Dec 2024
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directions7 Dec 2024
38 more
- 2024Ctrl-U: Robust Conditional Image Generation via Uncertainty-aware Reward Modeling15 Oct 2024
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances18 Sep 2024
- 2024A Comprehensive Survey on Evidential Deep Learning and Its Applications7 Sep 2024
- 2024Harnessing Uncertainty-aware Bounding Boxes for Unsupervised 3D Object Detection1 Aug 2024
- 2024Estimating Environmental Cost Throughout Model's Adaptive Life Cycle23 Jul 2024
- 2024Understanding the Dependence of Perception Model Competency on Regions in an Image15 Jul 2024
- 2024Generalizable Physics-Informed Learning for Stochastic Safety-Critical Systems11 Jul 2024
- 2024Predictive Dynamic Fusion7 Jun 2024
- 2024VOICE: Variance of Induced Contrastive Explanations to quantify Uncertainty in Neural Network Interpretability1 Jun 2024
- 2024A Structured Review of Literature on Uncertainty in Machine Learning & Deep Learning1 Jun 2024
- 2024Epistemic Uncertainty Quantification For Pre-trained Neural Network15 Apr 2024
- 2024LUQ: Long-text Uncertainty Quantification for LLMs29 Mar 2024
- 2023GROOD: GRadient-Aware Out-of-Distribution Detection22 Dec 2023
- 2023GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detection16 Nov 2023
- 2023Revisiting Deep Ensemble for Out-of-Distribution Detection: A Loss Landscape Perspective22 Oct 2023
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executables12 Sep 2023
- 2023GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradients1 Aug 2023
- 2023GIT: Detecting Uncertainty, Out-Of-Distribution and Adversarial Samples using Gradients and Invariance Transformations5 Jul 2023
- 2023Single-model uncertainty quantification in neural network potentials does not consistently outperform model ensembles2 May 2023
- 2023Probing the Purview of Neural Networks via Gradient Analysis6 Apr 2023
- 2023Delay-SDE-net: A deep learning approach for time series modelling with memory and uncertainty estimates14 Mar 2023
- 2023WDiscOOD: Out-of-Distribution Detection via Whitened Linear Discriminant Analysis14 Mar 2023
- 2023Example Forgetting: A Novel Approach to Explain and Interpret Deep Neural Networks in Seismic Interpretation24 Feb 2023
- 2023Gaussian Switch Sampling: A Second Order Approach to Active Learning16 Feb 2023
- 2023Generalized Uncertainty of Deep Neural Networks: Taxonomy and Applications2 Feb 2023
- 2023Forgetful Active Learning with Switch Events: Efficient Sampling for Out-of-Distribution Data12 Jan 2023
- 2023Explaining Deep Models through Forgettable Learning Dynamics10 Jan 2023
- 2022Explainable Machine Learning for Hydrocarbon Prospect Risking15 Dec 2022
- 2022A Benchmark for Out of Distribution Detection in Point Cloud 3D Semantic Segmentation11 Nov 2022
- 2022Introspective Learning : A Two-Stage Approach for Inference in Neural Networks17 Sep 2022
- 2022TEDL: A Two-stage Evidential Deep Learning Method for Classification Uncertainty Quantification12 Sep 2022
- 2022Gradient-based Uncertainty for Monocular Depth Estimation3 Aug 2022
- 2022Gradient-Based Adversarial and Out-of-Distribution Detection16 Jun 2022
- 2022Open-Set Recognition with Gradient-Based Representations16 Jun 2022
- 2022How Useful are Gradients for OOD Detection Really?20 May 2022
- 2022Fine-grained TLS services classification with reject option24 Feb 2022
- 2022Explanatory Paradigms in Neural Networks24 Feb 2022
- 2022Highlighting Object Category Immunity for the Generalization of Human-Object Interaction Detection19 Feb 2022
50 newest of 55 All 55 (JSON)
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 680
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directionscited by 121
- 2024LUQ: Long-text Uncertainty Quantification for LLMscited by 81
- 2023Single-model uncertainty quantification in neural network potentials does not consistently outperform model ensemblescited by 30
- 2022Gradient-based Uncertainty for Monocular Depth Estimationcited by 26
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 26
- 2024A Comprehensive Survey on Evidential Deep Learning and Its Applicationscited by 25
- 2023GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradientscited by 21
- 2022How Useful are Gradients for OOD Detection Really?cited by 20
- 2022Introspective Learning : A Two-Stage Approach for Inference in Neural Networkscited by 20
- 2024Predictive Dynamic Fusioncited by 17
12 most cited of 54 All 54 (JSON)
- 2026Uncertainty-Aware Consistency Distillation for Few-Step Video Generation30 Sep 2026
- 2026Gradients with Respect to Semantics Preserving Embeddings Tell the Uncertainty of Large Language Models6 May 2026
- 2026Gradient based Severity Labeling for Biomarker Classification in OCT23 Feb 2026
- 2025Uncertainty-Aware Subset Selection for Robust Visual Explainability under Distribution Shifts9 Dec 2025
- 2025Uncertainty-Aware Deep Learning for Wildfire Danger Forecasting29 Sep 2025
- 2025Probabilistic Runtime Verification, Evaluation and Risk Assessment of Visual Deep Learning Systems23 Sep 2025
- 2025ELMAR: Enhancing LiDAR Detection with 4D Radar Motion Awareness and Cross-modal Uncertainty22 Jun 2025
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection21 May 2025
- 2025Model uncertainty quantification using feature confidence sets for outcome excursions28 Apr 2025
- 2025Probabilistic Machine Learning for Noisy Labels in Earth Observation4 Apr 2025
- 2024RESQUE: Quantifying Estimator to Task and Distribution Shift for Sustainable Model Reusability20 Dec 2024
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directions7 Dec 2024
12 newest of 54 All 54 (JSON)