Adversarial Example Generation

Nathan InkawhicharXiv 2019

TL;DR

This paper introduces an "adaptive gradient" method for generating adversarial examples that fool deep neural networks with high confidence while maintaining visual similarity to the original images. By adaptively adjusting perturbation intensity, their method effectively navigates decision boundaries and outperforms existing techniques in fooling models with less noticeable pixel modifications.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) have revolutionized fields like computer vision, but they are surprisingly vulnerable to adversarial attacks. These attacks involve adding subtle, often imperceptible, perturbations to input data (like images) that cause DNNs to misclassify them, potentially leading to serious consequences. Many existing adversarial attack methods generate perturbations that are visually obvious, modifying a large number of pixels and significantly altering the original image. This makes the adversarial examples easily detectable and less practical for real-world scenarios. The paper aims to address this by developing an attack method that generates adversarial examples with high fooling probability while minimizing visual distortion, making them harder to detect and more realistic.

Methods

The core contribution of this paper is an adaptive gradient approach for generating adversarial perturbations. Unlike traditional methods that use a fixed gradient update pace, their method dynamically adjusts the perturbation intensity. This is achieved by:

  • Adaptive Gradient Calculation: The paper proposes a mechanism to adapt the gradient update pace. This involves using the square of the loss function's gradient to adjust the step size. The key idea is to slow down the gradient update when approaching the decision boundary to avoid overshooting and to better navigate local minima.
  • Self-Adjusting Perturbation Intensity: The algorithm adaptively seeks the boundary distance between different classes. This self-adjustment helps in escaping local minima during gradient processing and ensures that the generated adversarial examples are close to the decision boundary, thus fooling the model with higher confidence.
  • Iterative Refinement: The method employs an iterative process, similar to existing techniques like FGSM and MI-FGSM, to refine the adversarial perturbations over multiple steps. However, the adaptive nature of the gradient update is applied within these iterations.
  • Norm Constraints: The method considers both $L_\infty$ and $L_2$ norm constraints to limit the magnitude of the perturbations, ensuring that the generated adversarial examples remain visually similar to the original images.

Datasets

The experiments were conducted on the ImageNet dataset, specifically using the ILSVRC2012 (Val) subset, which contains 3000 images.

Key Insights and Ideas

  • Adaptive Pace is Key: The paper highlights that a fixed, steady gradient update pace can lead to missing optimal solutions or getting stuck in local minima. An adaptive pace, which slows down near the decision boundary, is crucial for effectively finding adversarial examples that are both convincing and visually subtle.
  • Visual Similarity Matters: Generating adversarial examples that are visually indistinguishable from the original images is a significant challenge. The proposed adaptive method achieves this by minimizing pixel modifications while still fooling the model, suggesting a more practical approach to adversarial attacks.
  • Transferability Across Models: The proposed method demonstrates good transferability, meaning adversarial examples generated for one model can also fool other deep neural networks, even in black-box scenarios. This suggests the method captures fundamental vulnerabilities in deep learning models.

Key Results

  • Higher Attack Success Rate (ASR): The proposed method consistently achieves higher ASR compared to I-FGSM and MI-FGSM, especially at lower perturbation sizes. For instance, with $L_\infty$ norm constraint, their method reaches higher ASR than the other two methods with perturbation sizes lower than 20.
  • Lower Absolute Mean Perturbation (AMP): The paper quantifies the visual distortion using AMP. Their method shows significantly lower AMP values, indicating less pixel modification and thus more visually similar adversarial examples compared to MI-FGSM.
  • High Cosine Similarity: The cosine similarity between clean and adversarial images remains high, further supporting the visual similarity of the generated examples. This similarity decreases with more iterations, but the adaptive approach helps maintain a better balance.

Limitations and Future Work

  • Focus on Image-Specific Perturbations: The current method generates image-dependent perturbations. The authors suggest that future work will focus on image-independent adversarial attack methods to achieve better universality and transferability.
  • White-box vs. Black-box: While the method shows good performance in both white-box and black-box settings, the paper notes that white-box attacks (where model architecture and parameters are known) generally yield higher attack success rates. Future work could explore further improvements in black-box scenarios.

Summary updated

BibTeX
@misc{inkawhich2019adversarial,
  author = {Nathan Inkawhich},
  title = {{Adversarial Example Generation}},
  year = {2019},
  eprint = {1902.01220},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.01220},
}
Figure