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

使用大型语言模型指导强化学习中的预训练

Guiding Pretraining in Reinforcement Learning with Large Language Models

University of California, Berkeley(加州大学伯克利分校);University of Washington(华盛顿大学);Massachusetts Institute of Technology(麻省理工学院);Inria(法国国家信息与自动化研究所)

Yuqing Du, Olivia Watkins, Zihan Wang, Cédric Colas, Trevor Darrell, Pieter Abbeel, Abhishek Gupta, Jacob Andreas

AI总结:

本文提出 ELLM 方法,利用大型语言模型的背景知识为强化学习智能体提供目标奖励,从而在无需人类参与的情况下改善预训练阶段的探索效率,并在下游任务中保持或提升性能。

摘要:

强化学习算法通常在缺乏密集且经过良好塑形的奖励函数时表现不佳。内在动机探索方法通过奖励智能体访问新颖状态或转移来解决这一局限性,但在大型环境中,这些方法提供的收益有限,因为大多数发现的新颖性与下游任务无关。我们描述了一种利用来自文本语料库的背景知识来塑形探索的方法。该方法名为 ELLM(Exploring with LLMs),通过奖励智能体达成由语言模型根据智能体当前状态的描述提示而提出的目标,来引导其行为。借助大规模语言模型预训练,ELLM 在无需人类参与的情况下,引导智能体表现出对人类有意义且可能有用的行为。我们在 Crafter 游戏环境和 Housekeep 机器人模拟器中评估了 ELLM,结果表明,经过 ELLM 训练的智能体在预训练阶段对常识性行为的覆盖更好,并且在一系列下游任务上通常能匹配或提升性能。代码可在 https://github.com/yuqingd/ellm 获取。

英文摘要:

Reinforcement learning algorithms typically struggle in the absence of a dense, well-shaped reward function. Intrinsically motivated exploration methods address this limitation by rewarding agents for visiting novel states or transitions, but these methods offer limited benefits in large environments where most discovered novelty is irrelevant for downstream tasks. We describe a method that uses background knowledge from text corpora to shape exploration. This method, called ELLM (Exploring with LLMs) rewards an agent for achieving goals suggested by a language model prompted with a description of the agent's current state. By leveraging large-scale language model pretraining, ELLM guides agents toward human-meaningful and plausibly useful behaviors without requiring a human in the loop. We evaluate ELLM in the Crafter game environment and the Housekeep robotic simulator, showing that ELLM-trained agents have better coverage of common-sense behaviors during pretraining and usually match or improve performance on a range of downstream tasks. Code available at https://github.com/yuqingd/ellm.

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

↑