arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.11455cs.CLcs.AIcs.LG
收藏

打破智能体-环境接口以微调包容性语言模型

Shattering the Agent-Environment Interface for Fine-Tuning Inclusive Language Models

Stanford University(斯坦福大学);Microsoft(微软)

Wanqiao Xu, Shi Dong, Dilip Arumugam, Benjamin Van Roy

AI总结:

本研究提出将预训练语言模型同时视为策略、奖励函数和转移函数的新视角,实现奖励学习与模型微调的联合直接优化,并通过基于认知不确定性的高效探索验证了该方法带来的统计收益。

摘要:

基于人类反馈的强化学习(RLHF)方法在微调自回归语言模型中极受欢迎,其核心在于显式训练一个独立于语言模型本身的奖励模型来模拟人类反馈。该奖励模型随后与策略梯度方法结合,以显著改善语言模型输出与期望响应之间的对齐。在本研究中,我们采用一种新视角,将预训练语言模型本身同时视为策略、奖励函数和转移函数。其直接结果是,奖励学习与语言模型微调可以联合且直接地进行,无需任何进一步的下游策略优化。尽管该视角确实打破了传统的智能体-环境接口,我们仍主张,运用强化学习中的传统算法概念可带来巨大的统计收益。我们的实验通过基于认知不确定性的表征与消解进行高效探索,展示了这一点的具体实例。为透明阐述这些思想,我们将注意力限制在一个简单的教学性数据生成过程上,将向实际规模系统的扩展留作未来工作。

英文摘要:

A centerpiece of the ever-popular reinforcement learning from human feedback (RLHF) approach to fine-tuning autoregressive language models is the explicit training of a reward model to emulate human feedback, distinct from the language model itself. This reward model is then coupled with policy-gradient methods to dramatically improve the alignment between language model outputs and desired responses. In this work, we adopt a novel perspective wherein a pre-trained language model is itself simultaneously a policy, reward function, and transition function. An immediate consequence of this is that reward learning and language model fine-tuning can be performed jointly and directly, without requiring any further downstream policy optimization. While this perspective does indeed break the traditional agent-environment interface, we nevertheless maintain that there can be enormous statistical benefits afforded by bringing to bear traditional algorithmic concepts from reinforcement learning. Our experiments demonstrate one concrete instance of this through efficient exploration based on the representation and resolution of epistemic uncertainty. In order to illustrate these ideas in a transparent manner, we restrict attention to a simple didactic data generating process and leave for future work extension to systems of practical scale.

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

↑