Enhanced MLLM Black-Box Jailbreaking Attacks and Defenses
Xingwei Zhong, Kar Wai Fok, Vrizlynn L. L. Thing
TL;DR
This work addresses safety vulnerabilities in multimodal large language models (MLLMs) by introducing a black-box jailbreak framework that leverages enhanced text prompts and image prompts, plus a Re-attack strategy to cover failure cases. The authors evaluate the attacks across multiple open-source MLLMs and a closed-source GPT-4o, demonstrating substantial improvements in attack success rates and exposing defense gaps. To counter these risks, they propose enhanced training-time and inference-time defenses (Enhanced AdaShield and Enhanced JailGuard) and show that threshold tuning and defense prompt ordering can significantly mitigate harmful outputs without severely impacting benign performance. The results highlight a practical path for rigorous security assessment and more resilient defense mechanisms in real-world, multimodal contexts, with implications for safer deployment of MLLMs in sensitive domains.
Abstract
Multimodal large language models (MLLMs) comprise of both visual and textual modalities to process vision language tasks. However, MLLMs are vulnerable to security-related issues, such as jailbreak attacks that alter the model's input to induce unauthorized or harmful responses. The incorporation of the additional visual modality introduces new dimensions to security threats. In this paper, we proposed a black-box jailbreak method via both text and image prompts to evaluate MLLMs. In particular, we designed text prompts with provocative instructions, along with image prompts that introduced mutation and multi-image capabilities. To strengthen the evaluation, we also designed a Re-attack strategy. Empirical results show that our proposed work can improve capabilities to assess the security of both open-source and closed-source MLLMs. With that, we identified gaps in existing defense methods to propose new strategies for both training-time and inference-time defense methods, and evaluated them across the new jailbreak methods. The experiment results showed that the re-designed defense methods improved protections against the jailbreak attacks.
