arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.12371cs.CV
收藏

在像素之间阅读:将文本-图像嵌入对齐与字体攻击成功性联系起来

Reading Between the Pixels: Linking Text-Image Embedding Alignment to Typographic Attack Success on Vision-Language Models

Cisco Systems(思科系统)

Ravikumar Balakrishnan, Sanket Mendapara, Ankit Garg

AI总结:

研究了视觉-语言模型中字体提示注入攻击的影响,发现字体大小、文本攻击有效性及嵌入距离对攻击成功率有显著影响,为防御策略提供实证指导。

摘要:

我们研究了对视觉-语言模型(VLMs)的字体提示注入攻击,其中对抗性文本被渲染为图像以绕过安全机制,随着VLMs成为自主代理的感知核心,威胁日益增加。实际攻击面是异质的:对抗性文本出现在不同字体大小和多样视觉条件下,而VLMs生态系统存在显著的易受攻击性差异,使防御方法复杂化。评估1000个提示在四个VLMs(GPT-4o、Claude Sonnet 4.5、Mistral-Large-3和Qwen3-VL-4B-Instruct)上,不同字体大小(6-28px)和视觉变换(旋转、模糊、噪声、对比度变化)下,发现:(1)字体大小显著影响攻击成功率(ASR),极小字体(6px)导致几乎零ASR,中等字体达到峰值效果;(2)对于GPT-4o和Claude,文本攻击比图像攻击更有效(36% vs 8%和47% vs 22%),而Qwen3-VL和Mistral在模态间ASR相当;(3)从两种多模态嵌入模型(JinaCLIP和Qwen3-VL-Embedding)的文本-图像嵌入距离与所有四个模型的ASR呈强负相关(r = -0.71至-0.93,p < 0.01);(4)严重退化使嵌入距离增加10-12%,ASR降低34-96%,而旋转异样地影响模型(Mistral下降50%,GPT-4o不变)。这些发现表明,模型特定的鲁棒性模式使一劳永逸的防御不可行,并为实践者在对抗性环境中选择VLMs作为代理系统核心提供实证指导。

英文摘要:

We study typographic prompt injection attacks on vision-language models (VLMs), where adversarial text is rendered as images to bypass safety mechanisms, posing a growing threat as VLMs serve as the perceptual backbone of autonomous agents, from browser automation and computer-use systems to camera-equipped embodied agents. In practice, the attack surface is heterogeneous: adversarial text appears at varying font sizes and under diverse visual conditions, while the growing ecosystem of VLMs exhibits substantial variation in vulnerability, complicating defensive approaches. Evaluating 1,000 prompts from SALAD-Bench across four VLMs, namely, GPT-4o, Claude Sonnet 4.5, Mistral-Large-3, and Qwen3-VL-4B-Instruct under varying font sizes (6--28px) and visual transformations (rotation, blur, noise, contrast changes), we find: (1) font size significantly affects attack success rate (ASR), with very small fonts (6px) yielding near-zero ASR while mid-range fonts achieve peak effectiveness; (2) text attacks are more effective than image attacks for GPT-4o (36% vs 8%) and Claude (47% vs 22%), while Qwen3-VL and Mistral show comparable ASR across modalities; (3) text-image embedding distance from two multimodal embedding models (JinaCLIP and Qwen3-VL-Embedding) shows strong negative correlation with ASR across all four models (r = -0.71 to -0.93, p < 0.01); (4) heavy degradations increase embedding distance by 10--12% and reduce ASR by 34--96%, while rotation asymmetrically affects models (Mistral drops 50%, GPT-4o unchanged). These findings highlight that model-specific robustness patterns preclude one-size-fits-all defenses and offer empirical guidance for practitioners selecting VLM backbones for agentic systems operating in adversarial environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑