Skip to content

NDDL: Backdoor Defense for Text-to-Image Models with Normal Diffusion DynamicsLearning Normal Diffusion Dynamics for Backdoor Defense in Text-to-Image Models

arXiv: Adversarial Attacks, Backdoors & Poisoning· arXiv:2609.39548· Junjian Li, Xiaolong Liu, Peng Sun, Liantao Wu, Linghan Chen, Yudong Gao, Honglong Chen·Indexed by this site · 2026-10-01· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose Normal Diffusion Dynamics Learning (NDDL), a backdoor defense framework for text-to-image diffusion models trained only on normal samples. The method observes that normal diffusion trajectories exhibit structured, timestep-dependent transition patterns across cross-attention, latent space, and noise space, while backdoor attacks cause deviations from this normal evolution. NDDL constructs a compact multi-space trajectory representation and trains a timestep-conditioned dynamics model to predict diffusion evolution. At inference, it quantifies dynamics inconsistency using the deviation between observed and predicted transitions to detect backdoors. The framework can also achieve trigger localization through low-semantic word substitution without any prior knowledge of the backdoor. Experiments on multiple backdoor attacks demonstrate its effectiveness and generalizability.

Questions
Backdoors in text-to-image diffusion models generate attacker-specified content when a trigger appears. Existing defenses often rely on specific internal anomaly patterns, limiting generalization across attacks with diverse mechanisms.
Methods
NDDL constructs compact trajectory representations from cross-attention, latent variables, and noise spaces, training a time-step-conditioned transition increment predictor using only benign samples. At inference, it scores backdoor detection by the deviation between observed and predicted transitions, and localizes trigger tokens by replacing low-semantic words.
Experiments and results
On SD v1.5, NDDL achieves the highest detection ACC/AUROC in the table for EvilEdit, MasqLoRA, Rickrolling, and STEBA, with ACC on STEBA rising from the best baseline of 89.3% to 96.8%; on BadT2I, STEDF is higher (99.3% vs. 99.0%). Localization is higher than T2IShield and NaviT2I across all four trigger forms. The authors claim the advantage is maintained on SDXL, SD v3.5, and Pixart-α.
Limitations and future work
The paper does not have a dedicated Limitations section. Experiments cover SD v1.5, SDXL, SD v3.5, and Pixart-α, with prompts from DiffusionDB, each attack with 1,000 benign and 1,000 backdoor prompts; ablations mainly on SD v1.5 and BadT2I. The paper does not report false rejection costs or adaptive attacks.

Related events and news

1 events · 0 news mentions

Read originalarxiv.org