mlsanityData to 7 Oct 2026

Diff-Cleanse: Identifying and Mitigating Backdoor Attacks in Diffusion Models

arXiv 2407.21316 ↗First posted 31 Jul 2024cs.CR cs.LGcited by 12

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

  1. 2024UFID: A Unified Framework for Input-level Backdoor Detection on Diffusion Models1 Apr
  2. 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun

Other references · 18

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2020Denoising Diffusion Implicit Modelscited by 9,655
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  4. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  5. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
  6. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  7. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
  8. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
  9. 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,339
  10. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  11. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
  12. 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 924
6 more
  1. 2022Fast Sampling of Diffusion Models with Exponential Integratorcited by 526
  2. 2023UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Modelscited by 441
  3. 2020Input-Aware Dynamic Backdoor Attackcited by 304
  4. 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
  5. 2023Structural Pruning for Diffusion Modelscited by 193
  6. 2023Video Diffusion Models with Local-Global Context Guidancecited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 8; 2026: 3.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Models
  2. 2026Self-Purification Mitigates Backdoors in Multimodal Diffusion Language Models
  3. 2024PureDiffusion: Using Backdoor to Counter Backdoor in Generative Diffusion Models
  4. 2025A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Models
  5. 2024Invisible Backdoor Attacks on Diffusion Models
  6. 2024DisDet: Exploring Detectability of Backdoor Attack on Diffusion Models
  7. 2024TERD: A Unified Framework for Safeguarding Diffusion Models Against Backdoors
  8. 2022How to Backdoor Diffusion Models?