Skip to content

AEGIS: A mechanism-guided defense against visual synonym jailbreak in text-to-image modelsAEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Models

arXiv· arXiv:2607.06120· Yuanmin Huang, Zhenfei Zhang, Mi Zhang, Geng Hong, Qinqin He, Jialing Tao, Hui Xue, Min YangFudan University; Alibaba Group; Shanghai Pudong Research Institute of Cryptology; Engineering Research Center of Cyber Security Auditing and Monitoring, Ministry of EducationIndexed by this site · 20 days ago· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

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

AI summaryAEGIS is a mechanism-guided inference-time defense against visual synonym jailbreak in text-to-image models, applying similarity-aware repulsion only to the identified sparse semantic injection attention heads. On SD 1.4, the in-domain violence/sexual attack success rates drop to 0.00/0.03, the out-of-domain explicit and adversarial attack success rates are ≤ 0.09, and benign fidelity is preserved. Compared with 16 baselines, it can be transferred to SD 2.1 and FLUX.1 after re-identifying the key heads.

Questions
Text-to-image models face visual synonym attacks (VSA): superficially benign prompts generate prohibited content through implicit visual associations. The authors argue that existing defenses are organized around explicit prohibited concepts, falling into the dilemma of under-mitigation (bypassed by VSA) or over-mitigation (collateral damage to visually similar benign concepts).
Methods
First, anchor similarity profiling is used to trace the denoising trajectory, then a two-level Logistic Lasso audit is used to locate sparse semantic-injecting attention heads; at inference, AEGIS applies similarity-adaptive gated anchor-repulsion steering only to these heads, with model weights frozen.
Experiments and results
Compared with 16 baselines: on SD 1.4, VSA's ASR drops to 0.00 (violence)/0.03 (nudity), and ASR ≤ 0.09 on I2P/MMA/RAB; FID 66.70 (violence) is the best among all methods; the method transfers to SD 2.1 and FLUX.1, and ASR remains near zero under white-box adaptive attacks.
Limitations and future work
The paper does not specifically discuss limitations. Experimental coverage: concepts cover only two categories, nudity and violence; backbones under test are SD 1.4, SD 2.1, FLUX.1-dev; hard negative prompts are 5 per category; the VSA test set has 89 nudity and 121 violence prompts; the paper does not report human evaluation or statistical significance tests.

Related papers

Show 3 more papers
Read originalarxiv.org