Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Semantic-level Backdoor Attack against Text-to-Image Diffusion Models

About

Text-to-image (T2I) diffusion models are widely adopted for their strong generative capabilities, yet remain vulnerable to backdoor attacks. Existing attacks typically rely on fixed textual triggers and single-entity backdoor targets, making them highly susceptible to enumeration-based input defenses and attention-consistency detection. In this work, we propose Semantic-level Backdoor Attack (SemBD), which implants backdoors at the representation level by defining triggers as continuous semantic regions rather than discrete textual patterns. Concretely, SemBD injects semantic backdoors by distillation-based editing of the key and value projection matrices in cross-attention layers, enabling diverse prompts with identical semantic compositions to reliably activate the backdoor attack. To further enhance stealthiness, SemBD incorporates a semantic regularization to prevent unintended activation under incomplete semantics, as well as multi-entity backdoor targets that avoid highly consistent cross-attention patterns. Extensive experiments demonstrate that SemBD achieves a 100% attack success rate while maintaining strong robustness against state-of-the-art input-level defenses.

Tianxin Chen, Wenbo Jiang, Hongqiao Chen, Zhirun Zheng, Cheng Huang• 2026

Related benchmarks

TaskDatasetResultRank
Backdoor DetectionBalanced 50% clean, 50% backdoored (test)
Detection Accuracy57
28
Backdoor Attack on Text-to-Image Diffusion ModelsText-to-Image (T2I) Diffusion Models (evaluation set)
CLIP Score (p)28.16
8
Showing 2 of 2 rows

Other info

Follow for update