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

LMRL Gym:面向语言模型多轮强化学习的基准测试

LMRL Gym: Benchmarks for Multi-Turn Reinforcement Learning with Language Models

UC Berkeley(加州大学伯克利分校);Google DeepMind(谷歌DeepMind)

Marwa Abdulhai, Isadora White, Charlie Snell, Charles Sun, Joey Hong, Yuexiang Zhai, Kelvin Xu, Sergey Levine

AI总结:

本文提出LMRL-Gym基准测试及开源框架,用于评估和训练LLMs在多轮语言交互中的目标导向强化学习能力,涵盖8个对话与文本游戏任务。

摘要:

大型语言模型(LLMs)提供了出色的文本生成能力,但标准的提示和生成方法通常不会产生有意图或目标导向的智能体,并且可能需要大量的提示调优。这在多轮对话中尤为明显:即使是当前最好的LLMs也很少提出澄清性问题、进行显式的信息收集,或者采取当前行动以便在多轮之后做出更好的决策。强化学习有潜力利用LLMs强大的建模能力及其对文本交互的内部表示,来创建有能力的目标导向语言智能体。这可以实现有意图且时间上扩展的交互,例如通过协调的说服和精心设计的问题与人类交互,或者通过文本游戏进行目标导向的博弈以带来期望的最终结果。然而,实现这一点需要社区开发稳定可靠的强化学习算法,以有效地训练LLMs。开发此类算法需要能够衡量算法设计进展的任务,为多轮交互提供可访问且可复现的评估,并覆盖一系列任务属性和改进强化学习算法的挑战。本文介绍了用于评估LLMs多轮强化学习的LMRL-Gym基准测试,以及一个开源研究框架,其中包含一个基础工具包,用于通过离线的基于价值和基于策略的强化学习方法开始进行多轮强化学习。我们的基准测试包含8个不同的语言任务,这些任务需要多轮语言交互,并覆盖了开放式对话和文本游戏中的一系列任务。

英文摘要:

Large language models (LLMs) provide excellent text-generation capabilities, but standard prompting and generation methods generally do not lead to intentional or goal-directed agents and might necessitate considerable prompt tuning. This becomes particularly apparent in multi-turn conversations: even the best current LLMs rarely ask clarifying questions, engage in explicit information gathering, or take actions now that lead to better decisions after multiple turns. Reinforcement learning has the potential to leverage the powerful modeling capabilities of LLMs, as well as their internal representation of textual interactions, to create capable goal-directed language agents. This can enable intentional and temporally extended interactions, such as with humans, through coordinated persuasion and carefully crafted questions, or in goal-directed play through text games to bring about desired final outcomes. However, enabling this requires the community to develop stable and reliable reinforcement learning algorithms that can effectively train LLMs. Developing such algorithms requires tasks that can gauge progress on algorithm design, provide accessible and reproducible evaluations for multi-turn interactions, and cover a range of task properties and challenges in improving reinforcement learning algorithms. Our paper introduces the LMRL-Gym benchmark for evaluating multi-turn RL for LLMs, together with an open-source research framework containing a basic toolkit for getting started on multi-turn RL with offline value-based and policy-based RL methods. Our benchmark consists of 8 different language tasks, which require multiple rounds of language interaction and cover a range of tasks in open-ended dialogue and text games.

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

↑