[Paper Review] Confidence-Calibrated Adversarial Training and Detection: More Robust Models Generalizing Beyond the Attack Used During Training
This paper proposes Confidence-Calibrated Adversarial Training (CCAT), a method that improves model robustness by calibrating prediction confidence to decay with adversarial example distance, enabling effective detection via confidence thresholding. Unlike standard adversarial training, CCAT generalizes robustness to stronger attacks and diverse threat models not seen during training, preserving higher natural accuracy while achieving superior generalization beyond the training attack.
Adversarial training is the standard to train models robust against adversarial examples. However, especially for complex datasets, adversarial training incurs a significant loss in accuracy and is known to generalize poorly to stronger attacks, e.g., larger perturbations or other threat models. In this paper, we introduce confidence-calibrated adversarial training (CCAT) where the key idea is to enforce that the confidence on adversarial examples decays with their distance to the attacked examples. We show that CCAT preserves better the accuracy of normal training while robustness against adversarial examples is achieved via confidence thresholding, i.e., detecting adversarial examples based on their confidence. Most importantly, in strong contrast to adversarial training, the robustness of CCAT generalizes to larger perturbations and other threat models, not encountered during training. For evaluation, we extend the commonly used robust test error to our detection setting, present an adaptive attack with backtracking and allow the attacker to select, per test example, the worst-case adversarial example from multiple black- and white-box attacks. We present experimental results using $L_\\infty$, $L_2$, $L_1$ and $L_0$ attacks on MNIST, SVHN and Cifar10.
Motivation & Objective
- To address the poor generalization of adversarial training to stronger or unseen attacks, such as larger perturbations or different threat models.
- To preserve high natural accuracy during robust training, avoiding the typical accuracy drop seen in standard adversarial training.
- To develop a detection mechanism based on confidence decay that identifies adversarial examples without requiring retraining for each new attack type.
- To evaluate robustness under adaptive, example-specific attacks that combine multiple black- and white-box strategies.
- To extend the robust test error metric to include detection performance in a realistic, adaptive threat setting.
Proposed method
- Introduce confidence calibration such that model confidence on adversarial examples decreases monotonically with their perturbation distance from clean inputs.
- Train models using adversarial examples with a loss that penalizes high confidence on adversarial samples, especially those farther from the original input.
- Apply confidence thresholding at inference: if model confidence falls below a learned threshold, classify the input as adversarial.
- Use a multi-step adaptive attack with backtracking that selects the worst-case adversarial example per test input from multiple attack types (black- and white-box).
- Extend the standard robust test error to include detection performance, measuring both misclassification and false positive rates under adaptive attacks.
- Evaluate on $L_\infty$, $L_2$, $L_1$, and $L_0$ perturbations across MNIST, SVHN, and CIFAR-10 datasets.
Experimental results
Research questions
- RQ1Can confidence calibration improve generalization of robust models to stronger attacks not seen during training?
- RQ2Does confidence thresholding enable effective detection of adversarial examples without compromising natural accuracy?
- RQ3How does CCAT perform under adaptive attacks that combine multiple attack strategies and select the worst-case example per input?
- RQ4To what extent does CCAT maintain high natural accuracy compared to standard adversarial training?
- RQ5Does the confidence decay mechanism lead to better robustness across diverse threat models, including $L_1$, $L_0$, and $L_2$ attacks?
Key findings
- CCAT achieves higher natural accuracy than standard adversarial training on MNIST, SVHN, and CIFAR-10, with minimal performance drop under clean data.
- Robustness generalizes effectively to larger $L_\infty$ perturbations and other threat models (e.g., $L_2$, $L_1$, $L_0$) not used during training.
- The confidence thresholding mechanism successfully detects adversarial examples with high detection rates, even under adaptive attacks combining multiple attack types.
- CCAT outperforms standard adversarial training in robustness under adaptive attacks, particularly in reducing the success rate of worst-case adversarial examples.
- The method maintains strong performance across diverse datasets and perturbation types, demonstrating broad generalization capability.
- The confidence decay mechanism correlates strongly with adversarial distance, validating the core design principle of CCAT.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.