mlsanityData to 14 Oct 2026

A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Models

arXiv 2502.19047 ↗First posted 26 Feb 2025cs.CVcited by 3

On the map: Diffusion models → Robustness, privacy and adversarial aspects

also in 1 more
Abstract (arXiv)

Diffusion models have emerged as state-of-the-art generative frameworks, excelling in producing high-quality multi-modal samples. However, recent studies have revealed their vulnerability to backdoor attacks, where backdoored models generate specific, undesirable outputs called backdoor target (e.g., harmful images) when a pre-defined trigger is embedded to their inputs. In this paper, we propose PureDiffusion, a dual-purpose framework that simultaneously serves two contrasting roles: backdoor defense and backdoor attack amplification. For defense, we introduce two novel loss functions to invert backdoor triggers embedded in diffusion models. The first leverages trigger-induced distribution shifts across multiple timesteps of the diffusion process, while the second exploits the denoising consistency effect when a backdoor is activated. Once an accurate trigger inversion is achieved, we develop a backdoor detection method that analyzes both the inverted trigger and the generated backdoor targets to identify backdoor attacks. In terms of attack amplification with the role of an attacker, we describe how our trigger inversion algorithm can be used to reinforce the original trigger embedded in the backdoored diffusion model. This significantly boosts attack performance while reducing the required backdoor training time. Experimental results demonstrate that PureDiffusion achieves near-perfect detection accuracy, outperforming existing defenses by a large margin, particularly against complex trigger patterns. Additionally, in an attack scenario, our attack amplification approach elevates the attack success rate (ASR) of existing backdoor attacks to nearly 100% while reducing training time by up to 20x.

Key facts. Cited by 3 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 42 of its 61 references that are in the map. First posted on arXiv 26 Feb 2025.

Builds on

42 of 61 references.

Closest ancestors · 12

Same direction, newest first

  1. 2024CopyrightShield: Enhancing Diffusion Model Security against Copyright Infringement Attacks2 Dec
  2. 2024PureDiffusion: Using Backdoor to Counter Backdoor in Generative Diffusion Models20 Sep
  3. 2024TERD: A Unified Framework for Safeguarding Diffusion Models Against Backdoors9 Sep
  4. 2024Attacks and Defenses for Generative Diffusion Models: A Comprehensive Survey6 Aug
  5. 2024T2IShield: Defending Against Backdoors on Text-to-Image Diffusion Models5 Jul
  6. 2024DisDet: Exploring Detectability of Backdoor Attack on Diffusion Models5 Feb
  7. 2024The Stronger the Diffusion Model, the Easier the Backdoor: Data Poisoning to Induce Copyright Breaches Without Adjusting Finetuning Pipeline7 Jan
  8. 2023Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution Shift27 Nov
  9. 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun
  10. 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
  11. 2023TrojDiff: Trojan Attacks on Diffusion Models with Diverse Targets10 Mar
  12. 2022How to Backdoor Diffusion Models?11 Dec

Other references · 30

  1. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  3. 2020Denoising Diffusion Implicit Modelscited by 9,781
  4. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  5. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  6. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  7. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  8. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
  9. 2015Variational Inference with Normalizing Flowscited by 2,170
  10. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
  11. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
  12. 2016Universal adversarial perturbationscited by 784
18 more
  1. 2020WaveGrad: Estimating Gradients for Waveform Generationcited by 622
  2. 2021CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputationcited by 582
  3. 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 574
  4. 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 456
  5. 2021Grad-TTS: A Diffusion Probabilistic Model for Text-to-Speechcited by 447
  6. 2020Backdoor Learning: A Surveycited by 426
  7. 2022Analytic-DPM: an Analytic Estimate of the Optimal Reverse Variance in Diffusion Probabilistic Modelscited by 334
  8. 2022Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Qualitycited by 182
  9. 2022Dream3D: Zero-Shot Text-to-3D Synthesis Using 3D Shape Prior and Text-to-Image Diffusion Modelscited by 151
  10. 2020Multivariate Probabilistic Time Series Forecasting via Conditioned Normalizing Flowscited by 144
  11. 2021Step-unrolled Denoising Autoencoders for Text Generationcited by 102
  12. 2021D2C: Diffusion-Denoising Models for Few-shot Conditional Generationcited by 96
  13. 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
  14. 2023Detecting Backdoors in Pre-trained Encoderscited by 55
  15. 2021ScoreGrad: Multivariate Probabilistic Time Series Forecasting with Continuous Energy-based Generative Modelscited by 43
  16. 2023Distilling Cognitive Backdoor Patterns within an Imagecited by 20
  17. 2025Detecting Backdoor Samples in Contrastive Language Image Pretrainingcited by 19
  18. 2023DHBE: Data-free Holistic Backdoor Erasing in Deep Neural Networks via Restricted Adversarial Distillationcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Diff-Cleanse: Identifying and Mitigating Backdoor Attacks in Diffusion Models
  2. 2024Invisible Backdoor Attacks on Diffusion Models
  3. 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Models
  4. 2024UIBDiffusion: Universal Imperceptible Backdoor Attack for Diffusion Models
  5. 2026Learning Normal Diffusion Dynamics for Backdoor Defense in Text-to-Image Models
  6. 2026Self-Purification Mitigates Backdoors in Multimodal Diffusion Language Models
  7. 2026TEMPO-Diffusion: Temporally Exposed Malicious Poisoning of Diffusion Models
  8. 2025Backdoor Defense in Diffusion Models via Spatial Attention Unlearning