Adversarial Attack Type I: Cheat Classifiers by Significant Changes

Sanli Tang, Xiaolin Huang, Mingjian Chen, Chengjin Sun, Jie Yang

TL;DR

This paper introduces a new type of adversarial attack, "Type I," that significantly alters an input image while tricking a classifier into believing it's the same as the original. Unlike existing "Type II" attacks that use subtle changes, Type I attacks exploit a classifier's over-stability, demonstrating a crucial difference in how neural networks can be fooled and highlighting the need for more robust evaluation and defense strategies.

What Problem Does This Paper Address?

Deep neural networks (DNNs) have achieved remarkable success in various tasks, but they are also known to be vulnerable to adversarial attacks. Existing adversarial attacks, termed "Type II," exploit a classifier's over-sensitivity by making small, often imperceptible, perturbations to an input that cause a misclassification. However, this leaves a gap: what about attacks that cause significant changes to an input, yet the classifier still misclassifies it as the original class? This "Type I" error, where a classifier is over-stable and fails to detect substantial alterations, is equally important for understanding DNN robustness. The paper aims to address this gap by proposing a novel Type I adversarial attack and demonstrating its effectiveness and distinct characteristics compared to Type II attacks.

Methods

The core of the proposed Type I attack relies on generating adversarial examples by manipulating the latent space of a generative model. The authors introduce a Supervised Variational Autoencoder (SVAE) as a key component. The SVAE is trained to encode input images into a latent space, and its decoder reconstructs images from these latent variables. Crucially, the SVAE is trained with a supervised component from an "attacker" model (f2) to guide the generation of new labels.

The attack process involves:

  1. Encoding: An input image x is encoded into a latent representation z.
  2. Latent Space Manipulation: The latent variable z is iteratively updated using gradients from both the attacked classifier (f1) and the attacker model (f2). The objective is to change the output of f2 significantly while keeping the output of f1 unchanged.
  3. Decoding: The modified latent variable z' is passed through the decoder to generate a new image x'.
  4. Discriminator: A discriminator is used to ensure that the manipulated latent variables remain within the learned manifold, preventing unrealistic image generation.

The authors also explore Type I attacks directly on the latent space using pre-trained generative models like AC-GAN and StyleGAN, bypassing the need for an encoder.

Datasets

The paper uses the following datasets:

  • MNIST: For digit classification tasks.
  • CelebA: For face recognition and gender classification tasks.

Key Insights and Ideas

  • Two Sides of the Same Coin: Adversarial attacks can be categorized into Type I (false positives, over-stability) and Type II (false negatives, over-sensitivity). Both are crucial for a comprehensive understanding of classifier robustness.
  • Latent Space is Key: Manipulating the latent space of generative models is an effective strategy for Type I attacks, allowing for significant visual changes while maintaining the original classification.
  • SVAE as a Generator: The proposed Supervised Variational Autoencoder (SVAE) effectively bridges the gap between an attacker's desired label and the original classifier's output by operating in the latent space.
  • Defense Mismatch: Defense mechanisms designed for Type II attacks (e.g., feature squeezing) are largely ineffective against Type I attacks, highlighting their fundamentally different nature. Similarly, strengthening a classifier against one type of attack doesn't necessarily improve robustness against the other.
  • Over-stability vs. Over-sensitivity: Type I attacks exploit over-stability (ignoring significant changes), while Type II attacks exploit over-sensitivity (reacting to minor perturbations).

Key Results

  • Successful Type I Attacks: The proposed SVAE-based method successfully generated Type I adversarial examples on MNIST and CelebA datasets. These examples showed significant visual changes but were misclassified by the attacked classifier as the original class.
  • Defense Evasion: Generated Type I adversarial examples largely bypassed feature squeezing defenses, which are effective against Type II attacks.
  • Transferability of Defenses: Strengthening a classifier against Type II attacks (e.g., FGSM, PGD) did not significantly improve its robustness to Type I attacks, and vice-versa.
  • Latent Space Attacks: Type I attacks were also demonstrated on latent spaces using AC-GAN and StyleGAN, showing that the attack is not limited to image-level manipulation. For instance, generated digits from AC-GAN were visually distinct but classified as the same by LeNet.

Limitations and Future Work

  • Generative Model Dependency: The effectiveness of Type I attacks on latent spaces relies on the quality and controllability of the generative models used.
  • Targeted vs. Untargeted: While the paper demonstrates untargeted Type I attacks (changing to any other class while fooling f1), controlling the specific target class for Type I attacks, especially with complex generative models like StyleGAN, remains an area for future exploration.
  • Attack Control: The paper notes that with StyleGAN, the attack direction (e.g., male to female or vice-versa) is not directly controlled, suggesting future work in achieving more targeted latent space manipulations.
  • Broader Applicability: The authors suggest that other architectures with auto-encoder and generative capabilities could also be used for Type I attacks, opening avenues for further research in classifier evaluation, re-training, and feature analysis.

Summary updated

BibTeX
@article{tang2021adversarial,
  author = {Sanli Tang and Xiaolin Huang and Mingjian Chen and Chengjin Sun and Jie Yang},
  title = {{Adversarial Attack Type I: Cheat Classifiers by Significant Changes}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2021},
  url = {https://openreview.net/forum?id=PrYiI-MGni},
}
Figure