arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.16119cs.CRcs.AIcs.CL
收藏

忽略此标题与 HackAPrompt:通过全球规模的提示词黑客竞赛揭示 LLM 的系统性漏洞

Ignore This Title and HackAPrompt: Exposing Systemic Vulnerabilities of LLMs through a Global Scale Prompt Hacking Competition

University of Maryland(马里兰大学);Mila(米拉研究所);Stanford(斯坦福大学);Technical University of Sofia(索非亚技术大学);University of Milan(米兰大学);NYU(纽约大学);University of Arizona(亚利桑那大学)

Sander Schulhoff, Jeremy Pinto, Anaum Khan, Louis-François Bouchard, Chenglei Si, Svetlina Anati, Valen Tagliabue, Anson Liu Kost, Christopher Carnahan, Jordan Boyd-Graber

AI总结:

研究通过全球提示词黑客竞赛收集 60 万余条对抗性提示词,验证了三个先进 LLM 的提示注入与越狱漏洞,并构建了对抗性提示词分类体系。

摘要:

大型语言模型(LLM)被部署在聊天机器人和写作助手等需要用户直接参与的交互式场景中。这些部署容易受到提示词注入和越狱(统称为提示词黑客攻击)的影响,即模型被操纵以忽略其原始指令,并遵循可能具有恶意的指令。尽管提示词黑客被广泛认为是一项重大安全威胁,但目前缺乏关于该问题的大规模资源和定量研究。为弥补这一空白,我们发起了一项全球性提示词黑客竞赛,允许自由形式的人类输入攻击。我们收集了针对三个最先进 LLM 的 60 万余条对抗性提示词。本文描述了该数据集,并通过实证验证当前 LLM 确实可以通过提示词黑客被操纵。我们还提出了一个关于对抗性提示词类型的综合分类本体。

英文摘要:

Large Language Models (LLMs) are deployed in interactive contexts with direct user engagement, such as chatbots and writing assistants. These deployments are vulnerable to prompt injection and jailbreaking (collectively, prompt hacking), in which models are manipulated to ignore their original instructions and follow potentially malicious ones. Although widely acknowledged as a significant security threat, there is a dearth of large-scale resources and quantitative studies on prompt hacking. To address this lacuna, we launch a global prompt hacking competition, which allows for free-form human input attacks. We elicit 600K+ adversarial prompts against three state-of-the-art LLMs. We describe the dataset, which empirically verifies that current LLMs can indeed be manipulated via prompt hacking. We also present a comprehensive taxonomical ontology of the types of adversarial prompts.

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

↑