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
Translation in progress — untranslated text is omitted.
AEGIS 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.
- 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).
- 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.
- 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.
- 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
Both use: MMA-Diffusion
Show 3 more papers
Both use: MMA-Diffusion
Both use: Ring-A-Bell