arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.08188cs.ROcs.AIcs.LO
收藏

Nl2Hltl2Plan:通过分层时序逻辑任务表示扩展多机器人自然语言理解

Nl2Hltl2Plan: Scaling Up Natural Language Understanding for Multi-Robots Through Hierarchical Temporal Logic Task Representation

Tsinghua University(清华大学);Carnegie Mellon University(卡内基梅隆大学)

Shaojun Xu, Xusheng Luo, Yutong Huang, Letian Leng, Ruixuan Liu, Changliu Liu

AI总结:

本文提出 Nl2Hltl2Plan 框架,利用 LLM 将自然语言指令转换为分层 LTL 规范并求解多机器人规划,实验表明其在复杂指令、成功率和成本上均优于现有方法。

摘要:

为使非专业人员能够指定长时域、多机器人协作任务,语言模型正越来越多地用于将自然语言命令翻译为形式化规范。然而,由于翻译可能以多种方式发生,此类翻译可能缺乏准确性,或导致低效的多机器人规划。我们的关键洞见是,简洁的分层规范可以简化规划,同时仍可直接从人类指令中推导。我们提出 Nl2Hltl2Plan,这是一个将自然语言命令翻译为分层线性时序逻辑(LTL)并求解相应规划问题的框架。该翻译包含利用大型语言模型(LLM)的两个步骤。首先,一个 LLM 将指令转换为分层任务树,捕捉逻辑和时序关系。接着,一个经过微调的 LLM 将子任务转换为扁平 LTL 公式,这些公式被聚合为分层规范,其最低层级对应有序的机器人动作。随后,这些规范与现成规划器一起使用。我们的 Nl2Hltl2Plan 展示了 LLM 在多机器人任务规划中进行分层推理的潜力。在仿真和有人类参与者参与的真实世界实验中的评估表明,Nl2Hltl2Plan 优于现有方法,能够处理更复杂的指令,同时在任务分配和规划中实现更高的成功率和更低的成本。更多细节可在 https://nl2hltl2plan.github.io 获取。

英文摘要:

To enable non-experts to specify long-horizon, multi-robot collaborative tasks, language models are increasingly used to translate natural language commands into formal specifications. However, because translation can occur in multiple ways, such translations may lack accuracy or lead to inefficient multi-robot planning. Our key insight is that concise hierarchical specifications can simplify planning while remaining straightforward to derive from human instructions. We propose Nl2Hltl2Plan, a framework that translates natural language commands into hierarchical Linear Temporal Logic (LTL) and solves the corresponding planning problem. The translation involves two steps leveraging Large Language Models (LLMs). First, an LLM transforms instructions into a Hierarchical Task Tree, capturing logical and temporal relations. Next, a fine-tuned LLM converts sub-tasks into flat LTL formulas, which are aggregated into hierarchical specifications, with the lowest level corresponding to ordered robot actions. These specifications are then used with off-the-shelf planners. Our Nl2Hltl2Plan demonstrates the potential of LLMs in hierarchical reasoning for multi-robot task planning. Evaluations in simulation and real-world experiments with human participants show that Nl2Hltl2Plan outperforms existing methods, handling more complex instructions while achieving higher success rates and lower costs in task allocation and planning. Additional details are available at https://nl2hltl2plan.github.io .

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

↑