Fail-Safe Execution of Deep Learning based Systems through Uncertainty Monitoring
Not on the map. Why?
Abstract (arXiv)
Modern software systems rely on Deep Neural Networks (DNN) when processing complex, unstructured inputs, such as images, videos, natural language texts or audio signals. Provided the intractably large size of such input spaces, the intrinsic limitations of learning algorithms, and the ambiguity about the expected predictions for some of the inputs, not only there is no guarantee that DNN's predictions are always correct, but rather developers must safely assume a low, though not negligible, error probability. A fail-safe Deep Learning based System (DLS) is one equipped to handle DNN faults by means of a supervisor, capable of recognizing predictions that should not be trusted and that should activate a healing procedure bringing the DLS to a safe state. In this paper, we propose an approach to use DNN uncertainty estimators to implement such a supervisor. We first discuss the advantages and disadvantages of existing approaches to measure uncertainty for DNNs and propose novel metrics for the empirical assessment of the supervisor that rely on such approaches. We then describe our publicly available tool UNCERTAINTY-WIZARD, which allows transparent estimation of uncertainty for regular tf.keras DNNs. Lastly, we discuss a large-scale study conducted on four different subjects to empirically validate the approach, reporting the lessons-learned as guidance for software engineers who intend to monitor uncertainty for fail-safe execution of DLS.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 16 of its 48 references that are in the map. First posted on arXiv 1 Feb 2021.
Builds on
16 of 48 references.
References · 16
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
- 2020Hands-on Bayesian Neural Networks -- a Tutorial for Deep Learning Userscited by 338
- 2019MNIST-C: A Robustness Benchmark for Computer Visioncited by 138
- 2018Uncertainty Estimates and Multi-Hypotheses Networks for Optical Flowcited by 135
- 2018Uncertainty in Neural Networks: Approximately Bayesian Ensemblingcited by 94
- 2018Evaluating Uncertainty Quantification in End-to-End Autonomous Driving Controlcited by 55
- 2019Misbehaviour Prediction for Autonomous Driving Systemscited by 55
4 more
- 2020Towards Characterizing Adversarial Defects of Deep Learning Software from the Lens of Uncertaintycited by 26
- 2019Towards Structured Evaluation of Deep Neural Network Supervisorscited by 19
- 2020Uncertainty-Wizard: Fast and User-Friendly Neural Network Uncertainty Quantificationcited by 9
- 2016Known Unknowns: Uncertainty Quality in Bayesian Neural Networkscited by 3
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 2; 2024: 3.
11 papers.
- 2024A Closer Look at AUROC and AUPRC under Class Imbalancecited by 57
- 2022Simple Techniques Work Surprisingly Well for Neural Network Test Prioritization and Active Learning (Replicability Study)cited by 27
- 2021Benchmarking Safety Monitors for Image Classifiers with Machine Learningcited by 14
- 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantificationcited by 11
- 2023SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agentscited by 10
- 2021A Review and Refinement of Surprise Adequacycited by 9
- 2022Generating and Detecting True Ambiguity: A Forgotten Danger in DNN Supervision Testingcited by 8
- 2022Uncertainty Quantification for Deep Neural Networks: An Empirical Comparison and Usage Guidelinescited by 3
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selectioncited by 3
- 2022CheapET-3: Cost-Efficient Use of Remote DNN Modelscited by 1
- 2023Adopting Two Supervisors for Efficient Use of Large-Scale Remote Deep Neural Networkscited by 0
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selection13 Sep 2024
- 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantification29 Apr 2024
- 2024A Closer Look at AUROC and AUPRC under Class Imbalance11 Jan 2024
- 2023SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agents3 Aug 2023
- 2023Adopting Two Supervisors for Efficient Use of Large-Scale Remote Deep Neural Networks5 Apr 2023
- 2022Uncertainty Quantification for Deep Neural Networks: An Empirical Comparison and Usage Guidelines14 Dec 2022
- 2022CheapET-3: Cost-Efficient Use of Remote DNN Models24 Aug 2022
- 2022Generating and Detecting True Ambiguity: A Forgotten Danger in DNN Supervision Testing21 Jul 2022
- 2022Simple Techniques Work Surprisingly Well for Neural Network Test Prioritization and Active Learning (Replicability Study)2 May 2022
- 2021Benchmarking Safety Monitors for Image Classifiers with Machine Learning4 Oct 2021
- 2021A Review and Refinement of Surprise Adequacy10 Mar 2021