mlsanityData to 14 Oct 2026

Backdoor Defense in Diffusion Models via Spatial Attention Unlearning

arXiv 2504.18563 ↗First posted 21 Apr 2025cs.CR cs.AI cs.CVcited by 2

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

  1. 2024Meta-Unlearning on Diffusion Models: Preventing Relearning Unlearned Concepts16 Oct
  2. 2024TERD: A Unified Framework for Safeguarding Diffusion Models Against Backdoors9 Sep
  3. 2024Diff-Cleanse: Identifying and Mitigating Backdoor Attacks in Diffusion Models31 Jul
  4. 2024Unlearning Concepts in Diffusion Model via Concept Domain Correction and Concept Preserving Gradient24 May
  5. 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
  6. 2023DataElixir: Purifying Poisoned Dataset to Mitigate Backdoor Attacks via Diffusion Models18 Dec
  7. 2023Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution Shift27 Nov
  8. 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun
  9. 2023Personalization as a Shortcut for Few-Shot Backdoor Attack against Text-to-Image Diffusion Models18 May
  10. 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
  11. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
  12. 2023Erasing Concepts from Diffusion Models13 Mar
2 more
  1. 2023TrojDiff: Trojan Attacks on Diffusion Models with Diverse Targets10 Mar
  2. 2022How to Backdoor Diffusion Models?11 Dec

Other references · 13

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  4. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  5. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  6. 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,114
  7. 2019Machine Unlearningcited by 1,061
  8. 2022Exploring CLIP for Assessing the Look and Feel of Imagescited by 991
  9. 2023Unleashing Text-to-Image Diffusion Models for Visual Perceptioncited by 269
  10. 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 86
  11. 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
  12. 2024Diffusion-Based Visual Art Creation: A Survey and New Perspectivescited by 17
1 more
  1. 2023Feature Unlearning for Pre-trained GANs and VAEscited by 16

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Scaling Exposes the Trigger: Input-Level Backdoor Detection in Text-to-Image Diffusion Models via Cross-Attention Scaling
  2. 2026Learning Normal Diffusion Dynamics for Backdoor Defense in Text-to-Image Models
  3. 2025Trigger without Trace: Towards Stealthy Backdoor Attack on Text-to-Image Diffusion Models
  4. 2023Leveraging Diffusion-Based Image Variations for Robust Training on Poisoned Data
  5. 2024T2IShield: Defending Against Backdoors on Text-to-Image Diffusion Models
  6. 2024Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
  7. 2025Sealing The Backdoor: Unlearning Adversarial Text Triggers In Diffusion Models Using Knowledge Distillation
  8. 2026Tuning Just Enough: Lightweight Backdoor Attacks on Multi-Encoder Diffusion Models