Lune

NeurIPS2025Top-tier venue

Generating and Checking DNN Verification Proofs

Hai Duong, ThanhVu Nguyen, Matthew Dwyer

Abstract

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

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

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Harnessing Neuron Stability to Improve DNN Verification cites General Cutting Planes for Bound-Propagation-Based Neural Network Verification
  • Harnessing Neuron Stability to Improve DNN Verification cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
  • Harnessing Neuron Stability to Improve DNN Verification cites Complete Verification via Multi-Neuron Relaxation Guided Branch-and-Bound
  • Harnessing Neuron Stability to Improve DNN Verification cites Formal Security Analysis of Neural Networks using Symbolic Intervals
  • General Cutting Planes for Bound-Propagation-Based Neural Network Verification cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
  • General Cutting Planes for Bound-Propagation-Based Neural Network Verification cites Complete Verification via Multi-Neuron Relaxation Guided Branch-and-Bound
  • General Cutting Planes for Bound-Propagation-Based Neural Network Verification cites Formal Security Analysis of Neural Networks using Symbolic Intervals
  • Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification cites Formal Security Analysis of Neural Networks using Symbolic Intervals
  • Complete Verification via Multi-Neuron Relaxation Guided Branch-and-Bound cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
  • Verifying Neural Network Robustness with Dual Perturbations cites Harnessing Neuron Stability to Improve DNN Verification
  • Verifying Neural Network Robustness with Dual Perturbations cites General Cutting Planes for Bound-Propagation-Based Neural Network Verification
  • Verifying Neural Network Robustness with Dual Perturbations cites Complete Verification via Multi-Neuron Relaxation Guided Branch-and-Bound
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Verifying Neural Network Robustness with Dual PerturbationsHai Duong, Lam Nguyen, Thanh Le, ThanhVu NguyenCVPR 2026 · 4 citations

Builds on6

  1. Formal Security Analysis of Neural Networks using Symbolic IntervalsShiqi Wang, Kexin Pei, Justin Whitehouse, Junfeng Yang et al.USENIX Security 2018 · 523 citations
  2. Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness VerificationShiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin et al.NeurIPS 2021 · 359 citations
  3. General Cutting Planes for Bound-Propagation-Based Neural Network VerificationHuan Zhang, Shiqi Wang, Kaidi Xu, Linyi Li et al.NeurIPS 2022 · 154 citations
  4. Complete Verification via Multi-Neuron Relaxation Guided Branch-and-BoundClaudio Ferrari, Mark Niklas Müller, Nikola Jovanovic, Martin T. VechevICLR 2022 · 117 citations
  5. Harnessing Neuron Stability to Improve DNN VerificationHai Duong, Dong Xu, ThanhVu Nguyen, Matthew B. DwyerFSE 2024 · 13 citations

Related papers

  1. Automated Verification of Soundness of DNN CertifiersAvaljot Singh, Yasmin Sarita, Charith Mendis, Gagandeep SinghOOPSLA 2025 · 3 citations
  2. Expediting Neural Network Verification via Network ReductionYuyi Zhong, Ruiwei Wang, Siau-Cheng KhooASE 2023 · 3 citations
  3. Scalable Quantitative Verification For Deep Neural NetworksTeodora Baluta, Zheng Leong Chua, Kuldeep S. Meel, Prateek SaxenaICSE 2021 · 39 citations
  4. Evaluating Deep Neural Networks in Deployment: A Comparative Study (Replicability Study)Eduard Pinconschi, Divya Gopinath, Rui Abreu, Corina S. PasareanuISSTA 2024
  5. Mining Verdict Boundaries for Neural Network VerificationJiawei Ren, Guanqin Zhang, Zhenya Zhang, Yulei SuiFM 2026
Dusk over the sea between two cliffs drawn in fine vertical lines