Skip to main content
QUICK REVIEW

[Paper Review] FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Prompts

Yichen Gong, Delong Ran|arXiv (Cornell University)|Nov 9, 2023
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

FigStep hijacks LVLMs by converting prohibited text prompts into typographic images with a benign incitement cue, achieving high attack success across open-source LVLMs in a black-box setting.

ABSTRACT

Large Vision-Language Models (LVLMs) signify a groundbreaking paradigm shift within the Artificial Intelligence (AI) community, extending beyond the capabilities of Large Language Models (LLMs) by assimilating additional modalities (e.g., images). Despite this advancement, the safety of LVLMs remains adequately underexplored, with a potential overreliance on the safety assurances purported by their underlying LLMs. In this paper, we propose FigStep, a straightforward yet effective black-box jailbreak algorithm against LVLMs. Instead of feeding textual harmful instructions directly, FigStep converts the prohibited content into images through typography to bypass the safety alignment. The experimental results indicate that FigStep can achieve an average attack success rate of 82.50% on six promising open-source LVLMs. Not merely to demonstrate the efficacy of FigStep, we conduct comprehensive ablation studies and analyze the distribution of the semantic embeddings to uncover that the reason behind the success of FigStep is the deficiency of safety alignment for visual embeddings. Moreover, we compare FigStep with five text-only jailbreaks and four image-based jailbreaks to demonstrate the superiority of FigStep, i.e., negligible attack costs and better attack performance. Above all, our work reveals that current LVLMs are vulnerable to jailbreak attacks, which highlights the necessity of novel cross-modality safety alignment techniques. Our code and datasets are available at https://github.com/ThuCCSLab/FigStep .

Motivation & Objective

  • Assess whether LVLM safety aligned at the textual level is sufficient when a visual component is present.
  • Propose SafeBench as a safety benchmark for LVLMs.
  • Develop and evaluate a black-box jailbreak protocol that transforms prohibited text into typographic images to bypass safety filters.
  • Analyze why visual embeddings undermine textual safety alignment in LVLMs.
  • Suggest defensive directions and enhanced variants of FigStep to probe and strengthen cross-modal safety.

Proposed method

  • Introduce SafeBench as a 500-question safety benchmark for LVLMs.
  • Develop FigStep consisting of three steps: Paraphrase, Typography, Incitement.
  • Transform prohibited text prompts into typographic image-prompts to exploit visual-only safety gaps.
  • Use a benign incitement text-prompt to guide the model into a continuation mode.
  • Compare FigStep against text-only and image-based jailbreak baselines to show superior efficacy and efficiency.
  • Provide variants (FigStepadv, FigStephide, FigSteppro) to address OCR detection and cross-modal defenses.

Experimental results

Research questions

  • RQ1Does adding a typographic visual prompt enable jailbreaking of LVLMs beyond text-only prompts in a black-box setting?
  • RQ2How does SafeBench quantify cross-modal safety risks across diverse LVLM architectures?
  • RQ3What features of the visual embedding space explain the efficacy of FigStep?
  • RQ4Can defenses (OCR detection, noise, system prompts) withstand FigStep, and what improvements are needed?

Key findings

  • FigStep substantially increases attack success rate (ASR) across six open-source LVLMs compared to vanilla text prompts, with an average ASR of 82.50%.
  • FigStep achieves higher ASR across topics and models than text-only and some image-based jailbreaks, while maintaining low perplexity in generated responses (average PPL 7.73 for FigStep vs. 19.26 for vanilla).
  • Ablation shows that embedding harmful information in image-prompts is more effective than text-only leakage, and that prompting to continue (incitement) aids jailbreak performance.
  • Embedding analyses indicate visual embeddings are semantically aligned but not safely aligned with textual embeddings, explaining cross-modal jailbreak vulnerability.
  • FigStep variants (FigStepadv, FigStephide, FigSteppro) extend jailbreak reach and address OCR-based defenses, underscoring the need for cross-modal safety alignment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.