Ask, Acquire, and Attack: Data-Free UAP Generation Using Class Impressions

Konda Reddy Mopuri, Phani Krishna Uppala, R. Venkatesh Babu

Deep learning models are notoriously susceptible to adversarial perturbations—carefully crafted noise that causes misclassification. While most attacks are input-specific, Universal Adversarial Perturbations (UAPs) are even more potent: a single noise pattern that can fool a model across a wide range of different inputs. Traditionally, crafting effective UAPs required access to the original training data. However, the paper "Ask, Acquire, and Attack" (ECCV 2018) introduces a novel "data-free" approach that generates high-quality UAPs by interrogating the target model itself.

The Challenge of Data-Free Attacks

The primary hurdle in data-free adversarial research is the lack of a representative data distribution. Data-driven methods use real samples (like ImageNet) to find the model's vulnerabilities. Existing data-free methods often struggle because they don't have a good proxy for what the model "sees." This paper bridges that gap by extracting "Class Impressions"—synthetic representations of object categories—directly from the target classifier.

Methodology: The Two-Stage Framework

The proposed approach operates in two distinct phases: acquiring class-specific knowledge and then using that knowledge to train a perturbation generator.

Overview of the two-stage data-free UAP generation process

Stage-I: Ask and Acquire (Class Impression Generation)

In this stage, the researchers "interrogate" the target model (TC) to understand its internal representations. They start with random noise and use optimization to modify it until the model classifies it as a specific target category with high confidence.

Unlike previous attempts that optimized for final probability scores, this method optimizes the pre-softmax logits. This subtle change allows for the recovery of more detailed textures and features, creating "Class Impressions" that serve as effective proxies for real images.

Examples of generated Class Impressions for various ImageNet categories

Stage-II: Attack (Perturbation Generation)

With a set of Class Impressions (e.g., 10 per class for ImageNet), the authors train a Generative Network ($G$) to produce UAPs.

  • Generator Training: The generator $G$ takes a latent vector $z$ and produces a perturbation. This perturbation is added to the Class Impressions.
  • Loss Functions: The training objective includes a Fooling Loss, which encourages the model to misclassify the perturbed impressions, and a Diversity Loss, which ensures the generator doesn't collapse into producing a single type of noise.

Key Insights

  • Models as Knowledge Bases: A trained classifier is essentially a compressed version of its training set. By "hallucinating" what the model expects, attackers can bypass the need for raw data.
  • Logit Optimization: Using raw scores (logits) instead of squashed probabilities (softmax) preserves the gradient information necessary to reconstruct complex class features.
  • Generative Efficiency: Once the generator is trained, creating a new, effective UAP is a near-instantaneous feed-forward operation, unlike optimization-based attacks that must be re-run for every new perturbation.

Experimental Results

The researchers evaluated their method on the ILSVRC (ImageNet) benchmark using various architectures like VGG and ResNet.

  • State-of-the-Art Performance: The data-free method achieved a mean fooling rate of 76.41%. This significantly outperforms previous data-free benchmarks (~56%) and narrows the gap with data-driven methods (which achieve ~84%).
  • Cross-Model Transferability: UAPs generated for one architecture were found to be highly effective against others, demonstrating that these "class impressions" capture fundamental vulnerabilities shared across different neural networks.
  • Robustness to Defense: The attacks remained effective even against models protected by standard adversarial training, highlighting a deep-seated vulnerability in current deep learning paradigms.

Conclusion

"Ask, Acquire, and Attack" demonstrates that the privacy of training data does not guarantee security against universal adversarial attacks. By leveraging the model's own internal knowledge, attackers can craft potent perturbations that rival those created with full data access. This work underscores the need for more robust defensive strategies that go beyond simple data-driven adversarial training.

Summary updated

BibTeX
@inproceedings{mopuri2018ask,
  author = {Konda Reddy Mopuri and Phani Krishna Uppala and R. Venkatesh Babu},
  title = {{Ask, Acquire, and Attack: Data-Free UAP Generation Using Class Impressions}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=HyVxMcW_bH},
}
Figure