arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.01581cs.LGcs.AIcs.CR
收藏

开源大语言模型的安全性研究:对齐真的能防止它们被滥用吗?

On the Safety of Open-Sourced Large Language Models: Does Alignment Really Prevent Them From Being Misused?

The Pennsylvania State University(宾夕法尼亚州立大学)

Hangfan Zhang, Zhimeng Guo, Huaisheng Zhu, Bochuan Cao, Lu Lin, Jinyuan Jia, Jinghui Chen, Dinghao Wu

AI总结:

本研究针对“对齐是否能防止开源大语言模型被滥用”的问题,提出直接操控模型生成过程的攻击方法,在4个开源对齐LLM上验证了其可被轻易引导生成不良内容,凸显了研发更先进安全缓解策略的必要性。

摘要:

大语言模型(LLM)在自然语言生成(NLG)任务中已取得前所未有的性能表现。然而,现有诸多研究表明,这类模型可能被滥用于生成不良内容。作为应对,在向公众开放LLM之前,模型开发者通常会通过监督微调(SFT)或人类反馈强化学习(RLHF)对这些语言模型进行对齐。经对齐的大语言模型在面对潜在有害/不道德请求时,会拒绝生成不良内容。一个自然的问题是:“对齐真的能阻止这些开源大语言模型被滥用于生成不良内容吗?”在本研究中,我们对该问题给出了否定答案。具体而言,我们证明这些经过对齐的开源大语言模型无需大量计算或精心的提示词设计,就可被轻易引导生成不良内容。我们的核心思路是直接操控开源LLM的生成过程,引导其生成包括有害或有偏见的信息、甚至隐私数据在内的不良内容。我们在4个公开可获取的开源LLM上评估了所提方法,研究结果凸显了为开源LLM制定更先进缓解策略的必要性。

英文摘要:

Large Language Models (LLMs) have achieved unprecedented performance in Natural Language Generation (NLG) tasks. However, many existing studies have shown that they could be misused to generate undesired content. In response, before releasing LLMs for public access, model developers usually align those language models through Supervised Fine-Tuning (SFT) or Reinforcement Learning with Human Feedback (RLHF). Consequently, those aligned large language models refuse to generate undesired content when facing potentially harmful/unethical requests. A natural question is "could alignment really prevent those open-sourced large language models from being misused to generate undesired content?''. In this work, we provide a negative answer to this question. In particular, we show those open-sourced, aligned large language models could be easily misguided to generate undesired content without heavy computations or careful prompt designs. Our key idea is to directly manipulate the generation process of open-sourced LLMs to misguide it to generate undesired content including harmful or biased information and even private data. We evaluate our method on 4 open-sourced LLMs accessible publicly and our finding highlights the need for more advanced mitigation strategies for open-sourced LLMs.

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

↑