Abstract
Neural networks have been widely applied in security applications such as spam and phishing detection, intrusion prevention, and malware detection. This black-box method, however, often has uncertainty and poor explainability in applications. Furthermore, neural networks themselves are often vulnerable to adversarial attacks. For those reasons, there is a high demand for trustworthy and rigorous methods to verify the robustness of neural network models. Adversarial robustness, which concerns the reliability of a neural network when dealing with maliciously manipulated inputs, is one of the hottest topics in cybersecurity and machine learning. In this work, we survey existing literature in adversarial robustness verification for neural networks and collect 39 diversified research works across machine learning, security, and software engineering domains. We systematically analyze their approaches, including how robustness is formulated, what verification techniques are used, and the strengths and limitations of each technique. We provide a taxonomy from a formal verification perspective for a comprehensive understanding of this topic. We classify the existing techniques based on property specification, problem reduction, and reasoning strategies. We also demonstrate representative techniques that have been applied in existing studies with a sample model. Finally, we discuss open questions for future research.
Introduction
Deep Neural Networks (DNNs) are famously "black boxes"—powerful, yet brittle. While they excel at tasks like image recognition, a tiny, invisible tweak to an input (an adversarial perturbation) can cause them to fail spectacularly. This survey shifts the focus from the "cat-and-mouse" game of attacks and defenses toward formal verification: the mathematical science of proving that a network is truly robust. In safety-critical applications like autonomous driving or medical diagnosis, "usually works" isn't good enough; formal verification seeks to provide a rigorous "certificate" of safety.
The Verification Framework
The landscape of robustness verification can be categorized into a systematic three-step framework: property specification, model reduction, and reasoning strategies. This process transforms the high-level requirement of "robustness" into a solvable mathematical problem.
- Property Formalization: This involves defining what "robust" means mathematically. It typically uses $L_p$ norms (such as $L_\infty$) to define a "neighborhood" around an input, asserting that the model's classification must remain constant within that space.
- Model Reduction: The neural network is transformed into a solvable mathematical format. This might involve Optimization-based methods (converting the network into constraints for MILP or SDP) or Reachability-based methods (using Abstract Interpretation to track how input uncertainty propagates through layers).
- Reasoning Strategies: This is the computational engine used to solve the reduced problem, ranging from off-the-shelf SMT solvers (like Z3) to specialized interval arithmetic and linear approximation techniques.
Key Insights: The Soundness-Completeness Trade-off
A central challenge in verification is the Soundness-Completeness-Scalability Triangle. Verifying a DNN is an NP-hard problem, primarily due to the piecewise-linear nature of ReLU activation functions, which create an exponential number of possible states.
As shown in the decision matrix above, verification tools must manage different types of errors:
- Sound tools never miss a violation (no False Negatives) but may produce "False Alarms" (False Positives), claiming a model is unsafe when it is actually safe.
- Complete tools never give false alarms but are often computationally expensive and fail to scale to large networks.
Modern research, such as DeepPoly, often sacrifices completeness to achieve the scalability needed for real-world networks. While MILP-based solvers like MIPVerify provide completeness, they struggle with models beyond a few thousand neurons. In contrast, Abstract Interpretation tools can handle much larger architectures by propagating geometric shapes (like polyhedra) through the network to ensure they do not cross classification boundaries.
Limitations and Future Directions
Despite significant progress, several hurdles remain for the widespread adoption of formal verification:
- Architectural Scalability: Most current tools are optimized for MLPs and CNNs; verifying modern Transformers and RNNs remains a massive challenge.
- Numerical Precision: Most verifiers assume real-number arithmetic, potentially overlooking tiny errors introduced by floating-point arithmetic in actual hardware.
- Semantic Robustness: Verification is currently limited to pixel-level $L_p$ perturbations. Proving robustness against semantic changes—such as rotation, lighting, or weather conditions—is the next frontier for the field.
Summary updated