Backdoor Defense in Diffusion Models via Spatial Attention Unlearning
On the map: Diffusion models → Robustness, privacy and adversarial aspects
also in 1 more
Abstract (arXiv)
Text-to-image diffusion models are increasingly vulnerable to backdoor attacks, where malicious modifications to the training data cause the model to generate unintended outputs when specific triggers are present. While classification models have seen extensive development of defense mechanisms, generative models remain largely unprotected due to their high-dimensional output space, which complicates the detection and mitigation of subtle perturbations. Defense strategies for diffusion models, in particular, remain under-explored. In this work, we propose Spatial Attention Unlearning (SAU), a novel technique for mitigating backdoor attacks in diffusion models. SAU leverages latent space manipulation and spatial attention mechanisms to isolate and remove the latent representation of backdoor triggers, ensuring precise and efficient removal of malicious effects. We evaluate SAU across various types of backdoor attacks, including pixel-based and style-based triggers, and demonstrate its effectiveness in achieving 100% trigger removal accuracy. Furthermore, SAU achieves a CLIP score of 0.7023, outperforming existing methods while preserving the model's ability to generate high-quality, semantically aligned images. Our results show that SAU is a robust, scalable, and practical solution for securing text-to-image diffusion models against backdoor attacks.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 27 of its 33 references that are in the map. First posted on arXiv 21 Apr 2025.
Builds on
27 of 33 references.
Closest ancestors · 14
Same direction, newest first
- 2024Meta-Unlearning on Diffusion Models: Preventing Relearning Unlearned Concepts16 Oct
- 2024TERD: A Unified Framework for Safeguarding Diffusion Models Against Backdoors9 Sep
- 2024Diff-Cleanse: Identifying and Mitigating Backdoor Attacks in Diffusion Models31 Jul
- 2024Unlearning Concepts in Diffusion Model via Concept Domain Correction and Concept Preserving Gradient24 May
- 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
- 2023DataElixir: Purifying Poisoned Dataset to Mitigate Backdoor Attacks via Diffusion Models18 Dec
- 2023Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution Shift27 Nov
- 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun
- 2023Personalization as a Shortcut for Few-Shot Backdoor Attack against Text-to-Image Diffusion Models18 May
- 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
- 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
- 2023Erasing Concepts from Diffusion Models13 Mar
2 more
Other references · 13
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
- 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,114
- 2019Machine Unlearningcited by 1,061
- 2022Exploring CLIP for Assessing the Look and Feel of Imagescited by 991
- 2023Unleashing Text-to-Image Diffusion Models for Visual Perceptioncited by 269
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 86
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
- 2024Diffusion-Based Visual Art Creation: A Survey and New Perspectivescited by 17
1 more
- 2023Feature Unlearning for Pre-trained GANs and VAEscited by 16
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Scaling Exposes the Trigger: Input-Level Backdoor Detection in Text-to-Image Diffusion Models via Cross-Attention Scaling
- 2026Learning Normal Diffusion Dynamics for Backdoor Defense in Text-to-Image Models
- 2025Trigger without Trace: Towards Stealthy Backdoor Attack on Text-to-Image Diffusion Models
- 2023Leveraging Diffusion-Based Image Variations for Robust Training on Poisoned Data
- 2024T2IShield: Defending Against Backdoors on Text-to-Image Diffusion Models
- 2024Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
- 2025Sealing The Backdoor: Unlearning Adversarial Text Triggers In Diffusion Models Using Knowledge Distillation
- 2026Tuning Just Enough: Lightweight Backdoor Attacks on Multi-Encoder Diffusion Models