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

LLM增强的分层智能体

LLM Augmented Hierarchical Agents

University of Maryland Baltimore County(马里兰大学巴尔的摩县分校);Johns Hopkins University(约翰斯·霍普金斯大学)

Bharat Prakash, Tim Oates, Tinoosh Mohsenin

AI总结:

针对强化学习解决长时程任务样本效率低的问题,提出LLM增强的分层智能体,用LLM引导高层策略结合RL环境学习,在多仿真环境和真实机械臂任务中优于基线,且部署无需LLM。

摘要:

使用强化学习(Reinforcement Learning, RL)解决长时程、时间延展的任务极具挑战性,而无先验知识的学习(即白板学习)的普遍做法进一步加剧了这一难度。人类能够生成并执行包含时间延展动作的计划,且能快速学会执行新任务,因为我们几乎从不从零开始解决问题。我们希望自主智能体也具备这种能力。近期,大语言模型(LLM)已被证明编码了海量关于世界的知识,且具备出色的上下文学习与推理能力。然而,利用LLM解决现实世界问题十分困难,因为它们并未扎根于当前任务。本文中,我们利用LLM的规划能力,同时借助RL实现从环境中学习,由此构建出一种使用LLM解决长时程任务的分层智能体。该智能体并非完全依赖LLM,而是由LLM引导高层策略,这使得学习的样本效率显著提升。我们在MiniGrid、SkillHack和Crafter等仿真环境,以及真实机械臂的积木操作任务中对该方法进行了评估。结果表明,采用我们的方法训练的智能体性能优于其他基线方法,且训练完成后,部署阶段无需访问LLM。

英文摘要:

Solving long-horizon, temporally-extended tasks using Reinforcement Learning (RL) is challenging, compounded by the common practice of learning without prior knowledge (or tabula rasa learning). Humans can generate and execute plans with temporally-extended actions and quickly learn to perform new tasks because we almost never solve problems from scratch. We want autonomous agents to have this same ability. Recently, LLMs have been shown to encode a tremendous amount of knowledge about the world and to perform impressive in-context learning and reasoning. However, using LLMs to solve real world problems is hard because they are not grounded in the current task. In this paper we exploit the planning capabilities of LLMs while using RL to provide learning from the environment, resulting in a hierarchical agent that uses LLMs to solve long-horizon tasks. Instead of completely relying on LLMs, they guide a high-level policy, making learning significantly more sample efficient. This approach is evaluated in simulation environments such as MiniGrid, SkillHack, and Crafter, and on a real robot arm in block manipulation tasks. We show that agents trained using our approach outperform other baselines methods and, once trained, don't need access to LLMs during deployment.

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

↑