Generating Structured Adversarial Attacks Using Frank-Wolfe Method

Ehsan Kazemi, Thomas Kerdreux, Liquang WangarXiv 2021

Abstract

Traditional adversarial attacks rely on $\ell_p$ norm constraints to generate imperceptible pixel-wise noise. However, these noise patterns often fail to capture natural image variations and are easily mitigated by specialized defenses. This paper introduces a novel framework for generating "structured" adversarial attacks using the nuclear norm and group-nuclear norms. By leveraging the Frank-Wolfe optimization algorithm, the authors produce perturbations that manifest as realistic image blurriness. These attacks significantly outperform standard methods like PGD in bypassing state-of-the-art defenses on CIFAR-10 and ImageNet, often requiring substantially less $\ell_2$ distortion.

Introduction: The Limitations of $\ell_p$ Norms

Most research in adversarial machine learning focuses on $\ell_p$ norm neighborhoods, where attackers add static noise to fool classifiers. While effective in controlled settings, $\ell_p$ norms do not align well with human perception. Real-world alterations, such as localized blurriness or lighting changes, can deceive neural networks without appearing suspicious to humans. Furthermore, current defense mechanisms, such as adversarial training, are heavily overfitted to these specific $\ell_p$ noise patterns, leaving a significant security gap for non-standard, structured perturbations.

Methodology: Structured Distortion and Frank-Wolfe Optimization

To address this gap, the authors propose using structured distortion sets, specifically the nuclear norm ball (the sum of a matrix's singular values). In the context of images, low-rank approximations encouraged by the nuclear norm naturally result in a blurring effect. To further refine the attack, group-nuclear norms are used to localize this blurriness to semantically important regions, such as the primary subject of an image.

Generating these attacks requires solving a constrained optimization problem. While Projected Gradient Descent (PGD) is a standard choice, it is computationally prohibitive for nuclear norms due to the need for a full Singular Value Decomposition (SVD) at each step. Instead, the authors utilize the Frank-Wolfe (conditional gradient) method. This approach relies on a Linear Minimization Oracle (LMO) that only requires computing the top singular vectors, making the generation of low-rank adversarial perturbations computationally efficient.

Comparison of FGSM (pixel-wise noise) and FWnucl (structured low-rank) perturbations. The FWnucl attack produces a structured, low-rank perturbation that appears as natural blurriness rather than random noise.

Experimental Evaluation

The proposed Frank-Wolfe nuclear attack (FWnucl) was evaluated on MNIST, CIFAR-10, and ImageNet benchmarks against state-of-the-art defenses like Madry's adversarial training and randomized smoothing.

Key Results

  • CIFAR-10: Against an adversarially trained ResNet-18, the standard PGD attack reduced model accuracy to 49.95%. In contrast, the FWnucl attack plummeted accuracy to just 3.06%.
  • ImageNet: On a subset of 4,000 ImageNet images, FWnucl dropped the accuracy of a defended ResNet-50 to 16.8%, compared to 18.9% for PGD. Notably, FWnucl achieved this with an average $\ell_2$ distortion of 3.82, whereas PGD required 11.69—nearly three times as much.
  • Certified Defenses: The attack successfully degraded the accuracy of models protected by randomized smoothing down to their theoretical certified bounds, demonstrating its effectiveness as a rigorous stress test for provable defenses.
Model accuracy degradation under FWnucl attacks across different perturbation budgets (epsilon_S1) for various model configurations.

Discussion and Future Work

A key insight of this work is that current defenses are highly specialized for $\ell_p$ noise and remain vulnerable to structurally different attacks. Blurriness serves as a stealthy attack vector because high-magnitude nuclear norm perturbations resemble out-of-focus camera effects rather than suspicious digital artifacts. This allows attackers to use larger, more effective budgets while remaining "non-suspicious" to human observers.

However, the threshold for "imperceptible" blurriness is dataset-dependent, requiring manual tuning of the nuclear norm radius ($\epsilon_{S1}$). Future research should focus on incorporating these structured attacks into adversarial training pipelines. By training models against FWnucl-style perturbations, it may be possible to improve general robustness against a wider array of natural, real-world image corruptions.

Summary updated

BibTeX
@misc{kazemi2021generating,
  author = {Ehsan Kazemi and Thomas Kerdreux and Liquang Wang},
  title = {{Generating Structured Adversarial Attacks Using Frank-Wolfe Method}},
  year = {2021},
  eprint = {2102.07360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.07360},
}
Figure