Skip to main content
QUICK REVIEW

[Paper Review] Mind the box: $l_1$-APGD for sparse adversarial attacks on image classifiers

Francesco Croce, Matthias Hein|arXiv (Cornell University)|Mar 1, 2021
Adversarial Robustness in Machine LearningComputer Science7 citations
TL;DR

This paper proposes $l_1$-APGD, a novel adversarial attack method that improves sparse adversarial attacks on image classifiers by correctly projecting onto the intersection of the $l_1$-ball and the image domain $[0,1]^d$, which previous $l_1$-PGD methods neglected. The method achieves state-of-the-art $l_1$-robustness in adversarial training and enables $l_1$-AutoAttack, a reliable ensemble attack that outperforms prior methods in evaluating $l_1$-robustness with minimal computational overhead.

ABSTRACT

We show that when taking into account also the image domain $[0,1]^d$, established $l_1$-projected gradient descent (PGD) attacks are suboptimal as they do not consider that the effective threat model is the intersection of the $l_1$-ball and $[0,1]^d$. We study the expected sparsity of the steepest descent step for this effective threat model and show that the exact projection onto this set is computationally feasible and yields better performance. Moreover, we propose an adaptive form of PGD which is highly effective even with a small budget of iterations. Our resulting $l_1$-APGD is a strong white-box attack showing that prior works overestimated their $l_1$-robustness. Using $l_1$-APGD for adversarial training we get a robust classifier with SOTA $l_1$-robustness. Finally, we combine $l_1$-APGD and an adaptation of the Square Attack to $l_1$ into $l_1$-AutoAttack, an ensemble of attacks which reliably assesses adversarial robustness for the threat model of $l_1$-ball intersected with $[0,1]^d$.

Motivation & Objective

  • To address the suboptimality of existing $l_1$-PGD attacks that ignore the image domain constraint $[0,1]^d$ in the threat model.
  • To develop a computationally efficient exact projection onto the intersection of the $l_1$-ball and $[0,1]^d$, which is shown to yield stronger attacks.
  • To design an adaptive, parameter-free PGD scheme ($l_1$-APGD) that improves attack performance without requiring manual step size tuning.
  • To construct $l_1$-AutoAttack, an ensemble of $l_1$-APGD, targeted $l_1$-FAB, and $l_1$-Square Attack, for reliable and effective evaluation of $l_1$-robustness.

Proposed method

  • Proposes an exact projection operator $P_S(u)$ onto the set $S = B_1(x, \ abla L(x^{(i)})) \cap [0,1]^d$, which is computationally feasible and more accurate than approximate projections.
  • Derives the correct steepest descent direction for the constrained threat model $S$, enabling more effective perturbation updates.
  • Introduces $l_1$-APGD, a fully adaptive PGD variant that dynamically selects step sizes without user input, improving robustness and convergence.
  • Adapts the Square Attack to the $l_1$-norm and integrates it into $l_1$-AutoAttack, combining multiple attack types for comprehensive robustness assessment.
  • Employs a multi-phase attack strategy with cross-entropy and targeted DLR losses, using multiple random restarts to enhance success rates.

Experimental results

Research questions

  • RQ1Why are standard $l_1$-PGD attacks suboptimal for image classification, despite being designed for $l_1$-perturbations?
  • RQ2Can the exact projection onto the intersection of the $l_1$-ball and $[0,1]^d$ be computed efficiently, and does it yield stronger adversarial attacks?
  • RQ3Does an adaptive, parameter-free PGD scheme improve attack performance and robustness evaluation compared to fixed-step-size PGD?
  • RQ4Can $l_1$-APGD be effectively combined with other attacks to form a reliable ensemble, such as $l_1$-AutoAttack, for assessing $l_1$-robustness?
  • RQ5Does using $l_1$-APGD in adversarial training lead to models with state-of-the-art $l_1$-robust accuracy?

Key findings

  • The exact projection onto $S = B_1(x,\epsilon) \cap [0,1]^d$ is computationally feasible and significantly improves attack performance compared to approximate projections.
  • $l_1$-APGD achieves the highest $l_1$-robust accuracy on CIFAR-100 ($\epsilon=12$) with $\epsilon=12$, outperforming standard PGD and other baselines.
  • On ImageNet ($\epsilon=60$), $l_1$-APGD achieves robust accuracy of 40.5% on the $l_2$-robust model and 4.4% on the $l_\infty$-robust model, matching or exceeding other attacks.
  • $l_1$-AutoAttack achieves the lowest robust accuracy in 2 out of 4 cases on ImageNet and CIFAR-100, indicating it reliably estimates model robustness.
  • The $l_1$-APGD attack is significantly faster than B&B, requiring only 254 seconds for 1000 images with 100 steps, compared to 3612 seconds for B&B.
  • The $l_1$-AutoAttack ensemble consistently outperforms individual attacks and provides a reliable benchmark for $l_1$-robustness evaluation.

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.