Adversary’s adversary can be a good friend: Revisiting labels of low-margin examples to reconcile accuracy and robustness

Read full text
Authors: Seongmin Kim, Yoojin Jung, B. C. Song
Cited by: 0
References: 4

Abstract

Adversarial training (AT) is widely recognized as one of the most effective methods for improving the robustness of deep learning models. However, AT suffers from a fundamental trade-off between robustness and generalization, which has motivated various mitigation strategies. Among them, margin-based AT approaches employ loss reweighting, reflecting the idea that more critical examples should contribute larger gradients. Yet, these methods are limited by their exclusive focus on gradient magnitude. In this work, we identify that prior approaches overlook the role of gradient direction, and we provide both theoretical and empirical evidence to support this claim. We argue that both the magnitude and direction of gradients should be considered in adversarial training, and propose a novel label design framework, ADA-Lab ( ADversary’s Adversary for Label adjustment ), which incorporates both aspects to refine supervision for low-margin examples. Specifically, we introduce the concept of the adversary’s adversary to explicitly encode directional information aligned with gradient descent. Our theoretical analysis shows that labels designed using this concept better approximate the true label distribution, especially for low-margin examples (i.e., more important examples). Furthermore, by estimating example importance based on the distance to the decision boundary, our method adaptively controls the degree of label interpolation. Our key novelty lies in introducing direction-aware label refinement based on the adversary’s adversary, a concept that explicitly leverages the gradient descent direction of adversarial inputs to correct label mismatch. This unified design integrates gradient magnitude-based importance weighting and label distribution correction, resulting in improved robustness and generalization, as demonstrated by extensive theoretical and empirical results. • We propose a new perspective on adversarial training by introducing direction-aware label refinement based on the adversary’s adversary concept, which has not been explored in prior margin-based or label smoothing methods. • Our framework unifies the benefits of gradient magnitude-based importance weighting and label distribution correction, offering a principled and scalable approach to improving adversarial robustness. • We provide both theoretical and empirical evidence that reducing margin variance and distribution mismatch leads to a tighter bound on natural and robust risk.

Fields of Study & Subjects

Adversarial Robustness in Machine Learning Machine Learning and Data Classification Domain Adaptation and Few-Shot Learning

Publication details

Journal / source
Neurocomputing
Volume
672
Pages
132664–132664
Publication date
18 January 2026
Language
EN