Perturbations are not Enough: Generating Adversarial Examples with Spatial Distortions

He Zhao, Trung Le, Paul Montague, Olivier Y. de Vel, Tamas Abraham, Dinh PhungarXiv 2019

Abstract

Traditional adversarial attacks primarily rely on additive pixel-level noise, which often faces a trade-off between attack success and visual perceptibility. This paper introduces SdpAdv (Spatial distortion + perturbation Adversary), a novel framework that exploits the geometric fragility of Convolutional Neural Networks (CNNs). By combining subtle affine transformations with minimal additive noise, SdpAdv generates highly effective adversarial examples that remain perceptually indistinguishable to humans while bypassing state-of-the-art defenses designed to mitigate high-frequency perturbations.

Introduction

Most contemporary adversarial research focuses on high-frequency perturbations—tiny amounts of noise added to pixels. While effective against standard classifiers, these attacks are increasingly countered by "denoising" defenses like Defense-GAN or Adversarial Training. Furthermore, to fool robust models, the required noise magnitude often reaches a level where it becomes visible to the human eye.

This work identifies a fundamental vulnerability: CNNs are surprisingly fragile when subjected to basic geometric transformations, such as rotation, scaling, or shearing. Humans are highly tolerant of these distortions; a slightly slanted digit is still perfectly legible. SdpAdv leverages this "geometric frontier" to create realistic adversarial examples that fool machines with significantly less visible noise than traditional methods.

Methodology

SdpAdv utilizes an amortized optimization approach, training a generator to produce attacks in a single forward pass rather than relying on iterative backpropagation per image. The framework consists of two primary stages:

  1. Spatial Distortion Step: A localisation network ($h_{sd}$) predicts parameters ($\theta_x$) for an affine transformation. A grid generator then applies this warping to the input image $x$, resulting in a distorted image $x_T$.
  2. Perturbation Step: A second network ($h_p$) generates a small additive noise map ($\eta_x$) which is added to $x_T$ to produce the final adversarial image $x_A$.
The SdpAdv architecture showing the two-stage process of spatial distortion followed by additive perturbation.

To maintain visual fidelity, the model employs a composite loss function that penalizes large distortions and noise magnitudes, alongside a GAN-based discriminator that ensures the output remains within the original data distribution.

Experimental Results

The researchers evaluated SdpAdv on the MNIST and Fashion MNIST datasets against several robust classifiers, including Defense-GAN and Adversarially Trained (Adv-Train) models.

As shown in the results table below, SdpAdv demonstrates superior performance in breaking robust models. Notably, against an Adversarially Trained classifier on MNIST, SdpAdv reduced accuracy to just 3.3% (0.033), whereas traditional attacks like FGSM only brought it down to 94.8% and PGD (at $\epsilon=0.3$) to 9.26%.

Quantitative comparison of SdpAdv against various baseline attacks and robust classifiers. SdpAdv consistently achieves the lowest accuracy across different defense mechanisms.

Beyond quantitative success, SdpAdv produces images with higher visual fidelity. By shifting the "heavy lifting" of the attack to spatial warping, the method requires much lower pixel-level noise ($\epsilon$) to be effective. Qualitatively, the resulting images appear cleaner and more natural than those generated by noise-only attacks like PGD, which often appear noticeably grainy.

Conclusion

SdpAdv demonstrates that spatial distortions are a potent and often overlooked vector for adversarial attacks. By exploiting the geometric blind spots of CNNs, the framework can bypass defenses specifically tuned for pixel-level noise. Future work may involve extending these techniques to non-rigid deformations and high-resolution datasets like ImageNet to further explore the limits of geometric adversarial robustness.

Summary updated

BibTeX
@misc{zhao2019perturbations,
  author = {He Zhao and Trung Le and Paul Montague and Olivier Y. de Vel and Tamas Abraham and Dinh Phung},
  title = {{Perturbations are not Enough: Generating Adversarial Examples with Spatial Distortions}},
  year = {2019},
  eprint = {1910.01329},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.01329},
}
Figure