Composite Adversarial Attacks

Xiaofeng Mao, Yuefeng Chen, Shuhui Wang, Hang Su, Yuan He, Hui Xue

Abstract

Adversarial attack is a technique for deceiving Machine Learning (ML) models, which provides a way to evaluate the adversarial robustness. In practice, attack algorithms are artificially selected and tuned by human experts to break a ML system. However, manual selection of attackers tends to be sub-optimal, leading to a mistakenly assessment of model security. In this paper, a new procedure called Composite Adversarial Attack (CAA) is proposed for automatically searching the best combination of attack algorithms and their hyper-parameters from a candidate pool of 32 base attackers. We design a search space where attack policy is represented as an attacking sequence, i.e., the output of the previous attacker is used as the initialization input for successors. Multi-objective NSGA-II genetic algorithm is adopted for finding the strongest attack policy with minimum complexity. The experimental result shows CAA beats 10 top attackers on 11 diverse defenses with less elapsed time (6 × faster than AutoAttack), and achieves the new state-of-the-art on $l_\infty$, $l_2$ and unrestricted adversarial attacks.

1. Introduction

Evaluating the robustness of Deep Neural Networks (DNNs) is a critical task in ensuring the security of AI systems. Adversarial attacks—carefully crafted perturbations designed to deceive models—serve as the primary tool for this evaluation. However, the current practice relies heavily on human experts to manually select and tune attack algorithms. This manual process is not only time-consuming but also prone to sub-optimal choices, potentially leading to a "false sense of security" through gradient obfuscation. To address these limitations, we propose Composite Adversarial Attack (CAA), a framework that automates the discovery of optimal attack policies.

2. Methodology: Serial Attack Policies

The core innovation of CAA is treating an adversarial attack as a sequence of operations rather than a standalone algorithm. We define an attack policy as a serial connection of base attackers, where the output of one attacker serves as the initialization for the next. This progressive approach helps find adversarial examples that are closer to the decision boundary.

2.1 Search Space and Optimization

The candidate pool consists of 32 base attackers, including standard $l_\infty$ and $l_2$ methods and 19 unrestricted attacks (e.g., spatial transformations). To navigate this vast search space, we employ the NSGA-II multi-objective genetic algorithm. The optimization process aims to simultaneously minimize robust accuracy (maximizing attack strength) and minimize computational complexity, measured by the total number of gradient evaluations. A re-projection module is utilized between steps to ensure perturbations remain within defined norm constraints.

Sequential attack policy illustration showing how chaining attackers (S: Spatial, F: FGSM) can progressively reduce model accuracy more effectively than single-step or parallel methods.

3. Experimental Evaluation

The framework was evaluated on standard benchmarks including CIFAR-10, ImageNet, and the Bird&Bicycle dataset for unrestricted attacks.

3.1 Performance and Efficiency

CAA achieves a new state-of-the-art in white-box scenarios. As shown in Figure 1, the policies discovered by CAA (e.g., CAA-1, CAA-5, CAA-7) define a new Pareto front for the robustness-efficiency trade-off. Notably, CAA is approximately 6 times faster than AutoAttack while achieving lower robust accuracy, indicating a stronger attack.

Robust accuracy vs. computational complexity. The dashed line represents the Pareto front achieved by CAA policies, outperforming existing top-tier attackers like AutoAttack, PGD, and Square in both strength and speed.

3.2 Key Insights

  • Serial is Better than Parallel: Most existing ensemble attacks run multiple algorithms and pick the best result. CAA demonstrates that running attacks sequentially is far more powerful because early, simpler attacks "prime" the image, making it easier for subsequent, more complex attacks to find successful perturbations.
  • Diversity and Transferability: The strongest policies often combine diverse attacker types (e.g., momentum-based and margin-loss-based). Furthermore, policies discovered on substitute models transfer effectively to different architectures, suggesting they exploit fundamental model weaknesses.

4. Conclusion

CAA provides a robust and efficient framework for automated adversarial evaluation. By removing human bias from attack selection, it offers a more rigorous benchmark for model security. Future work will explore integrating CAA into the adversarial training loop to develop models with fundamentally improved robustness.

Summary updated

BibTeX
@inproceedings{mao2021composite,
  author = {Xiaofeng Mao and Yuefeng Chen and Shuhui Wang and Hang Su and Yuan He and Hui Xue},
  title = {{Composite Adversarial Attacks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=5Vi_Bv0ILK},
}
Figure