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

代码即符号规划器:基于基础模型的机器人规划与符号代码生成

Code-as-Symbolic-Planner: Foundation Model-Based Robot Planning via Symbolic Code Generation

Massachusetts Institute of Technology(麻省理工学院);Harvard University(哈佛大学);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室)

Yongchao Chen, Yilun Hao, Yang Zhang, Chuchu Fan

AI总结:

针对机器人任务与运动规划中纯文本推理和多约束优化的局限,提出Code-as-Symbolic-Planner框架,引导LLM生成代码作为求解器、规划器和检查器,结合文本推理与多轮演化,在多类环境中显著提升了规划成功率与泛化能力。

摘要:

最近的研究表明,大型语言模型(LLMs)在机器人任务与运动规划(TAMP)中展现出巨大潜力。当前的LLM方法生成包含子目标和动作计划的文本或代码推理链。然而,它们并未充分利用LLMs的符号计算和代码生成能力。许多机器人TAMP任务涉及多约束下的复杂优化,纯文本推理不足以应对。虽然用预定义的求解器和规划器增强LLMs能提升性能,但缺乏跨任务的泛化能力。鉴于LLMs日益增强的编程能力,我们通过引导其生成代码作为符号规划器来进行优化和约束验证,从而增强其TAMP能力。与以往使用代码与机器人动作模块交互的工作不同,我们引导LLMs为需要符号计算的TAMP任务生成代码作为求解器、规划器和检查器,同时仍利用文本推理融入常识。借助多轮引导和答案演化框架,所提出的Code-as-Symbolic-Planner在七个典型TAMP任务和三个流行LLM上,比最佳基线方法平均提高了24.1%的成功率。Code-as-Symbolic-Planner在离散和连续环境、2D/3D仿真和真实世界环境,以及具有不同要求的单机器人和多机器人任务中,均展现出强大的有效性和泛化能力。请访问项目网站 https://yongchao98.github.io/Code-Symbol-Planner/ 获取提示、视频和代码。

英文摘要:

Recent works have shown great potentials of Large Language Models (LLMs) in robot task and motion planning (TAMP). Current LLM approaches generate text- or code-based reasoning chains with sub-goals and action plans. However, they do not fully leverage LLMs' symbolic computing and code generation capabilities. Many robot TAMP tasks involve complex optimization under multiple constraints, where pure textual reasoning is insufficient. While augmenting LLMs with predefined solvers and planners improves performance, it lacks generalization across tasks. Given LLMs' growing coding proficiency, we enhance their TAMP capabilities by steering them to generate code as symbolic planners for optimization and constraint verification. Unlike prior work that uses code to interface with robot action modules, we steer LLMs to generate code as solvers, planners, and checkers for TAMP tasks requiring symbolic computing, while still leveraging textual reasoning to incorporate common sense. With a multi-round guidance and answer evolution framework, the proposed Code-as-Symbolic-Planner improves success rates by average 24.1\% over best baseline methods across seven typical TAMP tasks and three popular LLMs. Code-as-Symbolic-Planner shows strong effectiveness and generalizability across discrete and continuous environments, 2D/3D simulations and real-world settings, as well as single- and multi-robot tasks with diverse requirements. See our project website https://yongchao98.github.io/Code-Symbol-Planner/ for prompts, videos, and code.

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

↑