Towards Imperceptible and Robust Adversarial Example Attacks Against Neural Networks

Bo Luo, Yannan Liu, Lingxiao Wei, Qiang Xu

Abstract

Adversarial examples—inputs intentionally perturbed to fool machine learning models—pose a significant security risk to systems like autonomous driving and medical diagnosis. However, existing attack generation methods often produce visible artifacts or fail when subjected to real-world image transformations. This paper introduces a novel method for crafting adversarial examples that are both highly robust to noise and nearly imperceptible to the human eye. By replacing standard $L_p$ distance metrics with a human perceptual metric based on local image variance and maximizing the "probability gap" between the target class and all other classes, the proposed approach generates attacks that survive transformations like JPEG compression and blurring while remaining stealthy to human observers.

Introduction

Traditional adversarial attacks, such as the Fast Gradient Sign Method (FGSM) or Jacobian-based Saliency Map Attack (JSMA), rely on simple mathematical distances ($L_0, L_2, L_\infty$ norms) to limit perturbations. These metrics treat every pixel equally, ignoring the fact that human perception is highly sensitive to changes in smooth, uniform backgrounds but relatively insensitive to changes in textured areas. Furthermore, many digital adversarial examples are brittle; routine transformations like image compression or transmission noise can easily destroy the delicate perturbations, causing the attack to fail in physical-world applications.

Methodology

To address these limitations, the authors propose a two-pronged approach focusing on imperceptibility and robustness.

Human Perceptual Distance Metric

Leveraging "contrast masking" theory from image processing, the authors calculate the variance of a $3 \times 3$ region around each pixel. Pixels in low-variance (smooth) regions are assigned high "perturbation sensitivity," while pixels in high-variance (textured) regions receive low sensitivity. The total perceptual distance is the sum of perturbations weighted by this sensitivity, forcing the optimization to hide changes in complex areas of the image.

Illustration of perturbation sensitivity: perturbations in textured areas (middle) are less visible than those in smooth areas (right).

Maximizing the Probability Gap

To ensure robustness, the attack is optimized to maximize the "probability gap"—the difference between the target class probability and the maximum probability of all other classes. This creates a "buffer" that allows the adversarial classification to persist even after lossy transformations or noise injection.

The probability gap acts as a buffer; a larger initial gap (Adversarial 1) allows the attack to survive JPEG compression, whereas a smaller gap (Adversarial 2) fails.

Optimization Algorithm

The authors use a greedy optimization algorithm that calculates a "perturbation priority" for each pixel, defined as the gradient of the probability gap divided by the pixel's perceptual sensitivity. Because the "max" function in the probability gap is non-differentiable, it is smoothed using a log-sum-exp approximation.

Experimental Evaluation

The approach was evaluated on the MNIST and CIFAR10 datasets.

  • Imperceptibility: On CIFAR10, the proposed method achieved an average perceptual distance of 51.98, significantly lower than L-BFGS (58.23), FGSM (78.23), and JSMA (92.25). Qualitatively, the generated images are virtually indistinguishable from the originals.
  • Robustness to Transformations: When subjected to JPEG compression, the proposed method maintained a 76% success rate, compared to just 52.3% for FGSM.
  • Resilience to Noise: Under severe Gaussian noise (std = 0.25), the method retained a 62% attack success rate, while baseline methods averaged only 26% success.

Conclusion

By prioritizing perturbations in textured regions and maximizing the probability gap, adversarial attacks can be made both stealthier and more resilient to environmental noise. While the current evaluation relies on digital simulations of physical phenomena, the results suggest a significant step toward more effective real-world adversarial examples. Future work may involve testing against actual physical printouts and refining the manual threshold tuning required for the perceptual distance metric.

Summary updated

BibTeX
@inproceedings{luo2018towards,
  author = {Bo Luo and Yannan Liu and Lingxiao Wei and Qiang Xu},
  title = {{Towards Imperceptible and Robust Adversarial Example Attacks Against Neural Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11499},
}
Figure