TL;DR
This paper introduces a novel training method that tackles two major issues in robust deep learning: models that are robustly inaccurate (misclassifying samples even under small perturbations) and the accuracy-robustness trade-off. By jointly optimizing for robust accuracy and minimizing robust inaccuracy, and then leveraging this as an "abstain" mechanism, they achieve significantly improved robustness without sacrificing natural accuracy.
What Problem Does This Paper Address?
Deep learning models are increasingly being used in safety-critical applications, making robustness to adversarial attacks crucial. While significant progress has been made in training "robust" models, two key problems persist:
- Robust Inaccuracy: Many robust models, despite being accurate on clean data, can still be robustly misclassified under small adversarial perturbations. This means the model might consistently predict a wrong label for a whole region of perturbed inputs, giving a false sense of security. The paper quantifies this, showing up to 15% of samples can be robustly inaccurate in existing models.
- Accuracy-Robustness Trade-off: Traditional robust training methods often lead to a significant drop in natural accuracy (accuracy on unperturbed data), hindering practical adoption.
This paper aims to address both these limitations by developing a training methodology that not only improves robustness but also avoids these "robustly inaccurate" samples, and does so without substantially degrading natural accuracy.
Methods
The authors propose a three-pronged approach:
- Joint Optimization for Robust Accuracy and Inaccuracy: They introduce a new training objective, denoted as LERA (Equation 5 for empirical robustness, Equation 9 for certified robustness). This objective extends existing robust training losses (like TRADES or randomized smoothing) by adding a term that specifically penalizes robustly inaccurate samples. This is achieved by minimizing the cross-entropy loss towards the most likely adversarial label (for empirical robustness) or by directly penalizing the certified radius of the smoothed classifier (for certified robustness).
- Robustness as a Principled Abstain Mechanism: Since their models are trained to be robust only if they are accurate, they leverage this property as a selector. If a sample is not robustly accurate, the model "abstains" from making a prediction. This is implemented via a "Robustness Indicator Selector" (SERI for empirical, SCRI for certified) which abstains if the model is not robust for a given input.
- Compositional Architectures: To further boost robustness without sacrificing accuracy, they propose a 2-compositional architecture. This architecture combines their robustly trained model (which might have lower natural accuracy) with a standard, highly accurate model. The robustness indicator selector decides which model to use: the robust model for samples it's confident about, and the standard model for the rest. This allows them to leverage the strengths of both.
Datasets
The paper evaluates its methods on several standard datasets:
- CIFAR-10
- CIFAR-100
- Mapillary Traffic Sign Dataset (MTSD): A large-scale street-level image dataset for traffic sign recognition. The paper details how they convert this object detection dataset into a classification task by cropping to bounding boxes.
- Rail Defect Dataset (SBB): A proprietary dataset of rail defect images.
They also use a synthetic three-class dataset for initial illustration.
Key Insights and Ideas
- Robust Inaccuracy is a Real Problem: The paper highlights that existing robust models often have a significant percentage of samples that are consistently misclassified under perturbations, which can be misleading.
- Abstaining is Key to Avoiding Trade-offs: By training models to be robust only when accurate, they create a natural mechanism to abstain from making predictions on potentially problematic samples. This abstention is crucial for avoiding the accuracy-robustness trade-off.
- Compositionality is Powerful: Combining a robust-but-potentially-less-accurate model with a standard-but-less-robust model, guided by a robust abstention mechanism, offers a way to achieve high overall robustness and accuracy simultaneously.
- Robustness Indicator Selector is Inherently Robust: Unlike other abstention mechanisms (like softmax response), their robustness indicator selector is designed to be robust by definition, as it relies on the robustness of the underlying classifier.
Key Results
- Reduced Robust Inaccuracy: The proposed method successfully reduces robustly inaccurate samples by up to 97.28%.
- Improved Robust Accuracy: For CIFAR-10 with $\epsilon_\infty = 1/255$, their method enhanced the robust accuracy of a state-of-the-art model from 26% to 86%.
- Minimal Natural Accuracy Loss: The natural accuracy drop was marginal, often around 0.2% (e.g., from 97.8% to 97.6%).
- Significant Robustness Boost in Compositional Models: Their 2-compositional architectures improved robustness by up to +60% while maintaining high natural accuracy.
- Competitive Performance: The method consistently improved robust selection and accuracy compared to baseline abstain mechanisms like softmax response and selection networks.
Limitations and Future Work
- Trade-off between Robust Accuracy and Selection: The paper acknowledges that there's often a trade-off: reducing robust inaccuracy can sometimes lead to a decrease in robust accuracy. They address this by computing a Pareto front of optimal solutions.
- Harder Training for Zero Inaccuracy: Achieving very low robust inaccuracy can make training more difficult, as the remaining robustly inaccurate examples are harder to fix.
- Future Work Suggestions:
- Explore the trade-off between robust accuracy and robust inaccuracy further to develop techniques to mitigate it.
- Investigate model cascades that use models from the Pareto front to progressively improve robustness.
- Develop more efficient training methods for scenarios with very low robust inaccuracy.
Summary updated