TL;DR
This paper tackles the problem of adversarial transferability, where attacks designed for one model can easily fool others. The authors propose a novel theoretical framework and a practical algorithm called TRS (Transferability Reduced Smooth) that reduces this transferability by enforcing gradient diversity and model smoothness within an ensemble, leading to significantly more robust ML systems.
What Problem Does This Paper Address?
Machine learning models, especially deep neural networks (DNNs), are notoriously vulnerable to adversarial examples – small, imperceptible perturbations that can cause misclassifications. A concerning aspect of these attacks is "adversarial transferability," where an attack crafted against one model can be highly effective against other models, even if they have different architectures or were trained differently. This property poses a significant threat to the security and reliability of ML systems, particularly in adversarial settings. While ensembles are a common defense strategy, understanding and mitigating transferability within ensembles is crucial for building truly robust systems. This paper aims to provide a theoretical understanding of adversarial transferability and leverage it to develop more robust ensemble models.
Methods
The authors introduce a theoretical framework to analyze adversarial transferability. They derive lower and upper bounds for transferability, identifying two key factors: gradient similarity between models and model smoothness. Their theoretical analysis reveals that simply enforcing gradient orthogonality (low cosine similarity) is insufficient; model smoothness plays a critical role in limiting transferability.
Inspired by this theory, they propose the Transferability Reduced Smooth (TRS) ensemble training strategy. TRS aims to reduce transferability by:
- Minimizing loss gradient similarity between base models in the ensemble. They use the absolute value of cosine similarity to encourage diversity without leading to contradictory model behavior.
- Enforcing model smoothness. They introduce a novel min-max framework for "margin-wise smoothness," which promotes smoother decision boundaries over a larger region, going beyond simple point-wise smoothness.
Datasets
The paper uses the following standard datasets for training and evaluation:
- MNIST
- CIFAR-10
- CIFAR-100
Key Insights and Ideas
- Gradient orthogonality alone isn't enough: Simply making base models' gradients orthogonal doesn't guarantee low transferability. Model smoothness is a crucial, often overlooked, factor.
- Smoothness is key: Smoother models are inherently harder to transfer attacks to, and this effect is amplified when combined with diverse gradients.
- Margin-wise smoothness matters: A novel min-max approach to enforce smoothness over a neighborhood of data points is more effective than simple point-wise smoothness regularization.
- Diversity and smoothness are complementary: Both gradient diversity and model smoothness are essential for building robust ensembles, and their combination yields superior results.
Key Results
- State-of-the-art robustness: The proposed TRS ensemble significantly outperforms six state-of-the-art ensemble baselines against eight whitebox attacks on MNIST and CIFAR-10 datasets. For instance, on MNIST with a perturbation scale of $\epsilon=0.4$, TRS achieves 86.4% robust accuracy, while the next best (DVERGE) achieves only 20.2%.
- Improved blackbox robustness: TRS also demonstrates superior performance in blackbox transfer attacks, especially at larger perturbation scales.
- Reduced transferability: Experimental results show that TRS effectively reduces adversarial transferability among its base models, as visualized in transferability matrices.
- Ablation studies confirm effectiveness: Experiments isolating the effects of the gradient similarity and smoothness regularizers show that both are critical, with smoothness contributing slightly more to overall robustness.
Limitations and Future Work
- Training time: While TRS achieves superior robustness, it requires longer training times compared to some baselines like ADP and GAL.
- FGSM on CIFAR-10: TRS is slightly less robust than DVERGE against weak attacks like FGSM on CIFAR-10, which the authors attribute to DVERGE's focus on protecting the gradient direction, while TRS prioritizes overall model smoothness.
- Future work: The authors suggest exploring the trade-off between training cost and robustness by varying parameters like the PGD step size and number of steps in the smoothness approximation. They also demonstrate that combining TRS with adversarial training (TRS+AdvT) further enhances robustness.
Summary updated