Introduction
Deep Neural Networks (DNNs) are increasingly deployed in safety-critical domains, yet they remain susceptible to adversarial perturbations. Small, imperceptible changes to input data can lead to catastrophic misclassifications. While high test accuracy is a standard metric, it does not guarantee robustness. Formal verification methods, such as Model Checking, provide a path toward rigorous safety guarantees. However, traditional model checking faces the "state-space explosion" problem, where the complexity of the network and the input domain makes exhaustive verification computationally infeasible.
This paper presents FANNet+, a framework designed to scale formal verification for DNNs. By integrating symbolic model checking with novel input segmentation strategies, FANNet+ achieves significant performance gains, enabling the analysis of networks far larger than those handled by its predecessors.
Methodology
State-Space Reduction via Symbolic Model Checking
A primary bottleneck in verifying DNNs is the sheer number of states required to represent noise and input variations. FANNet+ addresses this by employing Symbolic Model Checking (SMC). Instead of explicitly enumerating every noise combination, the framework merges states that result in the same output classification.
As shown in the figure above, the tool utilizes "jump transitions" to bypass intermediate states that do not affect the final property being checked. This reduction slims down the Kripke structure—the mathematical model used by the checker—by a factor proportional to the number of noise options, drastically decreasing the search space.
Input Segmentation Strategies
To further manage complexity, FANNet+ introduces "divide-and-conquer" approaches for input domains:
- Coarse-grain Verification: The input domain is sampled at regular intervals to provide a broad overview of the network's behavior.
- Random Input Segmentation (RIS): Input nodes are partitioned into "variable" sets (checked symbolically) and "fixed" sets (sampled randomly). This allows for parallel verification of sub-sections of the input space, making the process manageable for high-dimensional inputs.
Automated Counterexample Analysis
When a safety property is violated, the model checker generates a counterexample. FANNet+ iteratively updates its specifications to build a comprehensive database of these violations.
This systematic search, illustrated in the figure above, allows researchers to perform statistical analysis on "bugs." By identifying which input nodes are most sensitive to noise, the tool can pinpoint training biases or inherent vulnerabilities in the model architecture.
Experimental Evaluation
The framework was tested on three benchmarks: Leukemia type identification (genetic data), heart disease prognosis (patient attributes), and the ACAS Xu airborne collision avoidance system.
Key Results
- Performance: FANNet+ demonstrated up to an 8000x speedup over the original FANNet framework.
- Scalability: The tool successfully verified networks with over 13,000 parameters, an 80-fold increase in capacity compared to previous iterations.
- Precision: Notably, FANNet+ identified a safety violation in the ACAS Xu benchmark (Property P4 for network 2_2) that industry-standard SMT solvers like Reluplex and Marabou had incorrectly labeled as safe ("UNSAT").
- Bias Detection: In the Leukemia dataset, the tool quantified a robustness gap, showing the model was significantly more stable when classifying the majority class (ALL) versus the minority class (AML).
Conclusion and Future Work
FANNet+ represents a significant step forward in making model checking a viable tool for DNN verification. While the use of RIS introduces a trade-off between soundness and completeness—potentially missing some violations in a continuous domain—it provides a practical means to analyze real-world networks. Future research will focus on extending these state-space reduction techniques to more complex architectures, such as Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs).
Summary updated