别这样做!
"Don't Do That!": Guiding Embodied Systems through Large Language Model-based Constraint Generation
AI总结:
本文提出STPR框架,利用LLM将自然语言中的约束转化为可执行Python代码,解决复杂约束的翻译问题,并在仿真环境中验证其高效性和兼容性。
摘要:
最近大型语言模型(LLM)的进步推动了将复杂空间、数学和条件约束从自然语言整合到机器人导航规划问题中的兴趣。此类约束可以是非正式的但高度复杂的,使其难以转化为规划算法可接受的正式描述。本文提出STPR,一种约束生成框架,利用LLM将约束(以\"不要做某事\"的指令形式)转化为可执行的Python函数。STPR利用LLM强大的编程能力,将问题描述从语言转换为结构化和可解释的代码,从而避免复杂的推理和潜在的幻觉。我们展示了这些LLM生成的函数能够准确描述甚至复杂的数学约束,并应用于点云表示与传统搜索算法。在模拟的Gazebo环境中进行的实验表明,STPR在多个约束和场景中确保完全合规,同时具有较短的运行时间。我们还验证STPR可以与较小的代码LLM一起使用,使其适用于广泛范围的紧凑模型,具有低推理成本。
英文摘要:
Recent advancements in large language models (LLMs) have spurred interest in robotic navigation that incorporates complex spatial, mathematical, and conditional constraints from natural language into the planning problem. Such constraints can be informal yet highly complex, making it challenging to translate into a formal description that can be passed on to a planning algorithm. In this paper, we propose STPR, a constraint generation framework that uses LLMs to translate constraints (expressed as instructions on ``what not to do'') into executable Python functions. STPR leverages the LLM's strong coding capabilities to shift the problem description from language into structured and interpretable code, thus circumventing complex reasoning and avoiding potential hallucinations. We show that these LLM-generated functions accurately describe even complex mathematical constraints, and apply them to point cloud representations with traditional search algorithms. Experiments in a simulated Gazebo environment show that STPR ensures full compliance across several constraints and scenarios, while having short runtimes. We also verify that STPR can be used with smaller code LLMs, making it applicable to a wide range of compact models with low inference cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。