From Trojan Horses to Castle Walls: Unveiling Bilateral Data Poisoning Effects in Diffusion Models
On the map: Diffusion models → Robustness, privacy and adversarial aspects
also in 1 more
Abstract (arXiv)
While state-of-the-art diffusion models (DMs) excel in image generation, concerns regarding their security persist. Earlier research highlighted DMs' vulnerability to data poisoning attacks, but these studies placed stricter requirements than conventional methods like `BadNets' in image classification. This is because the art necessitates modifications to the diffusion training and sampling procedures. Unlike the prior work, we investigate whether BadNets-like data poisoning methods can directly degrade the generation by DMs. In other words, if only the training dataset is contaminated (without manipulating the diffusion process), how will this affect the performance of learned DMs? In this setting, we uncover bilateral data poisoning effects that not only serve an adversarial purpose (compromising the functionality of DMs) but also offer a defensive advantage (which can be leveraged for defense in classification tasks against poisoning attacks). We show that a BadNets-like data poisoning attack remains effective in DMs for producing incorrect images (misaligned with the intended text conditions). Meanwhile, poisoned DMs exhibit an increased ratio of triggers, a phenomenon we refer to as `trigger amplification', among the generated images. This insight can be then used to enhance the detection of poisoned training data. In addition, even under a low poisoning ratio, studying the poisoning effects of DMs is also valuable for designing robust image classifiers against such attacks. Last but not least, we establish a meaningful linkage between data poisoning and the phenomenon of data replications by exploring DMs' inherent data memorization tendencies.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 34 of its 44 references that are in the map. First posted on arXiv 4 Nov 2023.
Builds on
34 of 44 references.
Closest ancestors · 8
Same direction, newest first
- 2023Leveraging Diffusion-Based Image Variations for Robust Training on Poisoned Data10 Oct
- 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun
- 2023Robust Classification via a Single Diffusion Model24 May
- 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
- 2023TrojDiff: Trojan Attacks on Diffusion Models with Diverse Targets10 Mar
- 2023Salient Conditional Diffusion for Defending Against Backdoor Attacks31 Jan
- 2023Extracting Training Data from Diffusion Models30 Jan
- 2022How to Backdoor Diffusion Models?11 Dec
Other references · 26
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 924
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
14 more
- 2018How To Backdoor Federated Learningcited by 745
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
- 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 418
- 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 301
- 2023Understanding and Mitigating Copying in Diffusion Modelscited by 205
- 2022A Self-Supervised Descriptor for Image Copy Detectioncited by 175
- 2020Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defensescited by 171
- 2020Backdoor Attacks to Graph Neural Networkscited by 126
- 2020Practical Detection of Trojan Neural Networks: Data-Limited and Data-Free Casescited by 93
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
- 2023Black-box Backdoor Defense via Zero-shot Image Purificationcited by 44
- 2020BAAAN: Backdoor Attacks Against Autoencoder and GAN-Based Machine Learning Modelscited by 23
- 2023Distilling Cognitive Backdoor Patterns within an Imagecited by 20
- 2022Quarantine: Sparsity Can Uncover the Trojan Attack Trigger for Freecited by 15
Built on by
Citing papers per year: 2025: 6; 2026: 3.
9 papers.
- 2025ForgetMe: Evaluating Selective Forgetting in Generative Modelscited by 11
- 2025BackdoorDM: A Comprehensive Benchmark for Backdoor Learning on Diffusion Modelcited by 7
- 2025A Linear Approach to Data Poisoningcited by 2
- 2025BadReward: Clean-Label Poisoning of Reward Models in Text-to-Image RLHFcited by 2
- 2025HMARK: Radioactive Multi-Bit Semantic-Latent Watermarking for Diffusion Modelscited by 2
- 2026Safety-Efficacy Trade Off: Robustness against Data-Poisoningcited by 1
- 2026BlackMirror: Black-Box Backdoor Detection for Text-to-Image Models via Instruction-Response Deviationcited by 1
- 2025Attacks on Approximate Caches in Text-to-Image Diffusion Modelscited by 0
- 2026When One Modality Rules Them All: Backdoor Modality Collapse in Multimodal Diffusion Modelscited by 0
- 2026When One Modality Rules Them All: Backdoor Modality Collapse in Multimodal Diffusion Models6 Mar 2026
- 2026BlackMirror: Black-Box Backdoor Detection for Text-to-Image Models via Instruction-Response Deviation6 Mar 2026
- 2026Safety-Efficacy Trade Off: Robustness against Data-Poisoning31 Jan 2026
- 2025HMARK: Radioactive Multi-Bit Semantic-Latent Watermarking for Diffusion Models26 Nov 2025
- 2025Attacks on Approximate Caches in Text-to-Image Diffusion Models28 Aug 2025
- 2025BadReward: Clean-Label Poisoning of Reward Models in Text-to-Image RLHF3 Jun 2025
- 2025A Linear Approach to Data Poisoning21 May 2025
- 2025ForgetMe: Evaluating Selective Forgetting in Generative Models17 Apr 2025
- 2025BackdoorDM: A Comprehensive Benchmark for Backdoor Learning on Diffusion Model17 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024Attacks and Defenses for Generative Diffusion Models: A Comprehensive Survey
- 2024Adversarial Examples are Misaligned in Diffusion Model Manifolds
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now
- 2025Beyond Classification: Evaluating Diffusion Denoised Smoothing for Security-Utility Trade off
- 2025When and Where do Data Poisons Attack Textual Inversion?
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Survey
- 2023Intriguing Properties of Diffusion Models: An Empirical Study of the Natural Attack Capability in Text-to-Image Generative Models
- 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Models