Abstract
Vision-Language Models (VLMs) have achieved remarkable performance on a variety of tasks, yet they remain vulnerable to jailbreak attacks that compromise safety and reliability. In this paper, we provide an information-theoretic framework for understanding the fundamental trade-off between the effectiveness of these attacks and their stealthiness. Drawing on Fano's inequality, we demonstrate how an attacker's success probability is intrinsically linked to the stealthiness of generated prompts. Building on this, we propose an efficient algorithm for detecting non-stealthy jailbreak attacks, offering significant improvements in model robustness. Experimental results highlight the tension between strong attacks and their detectability, providing insights into both adversarial strategies and defense mechanisms.
Introduction
Vision-Language Models (VLMs), such as GPT-4o and LLaVA, are designed with safety alignment to prevent the generation of harmful content. However, attackers utilize "jailbreaks"—manipulated inputs—to bypass these filters. A critical challenge in this domain is the "Great Contradiction": the inherent trade-off between making an attack powerful enough to succeed and subtle enough to remain undetected. While typographic triggers (text rendered inside an image) are highly effective, they often introduce statistical noise that makes them easy to flag. This paper explores the mathematical limits of stealthy jailbreaking and proposes new methods for both defense and attack.
Theoretical Framework
We establish a formal information-theoretic link between jailbreak success and input stealthiness. Using Fano’s Inequality, we prove that an attacker’s success probability is intrinsically tied to the mutual information between the adversarial input and the harmful intent. Essentially, we provide a lower bound for jailbreak failure based on the "entropy gap" of the input. This theory confirms that as the number of input modalities increases, the lower bound for jailbreak failure drops, providing attackers more "space" to hide malicious intent.
Defense: The Intra-Entropy Gap (IEG) Algorithm
To counter non-stealthy attacks, we introduce the IEG detector. This algorithm partitions an image into regions and compares their local entropy (complexity). Most current state-of-the-art attacks, such as HADES, create massive statistical anomalies in image entropy, making them easy to identify.
As illustrated in Figure 3, there is a clear divergence between benign "Nature" images and adversarial "Hades" images, allowing the IEG detector to achieve near-perfect results (AUROC of 0.95 to 0.99) against traditional typographic attacks.
Attack: Stealthiness-Aware Jailbreak (SAW)
To test the limits of stealth, we developed the SAW pipeline, which uses diffusion models to blend adversarial triggers into natural-looking images. The process involves four stages: keyword extraction, story generation, typography design, and diffusion synthesis. By "baking" text into high-quality illustrations that match a benign narrative, SAW minimizes the entropy gap.
Experimental Results
Our evaluation using benchmarks like SafeBench and MM-SafetyBench demonstrates that while IEG is dominant against "loud" attacks, its performance drops significantly against the SAW attack (AUROC falling to 0.50 - 0.60). This proves that SAW successfully balances effectiveness with stealth. Furthermore, we found that even closed models like GPT-4o are vulnerable to these integrated typographic triggers, suggesting that VLMs prioritize visual text over internal safety training.
Conclusion and Future Work
The "Great Contradiction" remains a central hurdle in VLM security. While entropy-based detection provides a robust defense against current noisy attacks, the evolution toward stealthy synthesis requires new detection paradigms. Future research will explore the "Invisible Typography" problem—whether VLMs can perceive typographic overlays that remain imperceptible to the human eye.
Summary updated