The #DNN-Verification Problem: Counting Unsafe Inputs for Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks are increasingly adopted in critical tasks that require a high level of safety, e.g., autonomous driving. While state-of-the-art verifiers can be employed to check whether a DNN is unsafe w.r.t. some given property (i.e., whether there is at least one unsafe input configuration), their yes/no output is not informative enough for other purposes, such as shielding, model selection, or training improvements. In this paper, we introduce the #DNN-Verification problem, which involves counting the number of input configurations of a DNN that result in a violation of a particular safety property. We analyze the complexity of this problem and propose a novel approach that returns the exact count of violations. Due to the #P-completeness of the problem, we also propose a randomized, approximate method that provides a provable probabilistic bound of the correct count while significantly reducing computational requirements. We present experimental results on a set of safety-critical benchmarks that demonstrate the effectiveness of our approximate method and evaluate the tightness of the bound.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 12 of its 32 references that are in the map. First posted on arXiv 17 Jan 2023.
Builds on
12 of 32 references.
References · 12
- 2013Intriguing properties of neural networkscited by 5,155
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
- 2021Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Complete and Incomplete Neural Network Robustness Verificationcited by 228
- 2019Algorithms for Verifying Deep Neural Networkscited by 221
- 2018Efficient Formal Safety Analysis of Neural Networkscited by 165
- 2017An approach to reachability analysis for feed-forward ReLU neural networkscited by 127
- 2019Quantitative Verification of Neural Networks And its Security Applicationscited by 56
- 2022Verifying Learning-Based Robotic Navigation Systemscited by 33
- 2020Justicia: A Stochastic SAT Approach to Formally Verify Fairnesscited by 25
- 2021BDD4BNN: A BDD-based Quantitative Analysis Framework for Binarized Neural Networkscited by 17
- 2021Curriculum Learning for Safe Mapless Navigationcited by 11
- 2021Benchmarking Safe Deep Reinforcement Learning in Aquatic Navigationcited by 10
Built on by
Citing papers per year: 2023: 5; 2024: 7; 2025: 4; 2026: 3.
19 papers.
Sort:
By area:
- 2023Formally Explaining Neural Networks within Reactive Systemscited by 24
- 2023Enumerating Safe Regions in Deep Neural Networks with Provable Probabilistic Guaranteescited by 19
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretationcited by 11
- 2023Safe Deep Reinforcement Learning by Verifying Task-Level Propertiescited by 9
- 2023Online Safety Property Collection and Refinement for Safe Deep Reinforcement Learning in Mapless Navigationcited by 7
- 2024Analyzing Adversarial Inputs in Deep Reinforcement Learningcited by 7
- 2024ModelVerification.jl: a Comprehensive Toolbox for Formally Verifying Deep Neural Networkscited by 7
- 2024Improving Policy Optimization via varepsilon-Retraincited by 5
- 2024Even-if Explanations: Formal Foundations, Priorities and Complexitycited by 4
- 2024Solving Probabilistic Verification Problems of Neural Networks using Branch and Boundcited by 4
- 2025Advancing Neural Network Verification through Hierarchical Safety Abstract Interpretationcited by 4
- 2025Designing Control Barrier Function via Probabilistic Enumeration for Safe Reinforcement Learning Navigationcited by 3
7 more
- 2025Statistical Runtime Verification for LLMs via Robustness Estimationcited by 2
- 2025Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verificationcited by 2
- 2023Scaling #DNN-Verification Tools with Efficient Bound Propagation and Parallel Computingcited by 1
- 2024Aquatic Navigation: A Challenging Benchmark for Deep Reinforcement Learningcited by 1
- 2026SimCert: Probabilistic Certification for Behavioral Similarity in Deep Neural Network Compressioncited by 1
- 2026Probabilistic Verification of Recurrent Neural Networks for Single and Multi-Agent Reinforcement Learningcited by 0
- 2026A Survey on the Verification of Reinforcement Learning Policiescited by 0
- 2026A Survey on the Verification of Reinforcement Learning Policies14 May 2026
- 2026Probabilistic Verification of Recurrent Neural Networks for Single and Multi-Agent Reinforcement Learning14 May 2026
- 2026SimCert: Probabilistic Certification for Behavioral Similarity in Deep Neural Network Compression16 Mar 2026
- 2025Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verification7 Jul 2025
- 2025Advancing Neural Network Verification through Hierarchical Safety Abstract Interpretation8 May 2025
- 2025Designing Control Barrier Function via Probabilistic Enumeration for Safe Reinforcement Learning Navigation30 Apr 2025
- 2025Statistical Runtime Verification for LLMs via Robustness Estimation24 Apr 2025
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretation7 Aug 2024
- 2024ModelVerification.jl: a Comprehensive Toolbox for Formally Verifying Deep Neural Networks30 Jun 2024
- 2024Improving Policy Optimization via varepsilon-Retrain12 Jun 2024
- 2024Aquatic Navigation: A Challenging Benchmark for Deep Reinforcement Learning30 May 2024
- 2024Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound27 May 2024
7 more
- 2024Analyzing Adversarial Inputs in Deep Reinforcement Learning7 Feb 2024
- 2024Even-if Explanations: Formal Foundations, Priorities and Complexity17 Jan 2024
- 2023Scaling #DNN-Verification Tools with Efficient Bound Propagation and Parallel Computing10 Dec 2023
- 2023Enumerating Safe Regions in Deep Neural Networks with Provable Probabilistic Guarantees18 Aug 2023
- 2023Formally Explaining Neural Networks within Reactive Systems31 Jul 2023
- 2023Safe Deep Reinforcement Learning by Verifying Task-Level Properties20 Feb 2023
- 2023Online Safety Property Collection and Refinement for Safe Deep Reinforcement Learning in Mapless Navigation13 Feb 2023
- 2024Analyzing Adversarial Inputs in Deep Reinforcement Learningcited by 7
- 2025Designing Control Barrier Function via Probabilistic Enumeration for Safe Reinforcement Learning Navigationcited by 3
- 2024Aquatic Navigation: A Challenging Benchmark for Deep Reinforcement Learningcited by 1
- 2026A Survey on the Verification of Reinforcement Learning Policiescited by 0
- 2026A Survey on the Verification of Reinforcement Learning Policies14 May 2026
- 2025Designing Control Barrier Function via Probabilistic Enumeration for Safe Reinforcement Learning Navigation30 Apr 2025
- 2024Aquatic Navigation: A Challenging Benchmark for Deep Reinforcement Learning30 May 2024
- 2024Analyzing Adversarial Inputs in Deep Reinforcement Learning7 Feb 2024
- 2023Formally Explaining Neural Networks within Reactive Systemscited by 24
- 2023Enumerating Safe Regions in Deep Neural Networks with Provable Probabilistic Guaranteescited by 19
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretationcited by 11
- 2023Safe Deep Reinforcement Learning by Verifying Task-Level Propertiescited by 9
- 2023Online Safety Property Collection and Refinement for Safe Deep Reinforcement Learning in Mapless Navigationcited by 7
- 2024ModelVerification.jl: a Comprehensive Toolbox for Formally Verifying Deep Neural Networkscited by 7
- 2024Improving Policy Optimization via varepsilon-Retraincited by 5
- 2024Even-if Explanations: Formal Foundations, Priorities and Complexitycited by 4
- 2024Solving Probabilistic Verification Problems of Neural Networks using Branch and Boundcited by 4
- 2025Advancing Neural Network Verification through Hierarchical Safety Abstract Interpretationcited by 4
- 2025Statistical Runtime Verification for LLMs via Robustness Estimationcited by 2
- 2025Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verificationcited by 2
12 most cited of 15 All 15 (JSON)
- 2026Probabilistic Verification of Recurrent Neural Networks for Single and Multi-Agent Reinforcement Learning14 May 2026
- 2026SimCert: Probabilistic Certification for Behavioral Similarity in Deep Neural Network Compression16 Mar 2026
- 2025Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verification7 Jul 2025
- 2025Advancing Neural Network Verification through Hierarchical Safety Abstract Interpretation8 May 2025
- 2025Statistical Runtime Verification for LLMs via Robustness Estimation24 Apr 2025
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretation7 Aug 2024
- 2024ModelVerification.jl: a Comprehensive Toolbox for Formally Verifying Deep Neural Networks30 Jun 2024
- 2024Improving Policy Optimization via varepsilon-Retrain12 Jun 2024
- 2024Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound27 May 2024
- 2024Even-if Explanations: Formal Foundations, Priorities and Complexity17 Jan 2024
- 2023Scaling #DNN-Verification Tools with Efficient Bound Propagation and Parallel Computing10 Dec 2023
- 2023Enumerating Safe Regions in Deep Neural Networks with Provable Probabilistic Guarantees18 Aug 2023
12 newest of 15 All 15 (JSON)