Efficient Certified Reasoning for Binarized Neural Networks
Paper i proceeding, 2025

Neural networks have emerged as essential components in safety-critical applications - these use cases demand complex, yet trustworthy computations. Binarized Neural Networks (BNNs) are a type of neural network where each neuron is constrained to a Boolean value; they are particularly well-suited for safety-critical tasks because they retain much of the computational capacities of full-scale (floating-point or quantized) deep neural networks, but remain compatible with satisfiability solvers for qualitative verification and with model counters for quantitative reasoning. However, existing methods for BNN analysis suffer from either limited scalability or susceptibility to soundness errors, which hinders their applicability in real-world scenarios. In this work, we present a scalable and trustworthy approach for both qualitative and quantitative verification of BNNs. Our approach introduces a native representation of BNN constraints in a custom-designed solver for qualitative reasoning, and in an approximate model counter for quantitative reasoning. We further develop specialized proof generation and checking pipelines with native support for BNN constraint reasoning, ensuring trustworthiness for all of our verification results. Empirical evaluations on a BNN robustness verification benchmark suite demonstrate that our certified solving approach achieves a 9× speedup over prior certified CNF and PB-based approaches, and our certified counting approach achieves a 218× speedup over the existing CNF-based baseline. In terms of coverage, our pipeline produces fully certified results for 99% and 86% of the qualitative and quantitative reasoning queries on BNNs, respectively. This is in sharp contrast to the best existing baselines which can fully certify only 62% and 4% of the queries, respectively.

SAT solving

approximate model counting

proof certification

Neural network verification

Författare

Jiong Yang

Georgia Institute of Technology

Yong Kiam Tan

Agency for Science, Technology and Research (A*STAR)

Nanyang Technological University

Mate Soos

University of Toronto

Magnus Myreen

Göteborgs universitet

Chalmers, Data- och informationsteknik, Formella metoder

Kuldeep S. Meel

University of Toronto

Georgia Institute of Technology

Leibniz International Proceedings in Informatics, LIPIcs

18688969 (ISSN)

Vol. 341 32:1-32:22 32
9783959773812 (ISBN)

28th International Conference on Theory and Applications of Satisfiability Testing, SAT 2025
Glasgow, United Kingdom,

De nästa 700 verifierade kompilatorerna

Vetenskapsrådet (VR) (2021-05165), 2022-01-01 -- 2025-12-31.

Ämneskategorier (SSIF 2025)

Datavetenskap (datalogi)

DOI

10.4230/LIPIcs.SAT.2025.32

Mer information

Senast uppdaterat

2025-08-22