arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.18104cs.CRcs.AI
收藏

让它们提问并回答:通过伪装与重构在少量查询中越狱大型语言模型

Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstruction

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);RealAI;Tsinghua University(清华大学)

Tong Liu, Yingjie Zhang, Zhe Zhao, Yinpeng Dong, Guozhu Meng, Kai Chen

AI总结:

本文提出黑盒越狱方法DRA,通过伪装有害指令并诱导模型重构原指令,在GPT-4上实现91.1%的攻击成功率。

摘要:

近年来,大型语言模型(LLMs)在各种任务中表现出显著成功,但LLMs的可信度仍然是一个未解决的问题。其中一个具体威胁是可能生成有毒或有害的响应。攻击者可以构造对抗性提示,诱导LLMs产生有害响应。在这项工作中,我们通过识别安全微调中的偏置漏洞,开创了LLMs安全领域的理论基础,并设计了一种名为DRA(伪装与重构攻击,Disguise and Reconstruction Attack)的黑盒越狱方法,该方法通过伪装隐藏有害指令,并促使模型在其补全输出中重构原始有害指令。我们在各种开源和闭源模型上评估了DRA,展示了最先进的越狱成功率和攻击效率。值得注意的是,DRA在OpenAI GPT-4聊天机器人上取得了91.1%的攻击成功率。

英文摘要:

In recent years, large language models (LLMs) have demonstrated notable success across various tasks, but the trustworthiness of LLMs is still an open problem. One specific threat is the potential to generate toxic or harmful responses. Attackers can craft adversarial prompts that induce harmful responses from LLMs. In this work, we pioneer a theoretical foundation in LLMs security by identifying bias vulnerabilities within the safety fine-tuning and design a black-box jailbreak method named DRA (Disguise and Reconstruction Attack), which conceals harmful instructions through disguise and prompts the model to reconstruct the original harmful instruction within its completion. We evaluate DRA across various open-source and closed-source models, showcasing state-of-the-art jailbreak success rates and attack efficiency. Notably, DRA boasts a 91.1% attack success rate on OpenAI GPT-4 chatbot.

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

↑