开发与人类交互的语言模型的一个重要方面是调整其行为,使其对人类用户有用且无害。这通常通过以增强期望行为并抑制不期望行为的方式调整模型来实现,这一过程被称为对齐。在本文中,我们提出了一种称为行为期望界限(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.
On the Limitations of Steering in Language Model Alignment
Birla Institute of Technology and Science Pilani(比拉理工科学与 Pilani 学院);National University of Singapore(新加坡国立大学);Institute for Data Science, National University of Singapore(新加坡国立大学数据科学研究院)
Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback
MIT(麻省理工学院);Harvard University(哈佛大学);Columbia University(哥伦比亚大学);Cornell Tech(康奈尔科技校区);Apollo Research(阿波罗研究院);ETH Zurich(苏黎世联邦理工学院);UC Berkeley(加州大学伯克利分校);University of Sussex(萨塞克斯大学);EffiSciences;University of Cambridge(剑桥大学);New York University(纽约大学);UNC Chapel Hill(北卡罗来纳大学教堂山分校);University of Southern California(南加州大学);Stanford University(斯坦福大学)
CM-Align: Consistency-based Multilingual Alignment for Large Language Models
Key Laboratory of Big Data & Artificial Intelligence in Transportation, Beijing Jiaotong University, Ministry of Education(大数据与人工智能交通运输 key laboratory,北京交通大学,教育部);School of Computer Science and Technology, Beijing Jiaotong University, Beijing, China(计算机科学与技术学院,北京交通大学,北京,中国);Pattern Recognition Center, WeChat AI, Tencent Inc, China(模式识别中心,微信AI,腾讯公司,中国)
A Survey on Personalized and Pluralistic Preference Alignment in Large Language Models
University of California, San Diego(加利福尼亚大学圣地亚哥分校);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Adobe Research(奥多比研究院);The Ohio State University(俄亥俄州立大学);Allen Institute for AI(艾伦人工智能研究所)
VC-Soup: Value-Consistency Guided Multi-Value Alignment for Large Language Models
Key Laboratory of Knowledge Engineering with Big Data(知识工程与大数据重点实验室);Hefei University of Technology(合肥工业大学);Innovation School of Artificial Intelligence(人工智能创新学院)
Center for Information and Language Processing, LMU Munich(慕尼黑大学信息与语言处理中心);Munich Centre for Machine Learning (MCML)(慕尼黑机器学习中心);Faculty of Mathematics and Physics, Charles University(查理大学数学与物理学院);Technical University of Munich(慕尼黑工业大学)