针对提示注入和劫持攻击的LLM防御措施系统文献综述:扩展NIST分类
A Systematic Literature Review on LLM Defenses Against Prompt Injection and Jailbreaking: Expanding NIST Taxonomy
AI总结:
本文系统回顾了针对提示注入和劫持攻击的LLM防御措施,扩展了NIST分类,并提供了全面的防御目录和指南。
摘要:
生成式人工智能(GenAI)和大语言模型(LLMs)的快速发展和广泛应用,伴随着新的安全漏洞和挑战的出现,例如劫持和其它提示注入攻击。这些恶意构造的输入可以利用LLMs,导致数据泄露、未经授权的操作或被篡改的输出,例如。随着攻击和防御提示注入技术的迅速发展,对缓解策略的结构化理解变得越来越重要。为了解决这个问题,本文首次系统性地回顾了提示注入缓解策略的文献,涵盖了88项研究。基于NIST关于对抗性机器学习的报告,本文通过以下几个方面为该领域做出了贡献。首先,它识别了NIST报告和其他学术综述和调查中未记录的研究。其次,我们提出了对NIST分类的扩展,通过引入额外的防御类别。第三,通过采用NIST已建立的术语和分类作为基础,我们促进了一致性,并使未来研究者能够基于本文提出的标准化分类进行扩展。最后,我们提供了一个全面的提示注入防御目录,记录了这些防御在特定LLMs和攻击数据集上的报告定量效果,同时指出了哪些解决方案是开源的或模型无关的。该目录与本文提出的指南相结合,旨在为推进对抗性机器学习领域研究的研究人员以及寻求在生产系统中实施有效防御措施的开发者提供实用资源。
英文摘要:
The rapid advancement and widespread adoption of generative artificial intelligence (GenAI) and large language models (LLMs) has been accompanied by the emergence of new security vulnerabilities and challenges, such as jailbreaking and other prompt injection attacks. These maliciously crafted inputs can exploit LLMs, causing data leaks, unauthorized actions, or compromised outputs, for instance. As both offensive and defensive prompt injection techniques evolve quickly, a structured understanding of mitigation strategies becomes increasingly important. To address that, this work presents the first systematic literature review on prompt injection mitigation strategies, comprehending 88 studies. Building upon NIST's report on adversarial machine learning, this work contributes to the field through several avenues. First, it identifies studies beyond those documented in NIST's report and other academic reviews and surveys. Second, we propose an extension to NIST taxonomy by introducing additional categories of defenses. Third, by adopting NIST's established terminology and taxonomy as a foundation, we promote consistency and enable future researchers to build upon the standardized taxonomy proposed in this work. Finally, we provide a comprehensive catalog of the reviewed prompt injection defenses, documenting their reported quantitative effectiveness across specific LLMs and attack datasets, while also indicating which solutions are open-source and model-agnostic. This catalog, together with the guidelines presented herein, aims to serve as a practical resource for researchers advancing the field of adversarial machine learning and for developers seeking to implement effective defenses in production systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。