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

大型语言模型对齐的根本局限性

Fundamental Limitations of Alignment in Large Language Models

The Hebrew University(希伯来大学);AI21 Labs(AI21实验室)

Yotam Wolf, Noam Wies, Oshri Avnery, Yoav Levine, Amnon Shashua

AI总结:

本文提出行为期望界限(BEB)理论框架,证明大型语言模型的对齐存在根本局限性,任何未被完全消除的不期望行为均可被对抗性提示触发,揭示了现有对齐方法的安全隐患。

摘要:

开发与人类交互的语言模型的一个重要方面是调整其行为,使其对人类用户有用且无害。这通常通过以增强期望行为并抑制不期望行为的方式调整模型来实现,这一过程被称为对齐。在本文中,我们提出了一种称为行为期望界限(BEB)的理论方法,使我们能够正式研究大型语言模型中对齐的几个固有特征和局限性。重要的是,我们证明在该框架的范围内,对于模型有有限概率表现出的任何行为,都存在能够触发模型输出该行为的提示,且该概率随提示长度的增加而增加。这意味着任何减弱但不完全消除不期望行为的对齐过程,都无法安全抵御对抗性提示攻击。此外,我们的框架揭示了诸如基于人类反馈的强化学习等领先对齐方法使 LLM 易被提示诱导出不期望行为的机制。这一理论结果正在被所谓的当代“ChatGPT 越狱”大规模实验性地证明,在这些越狱中,对抗性用户通过触发 LLM 使其扮演恶意角色,从而诱骗其打破对齐防护栏。我们的结果暴露了 LLM 对齐的根本局限性,并突显了设计可靠机制以确保 AI 安全的迫切需求。

英文摘要:

An important aspect in developing language models that interact with humans is aligning their behavior to be useful and unharmful for their human users. This is usually achieved by tuning the model in a way that enhances desired behaviors and inhibits undesired ones, a process referred to as alignment. In this paper, we propose a theoretical approach called Behavior Expectation Bounds (BEB) which allows us to formally investigate several inherent characteristics and limitations of alignment in large language models. Importantly, we prove that within the limits of this framework, for any behavior that has a finite probability of being exhibited by the model, there exist prompts that can trigger the model into outputting this behavior, with probability that increases with the length of the prompt. This implies that any alignment process that attenuates an undesired behavior but does not remove it altogether, is not safe against adversarial prompting attacks. Furthermore, our framework hints at the mechanism by which leading alignment approaches such as reinforcement learning from human feedback make the LLM prone to being prompted into the undesired behaviors. This theoretical result is being experimentally demonstrated in large scale by the so called contemporary "chatGPT jailbreaks", where adversarial users trick the LLM into breaking its alignment guardrails by triggering it into acting as a malicious persona. Our results expose fundamental limitations in alignment of LLMs and bring to the forefront the need to devise reliable mechanisms for ensuring AI safety.

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

↑