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

Learnable Boundary Guided Adversarial Training

Jiequan Cui, Shu Liu, Liwei Wang, Jiaya JiaICCV 2020

Abstract

Previous adversarial training raises model robustness under the compromise of accuracy on natural data. In this paper, we reduce natural accuracy degradation. We use the model logits from one clean model to guide learning of another one robust model, taking into consideration that logits from the well trained clean model embed the most discriminative features of natural data, e.g., generalizable classifier boundary. Our solution is to constrain logits from the robust model that takes adversarial examples as input and makes it similar to those from the clean model fed with corresponding natural data. It lets the robust model inherit the classifier boundary of the clean model. Moreover, we observe such boundary guidance can not only preserve high natural accuracy but also benefit model robustness, which gives new insights and facilitates progress for the adversarial community. Finally, extensive experiments on CIFAR-10, CIFAR-100, and Tiny ImageNet testify to the effectiveness of our method. We achieve new state-of-the-art robustness on CIFAR-100 without additional real or synthetic data with auto-attack benchmark. Our code is available at https://github.com/dvlab-research/LBGAT.

Introduction

Deep neural networks are notoriously fragile; small, intentional perturbations to an image (adversarial attacks) can flip a correct prediction to an incorrect one. To defend against this, researchers use Adversarial Training (AT), where the model is trained on these perturbed examples. However, there is a persistent trade-off: as a model becomes more robust, its performance on natural (clean) data typically drops. This "robustness tax" occurs because the decision boundaries learned during adversarial training often become distorted or less discriminative compared to those of a model trained only on natural data. This paper introduces Learnable Boundary Guided Adversarial Training (LBGAT) to bridge this gap by inheriting the superior decision boundary of a clean model.

Methodology: Learnable Boundary Guided Adversarial Training

The core idea is to use a clean model to "teach" a robust model how to maintain a high-quality decision boundary. The authors propose two versions:

  1. Boundary Guided Adversarial Training (BGAT): This uses a pre-trained, static clean model. During training, the robust model is fed adversarial examples, and the loss function encourages its output (logits) to match the clean model's output for the original natural image.
  2. Learnable Boundary Guided Adversarial Training (LBGAT): Instead of a static model, both models are trained simultaneously. The clean model learns to classify natural data while the robust model tries to mimic it. This collaborative training allows the clean model to adaptively find a "robustness-friendly" boundary that is easier for the robust model to inherit.
Conceptual comparison of classifier boundaries between clean models (a), LBGAT (b), and previous robust methods (c).

Boundary Inheritance and the "Squeeze" Effect

A model trained only on natural data usually has a very clean and discriminative decision boundary. By forcing the robust model to mimic these logits, it inherits this boundary, preventing nonsensical errors under attack. Furthermore, because adversarial examples exist within a small "ball" around natural data, pulling adversarial logits toward clean natural logits effectively "squeezes" the natural data into the correct classification zone, preserving natural accuracy.

Experimental Evaluation

The researchers evaluated LBGAT on three standard computer vision benchmarks: CIFAR-10, CIFAR-100, and Tiny ImageNet.

Key Results

LBGAT achieved significant improvements, particularly on the more difficult CIFAR-100 dataset. It achieved new state-of-the-art (SOTA) robustness on the "Auto-Attack" benchmark without requiring extra synthetic data.

Comparison of Natural and Robust Accuracy across different adversarial training methods, showing LBGAT's superior performance.

On CIFAR-100, LBGAT improved natural accuracy by 13.53% compared to the popular TRADES method, while maintaining or slightly improving robustness. On Tiny ImageNet, LBGAT outperformed TRADES by nearly 9% in natural accuracy and 3% in robust accuracy.

Conclusion

LBGAT significantly pushes the Pareto frontier of the accuracy-robustness trade-off. While it introduces some computational overhead due to simultaneous training of two models, its ability to preserve natural accuracy while enhancing robustness is a major step forward. Future work may explore applying this boundary guidance to other domains like object detection or natural language processing.

Summary updated

BibTeX
@inproceedings{cui2020learnable,
  author = {Jiequan Cui and Shu Liu and Liwei Wang and Jiaya Jia},
  title = {{Learnable Boundary Guided Adversarial Training}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2020},
  url = {https://openreview.net/forum?id=JoCfT1yUoCJ},
}
Figure