[Paper Review] Formal Security Analysis of Neural Networks using Symbolic Intervals
ReluVal uses symbolic interval analysis and iterative refinement to formally verify DNN security properties without SMT solvers, achieving substantial speedups over Reluplex and providing concrete guarantees or counterexamples.
Due to the increasing deployment of Deep Neural Networks (DNNs) in real-world security-critical domains including autonomous vehicles and collision avoidance systems, formally checking security properties of DNNs, especially under different attacker capabilities, is becoming crucial. Most existing security testing techniques for DNNs try to find adversarial examples without providing any formal security guarantees about the non-existence of such adversarial examples. Recently, several projects have used different types of Satisfiability Modulo Theory (SMT) solvers to formally check security properties of DNNs. However, all of these approaches are limited by the high overhead caused by the solver. In this paper, we present a new direction for formally checking security properties of DNNs without using SMT solvers. Instead, we leverage interval arithmetic to compute rigorous bounds on the DNN outputs. Our approach, unlike existing solver-based approaches, is easily parallelizable. We further present symbolic interval analysis along with several other optimizations to minimize overestimations of output bounds. We design, implement, and evaluate our approach as part of ReluVal, a system for formally checking security properties of Relu-based DNNs. Our extensive empirical results show that ReluVal outperforms Reluplex, a state-of-the-art solver-based system, by 200 times on average. On a single 8-core machine without GPUs, within 4 hours, ReluVal is able to verify a security property that Reluplex deemed inconclusive due to timeout after running for more than 5 days. Our experiments demonstrate that symbolic interval analysis is a promising new direction towards rigorously analyzing different security properties of DNNs.
Motivation & Objective
- Motivate the need for formal security guarantees for DNNs in security-critical domains.
- Propose a solver-free approach using interval arithmetic to verify input-output security properties.
- Mitigate interval overestimation due to input dependencies via symbolic intervals and iterative refinement.
- Show that the method is scalable and can outperform solver-based approaches on relevant benchmarks.
Proposed method
- Propagate input intervals through a DNN to obtain output bounds using interval arithmetic.
- Mitigate dependency-induced overestimation with symbolic interval propagation that tracks linear symbolic bounds.
- Apply iterative interval refinement by bisecting input ranges to tighten output bounds.
- Concretize symbolic bounds when ReLU non-linearities prevent maintaining dependencies.
- Analyze input influence by estimating layer-wise gradients to guide refinements.
- Provide correctness proofs based on inclusion isotonicity and Lipschitz continuity.
Experimental results
Research questions
- RQ1Can interval arithmetic, augmented with symbolic intervals, provide formal guarantees that a DNN does not violate a security property within a given input range?
- RQ2Does iterative interval refinement converge to arbitrarily tight bounds for Lipschitz continuous DNNs, and how does this compare to solver-based approaches?
- RQ3How do symbolic intervals and influence analysis affect the tightness of output bounds and verification efficiency?
- RQ4How does ReluVal perform in practice on ACAS Xu and MNIST networks compared to Reluplex?
- RQ5What are the practical limits and scalability of a solver-free verification approach for real-world DNNs?
Key findings
- ReluVal can provide formal guarantees for all tested security properties in ACAS Xu and MNIST networks.
- ReluVal is on average 200 times faster than Reluplex on the reported properties.
- ReluVal can verify a security property within 4 hours that Reluplex deemed inconclusive after 5 days.
- Symbolic intervals reduce overestimation by leveraging input dependencies, improving bound accuracy significantly.
- Iterative interval refinement converges in finite steps for Lipschitz continuous DNNs, enabling arbitrarily tight bounds with sufficient refinement.
- MNIST experiments show robustness verification for 39.4% of 5000 random test images under specified attack bounds.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.