Learning Normal Diffusion Dynamics for Backdoor Defense in Text-to-Image Models
Junjian Li, Xiaolong Liu, Peng Sun, Liantao Wu, Linghan Chen, Yudong Gao, Honglong Chen
Key points
From the paper's conclusion- Proposed Normal Diffusion Dynamics Learning (NDDL), a novel backdoor defense framework that learns the normal transition dynamics of diffusion trajectories utilizing only benign samples.
- NDDL constructs compact multi-space trajectory representations and trains a timestep-conditioned dynamics model to predict the diffusion evolution.
- NDDL enables trigger localization without any prior knowledge of the embedded backdoor and demonstrates effectiveness against diverse backdoor attacks.
Abstract
Backdoor attacks pose a serious threat to the secure deployment of text-to-image (T2I) diffusion models. Existing defenses typically detect backdoors from specific abnormal patterns in internal representations, which may limit their generalizability with the emergence of increasingly diverse attack mechanisms. In this paper, we study backdoor defense of T2I diffusion models from a transition-dynamics perspective. We observe that benign diffusion trajectories exhibit structured and timestep-dependent transition patterns from cross-attention, latent and noise spaces, whereas backdoor attacks tend to induce deviations from such normal evolution. Motivated by these observations, we propose Normal Diffusion Dynamics Learning (NDDL), a novel backdoor defense framework that learns the normal transition dynamics of diffusion trajectories utilizing only benign samples. NDDL constructs compact multi-space trajectory representations and trains a timestep-conditioned dynamics model to predict the diffusion evolution. In the inference phase, deviations between the observed and predicted transitions are exploited to quantify dynamics inconsistency for backdoor detection. NDDL further enables trigger localization without any prior knowledge of the embedded backdoor by performing substitution with low-semantic words. Extensive experiments for diverse backdoor attacks demonstrate the effectiveness and generalizability of our proposed NDDL.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Proposed Normal Diffusion Dynamics Learning (NDDL), a novel backdoor defense framework that learns the normal transition dynamics of diffusion trajectories utilizing only benign samples.
- NDDL constructs compact multi-space trajectory representations and trains a timestep-conditioned dynamics model to predict the diffusion evolution.
- NDDL enables trigger localization without any prior knowledge of the embedded backdoor and demonstrates effectiveness against diverse backdoor attacks.
Readers' thoughts
No reader thoughts yet.
Related papers
- SemPurify: Semantics-Aware Data Purification for Black-box Backdoor DefensearXiv · 2026
- TokenScanner: Detecting Backdoors and Discovering Triggers in Text-to-Image LoRAs via Full Vocabulary ScanningarXiv · 2026
- Trigger-Invariant Contrastive Unlearning for Backdoor RemovalarXiv · 2026
- Mitigating Backdoors in Masked Diffusion Language ModelsarXiv · 2026
- Beyond Static Cues: Unified Dynamic Detection of MLLM Backdoors via Dual-Flow Trajectory AnalysisarXiv · 2026
- AEGIS: Real-Time Latent-Space Backdoor Detection for Dependable and Secure Small Language Model InferenceTechnologies · 2026