Automated Verification of Soundness of DNN Certifiers

📅 2025-04-06
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
The opacity of deep neural networks (DNNs) hinders their deployment in safety-critical applications; existing abstract interpretation–based verifiers often suffer from unsoundness—yielding false positives—due to mathematically incomplete logical foundations, and their soundness proofs rely on labor-intensive manual formalization, impeding rapid development of new verifiers. Method: We propose the first automated framework for verifying the soundness of DNN certifiers, built upon symbolic DNN modeling, formal semantics of the ConstraintFlow domain-specific language (DSL), and integration of symbolic execution, SMT solving (via Z3), and abstract interpretation. Contribution/Results: (1) We introduce symbolic DNN modeling, reducing universally quantified soundness properties to SMT-checkable formulas; (2) we formally define ConstraintFlow’s syntax and operational semantics, enabling scalable, architecture-agnostic verification of diverse abstract analyses. Our framework successfully verifies multiple existing and novel certifiers, substantially improving development efficiency and trustworthiness; the implementation is open-sourced.

Technology Category

Application Category

📝 Abstract
The uninterpretability of Deep Neural Networks (DNNs) hinders their use in safety-critical applications. Abstract Interpretation-based DNN certifiers provide promising avenues for building trust in DNNs. Unsoundness in the mathematical logic of these certifiers can lead to incorrect results. However, current approaches to ensure their soundness rely on manual, expert-driven proofs that are tedious to develop, limiting the speed of developing new certifiers. Automating the verification process is challenging due to the complexity of verifying certifiers for arbitrary DNN architectures and handling diverse abstract analyses. We introduce ProveSound, a novel verification procedure that automates the soundness verification of DNN certifiers for arbitrary DNN architectures. Our core contribution is the novel concept of a symbolic DNN, using which, ProveSound reduces the soundness property, a universal quantification over arbitrary DNNs, to a tractable symbolic representation, enabling verification with standard SMT solvers. By formalizing the syntax and operational semantics of ConstraintFlow, a DSL for specifying certifiers, ProveSound efficiently verifies both existing and new certifiers, handling arbitrary DNN architectures. Our code is available at https://github.com/uiuc-focal-lab/constraintflow.git
Problem

Research questions and friction points this paper is trying to address.

Automating soundness verification for DNN certifiers
Reducing manual effort in certifier development
Handling arbitrary DNN architectures and abstract analyses
Innovation

Methods, ideas, or system contributions that make the work stand out.

Automates soundness verification for DNN certifiers
Uses symbolic DNNs for tractable verification
Formalizes certifier syntax with ConstraintFlow DSL
🔎 Similar Papers
No similar papers found.
Avaljot Singh
Avaljot Singh
University of Illinois Urbana Champaign
Computer Science
Y
Yasmin Chandini Sarita
University of Illinois Urbana-Champaign, USA
Charith Mendis
Charith Mendis
University of Illinois at Urbana-Champaign
CompilersMachine LearningProgram AnalysisVerification
G
Gagandeep Singh
University of Illinois Urbana-Champaign, USA