Quantitative Verification of Neural Networks and Its Security Applications
Teodora Baluta, Shiqi Shen, Shweta Shinde, Kuldeep S. Meel, Prateek Saxena
Abstract
Neural networks are increasingly employed in safety-critical domains. This has prompted interest in verifying or certifying logically encoded properties of neural networks. Prior work has largely focused on checking existential properties, wherein the goal is to check whether there exists any input that violates a given property of interest. However, neural network training is a stochastic process, and many questions arising in their analysis require probabilistic and quantitative reasoning, i.e., estimating how many inputs satisfy a given property. To this end, our paper proposes a novel and principled framework to quantitative verification of logical properties specified over neural networks. Our framework is the first to provide PAC-style soundness guarantees, in that its quantitative estimates are within a controllable and bounded error from the true count. We instantiate our algorithmic framework by building a prototype tool called NPAQ that enables checking rich properties over binarized neural networks. We show how emerging security analyses can utilize our framework in 3 concrete point applications: quantifying robustness to adversarial inputs, efficacy of trojan attacks, and fairness/bias of given neural networks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
31 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Trojaning Attack on Neural Networks cites Membership Inference Attacks Against Machine Learning Models
- Trojaning Attack on Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Towards Evaluating the Robustness of Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Efficient Exact Verification of Binarized Neural Networks cites Towards Evaluating the Robustness of Neural Networks
- Efficient Exact Verification of Binarized Neural Networks cites In Search for a SAT-friendly Binarized Neural Network Architecture
- Efficient Exact Verification of Binarized Neural Networks cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
- BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural Networks cites Efficient Exact Verification of Binarized Neural Networks
- BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural Networks cites In Search for a SAT-friendly Binarized Neural Network Architecture
- BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural Networks cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
- BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural Networks cites Scalable Quantitative Verification For Deep Neural Networks
- AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation cites Towards Evaluating the Robustness of Neural Networks
- AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Scalable Quantitative Verification For Deep Neural Networks cites Membership Inference Attacks Against Machine Learning Models
- Scalable Quantitative Verification For Deep Neural Networks cites Towards Evaluating the Robustness of Neural Networks
- Scalable Quantitative Verification For Deep Neural Networks cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
Cited by top-tier papers31
- Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 citations
- Efficient Exact Verification of Binarized Neural NetworksKai Jia, Martin C. RinardNeurIPS 2020 · 70 citations
- Scalable Quantitative Verification For Deep Neural NetworksTeodora Baluta, Zheng Leong Chua, Kuldeep S. Meel, Prateek SaxenaICSE 2021 · 39 citations
- In Search for a SAT-friendly Binarized Neural Network ArchitectureNina Narodytska, Hongce Zhang, Aarti Gupta, Toby WalshICLR 2020 · 31 citations
- BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural NetworksYedi Zhang, Zhe Zhao, Guangke Chen, Fu Song et al.CAV 2021 · 26 citations
Builds on9
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
- Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
- Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee et al.NDSS 2018 · 1,377 citations
- AI2: Safety and Robustness Certification of Neural Networks with Abstract InterpretationTimon Gehr, Matthew Mirman, Dana Drachsler-Cohen, Petar Tsankov et al.S&P 2018 · 987 citations
Related papers
- Relational DNN Verification With Cross Executional Bound RefinementDebangshu Banerjee, Gagandeep SinghICML 2024 · 8 citations
- Solving Probabilistic Verification Problems of Neural Networks using Branch and BoundDavid Boetius, Stefan Leue, Tobias SutterICML 2025
- Formal Reasoning About Confidence and Automated Verification of Neural NetworksMohammad Afzal, S. Akshay, Blaise Genest, Ashutosh GuptaFM 2026
- Verification of Bit-Flip Attacks against Quantized Neural NetworksYedi Zhang, Lei Huang, Pengfei Gao, Fu Song et al.OOPSLA 2025 · 4 citations
- Incremental Verification of Neural NetworksShubham Ugare, Debangshu Banerjee, Sasa Misailovic, Gagandeep SinghPLDI 2023 · 19 citations
