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

JailbreakHunter:一种从大规模人类-LLM对话数据集中发现越狱提示的可视化分析方法

JailbreakHunter: A Visual Analytics Approach for Jailbreak Prompts Discovery from Large-Scale Human-LLM Conversational Datasets

Hong Kong University of Science and Technology(香港科技大学);Arizona State University(亚利桑那州立大学);Shanghai AI Laboratory(上海人工智能实验室)

Zhihua Jin, Shiyi Liu, Haotian Li, Xun Zhao, Huamin Qu

AI总结:

本文提出JailbreakHunter可视化分析系统,通过组级、对话级和轮次级三层工作流程,从大规模人类-LLM对话数据中高效识别未公开的越狱提示,辅助发现新的越狱策略。

摘要:

大语言模型(LLMs)已获得广泛关注,但由于存在被滥用的风险,也引发了担忧。越狱提示(jailbreak prompts)是针对LLMs的一种常见对抗性攻击形式,它不断出现并持续演化,以突破LLMs的安全协议。为解决这一问题,LLMs会根据已报告的越狱提示定期更新安全补丁。然而,恶意用户往往将其成功的越狱提示保密,以继续利用LLMs。为发现这些未公开的越狱提示,需要对大规模对话数据集进行深入分析,以识别仍能绕过系统防御的提示。由于对话数据量极其庞大、越狱提示特征多样,且它们存在于复杂的多轮对话中,这一任务极具挑战性。为应对这些挑战,我们提出了JailbreakHunter,这是一种用于在大规模人类-LLM对话数据集中识别越狱提示的可视化分析方法。我们设计了一个包含三个分析层级的工作流程:组级(group-level)、对话级(conversation-level)和轮次级(turn-level)。组级分析使用户能够掌握对话的分布情况,并利用多个标准识别可疑对话,例如与先前研究中已报告越狱提示的相似度以及攻击成功率。对话级分析有助于理解对话的进展过程,并帮助在对话上下文中发现越狱提示。轮次级分析允许用户探索单轮提示与已报告越狱提示之间的语义相似度和token重叠情况,从而辅助识别新的越狱策略。该系统的有效性和可用性已通过多个案例研究和专家访谈得到验证。

英文摘要:

Large Language Models (LLMs) have gained significant attention but also raised concerns due to the risk of misuse. Jailbreak prompts, a popular type of adversarial attack towards LLMs, have appeared and constantly evolved to breach the safety protocols of LLMs. To address this issue, LLMs are regularly updated with safety patches based on reported jailbreak prompts. However, malicious users often keep their successful jailbreak prompts private to exploit LLMs. To uncover these private jailbreak prompts, extensive analysis of large-scale conversational datasets is necessary to identify prompts that still manage to bypass the system's defenses. This task is highly challenging due to the immense volume of conversation data, diverse characteristics of jailbreak prompts, and their presence in complex multi-turn conversations. To tackle these challenges, we introduce JailbreakHunter, a visual analytics approach for identifying jailbreak prompts in large-scale human-LLM conversational datasets. We have designed a workflow with three analysis levels: group-level, conversation-level, and turn-level. Group-level analysis enables users to grasp the distribution of conversations and identify suspicious conversations using multiple criteria, such as similarity with reported jailbreak prompts in previous research and attack success rates. Conversation-level analysis facilitates the understanding of the progress of conversations and helps discover jailbreak prompts within their conversation contexts. Turn-level analysis allows users to explore the semantic similarity and token overlap between a singleturn prompt and the reported jailbreak prompts, aiding in the identification of new jailbreak strategies. The effectiveness and usability of the system were verified through multiple case studies and expert interviews.

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

↑