NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adversarial Training with Complementary Labels: On the Benefit of Gradually Informative Attacks

Jianan Zhou, Jianing Zhu, Jingfeng Zhang, Tongliang Liu, Gang Niu, Bo Han, Masashi Sugiyama

Abstract

Adversarial training (AT) is the standard defense against malicious perturbations, but it typically requires precise "ordinary" labels. In many real-world scenarios, we only have access to complementary labels (CLs)—supervision that specifies what a class a sample does not belong to. This paper identifies why direct application of AT to CLs fails and introduces Gradually Informative Attacks. By utilizing a perturbation warm-up and model-generated pseudo-labels, our method successfully bridges the gap between weak supervision and robust defense, achieving performance levels that approach those of models trained with full supervision.

Introduction

Deep neural networks are highly vulnerable to adversarial examples. While adversarial training (AT) provides a robust defense, its reliance on high-quality, ordinary labels (e.g., "this is a cat") is a significant bottleneck. Complementary labels (CLs) offer a more scalable alternative for weak supervision (e.g., "this is NOT a dog"). However, researchers have found that simply plugging CL losses into the AT framework leads to a total failure in robustness. This paper investigates the root causes of this failure and proposes a novel training strategy to enable robust learning from CLs.

The Failure of Direct Combination

Directly combining AT with CL losses (such as LOG or EXP) results in models that fail to develop any significant adversarial robustness. The authors identify two primary culprits:

  1. Intractable Optimization: Empirical analysis reveals that gradient signals vanish in the early layers of the network during CL-based adversarial training. Additionally, the gradients exhibit high variance, which stalls the learning process.
  2. Low-Quality Adversarial Examples: In standard AT, the inner maximization targets the true class. With CLs, the objective is to minimize the probability of the "not-class." Without a clear positive target, the attacker acts like a random noise generator, failing to produce the informative perturbations necessary to challenge and refine the model's decision boundaries.
Figure 1: Comparison of PGD-20 test accuracy across different training methods. Direct combinations of AT and CL losses (e.g., LOG, EXP) fail to improve robustness, while the proposed method shows stable improvement.

Gradually Informative Attacks

To address these optimization and information gaps, the authors propose the Gradually Informative Attacks framework, consisting of two main components:

1. Warm-up Attack

To prevent early-stage gradient vanishing, the method employs a scheduler that gradually increases the perturbation radius ($\epsilon$) and step size. This "eases" the model into the difficult min-max optimization landscape, allowing it to stabilize before facing full-strength adversarial examples.

2. Pseudo-Label Attack (PLA)

Since CLs are inherently less informative, the authors use the model’s evolving predictions to generate "pseudo-labels." By combining the known complementary label with the model's best guess of the true label, they create a corrected loss function. This provides a "positive" signal that guides the generation of much higher-quality, informative adversarial examples.

Figure 2: Analysis of training dynamics. The proposed Warm-up+PLA method maintains a healthy gradient signal and lower variance compared to direct CL-AT combinations (LOG), which suffer from vanishing norms in the first layer.

Experimental Results

The researchers evaluated their approach on standard benchmarks including MNIST, Kuzushiji-MNIST, CIFAR-10, and SVHN.

  • Robustness Gains: On the Kuzushiji-MNIST dataset, the proposed method achieved ~68.75% AutoAttack (AA) accuracy, whereas direct combinations like LOG or EXP hovered between 10% and 18%.
  • Performance Parity: On CIFAR-10, the method reached ~40.28% AA accuracy, nearly matching the 43.47% achieved by an "Oracle" model trained with perfect ordinary labels.
  • Stability: As shown in the training curves, the proposed method demonstrates a stable, "S-shaped" improvement in robustness over time, contrasting with the erratic or flat performance of baseline methods.

Conclusion

This work demonstrates that adversarial training with complementary labels is achievable by addressing the underlying optimization challenges. By gradually increasing attack intensity and leveraging model-generated pseudo-labels, we can build robust models even under weak supervision. This framework provides a path forward for securing machine learning systems in environments where precise labeling is unavailable.

Summary updated

BibTeX
@inproceedings{zhou2022adversarial,
  author = {Jianan Zhou and Jianing Zhu and Jingfeng Zhang and Tongliang Liu and Gang Niu and Bo Han and Masashi Sugiyama},
  title = {{Adversarial Training with Complementary Labels: On the Benefit of Gradually Informative Attacks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure