Diff-Cleanse: Identifying and Mitigating Backdoor Attacks in Diffusion Models
On the map: Diffusion models → Robustness, privacy and adversarial aspects
also in 1 more
Abstract (arXiv)
Diffusion models (DMs) are regarded as one of the most advanced generative models today, yet recent studies suggest that they are vulnerable to backdoor attacks, which establish hidden associations between particular input patterns and model behaviors, compromising model integrity by causing undesirable actions with manipulated inputs. This vulnerability poses substantial risks, including reputational damage to model owners and the dissemination of harmful content. To mitigate the threat of backdoor attacks, there have been some investigations on backdoor detection and model repair. However, previous work fails to reliably purify the models backdoored by state-of-the-art attack methods, rendering the field much underexplored. To bridge this gap, we introduce Diff-Cleanse, a novel two-stage backdoor defense framework specifically designed for DMs. The first stage employs a novel trigger inversion technique to reconstruct the trigger and detect the backdoor, and the second stage utilizes a structural pruning method to eliminate the backdoor. We evaluate our framework on hundreds of DMs that are attacked by three existing backdoor attack methods with a wide range of hyperparameter settings. Extensive experiments demonstrate that Diff-Cleanse achieves nearly 100% detection accuracy and effectively mitigates backdoor impacts, preserving the model's benign performance with minimal compromise. Our code is avaliable at https://github.com/shymuel/diff-cleanse.
Key facts. Cited by 12 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 20 of its 38 references that are in the map. First posted on arXiv 31 Jul 2024.
Builds on
20 of 38 references.
Closest ancestors · 2
Same direction, newest first
- 2024UFID: A Unified Framework for Input-level Backdoor Detection on Diffusion Models1 Apr
- 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun
Other references · 18
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 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
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
- 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,339
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
- 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 924
6 more
- 2022Fast Sampling of Diffusion Models with Exponential Integratorcited by 526
- 2023UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Modelscited by 441
- 2020Input-Aware Dynamic Backdoor Attackcited by 304
- 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
- 2023Structural Pruning for Diffusion Modelscited by 193
- 2023Video Diffusion Models with Local-Global Context Guidancecited by 15
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 3.
12 papers.
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2025Generative Diffusion Models for Wireless Networks: Fundamental, Architecture, and State-of-the-Artcited by 13
- 2024UIBDiffusion: Universal Imperceptible Backdoor Attack for Diffusion Modelscited by 9
- 2025Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variationcited by 8
- 2025BackdoorDM: A Comprehensive Benchmark for Backdoor Learning on Diffusion Modelcited by 7
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
- 2025Backdoor Defense in Diffusion Models via Spatial Attention Unlearningcited by 2
- 2025Sealing The Backdoor: Unlearning Adversarial Text Triggers In Diffusion Models Using Knowledge Distillationcited by 2
- 2026BadRSSD: Backdoor Attacks on Regularized Self-Supervised Diffusion Modelscited by 1
- 2025BadBlocks: Low-Cost and Stealthy Backdoor Attacks Tailored for Text-to-Image Diffusion Modelscited by 0
- 2026Beyond the False Trade-off: Adaptive EWC for Stealthy and Generalizable T2I Backdoorscited by 0
- 2026Token by Token, Compromised: Backdoor Vulnerabilities in Unified Autoregressive Modelscited by 0
- 2026Token by Token, Compromised: Backdoor Vulnerabilities in Unified Autoregressive Models19 May 2026
- 2026Beyond the False Trade-off: Adaptive EWC for Stealthy and Generalizable T2I Backdoors8 May 2026
- 2026BadRSSD: Backdoor Attacks on Regularized Self-Supervised Diffusion Models1 Mar 2026
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Models25 Sep 2025
- 2025Sealing The Backdoor: Unlearning Adversarial Text Triggers In Diffusion Models Using Knowledge Distillation20 Aug 2025
- 2025BadBlocks: Low-Cost and Stealthy Backdoor Attacks Tailored for Text-to-Image Diffusion Models5 Aug 2025
- 2025Generative Diffusion Models for Wireless Networks: Fundamental, Architecture, and State-of-the-Art22 Jul 2025
- 2025Backdoor Defense in Diffusion Models via Spatial Attention Unlearning21 Apr 2025
- 2025Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation9 Mar 2025
- 2025BackdoorDM: A Comprehensive Benchmark for Backdoor Learning on Diffusion Model17 Feb 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2024UIBDiffusion: Universal Imperceptible Backdoor Attack for Diffusion Models16 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Models
- 2026Self-Purification Mitigates Backdoors in Multimodal Diffusion Language Models
- 2024PureDiffusion: Using Backdoor to Counter Backdoor in Generative Diffusion Models
- 2025A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Models
- 2024Invisible Backdoor Attacks on Diffusion Models
- 2024DisDet: Exploring Detectability of Backdoor Attack on Diffusion Models
- 2024TERD: A Unified Framework for Safeguarding Diffusion Models Against Backdoors
- 2022How to Backdoor Diffusion Models?