arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.08582cs.CLcs.AIcs.LGcs.RO
收藏

Tree-Planner:基于大型语言模型的高效闭环任务规划

Tree-Planner: Efficient Close-loop Task Planning with Large Language Models

The University of Hong Kong(香港大学);Harbin Institute of Technology(哈尔滨工业大学);Shanghai AI Laboratory(上海人工智能实验室)

Mengkang Hu, Yao Mu, Xinmiao Yu, Mingyu Ding, Shiguang Wu, Wenqi Shao, Qiguang Chen, Bin Wang, Yu Qiao, Ping Luo

AI总结:

本文提出 Tree-Planner 框架,将基于 LLM 的闭环任务规划重构为计划采样、动作树构建和基于环境的决策三阶段,显著降低了 token 消耗与冗余错误纠正,实现了最高效的最先进性能。

摘要:

本文研究闭环任务规划,即在生成一系列技能(一个计划)以完成特定目标的同时,根据实时观察调整计划的过程。近期,通过提示大型语言模型(LLMs)迭代生成动作因其卓越的性能和用户友好性而成为一种主流范式。然而,该范式受困于两种低效性:高 token 消耗和冗余的错误纠正,这两者都阻碍了其在大规模测试和应用中的可扩展性。为解决这些问题,我们提出了 Tree-Planner,它将使用 LLMs 的任务规划重构为三个不同阶段:计划采样、动作树构建和基于环境的决策。Tree-Planner 首先使用 LLM 在执行前采样一组潜在计划,随后将它们聚合形成动作树。最后,LLM 在树上执行自上而下的决策过程,并考虑实时环境信息。实验表明,Tree-Planner 在保持高效率的同时实现了最先进的性能。通过将 LLM 查询分解为单次计划采样调用和多次基于环境的决策调用,提示词的相当一部分不太可能被重复消耗。因此,与此前性能最佳的模型相比,token 消耗减少了 92.2%。此外,通过在动作树上根据需要启用回溯,纠正过程变得更加灵活,使得错误纠正减少了 40.5%。

英文摘要:

This paper studies close-loop task planning, which refers to the process of generating a sequence of skills (a plan) to accomplish a specific goal while adapting the plan based on real-time observations. Recently, prompting Large Language Models (LLMs) to generate actions iteratively has become a prevalent paradigm due to its superior performance and user-friendliness. However, this paradigm is plagued by two inefficiencies: high token consumption and redundant error correction, both of which hinder its scalability for large-scale testing and applications. To address these issues, we propose Tree-Planner, which reframes task planning with LLMs into three distinct phases: plan sampling, action tree construction, and grounded deciding. Tree-Planner starts by using an LLM to sample a set of potential plans before execution, followed by the aggregation of them to form an action tree. Finally, the LLM performs a top-down decision-making process on the tree, taking into account real-time environmental information. Experiments show that Tree-Planner achieves state-of-the-art performance while maintaining high efficiency. By decomposing LLM queries into a single plan-sampling call and multiple grounded-deciding calls, a considerable part of the prompt are less likely to be repeatedly consumed. As a result, token consumption is reduced by 92.2% compared to the previously best-performing model. Additionally, by enabling backtracking on the action tree as needed, the correction process becomes more flexible, leading to a 40.5% decrease in error corrections.

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

↑