English

AMIA: Automatic Masking and Joint Intention Analysis Makes LVLMs Robust Jailbreak Defenders

Computer Vision and Pattern Recognition 2025-06-02 v1 Computation and Language

Abstract

We introduce AMIA, a lightweight, inference-only defense for Large Vision-Language Models (LVLMs) that (1) Automatically Masks a small set of text-irrelevant image patches to disrupt adversarial perturbations, and (2) conducts joint Intention Analysis to uncover and mitigate hidden harmful intents before response generation. Without any retraining, AMIA improves defense success rates across diverse LVLMs and jailbreak benchmarks from an average of 52.4% to 81.7%, preserves general utility with only a 2% average accuracy drop, and incurs only modest inference overhead. Ablation confirms both masking and intention analysis are essential for a robust safety-utility trade-off.

Keywords

Cite

@article{arxiv.2505.24519,
  title  = {AMIA: Automatic Masking and Joint Intention Analysis Makes LVLMs Robust Jailbreak Defenders},
  author = {Yuqi Zhang and Yuchun Miao and Zuchao Li and Liang Ding},
  journal= {arXiv preprint arXiv:2505.24519},
  year   = {2025}
}

Comments

11 pages, 7 figures

R2 v1 2026-07-01T02:50:29.854Z