arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.21059cs.CVcs.AIcs.CRcs.LG
收藏

FC-Attack:通过自动生成流程图越狱多模态大语言模型

FC-Attack: Jailbreaking Multimodal Large Language Models via Auto-Generated Flowcharts

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Ziyi Zhang, Zhen Sun, Zongmin Zhang, Jihui Guo, Xinlei He

AI总结:

本文提出 FC-Attack,通过微调 LLM 自动生成有害步骤描述并转换为流程图作为视觉提示,实现对多模态大语言模型的高成功率越狱攻击,并探讨了防御方法。

摘要:

多模态大语言模型(MLLMs)已经变得强大,并在一些实际应用中被广泛采用。然而,最近的研究揭示了它们对多模态越狱攻击的脆弱性,即模型可能被诱导生成有害内容,从而带来安全风险。尽管大多数 MLLMs 已经经过安全对齐,但最近的研究表明,视觉模态仍然容易受到越狱攻击。在我们的工作中,我们发现通过使用包含部分有害信息的流程图,可以诱导 MLLMs 提供额外的有害细节。基于此,我们提出了一种基于自动生成流程图的越狱攻击方法,称为 FC-Attack。具体来说,FC-Attack 首先基于良性数据集微调一个预训练的 LLM,以创建一个步骤描述生成器。然后,该生成器被用于生成与有害查询相对应的步骤描述,这些描述被转换为 3 种不同形状(垂直、水平和 S 形)的流程图,作为视觉提示。这些流程图随后与良性的文本提示结合,以对 MLLMs 执行越狱攻击。我们在 Advbench 上的评估表明,FC-Attack 在多个 MLLMs 上通过图像获得的攻击成功率高达 96%,通过视频获得的攻击成功率高达 78%。此外,我们研究了影响攻击性能的因素,包括流程图中的步骤数量和字体样式。我们还发现,通过改变字体样式,FC-Attack 可以将 Claude-3.5 中的越狱性能从 4% 提高到 28%。为了缓解这种攻击,我们探索了几种防御方法,发现 AdaShield 可以在很大程度上降低越狱性能,但代价是实用性下降。

英文摘要:

Multimodal Large Language Models (MLLMs) have become powerful and widely adopted in some practical applications. However, recent research has revealed their vulnerability to multimodal jailbreak attacks, whereby the model can be induced to generate harmful content, leading to safety risks. Although most MLLMs have undergone safety alignment, recent research shows that the visual modality is still vulnerable to jailbreak attacks. In our work, we discover that by using flowcharts with partially harmful information, MLLMs can be induced to provide additional harmful details. Based on this, we propose a jailbreak attack method based on auto-generated flowcharts, FC-Attack. Specifically, FC-Attack first fine-tunes a pre-trained LLM to create a step-description generator based on benign datasets. The generator is then used to produce step descriptions corresponding to a harmful query, which are transformed into flowcharts in 3 different shapes (vertical, horizontal, and S-shaped) as visual prompts. These flowcharts are then combined with a benign textual prompt to execute the jailbreak attack on MLLMs. Our evaluations on Advbench show that FC-Attack attains an attack success rate of up to 96% via images and up to 78% via videos across multiple MLLMs. Additionally, we investigate factors affecting the attack performance, including the number of steps and the font styles in the flowcharts. We also find that FC-Attack can improve the jailbreak performance from 4% to 28% in Claude-3.5 by changing the font style. To mitigate the attack, we explore several defenses and find that AdaShield can largely reduce the jailbreak performance but with the cost of utility drop.

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

↑