[Paper Review] Label Smoothing and Adversarial Robustness
This paper investigates label smoothing as a defense mechanism against gradient-based adversarial attacks, demonstrating it significantly boosts robust accuracy (e.g., 75.10% on CIFAR-10 under PGD) by altering model optimization dynamics. However, it reveals that this robustness is unstable and easily bypassed by refined attack strategies, indicating label smoothing does not provide genuine or consistent adversarial robustness.
Recent studies indicate that current adversarial attack methods are flawed and easy to fail when encountering some deliberately designed defense. Sometimes even a slight modification in the model details will invalidate the attack. We find that training model with label smoothing can easily achieve striking accuracy under most gradient-based attacks. For instance, the robust accuracy of a WideResNet model trained with label smoothing on CIFAR-10 achieves 75% at most under PGD attack. To understand the reason underlying the subtle robustness, we investigate the relationship between label smoothing and adversarial robustness. Through theoretical analysis about the characteristics of the network trained with label smoothing and experiment verification of its performance under various attacks. We demonstrate that the robustness produced by label smoothing is incomplete based on the fact that its defense effect is volatile, and it cannot defend attacks transferred from a naturally trained model. Our study enlightens the research community to rethink how to evaluate the model's robustness appropriately.
Motivation & Objective
- To investigate whether label smoothing provides genuine or merely superficial adversarial robustness.
- To analyze the theoretical mechanisms by which label smoothing affects model optimization and gradient behavior.
- To evaluate the robustness of label-smoothed models under diverse attack strategies, including transfer attacks.
- To challenge the validity of current adversarial robustness evaluation methods, particularly PGD and CW.
- To highlight the urgent need for more systematic and efficient attack methods to fairly assess model robustness.
Proposed method
- Trained deep neural networks with label smoothing using a smoothed uniform label vector in place of one-hot labels during cross-entropy loss computation.
- Theoretical analysis focused on how label smoothing alters the gradient direction and optimization landscape, particularly through softened logits and output distributions.
- Conducted extensive experiments on MNIST, CIFAR-10, and CIFAR-100 using PGD, FGSM, and CW attacks under varying hyperparameters (step size, restarts, initialization).
- Evaluated transferability of adversarial examples from naturally trained models to label-smoothed models to test robustness stability.
- Used margin loss and standard CW attack variants to compare results and assess the impact of loss function choice on robustness evaluation.
- Performed ablation studies by modifying attack hyperparameters to test sensitivity of label-smoothed models to optimization dynamics.
Experimental results
Research questions
- RQ1Does label smoothing genuinely improve adversarial robustness, or does it merely exploit weaknesses in standard gradient-based attacks?
- RQ2How does label smoothing alter the optimization trajectory and gradient direction in deep neural networks?
- RQ3Can adversarial examples be reliably generated against label-smoothed models using transfer attacks from naturally trained models?
- RQ4Why do standard attack methods like PGD and CW fail to reliably find adversarial examples for label-smoothed models?
- RQ5To what extent is the robustness of label-smoothed models dependent on attack hyperparameters such as step size and restarts?
Key findings
- Label smoothing achieves 75.10% robust accuracy on CIFAR-10 under PGD attack, significantly outperforming standard models (0%) and many defense baselines.
- The model trained with label smoothing shows 34.23% robust accuracy on CIFAR-100 under PGD, compared to only 0.03% for the non-smoothed counterpart.
- Transfer attacks from a naturally trained model achieve 85.15% success rate on PGD attacks against label-smoothed models, indicating vulnerability to cross-model attacks.
- Increasing the step size or adding restarts in PGD reduces robust accuracy from 75.10% to 8.15%, demonstrating the instability of label smoothing’s robustness.
- The CW attack achieves 87.90% transfer success against label-smoothed models, showing that margin loss-based attacks can effectively bypass label smoothing defenses.
- Label smoothing does not provide stable or consistent robustness, as its defensive effect vanishes under minor perturbations to attack hyperparameters or initialization strategies.
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.