The Great Contradiction Showdown: How Jailbreak and Stealth Wrestle in Vision-Language Models?

Ching-Chia Kao, Chia-Mu Yu, Chun-Shien Lu, Chu-Song Chen

TL;DR

This paper introduces an information-theoretic framework to formalize the fundamental trade-off between jailbreak success rates and stealthiness in Vision-Language Models (VLMs). By leveraging Fano's inequality, the authors demonstrate how an attack's detectability is intrinsically linked to its statistical properties, proposing both a highly effective entropy-based defense (IEG) and a stealthy new attack framework (SAW) that exposes lingering vulnerabilities in state-of-the-art models.

What Problem Does This Paper Address?

Vision-Language Models (VLMs) like GPT-4o and LLaVA are increasingly integrated into real-world applications, yet they remain highly vulnerable to "jailbreak" attacks—adversarial prompts designed to bypass safety filters and force models to generate harmful content.

While text-based jailbreaks often rely on complex, high-perplexity phrases, image-based jailbreaks typically inject high-entropy noise or typographic overlays into visual inputs. Existing defenses can easily spot these attacks because they create obvious statistical anomalies compared to natural data. However, the underlying relationship between an attack's effectiveness and its stealthiness has remained poorly understood. This paper bridges the gap by providing the first theoretical treatment of the jailbreak-stealth trade-off, exploring how attackers can optimize adversarial inputs to slip past statistical detectors.

Figure 1. Motivation of our study. (a) Perplexity Analysis: Comparison of perplexity scores between a grammatically complex jailbreak sentence and a natural sentence, illustrating the higher complexity and lower comprehensibility of the former. (b) Entropy Comparison: Histogram displaying the entropy gap between natural images and Hades-processed images (jailbreak) with a marked threshold, highlighting the significant difference in entropy characteristics. (c) Successful jailbreak ChatGPT 4o with a relatively high entropy gap. The image taken from HADES (Li et al., 2024) presents three concatenated entropy levels, arranged in descending order from top to bottom. Transformers process images as patches, relying on self-attention to integrate information globally. Inconsistencies across patches can disrupt feature aggregation, making it harder for the model to recognize harmful content. This increases the likelihood of jailbreaking by bypassing content filters.

Methods

The authors tackle the problem from both defensive and offensive perspectives, unifying them under an information-theoretic umbrella:

  1. Intra-Entropy Gap (IEG) Detection Algorithm: To catch non-stealthy visual jailbreaks, the authors propose IEG. The algorithm partitions an image into non-overlapping regions (using an efficient rotation-based partitioning strategy) and calculates the entropy difference ($\Delta E$) between them. Because standard visual attacks introduce localized artificial textures or text blocks, they create a massive entropy imbalance that IEG flags immediately.

  2. Stealthiness-AWare Jailbreak (SAW) Framework: To demonstrate how an attacker can circumvent such defenses, the authors design SAW, a four-stage pipeline:

  3. Keyword Extraction: Pulls critical terms from a harmful prompt using an LLM or statistical keyword extractor.

  4. Story Generation: Uses GPT-4 to weave these keywords into a benign, coherent narrative.
  5. Typography Design: Generates a clean text overlay of the target words.
  6. Diffusion-Based Synthesis: Employs an image-to-image diffusion model to organically blend the typography into a high-quality illustration matching the story. This ensures the final image's entropy mimics natural image statistics, rendering it invisible to IEG.
Figure 2. SAW attack Pipeline. The process begins with keyword extraction from an input request, followed by story generation based on the extracted keywords. Typography is applied to the generated story, which is then used in a diffusion model to generate an image. The abstract request is provided with the generated content.
  1. Information-Theoretic Modeling: Using Fano’s inequality, the authors mathematically bound the probability of a jailbreak defense failing ($Pe$). They prove that minimizing the entropy gap minimizes the mutual information between the adversarial input and the harmful intent, establishing a provable limit on how stealthy an attack can be without sacrificing its success rate.

Datasets

The framework was evaluated using two primary safety benchmarks:

  • SafeBench: Comprising 500 harmful instructions across 10 prohibited categories (e.g., illegal activities, hate speech).
  • HADES Dataset: Containing 750 harmful instructions across 5 distinct adversarial scenarios.
  • ImageNet: A subset of 150 natural images was utilized as the baseline for benign, non-adversarial data.

Key Insights and Ideas

  • The $\Delta E$ Dial: The trade-off between stealth and success can be directly tuned via the entropy gap ($\Delta E$). As $\Delta E \downarrow 0$, stealth increases but the attack success rate drops. As $\Delta E \uparrow$, the attack becomes highly potent but trivial to detect.
  • VLM Over-Capability: A surprising finding is that even when typography is blended so subtly into an image that it is virtually imperceptible to humans (via high diffusion strength or low opacity), the VLM's internal OCR capabilities can still read it and trigger the jailbreak.
  • Multi-Modal Vulnerability Multiplier: The theoretical framework mathematically demonstrates that as the number of input modalities increases, the lower bound for defense failure increases—meaning multimodal models are inherently harder to secure than text-only models.

Key Results

  • Defense Effectiveness: The proposed IEG detector achieved near-perfect detection accuracy against prominent state-of-the-art attacks, yielding an AUROC of up to 0.99 against HADES and 0.85–0.96 against MM-SafetyBench.
  • Attack Stealth: Against the newly introduced SAW attack, IEG's detection capability plummeted to near-random guessing (AUROC scores between 0.45 and 0.62), proving that SAW successfully mimics natural image distributions.
  • Jailbreak Performance: Despite its stealth, SAW achieved an average Attack Success Rate (ASR) of 39% on LLaVA-1.5, outperforming standard baseline attacks like VisualAdv (36%) and FigStep (37%). On commercial closed-source models like Gemini, SAW maintained a stealthy but dangerous 17% success rate.

Limitations and Future Work

While the IEG detection mechanism is highly effective against standard typographic attacks, it assumes clean baseline images. In environments with heavy benign noise (such as Gaussian or salt-and-pepper noise), the false-positive rate can spike significantly, requiring an extra adaptive filtering step (using Median Absolute Deviation) to stabilize.

Furthermore, the authors note that their work opens up a profound, unresolved question for safety alignment: Why do VLMs remain highly sensitive to typographic prompts that are completely hidden from human eyes? Future research must focus on semantic alignment strategies rather than relying solely on input statistical anomalies to defend these models.

Summary updated

BibTeX
@inproceedings{kao2025great,
  author = {Ching-Chia Kao and Chia-Mu Yu and Chun-Shien Lu and Chu-Song Chen},
  title = {{The Great Contradiction Showdown: How Jailbreak and Stealth Wrestle in Vision-Language Models?}},
  booktitle = {ACML Conference Track},
  year = {2025},
  url = {https://openreview.net/forum?id=0IU88cUCNk},
}
Figure