Generating and Checking DNN Verification Proofs
Hai Duong, ThanhVu Nguyen, Matthew Dwyer
摘要
Deep Neural Networks (DNN) have emerged as an effective approach to implementing challenging subproblems. They are increasingly being used as components in critical transportation, medical, and military systems. However, like human-written software, DNNs may have flaws that can lead to unsafe system performance. To confidently deploy DNNs in such systems, strong evidence is needed that they do not contain such flaws. This has led researchers to explore the adaptation and customization of software verification approaches to the problem of neural network verification (NNV). Many dozens of NNV tools have been developed in recent years and as a field these techniques have matured to the point where realistic networks can be analyzed to detect flaws and to prove conformance with specifications. NNV tools are highly-engineered and complex may harbor flaws that cause them to produce unsound results. We identify commonalities in algorithmic approaches taken by NNV tools to define a verifier independent proof format-activation pattern tree proofs (APTP)-and design an algorithm for checking those proofs that is proven correct and optimized to enable scalable checking. We demonstrate that existing verifiers can efficiently generate APTP proofs, and that an APTPchecker significantly outperforms prior work on a benchmark of 16 neural networks and 400 NNV problems, and that it is robust to variation in APTP proof structure arising from different NNV tools.
APTPchecker is available at: https://github.com/dynaroars/APTPchecker.
However, despite the progress in algorithmic advances, a fundamental question remains: "How can we trust the results produced by DNN verification tools?" While existing tools emit counterexamples when properties are violated (i.e., SAT results), there is no mechanism to independently validate results when properties are proven to hold (i.e., UNSAT claims). Recent competitions such as VNN-COMP [4] have revealed correctness issues in multiple tools, including cases where a verifier incorrectly declared a property to be proven even when a counterexample exists. These errors are difficult to detect and debug due to the complexity of verifier implementations, which often exceed tens of thousands of lines of code and employ intricate optimization techniques, e.g., top of the line DNN verification tools such as αβ-CROWN [7] and NeuralSAT [9] have 20k SLOC implementations with complex algorithms that may harbor bugs. Without a mechanism to independently validate 39th Conference on Neural Information Processing Systems (NeurIPS 2025).
verification results, correctness of DNN verification tools cannot be assured and therefore posing a serious obstacle to deploying DNNs in safety-critical domains.
To address this, we propose proof-producing DNN verification: an approach in which verifiers emit a formal proof object that encodes the reasoning steps behind the verification result, and a separate, minimal proof checker certifies the proof's validity. This paradigm, long established in classical logic and SAT solving [10,11,12], brings transparency, auditability, and trust to the verification process.
More specifically, we analyze the broad class of Branch-and-Bound (BaB) DNN verification algorithms and reveal that they share two commonalities: (1) they refine the abstractions they use by performing case splitting to reason about the different phases of neuron activation, and (2) within cases they perform reasoning steps that can be formulated within the broad class of mixed integer linear programming (MILP) problems. Based on these insights, we show that BaB DNN verification naturally emit activation pattern tree proofs (APTP), which are a compact representation of the reasoning steps performed by the verifier ( §3.1). We also define a verifier independent APTP format that can be efficiently generated on-the-fly during DNN verification ( §3.2). Finally, we resent the APTPchecker algorithm along with a suite of optimizations and implement an independent APTPchecker prototype tool that has a small-footprint (800 SLOC) and validates APTP proofs using standard MILP solving. This paper makes the following contributions:
• We identify commonalities in BaB DNN verification algorithms and show how they can be minimally extended to generate proofs of unsatisfiability ( §3.1).
• We define a verifier-independent, compact, and SMTLib [13]-based human-readable proof format, APTP, that captures the reasoning steps of BaB verifiers ( §3.2).
• We implement the APTPchecker tool to independently and efficiently check APTP proofs ( §4).
• We evaluate our work on a benchmark of 400 verification problems involving 16 networks, including large models (up to 1.7M parameters) ( §5), and demonstrate that APTP and APTPchecker are robust to variation in proof structure arising from different DNN verification algorithms.
It is important to note that our goal is not to create a new DNN verifier, but to verify the correctness of res
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper1
问问它们各自怎么用它它引用的顶会 Paper6
- Formal Security Analysis of Neural Networks using Symbolic IntervalsShiqi Wang, Kexin Pei, Justin Whitehouse, Junfeng Yang 等USENIX Security 2018 · 被引用 523 次
- Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness VerificationShiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin 等NeurIPS 2021 · 被引用 359 次
- General Cutting Planes for Bound-Propagation-Based Neural Network VerificationHuan Zhang, Shiqi Wang, Kaidi Xu, Linyi Li 等NeurIPS 2022 · 被引用 154 次
- Complete Verification via Multi-Neuron Relaxation Guided Branch-and-BoundClaudio Ferrari, Mark Niklas Müller, Nikola Jovanovic, Martin T. VechevICLR 2022 · 被引用 117 次
- Harnessing Neuron Stability to Improve DNN VerificationHai Duong, Dong Xu, ThanhVu Nguyen, Matthew B. DwyerFSE 2024 · 被引用 13 次
相关 Paper
- Automated Verification of Soundness of DNN CertifiersAvaljot Singh, Yasmin Sarita, Charith Mendis, Gagandeep SinghOOPSLA 2025 · 被引用 3 次
- Expediting Neural Network Verification via Network ReductionYuyi Zhong, Ruiwei Wang, Siau-Cheng KhooASE 2023 · 被引用 3 次
- Evaluating Deep Neural Networks in Deployment: A Comparative Study (Replicability Study)Eduard Pinconschi, Divya Gopinath, Rui Abreu, Corina S. PasareanuISSTA 2024
- A Tale of Two Approximations: Tightening Over-Approximation for DNN Robustness Verification via Under-ApproximationZhiyi Xue, Si Liu, Zhaodi Zhang, Yiting Wu 等ISSTA 2023 · 被引用 5 次
- Scalable Quantitative Verification For Deep Neural NetworksTeodora Baluta, Zheng Leong Chua, Kuldeep S. Meel, Prateek SaxenaICSE 2021 · 被引用 39 次
