Research map / Image generation / Text-to-image diffusion
TWIST: Text-encoder Weight-editing for Inserting Secret Trojans in Text-to-Image Models
Xindi Li, Zhe Liu, Tong Zhang, Jiahao Chen, Qingming Li, Jinbao Li, Shouling Ji
Zhejiang University · Zhejiang Lab · Qilu University of Technology · Shandong Artifcial Intelligence Institute
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| edit a text-encoder MLP layer (rank-one update) instead of fine-tuning/U-Net editing | Trojan attack on SD v1.5 · five targets | ASR: TWIST 91.00% vs EvilEdit 12.75%, Rickrolling 90.35% | Improved |
| edit weights directly instead of fine-tuning with data | Trojan attack · efficiency | samples / time: 0 samples, 25 s vs Rickrolling 635,561 samples, 53 s | Improved |
| edit the text encoder instead of U-Net projection (EvilEdit) | Trojan attack · fidelity | FID: +0.37 (TWIST) vs +0.06 (EvilEdit) | Mixed |
| edit the seventh MLP layer instead of layers near input/output (ablation) | TWIST · four goals, SD v1.5 | ASR: average ASR 91% at layer 7 | Improved |
| raise threshold epsilon to 0.5 and above (ablation) | TWIST · dog->cat | ASR: ASR 98% at epsilon 0.5 | Improved |
| inject five Trojans instead of one (ablation) | TWIST · multiple Trojans | ASR / LPIPS: ASR remains 91.6%; LPIPS +0.01 | Hurt |
| use ViT-H teacher with ViT-L/14 victim (ablation) | TWIST · cross-architecture | ASR: 100.00% -> 98.00% | No clear effect |
| apply target-specific LoRA weights from Civitai | TWIST · LoRA robustness | ASR: 88% (agnostic) -> 64% (specific) | Hurt |
| apply TWIST to FLUX T5 encoder | TWIST · FLUX.1 | ASR / FID: ASR 95.00%; FID 29.48 -> 32.75 | Mixed |
| apply TWIST on SD v2.1 instead of Rickrolling | TWIST · SD v2.1 dog->cat | ASR: 0.00% -> 98.00% | Improved |
Open problems in fairness and bias in generative models
How can bias in text-to-image models be measured and reduced beyond binary gender, English prompts and one model?
- Bias is judged by classifiers and MLLMs that may be biased themselves. · 14 papers state it
- Only binary gender or a few coarse groups are studied. · 13 papers state it
- Findings come from one or a few text-to-image models. · 11 papers state it
Closest papers by meaning
- Concept-ROT: Poisoning Concepts in Large Language Models with Model Editing (ICLR 2025 · similarity 0.85)
- Distraction is All You Need: Memory-Efficient Image Immunization against Diffusion-Based Image Editing (CVPR 2024 · similarity 0.85)
- Protecting Model Adaptation from Trojans in the Unlabeled Data (AAAI 2025 · similarity 0.84)
- TrojanDec: Data-free Detection of Trojan Inputs in Self-supervised Learning (AAAI 2025 · similarity 0.84)
- When the Prompt Becomes Visual: Vision-Centric Jailbreak Attacks for Large Image Editing Models (ICML 2026 · similarity 0.83)
- Deep-TROJ: An Inference Stage Trojan Insertion Algorithm through Efficient Weight Replacement Attack (CVPR 2024 · similarity 0.83)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.