CAT: Collaborative Adversarial Training

xingbin liu, Huafeng Kuang, Xianming Lin, Guannan Jiang, Yongjian Wu, Xi Wang, Rongrong Ji · DOI

Abstract

Collaborative Adversarial Training (CAT) is a novel framework that improves neural network robustness by having two models, trained with different adversarial strategies, "collaborate" and share knowledge during training. This peer-to-peer learning approach allows models to overcome individual blind spots, achieving state-of-the-art adversarial robustness on standard benchmarks without requiring any additional data.

Introduction: The Challenge of Adversarial Robustness

Deep Neural Networks (DNNs) are notoriously vulnerable to "adversarial attacks"—tiny, carefully crafted perturbations to an input image that are invisible to humans but completely fool a model. While Adversarial Training (AT) is the most effective defense, most existing research focuses on optimizing a single training strategy.

The authors of this paper identified a significant gap: different AT strategies (such as standard AT, TRADES, or ALP) produce models that fail on different sets of images. Even if two models have similar overall accuracy, they exhibit "classification confusion"—one might correctly classify an adversarial example that the other misses. This suggests that each training method masters a different "type" of knowledge.

Confusion matrices illustrating that different adversarial training strategies (AT, ALP, TRADES) fail on different sets of inputs, indicating complementary strengths.

The CAT Framework

The authors propose Collaborative Adversarial Training (CAT) to combine these distinct strengths. Instead of training one model in isolation, CAT simultaneously trains two peer networks ($f$ and $g$) using different adversarial training objectives.

The CAT framework: Two models generate adversarial examples for each other and use the resulting logits to guide mutual learning through cross-evaluation and logit guidance.

The key innovation is Knowledge Interaction, which consists of three main components:

  1. Cross-Evaluation: Adversarial examples generated to attack model $f$ are fed into model $g$, and vice versa. This exposes each model to the "blind spots" discovered by its peer.
  2. Logit Guidance: Each model uses the output (logits) of its peer as a "soft label" to guide its own learning. This is implemented via a Kullback-Leibler (KL) divergence loss that encourages a model to produce outputs similar to its peer's when faced with adversarial data.
  3. Joint Optimization: The final loss function balances the model's original adversarial objective with this collaborative peer-guidance term.

Experimental Results

The framework was evaluated on CIFAR-10, CIFAR-100, and Tiny-ImageNet across various architectures, including ResNet-18 and WideResNet-34-10.

State-of-the-Art Robustness

On CIFAR-10 using ResNet-18, CAT achieved 51.02% accuracy against the rigorous AutoAttack benchmark, significantly higher than standard AT (47.55%) or TRADES (49.21%). When scaled to WideResNet-34-10 and combined with Adversarial Weight Perturbation (AWP), CAT reached 56.61% robustness—a new state-of-the-art for models trained without external data.

Mitigating Robust Overfitting

Adversarial training often suffers from "robust overfitting," where test performance drops late in training. CAT significantly mitigates this problem, as the peer model acts as a dynamic regularizer, preventing the other from over-specializing on its own training samples.

Improving Clean Accuracy

Unlike many defense methods that sacrifice "clean" (normal) accuracy for robustness, CAT often improves both. For example, on CIFAR-100, it improved clean accuracy by nearly 1% while simultaneously boosting robustness.

Conclusion

CAT demonstrates that diversity in training strategies is a powerful defense mechanism. By forcing models to interact, they learn more robust decision boundaries that neither could achieve alone. While training two models simultaneously increases computational costs, the performance gains and mitigation of overfitting make CAT a compelling approach for developing robust deep learning systems.

Summary updated

BibTeX
@misc{liu2023cat,
  author = {xingbin liu and Huafeng Kuang and Xianming Lin and GUANNAN JIANG and YONGJIAN WU and Xi Wang and Rongrong Ji},
  title = {{CAT: Collaborative Adversarial Training}},
  year = {2023},
  eprint = {2303.14922},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.14922},
}
Figure