cs.LGNov 23, 2026

Regularizing Hard Examples Improves Adversarial Robustness

Authors: Hyungyu Lee, Saehyung Lee, Ho Bae, Sungroh Yoon

Organizations: Electrical and Computer Engineering Interdisciplinary Program in Artificial Intelligence Seoul National University, Seoul 08826, Republic of Korea · Department of Cyber Security Ewha Womans University, Seoul 03760, Republic of Korea · Electrical and Computer Engineering Interdisciplinary Program in Artificial Intelligence AIIS, ASRI, INMC, and ISRC, Seoul National University Seoul National University, Seoul 08826, Republic of Korea

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.

Figures & tables

Appendix figures & tables21 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Probabilistic Adversarial Training

    Sep 30, 2026Andi Zhang, Xingyu Zhao, Siddartha KhastgirAdversarial TrainingAdversarial Robustness

  2. Robustness Cannot be Reduced to Regularization: Studying Adversarial Training Beyond the Linear Case

    Jun 19, 2026David A. R. Robin, Rafael Pinot, Yann ChevaleyreAdversarial TrainingTwo-Layer Neural Networks

  3. Over-parameterization and Adversarial Robustness in Neural Networks: An Overview and Empirical Analysis

    Jun 14, 2024Srishti Gupta, Zhang Chen, Luca Demetrio +9Overparameterized Neural NetworkAdversarial Attacks