Abstract
Deep Neural Networks (DNNs) are highly susceptible to adversarial attacks, where small, imperceptible perturbations can lead to incorrect classifications. While empirical defenses offer some protection, they are often vulnerable to adaptive attacks. This paper introduces Robustra, a novel training framework designed to enhance the "provable robustness" of neural networks—providing mathematical guarantees that no adversarial attack within a defined limit can succeed. By framing the training process as a min-max game over the adversarial space of a reference model and utilizing efficient dual optimization, Robustra achieves new state-of-the-art provable error bounds on standard benchmarks like MNIST and CIFAR10.
Introduction
The fragility of DNNs against adversarial examples is a significant hurdle for their deployment in safety-critical applications. Traditional adversarial training, while effective empirically, lacks formal guarantees. Provable defenses address this by ensuring that for a given input, no perturbation within a specific norm-ball (e.g., $\ell_\infty$) can alter the model's prediction. However, existing provable methods often suffer from high "provable error bounds," where the guarantee only applies to a limited portion of the dataset. For instance, on CIFAR10, previous state-of-the-art methods maintained provable error bounds as high as 46%. Robustra is designed to significantly tighten these bounds.
Methodology
The core innovation of Robustra lies in its use of a reference model to define the feasible region for optimization.
Min-Max Formulation and Relaxation
Instead of optimizing over the entire norm-bounded space, Robustra focuses on making a model $f$ robust within the adversarial space of a reference model $g$. This approach aims to prevent adversarial examples that fool the reference model from transferring to the target model. Since DNNs are non-convex, direct optimization is challenging. Robustra employs linear convex relaxation for ReLU activations, transforming the complex adversarial space into a manageable convex outer bound.
Dual Optimization and Mutual Training
The framework solves the dual of the min-max problem. The introduction of the reference model adds slack variables, which the authors prove have monotonic and bounded gradients. This property allows for efficient calculation of the optimal solution without significant computational overhead. To eliminate the need for a pre-existing robust reference model, Robustra utilizes a mutual training scheme where two models are trained simultaneously, each serving as the reference for the other in an iterative process.
Experimental Evaluation
Robustra was evaluated on the MNIST and CIFAR10 datasets using various architectures, including 4-layer (Small), 7-layer (Large), and 11-layer (ResNet) convolutional neural networks.
Key Results
Robustra consistently outperformed previous state-of-the-art (SOA) methods:
- MNIST ($\epsilon = 0.1$): The provable error bound (MILP bound) was reduced from 2.74% to 2.09% on the Large model.
- MNIST ($\epsilon = 0.3$): The provable error was significantly lowered from 24.19% to 16.91%.
- CIFAR10 ($\epsilon = 2/255$): The provable error bound improved from 46.11% to 43.68%.
Notably, Robustra often improved clean accuracy alongside robustness. On MNIST ($\epsilon = 0.1$), clean error dropped from 1.08% to 0.83%, demonstrating that the model became more accurate on unperturbed data while gaining robustness.
Discussion and Conclusion
Robustra demonstrates that limiting the overlap between the adversarial spaces of models can lead to superior internal robustness. By exploiting the mathematical properties of dual variables, the training remains efficient. However, limitations remain: the current derivation is specific to ReLU activations, and the computational cost, while optimized, is still higher than standard training. Furthermore, the remaining gap in provable error on complex datasets like CIFAR10 indicates that achieving human-level robustness remains an open challenge. Future work will focus on extending these methods to other activation functions and further reducing the computational burden.
Summary updated