Fast Minimum-norm Adversarial Attacks through Adaptive Norm Constraints

Maura Pintor, Fabio Roli, Wieland Brendel, Battista Biggio

Introduction

Evaluating adversarial robustness fundamentally amounts to finding the minimum perturbation needed to force a machine learning model to misclassify an input sample. The Fast Minimum-norm (FMN) attack is a novel adversarial benchmarking tool designed to find this smallest possible perturbation across multiple distance metrics ($\ell_0, \ell_1, \ell_2, \ell_\infty$). It is significantly faster than existing methods, requires minimal hyperparameter tuning, and provides a more reliable way to evaluate true model robustness against malicious inputs.

The Challenge of Measuring Robustness

In adversarial machine learning, "robustness" is measured by the minimum distance an attacker must move an input to change the model's prediction. Finding this minimum distance is a notoriously difficult non-convex optimization problem.

Existing attacks generally fall into two categories:

  1. Maximum-confidence attacks: These methods (e.g., PGD) try to maximize the error within a fixed perturbation "budget." They do not find the minimum perturbation; they merely find any successful perturbation within a predefined limit.
  2. Minimum-norm attacks: These specifically hunt for the smallest change. However, current versions are often slow (like Carlini & Wagner), limited to a single distance metric (like DDN), or require a pre-existing "starting" adversarial image to function (like Brendel & Bethge).

FMN addresses the need for a versatile, "Swiss Army knife" attack: one that is fast, works across all common distance metrics, does not need a head start, and avoids tedious hyperparameter tuning.

Methods: The FMN Algorithm

The FMN attack works by iteratively solving a constrained optimization problem, breaking the process into two main alternating steps.

FMN Optimization Steps
  • The $\epsilon$-step (Adaptive Constraint): The algorithm maintains a constraint boundary of size $\epsilon$. If the current image isn't adversarial yet, it expands $\epsilon$ to find the decision boundary. If the image is adversarial, it shrinks $\epsilon$ to see if it can fool the model with an even smaller change.
  • The $\delta$-step (Projected Gradient): Within the current $\epsilon$ limit, the attack performs a gradient descent step to maximize the model's error. This is done using the difference between the correct class logit and the highest incorrect logit.

To ensure the attack doesn't oscillate wildly, FMN uses cosine annealing to gradually reduce the step sizes as the attack progresses. This allows the algorithm to smoothly "walk" along the decision boundary, refining the solution until it finds a local optimum.

Key Insights

  • Decoupling is Key: By separating the search for error ($\delta$-step) from the minimization of distance ($\epsilon$-step), FMN avoids the complex hyperparameter trade-offs found in older attacks.
  • Sparse Norm Support: Unlike its predecessor DDN, which always rescales perturbations to the boundary, FMN allows the perturbation to exist inside the constraint. This critical distinction allows it to work effectively for sparse norms like $\ell_1$ and $\ell_\infty$.
  • Hyperparameter Robustness: FMN performs nearly as well with a single set of "dataset-level" parameters as it does when painstakingly tuned for every individual image, making it highly practical for researchers.
  • Logit Difference vs. Cross-Entropy: FMN uses the difference between logits rather than standard cross-entropy loss, preventing the "gradient masking" or saturation effects that can cause other attacks to fail against certain defenses.

Experimental Results

The authors evaluated FMN against standard benchmarks (MNIST, CIFAR-10, ImageNet) and state-of-the-art defenses, including adversarial training and Interval Bound Propagation (IBP).

Performance Comparison Across Norms
  • Superior Efficiency: FMN is 2-3 times faster than competing minimum-norm attacks like Brendel & Bethge (BB) or Fast Adaptive Boundary (FAB).
  • Better Optima: In $\ell_0, \ell_1,$ and $\ell_\infty$ scenarios, FMN consistently found smaller perturbations than existing state-of-the-art attacks. For $\ell_2$, it performed on par with the highly specialized DDN attack.
  • Rapid Convergence: The attack often reaches a "good enough" solution (within 10% of the best possible) in just 10 to 30 queries, whereas other methods might require hundreds or thousands.
  • ImageNet Success: On large-scale models, FMN outperformed the widely used PGD attack, finding adversarial examples that were closer to the original images while maintaining a higher success rate.

Limitations and Future Work

While FMN is highly effective, it shares a vulnerability with most gradient-based attacks: it can be hindered by models that employ "obfuscated" or noisy gradients. The authors suggest that future versions could incorporate randomized smoothing—averaging gradients over multiple noisy inputs—to bypass these defenses. Additionally, while FMN does not require an adversarial starting point, providing one via a quick binary search can further accelerate convergence on highly complex models.

Summary updated

BibTeX
@inproceedings{pintor2021fast,
  author = {Maura Pintor and Fabio Roli and Wieland Brendel and Battista Biggio},
  title = {{Fast Minimum-norm Adversarial Attacks through Adaptive Norm Constraints}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=jfDaBf8PAE},
}
Figure