Skip to main content
QUICK REVIEW

[Paper Review] Practical Evaluation of Adversarial Robustness via Adaptive Auto Attack

Liu Ye, Yaya Cheng|arXiv (Cornell University)|Mar 10, 2022
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes Adaptive Auto Attack (A3), a parameter-free, efficient, and reliable method for evaluating adversarial robustness of defense models. By using adaptive direction initialization to accelerate convergence and an online statistics-based discarding strategy to prioritize easier-to-attack samples, A3 achieves significantly lower robust accuracy—10× faster than prior methods—while winning first place in the CVPR 2021 white-box attack competition among 1,681 teams.

ABSTRACT

Defense models against adversarial attacks have grown significantly, but the lack of practical evaluation methods has hindered progress. Evaluation can be defined as looking for defense models' lower bound of robustness given a budget number of iterations and a test dataset. A practical evaluation method should be convenient (i.e., parameter-free), efficient (i.e., fewer iterations) and reliable (i.e., approaching the lower bound of robustness). Towards this target, we propose a parameter-free Adaptive Auto Attack (A$^3$) evaluation method which addresses the efficiency and reliability in a test-time-training fashion. Specifically, by observing that adversarial examples to a specific defense model follow some regularities in their starting points, we design an Adaptive Direction Initialization strategy to speed up the evaluation. Furthermore, to approach the lower bound of robustness under the budget number of iterations, we propose an online statistics-based discarding strategy that automatically identifies and abandons hard-to-attack images. Extensive experiments demonstrate the effectiveness of our A$^3$. Particularly, we apply A$^3$ to nearly 50 widely-used defense models. By consuming much fewer iterations than existing methods, i.e., $1/10$ on average (10$ imes$ speed up), we achieve lower robust accuracy in all cases. Notably, we won $ extbf{first place}$ out of 1681 teams in CVPR 2021 White-box Adversarial Attacks on Defense Models competitions with this method. Code is available at: $\href{https://github.com/liuye6666/adaptive_auto_attack}{https://github.com/liuye6666/adaptive\_auto\_attack}$

Motivation & Objective

  • To address the lack of practical, efficient, and reliable evaluation methods for adversarial robustness in defense models.
  • To identify limitations in existing random sampling strategies for attack initialization, particularly in output space.
  • To improve evaluation efficiency by reducing iterations without sacrificing robustness lower bound estimation.
  • To enhance reliability by dynamically discarding hard-to-attack images early in the process.
  • To provide a practical benchmarking tool for comparing defense models under realistic attack budgets.

Proposed method

  • Proposes Adaptive Direction Initialization (ADI), which observes adversarial examples' direction biases in output space and uses them to generate better starting points than random sampling.
  • Employs an observer to record model-specific direction patterns from the first restart to guide subsequent initialization.
  • Introduces an online statistics-based discarding (OSD) strategy that identifies and abandons hard-to-attack images early based on loss trends.
  • Allocates remaining iterations uniformly across easier-to-attack images, maximizing the number of successful attacks under budget constraints.
  • Combines ADI and OSD into a unified framework, A3, for test-time training with no hyperparameters.
  • Uses iterative attacks like PGD and I-FGSM within the A3 framework, enhancing performance through adaptive initialization and dynamic resource allocation.
Figure 1 : Quantitative statistical results of the diversified direction $\boldsymbol{w}_{\boldsymbol{d}}$ of adversarial examples on 11 models. The diversified direction $\boldsymbol{w}_{\boldsymbol{d}}$ for all models disobey uniform distribution.
Figure 1 : Quantitative statistical results of the diversified direction $\boldsymbol{w}_{\boldsymbol{d}}$ of adversarial examples on 11 models. The diversified direction $\boldsymbol{w}_{\boldsymbol{d}}$ for all models disobey uniform distribution.

Experimental results

Research questions

  • RQ1Do adversarial examples to a specific defense model follow regularities in their starting point directions, particularly in output space?
  • RQ2Can model-specific directional biases in output space be exploited to improve attack initialization efficiency?
  • RQ3Is the naive strategy of allocating equal iterations to all images suboptimal for robustness evaluation?
  • RQ4Can online loss statistics be used to identify and discard hard-to-attack images early to improve evaluation efficiency and reliability?
  • RQ5Can a parameter-free, adaptive evaluation method outperform existing baselines in both speed and robustness lower bound estimation?

Key findings

  • A3 achieved 10× speedup on average, consuming only 1/10 the iterations of prior methods while achieving lower robust accuracy in all evaluated cases.
  • In the CVPR 2021 White-box Adversarial Attacks on Defense Models competition, A3 secured first place among 1,681 teams with a final score of 51.10%.
  • The ADI component reduced robust accuracy by up to 0.28% compared to random initialization, demonstrating its effectiveness in improving attack quality.
  • The OSD strategy reduced robust accuracy by up to 18.30% on the Feature Scatter defense, showing significant gains in reliability.
  • On average, A3 improved robustness evaluation reliability by reducing robust accuracy by 0.18–0.28% compared to baseline methods.
  • The method consistently outperformed all baselines across 49 widely used defense models on CIFAR-10 and ImageNet datasets.
Figure 2 : Quantitative statistical results of loss percentile of easy-to-attack images. As the number of iterations increases, the loss percentile of easy-to-attack images continually decrease.
Figure 2 : Quantitative statistical results of loss percentile of easy-to-attack images. As the number of iterations increases, the loss percentile of easy-to-attack images continually decrease.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.