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

RL-GPT:整合强化学习与代码即策略

RL-GPT: Integrating Reinforcement Learning and Code-as-policy

The Chinese University of Hong Kong(香港中文大学);School of Computer Science, Peking University(北京大学计算机学院);SmartMore(智谱AI);Beijing Academy of Artificial Intelligence(北京智源人工智能研究院)

Shaoteng Liu, Haoqi Yuan, Minda Hu, Yanwei Li, Yukang Chen, Shu Liu, Zongqing Lu, Jiaya Jia

AI总结:

本文提出双层级框架 RL-GPT,通过慢智能体进行代码规划、快智能体结合强化学习执行低层动作,在 Minecraft 和 MineDojo 中实现高效率与 SOTA 表现。

摘要:

大型语言模型(LLM)已经展示出通过编程使用各种工具的能力,但在处理复杂逻辑和精确控制方面仍存在局限。在具身任务中,高层规划适合直接通过编程完成,而低层动作通常需要针对任务进行细化,例如强化学习(RL)。为了无缝整合这两种模态,我们提出了一个双层级层次化框架 RL-GPT,包含一个慢智能体和一个快智能体。慢智能体分析适合编程的动作,而快智能体执行编程任务。这种分解有效地使每个智能体专注于特定任务,在我们的流程中被证明非常高效。我们的方法优于传统 RL 方法和现有 GPT 智能体,表现出更高的效率。在 Minecraft 游戏中,该方法在一块 RTX3090 上于一天之内快速获得钻石。此外,它在所有指定的 MineDojo 任务上均达到 SOTA 性能。

英文摘要:

Large Language Models (LLMs) have demonstrated proficiency in utilizing various tools by coding, yet they face limitations in handling intricate logic and precise control. In embodied tasks, high-level planning is amenable to direct coding, while low-level actions often necessitate task-specific refinement, such as Reinforcement Learning (RL). To seamlessly integrate both modalities, we introduce a two-level hierarchical framework, RL-GPT, comprising a slow agent and a fast agent. The slow agent analyzes actions suitable for coding, while the fast agent executes coding tasks. This decomposition effectively focuses each agent on specific tasks, proving highly efficient within our pipeline. Our approach outperforms traditional RL methods and existing GPT agents, demonstrating superior efficiency. In the Minecraft game, it rapidly obtains diamonds within a single day on an RTX3090. Additionally, it achieves SOTA performance across all designated MineDojo tasks.

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

↑