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

LLM 智能体的道德对齐

Moral Alignment for LLM Agents

University College London(伦敦大学学院);University of Bologna(博洛尼亚大学)

Elizaveta Tennant, Stephen Hailes, Mirco Musolesi

AI总结:

本文提出用显式编码人类价值观的内在奖励微调 LLM 智能体,并在 IPD 等博弈环境中验证其道德对齐、策略忘却与泛化效果。

摘要:

基于预训练大语言模型(LLM)的决策智能体正越来越多地部署于人类活动的各个领域。尽管它们目前的应用还相当专门化,但多项研究工作正在开发更通用的智能体。随着基于 LLM 的系统变得更具智能体特性,它们对人类活动的影响将会增强,而其透明度将会下降。因此,开发有效的方法使其与人类价值观保持一致至关重要。对齐中的主流做法通常依赖人类偏好数据(例如在 RLHF 或 DPO 中),其中价值观是隐含、不透明的,并且本质上是从对不同模型输出的相对偏好中推断出来的。在本研究中,我们不依赖人类反馈,而是提出奖励函数设计,以显式且透明的方式编码核心人类价值观,用于基础智能体模型基于强化学习的微调。具体而言,我们使用内在奖励来实现 LLM 智能体的道德对齐。我们利用义务论伦理学和功利主义这些传统哲学框架评估我们的方法,在重复囚徒困境(IPD)环境中根据行动和后果量化智能体的道德奖励。我们还展示了如何部署道德微调,使智能体能够忘却此前形成的自私策略。最后,我们发现,在 IPD 博弈中学到的某些道德策略可以泛化到其他若干矩阵博弈环境。总之,我们证明了使用内在奖励进行微调是使 LLM 智能体与人类价值观对齐的一种有前景的通用解决方案,并且相较于当前占主导地位的对齐技术,它可能代表一种更透明、更具成本效益的替代方案。

英文摘要:

Decision-making agents based on pre-trained Large Language Models (LLMs) are increasingly being deployed across various domains of human activity. While their applications are currently rather specialized, several research efforts are underway to develop more generalist agents. As LLM-based systems become more agentic, their influence on human activity will grow and their transparency will decrease. Consequently, developing effective methods for aligning them to human values is vital. The prevailing practice in alignment often relies on human preference data (e.g., in RLHF or DPO), in which values are implicit, opaque and are essentially deduced from relative preferences over different model outputs. In this work, instead of relying on human feedback, we introduce the design of reward functions that explicitly and transparently encode core human values for Reinforcement Learning-based fine-tuning of foundation agent models. Specifically, we use intrinsic rewards for the moral alignment of LLM agents. We evaluate our approach using the traditional philosophical frameworks of Deontological Ethics and Utilitarianism, quantifying moral rewards for agents in terms of actions and consequences on the Iterated Prisoner's Dilemma (IPD) environment. We also show how moral fine-tuning can be deployed to enable an agent to unlearn a previously developed selfish strategy. Finally, we find that certain moral strategies learned on the IPD game generalize to several other matrix game environments. In summary, we demonstrate that fine-tuning with intrinsic rewards is a promising general solution for aligning LLM agents to human values, and it might represent a more transparent and cost-effective alternative to currently predominant alignment techniques.

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

↑