Efficient Exact Verification of Binarized Neural Networks
Abstract
Concerned with the reliability of neural networks, researchers have developed verification techniques to prove their robustness. Most verifiers work with real-valued networks. Unfortunately, the exact (complete and sound) verifiers face scalability challenges and provide no correctness guarantees due to floating point errors. We argue that Binarized Neural Networks (BNNs) provide comparable robustness and allow exact and significantly more efficient verification. We present a new system, EEV, for efficient and exact verification of BNNs. EEV consists of two parts: (i) a novel SAT solver that speeds up BNN verification by natively handling the reified cardinality constraints arising in BNN encodings; and (ii) strategies to train solver-friendly robust BNNs by inducing balanced layer-wise sparsity and low cardinality bounds, and adaptively cancelling the gradients. We demonstrate the effectiveness of EEV by presenting the first exact verification results for ∞ -bounded adversarial robustness of nontrivial convolutional BNNs on the MNIST and CI-FAR10 datasets. Compared to exact verification of real-valued networks of the same architectures on the same tasks, EEV verifies BNNs hundreds to thousands of times faster, while delivering comparable verifiable accuracy in most cases.
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.
7 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
- Quantitative Verification of Neural Networks and Its Security Applications cites Towards Evaluating the Robustness of Neural Networks
- Quantitative Verification of Neural Networks and Its Security Applications cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
- BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural Networks cites Quantitative Verification of Neural Networks and Its Security Applications
- 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
- In Search for a SAT-friendly Binarized Neural Network Architecture cites Quantitative Verification of Neural Networks and Its Security Applications
- AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation cites Towards Evaluating the Robustness of Neural Networks
- On Adaptive Attacks to Adversarial Example Defenses cites Towards Evaluating the Robustness of Neural Networks
- QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks cites Quantitative Verification of Neural Networks and Its Security Applications
- QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks cites Towards Evaluating the Robustness of Neural Networks
- QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks cites AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation
Cited by top-tier papers7
- BDD4BNN: A BDD-Based Quantitative Analysis Framework for Binarized Neural NetworksYedi Zhang, Zhe Zhao, Guangke Chen, Fu Song et al.CAV 2021 · 26 citations
- Drop Clause: Enhancing Performance, Robustness and Pattern Recognition Capabilities of the Tsetlin MachineJivitesh Sharma, Rohan Kumar Yadav, Ole-Christoffer Granmo, Lei JiaoAAAI 2023 · 22 citations
- QVIP: An ILP-based Formal Verification Approach for Quantized Neural NetworksYedi Zhang, Zhe Zhao, Guangke Chen, Fu Song et al.ASE 2022 · 21 citations
- SHAP Meets Tensor Networks: Provably Tractable Explanations with ParallelismReda Marzouk, Shahaf Bassan, Guy KatzNeurIPS 2025 · 9 citations
- Verifiable Learning for Robust Tree EnsemblesStefano Calzavara, Lorenzo Cazzaro, Giulio Ermanno Pibiri, Nicola PrezzaCCS 2023 · 1 citation
Builds on5
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- On Adaptive Attacks to Adversarial Example DefensesFlorian Tramèr, Nicholas Carlini, Wieland Brendel, Aleksander MadryNeurIPS 2020 · 1,026 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
- Quantitative Verification of Neural Networks and Its Security ApplicationsTeodora Baluta, Shiqi Shen, Shweta Shinde, Kuldeep S. Meel et al.CCS 2019 · 115 citations
- In Search for a SAT-friendly Binarized Neural Network ArchitectureNina Narodytska, Hongce Zhang, Aarti Gupta, Toby WalshICLR 2020 · 31 citations
Related papers
- Verifying Properties of Binary Neural Networks Using Sparse Polynomial OptimizationJianting Yang, Srecko Ðurasinovic, Jean B. Lasserre, Victor Magron et al.ICLR 2025
- Scalable Verification of Quantized Neural NetworksThomas A. Henzinger, Mathias Lechner, Dorde ZikelicAAAI 2021 · 41 citations
- Relational Verification Leaps Forward with RABBitTarun Suresh, Debangshu Banerjee, Gagandeep SinghNeurIPS 2024 · 5 citations
- Overcoming the Convex Barrier for Simplex InputsHarkirat Singh Behl, M. Pawan Kumar, Philip H. S. Torr, Krishnamurthy DvijothamNeurIPS 2021 · 7 citations
- Complete Verification via Multi-Neuron Relaxation Guided Branch-and-BoundClaudio Ferrari, Mark Niklas Müller, Nikola Jovanovic, Martin T. VechevICLR 2022 · 117 citations
