AdvFoolGen: Creating Persistent Troubles for Deep Classifiers

Yuzhen Ding, Nupur Thakur, Baoxin Li

TL;DR

AdvFoolGen is a robust black-box adversarial attack that uses a VAE-GAN architecture to generate "AdvFool" images. Unlike traditional attacks that are easily neutralized by defensive retraining or input transformations, AdvFoolGen greedily explores the natural image feature space to remain effective even against state-of-the-art defenses.

What Problem Does This Paper Address?

The field of adversarial machine learning is a constant "cat-and-mouse" game. While researchers have developed powerful attacks to trick deep neural networks (DNNs), defense mechanisms have kept pace. Techniques like adversarial training (retraining a model on adversarial examples) and input transformations (like JPEG compression or bit-depth reduction) can now defeat most standard attacks.

The authors identify a key weakness in existing attacks: they often "overfit" the target model's decision boundaries or occupy a very narrow, specific "poison" region in the feature space. This makes them easy for a defense mechanism to identify and correct. AdvFoolGen aims to break this cycle by generating diverse adversarial images that are much harder to "box in" with standard defenses.

Methods

AdvFoolGen utilizes a VAE-GAN (Variational Autoencoder + Generative Adversarial Network) framework to generate its attacks.

The AdvFoolGen framework uses a 4-channel input and a VAE-GAN architecture to generate robust adversarial images.

Key technical components include:

  • 4-Channel Input: The generator takes the original 3-channel image plus a 1-channel noise mask. This noise encourages the generator to explore the feature space more broadly.
  • Weighted Multi-Loss Function: The model is trained using four distinct losses:
  • Re-sampling Loss ($L_{re}$): A KL-divergence term that regularizes the latent space.
  • Similarity Loss ($L_s$): Ensures the generated image maintains some resemblance to the original.
  • GAN Loss ($L_{GAN}$): A discriminator ensures the generated images look "natural" enough to stay within the valid feature space.
  • Fooling Loss ($L_{af}$): A novel loss that forces the model's prediction toward the two least likely classes simultaneously. This pushes images into boundary regions where the model is least certain.
  • Black-Box Nature: The attack does not require access to the target model's gradients or parameters, nor does it rely on a specific "substitute model," making it more versatile in real-world scenarios.

Datasets

The authors evaluated their approach on two standard computer vision benchmarks:

  • CIFAR-10: 10 classes of $32 \times 32$ images.
  • TinyImageNet: A subset of ImageNet with 200 classes of $64 \times 64$ images.

Key Insights and Ideas

  • "AdvFool" Images: The authors distinguish their results from standard adversarial images (which aim for imperceptible changes) and fooling images (which look like noise). AdvFool images are visibly morphed but retain recognizable patterns, allowing them to "greedily" occupy the feature space.
  • Boundary Targeting: By targeting the least likely classes, AdvFoolGen places images in regions where original training data rarely occurs. This makes it extremely difficult for a model to "learn" these regions through simple retraining.
  • Feature Space Coverage: Visualization shows that standard attacks like Carlini-Wagner (C&W) cluster in tiny subspaces. In contrast, AdvFoolGen images are highly spread out and lie between class boundaries, explaining their persistence against defenses.
Feature visualization shows AdvFool images (right) are more spread out and lie between classes compared to the tightly clustered C&W attack (left).

Key Results

While AdvFoolGen often has a lower initial fooling ratio than SOTA white-box attacks (e.g., ~78% vs 100% for C&W on clean CIFAR-10), it shines when defenses are applied:

  • Against Adversarial Training (CIFAR-10): Standard attacks like C&W and I-FGSM see their effectiveness drop to ~40% or lower. AdvFoolGen maintains a fooling ratio of 59.5% - 65.2%.
  • Against Input Transformations: On TinyImageNet, AdvFoolGen consistently outperformed all baselines against JPEG compression and Bit-Depth Reduction, often maintaining a fooling ratio 10-20% higher than the next best attack.
  • Persistence: The analysis shows that images generated from different training epochs of AdvFoolGen do not overlap in feature space. This means even if a model is retrained on one set of AdvFool images, it can still be fooled by a set from a different epoch.

Limitations and Future Work

  • Visibility: The perturbations in AdvFool images are visible to the human eye. While the authors argue this is a necessary trade-off for robustness, it may not be suitable for applications requiring total stealth.
  • Human Labeling: Because these images blend features from multiple classes, human labeling is inconsistent, making it difficult to create "ground truth" for defensive retraining.
  • Future Directions: The authors suggest this work could lead to more robust DNN architectures by highlighting the specific vulnerabilities that AdvFoolGen exploits.

Summary updated

BibTeX
@inproceedings{ding2021advfoolgen,
  author = {Yuzhen Ding and Nupur Thakur and Baoxin Li},
  title = {{AdvFoolGen: Creating Persistent Troubles for Deep Classifiers}},
  booktitle = {Iccvw},
  year = {2021},
  doi = {10.1109/iccvw54120.2021.00021},
}
Figure