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

为大规模语言模型(LLMs)的红队测试构建威胁模型

Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)

Bloomberg(彭博);New Jersey Institute of Technology(新泽西理工学院);Harvard University(哈佛大学)

Apurv Verma, Satyapriya Krishna, Sebastian Gehrmann, Madhavan Seshadri, Anu Pradhan, Tom Ault, Leslie Barrett, David Rabinowitz, John Doucette, NhatHai Phan

AI总结:

本文提出了一种针对大规模语言模型的威胁模型,并系统化地总结了红队攻击的分类、防御方法及实践策略,以提升LLM系统的安全性和鲁棒性。

摘要:

在大型语言模型(LLM)上创建安全且具有弹性的应用程序需要预测、适应并对抗不可预见的威胁。红队测试已成为识别现实世界LLM实现中漏洞的关键技术。本文提出了详细的威胁模型,并提供了针对LLM红队攻击的系统化知识(SoK)。我们基于LLM开发和部署过程的各个阶段开发了攻击分类,并从先前研究中提取了各种见解。此外,我们还编译了防御方法和实用的红队测试策略供实践者使用。通过界定突出的攻击模式并揭示各种入口点,本文为提高基于LLM系统的安全性和鲁棒性提供了框架。

英文摘要:

Creating secure and resilient applications with large language models (LLM) requires anticipating, adjusting to, and countering unforeseen threats. Red-teaming has emerged as a critical technique for identifying vulnerabilities in real-world LLM implementations. This paper presents a detailed threat model and provides a systematization of knowledge (SoK) of red-teaming attacks on LLMs. We develop a taxonomy of attacks based on the stages of the LLM development and deployment process and extract various insights from previous research. In addition, we compile methods for defense and practical red-teaming strategies for practitioners. By delineating prominent attack motifs and shedding light on various entry points, this paper provides a framework for improving the security and robustness of LLM-based systems.

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

↑