mlsanityData to 7 Oct 2026

The Devil is in the GAN: Backdoor Attacks and Defenses in Deep Generative Models

arXiv 2108.01644 ↗First posted 3 Aug 2021cs.CR cs.AI cs.LGcited by 12

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Deep Generative Models (DGMs) are a popular class of deep learning models which find widespread use because of their ability to synthesize data from complex, high-dimensional manifolds. However, even with their increasing industrial adoption, they haven't been subject to rigorous security and privacy analysis. In this work we examine one such aspect, namely backdoor attacks on DGMs which can significantly limit the applicability of pre-trained models within a model supply chain and at the very least cause massive reputation damage for companies outsourcing DGMs form third parties. While similar attacks scenarios have been studied in the context of classical prediction models, their manifestation in DGMs hasn't received the same attention. To this end we propose novel training-time attacks which result in corrupted DGMs that synthesize regular data under normal operations and designated target outputs for inputs sampled from a trigger distribution. These attacks are based on an adversarial loss function that combines the dual objectives of attack stealth and fidelity. We systematically analyze these attacks, and show their effectiveness for a variety of approaches like Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs), as well as different data domains including images and audio. Our experiments show that - even for large-scale industry-grade DGMs (like StyleGAN) - our attacks can be mounted with only modest computational effort. We also motivate suitable defenses based on static/dynamic model and output inspections, demonstrate their usefulness, and prescribe a practical and comprehensive defense strategy that paves the way for safe usage of DGMs.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 36 of its 56 references that are in the map. First posted on arXiv 3 Aug 2021.

Builds on

36 of 56 references.

References · 36

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  3. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
  4. 2016Improved Techniques for Training GANscited by 2,938
  5. 2014Conditional Generative Adversarial Netscited by 2,152
  6. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
  7. 2016Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Networkcited by 1,898
  8. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  9. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  10. 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
  11. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
  12. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
24 more
  1. 2014Semi-Supervised Learning with Deep Generative Modelscited by 494
  2. 2017Towards Principled Methods for Training Generative Adversarial Networkscited by 460
  3. 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 459
  4. 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 429
  5. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 411
  6. 2017The Effectiveness of Data Augmentation in Image Classification using Deep Learningcited by 368
  7. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  8. 2018Everybody Dance Nowcited by 313
  9. 2016NIPS 2016 Tutorial: Generative Adversarial Networkscited by 284
  10. 2021Deep Generative Modelling: A Comparative Review of VAEs, GANs, Normalizing Flows, Energy-Based and Autoregressive Modelscited by 251
  11. 2018Adversarial Audio Synthesiscited by 222
  12. 2017Generating Multi-label Discrete Patient Records using Generative Adversarial Networkscited by 197
  13. 2018FairGAN: Fairness-aware Generative Adversarial Networkscited by 164
  14. 2019Reconstruction and Membership Inference Attacks against Generative Modelscited by 122
  15. 2018GAN Augmentation: Augmenting Training Data using Generative Adversarial Networkscited by 107
  16. 2017Adversarial examples for generative modelscited by 58
  17. 2017Continual Learning in Generative Adversarial Netscited by 51
  18. 2017Adversarial Ranking for Language Generationcited by 50
  19. 2019Compressing GANs using Knowledge Distillationcited by 31
  20. 2020BAAAN: Backdoor Attacks Against Autoencoder and GAN-Based Machine Learning Modelscited by 23
  21. 2020Hijack-GAN: Unintended-Use of Pretrained, Black-Box GANscited by 23
  22. 2017LatentPoison - Adversarial Attacks On The Latent Spacecited by 9
  23. 2020Self-Supervised GAN Compressioncited by 6
  24. 2019Brain MRI Tumor Segmentation with Adversarial Networkscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 2; 2024: 2; 2025: 5; 2026: 2.

12 papers.