Skip to main content
QUICK REVIEW

[Paper Review] Robust Feature-Level Adversaries are Interpretability Tools

Stephen Casper, Max Nadeau|arXiv (Cornell University)|Oct 7, 2021
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

This paper proposes robust feature-level adversarial examples that are interpretable and highly versatile, enabling targeted, universal, disguised, physically-realizable, and black-box attacks at ImageNet scale. By manipulating latent representations of image generators, the method produces adversarial features that are perceptible and describable (e.g., colored circles), which can be used to diagnose brittle feature-class associations and design effective copy/paste attacks, demonstrating strong diagnostic utility for model interpretability.

ABSTRACT

The literature on adversarial attacks in computer vision typically focuses on pixel-level perturbations. These tend to be very difficult to interpret. Recent work that manipulates the latent representations of image generators to create "feature-level" adversarial perturbations gives us an opportunity to explore perceptible, interpretable adversarial attacks. We make three contributions. First, we observe that feature-level attacks provide useful classes of inputs for studying representations in models. Second, we show that these adversaries are uniquely versatile and highly robust. We demonstrate that they can be used to produce targeted, universal, disguised, physically-realizable, and black-box attacks at the ImageNet scale. Third, we show how these adversarial images can be used as a practical interpretability tool for identifying bugs in networks. We use these adversaries to make predictions about spurious associations between features and classes which we then test by designing "copy/paste" attacks in which one natural image is pasted into another to cause a targeted misclassification. Our results suggest that feature-level attacks are a promising approach for rigorous interpretability research. They support the design of tools to better understand what a model has learned and diagnose brittle feature associations. Code is available at https://github.com/thestephencasper/feature_level_adv

Motivation & Objective

  • To develop adversarial attacks that are interpretable to humans, moving beyond imperceptible pixel-level perturbations.
  • To create robust, versatile adversarial examples that generalize across diverse conditions, including physical-world deployment.
  • To use these adversarial examples as practical interpretability tools for diagnosing spurious feature-class associations in deep neural networks.
  • To validate the diagnostic power of these attacks through targeted copy/paste attacks that exploit learned model weaknesses.

Proposed method

  • The method generates adversarial features by optimizing the latent codes of a pre-trained image generator to produce visually coherent, high-level features that mislead a target classifier.
  • It enforces adversarial success not only through small perturbations but also via regularization that makes the adversarial feature disguised (e.g., resembling a traffic light) and perceptually plausible.
  • The approach supports multiple attack types: targeted, universal, physically-realizable, and black-box attacks by leveraging the generator’s ability to synthesize diverse, realistic image patches.
  • It introduces a novel evaluation paradigm using 'copy/paste' attacks, where adversarial patches are pasted into natural images to test real-world misclassification under naturalistic conditions.
  • The method leverages a pre-trained GAN-based generator (e.g., StyleGAN) to synthesize adversarial features while preserving image quality and semantic coherence.
  • It combines adversarial loss with perceptual and disguise regularization to ensure the generated features are both effective and human-describable.

Experimental results

Research questions

  • RQ1Can feature-level adversarial examples be made robust and versatile enough to support targeted, universal, and physically-realizable attacks at ImageNet scale?
  • RQ2To what extent can interpretable, human-describable adversarial features reveal brittle or spurious feature-class associations in deep neural networks?
  • RQ3Can adversarial examples generated via latent space manipulation be used to design effective copy/paste attacks that exploit model vulnerabilities in natural image contexts?
  • RQ4How do these feature-level adversaries compare to traditional pixel-level attacks in terms of diagnostic utility for model interpretability?
  • RQ5Can such adversarial examples be used to identify and verify socially harmful biases or model failures in a systematic, reproducible way?

Key findings

  • The method successfully generates feature-level adversarial patches that are perceptually coherent and easily describable, such as colored circles, which cause a ResNet50 model to misclassify a bee as a fly with 97% confidence.
  • A copy/paste attack using a generated adversarial patch (e.g., a traffic light) inserted into a bee image increased the model’s confidence in the wrong class from 55% to 97%, validating the practical exploitability of the adversarial features.
  • The attacks demonstrated robustness across diverse conditions, including different backgrounds, viewing angles, and physical deployments, confirming their physical realizability and universality.
  • The adversarial examples revealed a spurious association between the presence of a traffic light and the misclassification of bees as flies, which was later confirmed through targeted copy/paste experiments.
  • Adversarial training on these feature-level examples improved model robustness, suggesting their value for enhancing general adversarial robustness beyond pixel-level attacks.
  • The approach enabled the discovery of socially harmful biases, such as a model’s over-reliance on specific visual patterns, which were diagnosed and verified using the interpretability framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.