针对大型语言模型的数据防御
Data Defenses Against Large Language Models
AI总结:
本文提出“数据防御”策略,通过自动生成对抗性提示注入直接赋予数据所有者阻止LLM推理其数据的能力,并验证其低成本、高效、鲁棒且适用于最新商业和开源模型。
摘要:
大型语言模型擅长对文本进行推理,以提取信息、总结信息或生成额外文本。这些推理能力涉及多种伦理危害,包括监控、劳动力替代以及知识产权/版权盗窃。虽然已经提出了许多政策、法律和技术缓解措施来应对这些危害,但这些缓解措施通常需要机构的合作,而这些机构的行动速度慢于技术进步(即政府),或者几乎没有动力采取行动来应对这些危害(即创造这些LLM并从中获利的公司)。在本文中,我们定义并构建了“数据防御”——一种新颖的策略,直接赋予数据所有者阻止LLM对其数据进行推理的能力。我们通过开发一种自动生成对抗性提示注入的方法来创建数据防御,当这些注入被添加到输入文本中时,会显著降低LLM准确推断输入文本主体的个人身份信息或在推理中使用受版权保护文本的能力。我们审视了启用这种对LLM推理的直接抵抗的伦理问题,并论证,制造抵抗和颠覆LLM的数据防御能够实现重要价值,如数据所有权、数据主权以及对AI系统的民主控制。我们验证了我们的数据防御生成成本低且速度快,适用于最新的商业和开源LLM,能够抵抗对策,并且对多种不同的攻击设置具有鲁棒性。最后,我们考虑了LLM数据防御的安全影响,并概述了该领域未来的几个研究方向。我们的代码可在 https://github.com/wagnew3/LLMDataDefenses 获取,使用我们的防御来保护文本免受LLM推理的工具位于 https://wagnew3.github.io/LLM-Data-Defenses/。
英文摘要:
Large language models excel at performing inference over text to extract information, summarize information, or generate additional text. These inference capabilities are implicated in a variety of ethical harms spanning surveillance, labor displacement, and IP/copyright theft. While many policy, legal, and technical mitigations have been proposed to counteract these harms, these mitigations typically require cooperation from institutions that move slower than technical advances (i.e., governments) or that have few incentives to act to counteract these harms (i.e., the corporations that create and profit from these LLMs). In this paper, we define and build "data defenses" -- a novel strategy that directly empowers data owners to block LLMs from performing inference on their data. We create data defenses by developing a method to automatically generate adversarial prompt injections that, when added to input text, significantly reduce the ability of LLMs to accurately infer personally identifying information about the subject of the input text or to use copyrighted text in inference. We examine the ethics of enabling such direct resistance to LLM inference, and argue that making data defenses that resist and subvert LLMs enables the realization of important values such as data ownership, data sovereignty, and democratic control over AI systems. We verify that our data defenses are cheap and fast to generate, work on the latest commercial and open-source LLMs, resistance to countermeasures, and are robust to several different attack settings. Finally, we consider the security implications of LLM data defenses and outline several future research directions in this area. Our code is available at https://github.com/wagnew3/LLMDataDefenses and a tool for using our defenses to protect text against LLM inference is at https://wagnew3.github.io/LLM-Data-Defenses/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。