BadBlocks: Low-Cost and Stealthy Backdoor Attacks Tailored for Text-to-Image Diffusion Models
On the map: Diffusion models → Robustness, privacy and adversarial aspects
also in 1 more
Abstract (arXiv)
Despite the remarkable progress of diffusion models in image generation, recent studies reveal their vulnerability to backdoor attacks via covert visual or textual triggers. Although evolving defense mechanisms can detect most existing threats through visual inspection or feature analysis, we introduce BadBlocks-a novel, lightweight, and highly covert attack that challenges these safeguards. By selectively poisoning specific blocks within the UNet architecture while keeping other components intact, BadBlocks requires only 30% of the computational resources and 20% of the GPU time of conventional attacks, effectively democratizing backdoor injection on consumer-grade GPUs. Empirical evaluations demonstrate that BadBlocks achieves a high attack success rate with negligible perceptual quality loss, while successfully bypassing state-of-the-art defenses, particularly attention-based detection frameworks. Layer-level ablation studies further confirm that backdoor mapping does not require full-network fine-tuning, revealing the disparate vulnerability of different neural layers. Overall, BadBlocks significantly lowers the barrier for executing backdoor attacks, presenting a critical security risk. Our code is available at: https://github.com/paoche11/BadBlocks.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 38 of its 46 references that are in the map. First posted on arXiv 5 Aug 2025.
Builds on
38 of 46 references.
Closest ancestors · 11
Same direction, newest first
- 2025Gungnir: Exploiting Stylistic Features in Images for Backdoor Attacks on Diffusion Models28 Feb
- 2025A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Models26 Feb
- 2024TERD: A Unified Framework for Safeguarding Diffusion Models Against Backdoors9 Sep
- 2024Attacks and Defenses for Generative Diffusion Models: A Comprehensive Survey6 Aug
- 2024Diff-Cleanse: Identifying and Mitigating Backdoor Attacks in Diffusion Models31 Jul
- 2024T2IShield: Defending Against Backdoors on Text-to-Image Diffusion Models5 Jul
- 2023Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution Shift27 Nov
- 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun
- 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
- 2023TrojDiff: Trojan Attacks on Diffusion Models with Diverse Targets10 Mar
- 2022How to Backdoor Diffusion Models?11 Dec
Other references · 27
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
- 2018Group Normalizationcited by 1,524
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,464
15 more
- 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,114
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
- 2022Diffusion Models in Vision: A Surveycited by 1,015
- 2020Backdoor Learning: A Surveycited by 426
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 353
- 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 324
- 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 211
- 2023DPM-Solver-v3: Improved Diffusion ODE Solver with Empirical Model Statisticscited by 161
- 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 151
- 2023Composite Backdoor Attacks Against Large Language Modelscited by 73
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
- 2023Localizing and Editing Knowledge in Text-to-Image Generative Modelscited by 54
- 2022Bidirectional Language Models Are Also Few-shot Learnerscited by 48
- 2023Backdoor Attacks Against Deep Image Compression via Adaptive Frequency Triggercited by 40
- 2023BAGM: A Backdoor Attack for Manipulating Text-to-Image Generative Modelscited by 37
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Practical, Generalizable and Robust Backdoor Attacks on Text-to-Image Diffusion Models
- 2026BadRSSD: Backdoor Attacks on Regularized Self-Supervised Diffusion Models
- 2025BadGraph: A Backdoor Attack Against Latent Diffusion Model for Text-Guided Graph Generation
- 2026Tuning Just Enough: Lightweight Backdoor Attacks on Multi-Encoder Diffusion Models
- 2025Trigger without Trace: Towards Stealthy Backdoor Attack on Text-to-Image Diffusion Models
- 2025Backdoor Defense in Diffusion Models via Spatial Attention Unlearning
- 2024Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
- 2024Invisible Backdoor Attacks on Diffusion Models