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

保护大型语言模型:一项综述

Safeguarding Large Language Models: A Survey

University of Liverpool(利物浦大学);Université Grenoble Alpes(格勒诺布尔阿尔卑斯大学);Loughborough University(拉夫堡大学);CSX-AI

Yi Dong, Ronghui Mu, Yanghao Zhang, Siqi Sun, Tianle Zhang, Changshun Wu, Gaojie Jin, Yi Qi, Jinwei Hu, Jie Meng, Saddek Bensalem, Xiaowei Huang

AI总结:

本文综述了大型语言模型安全机制的现状,涵盖主要提供商和开源社区的防护措施、属性评估与增强、攻防技术,并提出通过多学科方法、神经符号方法和系统开发生命周期构建全面防护机制的愿景。

摘要:

在蓬勃发展的 Large Language Models (LLMs) 领域,开发稳健的安全机制(俗称“safeguards”或“guardrails”)已成为确保 LLMs 在规定边界内被伦理使用的当务之急。本文对这一关键机制的现状进行了系统的文献综述。文章讨论了其主要挑战,以及如何将其增强为能够处理各种情境下伦理问题的综合机制。首先,本文阐明了主要 LLM 服务提供商和开源社区所采用的 safeguarding 机制的现状。随后介绍了评估、分析和增强 guardrail 可能希望强制执行的某些(不)期望属性的技术,如幻觉、公平性、隐私等。在此基础上,我们回顾了规避这些控制(即攻击)、防御攻击以及加固 guardrails 的技术。虽然上述技术代表了当前现状和活跃的研究趋势,但我们也讨论了几种难以用现有方法轻易应对的挑战,并提出了我们的愿景,即通过充分考虑多学科方法、神经符号方法和系统开发生命周期来实现全面的 guardrail。

英文摘要:

In the burgeoning field of Large Language Models (LLMs), developing a robust safety mechanism, colloquially known as "safeguards" or "guardrails", has become imperative to ensure the ethical use of LLMs within prescribed boundaries. This article provides a systematic literature review on the current status of this critical mechanism. It discusses its major challenges and how it can be enhanced into a comprehensive mechanism dealing with ethical issues in various contexts. First, the paper elucidates the current landscape of safeguarding mechanisms that major LLM service providers and the open-source community employ. This is followed by the techniques to evaluate, analyze, and enhance some (un)desirable properties that a guardrail might want to enforce, such as hallucinations, fairness, privacy, and so on. Based on them, we review techniques to circumvent these controls (i.e., attacks), to defend the attacks, and to reinforce the guardrails. While the techniques mentioned above represent the current status and the active research trends, we also discuss several challenges that cannot be easily dealt with by the methods and present our vision on how to implement a comprehensive guardrail through the full consideration of multi-disciplinary approach, neural-symbolic method, and systems development lifecycle.

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

↑