arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.06520cs.ROcs.CL
收藏

面向LLM任务规划的检索增强分层上下文强化学习与事后模块化反思

Retrieval-Augmented Hierarchical in-Context Reinforcement Learning and Hindsight Modular Reflections for Task Planning with LLMs

Rutgers University–New Brunswick(罗格斯大学新不伦瑞克分校)

Chuanneng Sun, Songjun Huang, Dario Pompili

AI总结:

本文提出RAHL框架,用LLM高层策略将复杂任务分解为子任务,并结合事后模块化反思提升多轮执行效率,在三个基准环境和SPOT机器人上验证了决策能力的显著提升。

摘要:

大型语言模型(LLMs)已在各类语言任务中展现出卓越能力,使其成为机器人决策领域颇具前景的候选方案。受分层强化学习(HRL)启发,我们提出检索增强上下文强化学习(RAHL),这是一个新颖的框架,通过基于LLM的高层策略将复杂任务分解为子任务,其中复杂任务由高层策略实时分解为子任务。这些以目标定义的子任务被分配给低层策略执行。为提升智能体在多轮执行中的表现,我们提出事后模块化反思(HMR),在该方法中,智能体并非对整个轨迹进行反思,而是对较短的子轨迹进行反思,以提高反思效率。我们在三个基准环境——ALFWorld、Webshop和HotpotQA——中评估了所提出的RAHL的决策能力。结果表明,在强基线方法上,RAHL在5轮执行中分别实现了9%、42%和10%的性能提升。此外,我们还在Boston Dynamics SPOT机器人上实现了RAHL。实验表明,该机器人能够在LLM策略的控制下扫描环境、寻找入口并导航至新房间。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable abilities in various language tasks, making them promising candidates for decision-making in robotics. Inspired by Hierarchical Reinforcement Learning (HRL), we propose Retrieval-Augmented in-context reinforcement Learning (RAHL), a novel framework that decomposes complex tasks into sub-tasks using an LLM-based high-level policy, in which a complex task is decomposed into sub-tasks by a high-level policy on-the-fly. The sub-tasks, defined by goals, are assigned to the low-level policy to complete. To improve the agent's performance in multi-episode execution, we propose Hindsight Modular Reflection (HMR), where, instead of reflecting on the full trajectory, we let the agent reflect on shorter sub-trajectories to improve reflection efficiency. We evaluated the decision-making ability of the proposed RAHL in three benchmark environments--ALFWorld, Webshop, and HotpotQA. The results show that RAHL can achieve an improvement in performance in 9%, 42%, and 10% in 5 episodes of execution in strong baselines. Furthermore, we also implemented RAHL on the Boston Dynamics SPOT robot. The experiment shows that the robot can scan the environment, find entrances, and navigate to new rooms controlled by the LLM policy.

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

↑