Towards Deep Learning Models Resistant to Transfer-based Adversarial Attacks via Data-centric Robust Learning

Yulong Yang, Chenhao Lin, Xiang Ji, Qiwei Tian, Qian Li, Hongshan Yang, Zhibo Wang, Chao ShenarXiv 2023 · DOI

Abstract

Traditional Adversarial Training (AT) is computationally expensive and often degrades clean data accuracy. This paper introduces Data-centric Robust Learning (DRL), a "one-shot" defense strategy against transfer-based adversarial attacks. By augmenting the dataset with adversarial examples before training and employing a data selection mechanism, DRL achieves superior robustness to black-box attacks while maintaining high clean accuracy and significantly reducing training time.

Introduction

Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial attacks—small, human-imperceptible perturbations that cause misclassification. While white-box attacks are well-studied, transfer-based black-box attacks represent a more realistic threat. In these scenarios, an attacker crafts an adversarial example on a "substitute" model and "transfers" it to the target system. The gold standard for defense, Adversarial Training (AT), is hindered by high computational overhead and a significant trade-off between robustness and clean accuracy.

Methodology: Data-centric Robust Learning (DRL)

DRL shifts the focus from model-centric iterative optimization to a data-centric approach. The core insight is that heavy optimization during training isn't strictly necessary to defend against transfer attacks; a high-quality, static augmented dataset is sufficient.

Comparison between traditional Adversarial Training (AT) and the proposed Data-centric Robust Learning (DRL).

Key Components

  • One-shot Adversarial Augmentation: Instead of the iterative loop of AT, DRL generates a fixed set of transferable adversarial examples (using a substitute model and the PGD algorithm) before training begins.
  • Data Selection Mechanism: To prevent overfitting and accelerate convergence, the authors use an output confidence gap metric ($M_{conf}$). This metric identifies "hard" examples where the model is less confident and prioritizes them during training.
  • Extended DRL (XDRL): DRL can be combined with synthetic data generation (via Diffusion Models), multiple attack types (FGSM, C&W, MIM), and alignment regularization to further enhance performance.

Experimental Results

The researchers evaluated DRL on CIFAR-10, CIFAR-100, and TinyImageNet benchmarks. They also tested Out-Of-Distribution (OOD) robustness using CIFAR-10-C and compared results against top-tier defenses on RobustBench.

Performance comparison across different architectures (PreActRes-18, WRN-28-10) and metrics (Clean Accuracy, PGD RA, QAA RA, Ens Attack RA), demonstrating the effectiveness of the data selection mechanism.

Key Findings

  • Efficiency and Scalability: DRL models were trained in just 30 epochs compared to the 100+ epochs typically required for AT. By moving attack generation to a pre-processing step, DRL uses up to 30x less data/computation (0.15M images vs. 5M images for a typical run).
  • Superior Robustness: On WideResNet (WRN-28-10), DRL achieved a robust accuracy of 88.6% against PGD transfer attacks, outperforming standard PGD-AT (84.1%) and TRADES (83.0%).
  • Clean Accuracy Preservation: DRL maintained significantly higher clean accuracy (e.g., 86.46% on Pre-Res18) compared to AT methods like PGD-AT (78.88%).
  • Robust Fairness: DRL exhibits lower variance in accuracy across different classes, providing a more equitable defense than traditional AT.

Conclusion and Future Work

DRL demonstrates that decoupling defense from training allows for standard, efficient training processes that generalize better to unseen data corruptions. While highly effective against black-box transfer attacks, future work will focus on addressing potential vulnerabilities to adaptive attacks and further optimizing the quality of the initial adversarial augmentation dataset.

Summary updated

BibTeX
@misc{yang2023towards,
  author = {Yulong Yang and Chenhao Lin and Xiang Ji and Qiwei Tian and Qian Li and Hongshan Yang and Zhibo Wang and Chao Shen},
  title = {{Towards Deep Learning Models Resistant to Transfer-based Adversarial Attacks via Data-centric Robust Learning}},
  year = {2023},
  eprint = {2310.09891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.09891},
}
Figure