Attack to Fool and Explain Deep Networks

Naveed Akhtar, Mohammad A. A. K. Jalwana, Mohammed Bennamoun, Ajmal Mian

Abstract

Adversarial perturbations are traditionally viewed as meaningless noise that exploits the brittle, non-robust features of deep neural networks. This paper challenges that perspective by introducing a novel attack framework that optimizes perturbations over a distribution of images rather than single instances. By incorporating a "leakage suppression" mechanism, the authors demonstrate that adversarial signals are not random; instead, they contain human-meaningful geometric patterns that represent the primitive features a model associates with specific classes. This work provides a dual-purpose tool for both surgical adversarial attacks and model interpretability.

Introduction

In computer vision, adversarial examples are a well-known vulnerability where imperceptible noise can trick state-of-the-art models into misclassification. This phenomenon is often attributed to a "misalignment" between human perception and the non-robust features used by deep networks.

This research addresses two critical gaps in this field. First, it moves beyond image-specific attacks toward "pragmatic fooling," where a model is forced to misclassify an entire category (e.g., all cats) into a target label (e.g., toasters) without affecting unrelated classes. Second, it investigates model interpretability: if adversarial signals are truly misaligned, why do they consistently trigger specific class responses? The authors hypothesize that these signals are actually "ghostly" versions of the features the model has learned to associate with the target class.

Methodology

The proposed framework utilizes two primary algorithms to achieve its goals of fooling and explaining.

Overview of the "Attack to Fool" (left) and "Attack to Explain" (right) frameworks.

Algorithm 1: Attack to Fool

This algorithm employs a stochastic gradient-based search optimized over a distribution of source images. Unlike standard universal attacks, it includes a leakage suppression mechanism. This mechanism calculates gradients that simultaneously increase the probability of the target label for the source class while ensuring the model maintains high confidence in its correct predictions for non-source classes. This allows for a surgical attack that only affects the intended category.

Algorithm 2: Perturbation Refinement

To extract human-interpretable patterns, the authors use the convolutional layers of the target model to create a spatial filter. This refinement mask focuses adversarial energy on the most salient regions, effectively distilling the visual features the model associates with a label. The authors distinguish between constrained attacks (limited by small norms to remain invisible) and unbounded attacks, which are allowed to grow until they reveal recognizable geometric structures.

Adversarial Perturbations as "Primitive Features"

A central insight of this work is that when an attack is broadened to a whole class, recognizable patterns emerge. For instance, an attack designed to turn images into "Centipedes" begins to manifest leg-like structures and segmented textures within the noise.

The evolution of adversarial perturbations into human-interpretable features over 1100 iterations.

This suggests that AI and human vision are more aligned than previously thought; the AI is simply responding to highly "primitive" versions of object features. Furthermore, the paper demonstrates that models trained to be "adversarially robust" (e.g., via PGD training) generate significantly more photorealistic and coherent perturbations than standard models, acting as effective feature generators.

Key Results

  • High Fooling Efficacy: On the ImageNet benchmark, the attack achieved fooling ratios between 70% and 90% across architectures including VGG-16, ResNet-50, and Inception-V3. Crucially, "leakage" to non-target classes remained low due to the suppression mechanism.
  • Physical World Transfer: The perturbations are not merely digital artifacts. The authors successfully fooled live webcam streams and mobile camera video by printing adversarial images, proving the robustness of the generated signals.
  • Superior Image Manipulation: When applied to tasks like inpainting or image generation, the method outperformed existing state-of-the-art techniques, producing higher confidence scores and superior visual quality as measured by PSNR and SSIM.

Conclusion and Future Work

By flipping the script on adversarial noise, this research transforms a security vulnerability into a powerful diagnostic tool. While the refinement process is currently model-specific and computationally intensive, it opens new doors for understanding the internal representations of deep networks. Future work may focus on extracting clearer semantic meanings from standard, non-robust classifiers using more sophisticated external mechanisms.

Summary updated

BibTeX
@article{akhtar2021attack,
  author = {Naveed Akhtar and Mohammad A. A. K. Jalwana and Mohammed Bennamoun and Ajmal Mian},
  title = {{Attack to Fool and Explain Deep Networks}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2021},
  doi = {10.1109/tpami.2021.3083769},
}
Figure