Regularizing Hard Examples Improves Adversarial Robustness
Abstract
Recent studies have validated that pruning hard-to-learn examples from training improves the generalization performance of neural networks (NNs). In this study, we investigate this intriguing phenomenon -- the negative effect of hard examples on generalization -- in adversarial training. Particularly, we theoretically demonstrate that the increase in the difficulty of hard examples in adversarial training is significantly greater than the increase in the difficulty of easy examples. Furthermore, we verify that hard examples are only fitted through memorization of the label in adversarial training. We conduct both theoretical and empirical analyses of this memorization phenomenon, showing that pruning hard examples in adversarial training can enhance the model's robustness. However, the challenge remains in finding the optimal threshold for removing hard examples that degrade robustness performance. Based upon these observations, we propose a new approach, difficulty proportional label smoothing (DPLS), to adaptively mitigate the negative effect of hard examples, thereby improving the adversarial robustness of NNs. Notably, our experimental result indicates that our method can successfully leverage hard examples while circumventing the negative effect.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CV
- Journal
- Journal of Machine Learning Research 26(20):1-48, 2025
- Comments
- 48 pages, 16 figures, 22 tables. Published in the Journal of Machine Learning Research (JMLR)
Related papers
STMemoLLM: A Spatial-Temporal Memory-Augmented LLM for Robust Traffic Forecasting
Shared title terminologycs.LGJian Zhou, Binqing Wu, Zongjiang Shang et al.
Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-Improvement
Shared title terminologycs.LGLinghua Zhang, Yunhe Li
HKD-ACPA: Heterogeneous Knowledge Distillation Adversarial Cyber-Physical Attacks in Power Grids
Shared title terminologycs.LGJunhao Ren, Honglin Gao, Shuo Feng et al.
Denoised but Not Improved: What EEG Denoising Does to a Downstream Task
Shared title terminologycs.LGXianglong Bao, Zhe Wang, Kewen Wang et al.