LightPlanner:释放轻量级大语言模型在任务规划中的推理能力
LightPlanner: Unleashing the Reasoning Capabilities of Lightweight Large Language Models in Task Planning
AI总结:
LightPlanner通过参数化函数调用和分层深度推理,提升轻量级大语言模型在复杂任务规划中的推理能力,在空间语义推理任务中成功率比ReAct高14.9%。
摘要:
近年来,轻量级大语言模型(LLMs)因其低计算资源需求和适合边缘部署而在机器人领域受到广泛关注。然而,在任务规划中——特别是涉及动态语义逻辑推理的复杂任务——轻量级LLMs表现不佳。为解决这一局限,我们提出了一种新颖的任务规划器LightPlanner,通过充分利用轻量级LLMs的推理能力来提升其在复杂任务规划中的性能。与使用固定技能模板的传统规划器不同,LightPlanner通过参数化函数调用来控制机器人动作,动态生成参数值。这种方法实现了细粒度的技能控制,并提高了复杂场景下的任务规划成功率。此外,我们引入了分层深度推理。在生成每个动作决策步骤之前,LightPlanner会全面考虑三个层面:动作执行(反馈验证)、语义解析(目标一致性验证)和参数生成(参数有效性验证)。这确保了后续动作控制的正确性。另外,我们加入了一个记忆模块来存储历史动作,从而减少上下文长度并提高长期任务的规划效率。我们在自建的LightPlan-40k数据集上训练了LightPlanner-1.5B模型,该数据集包含40,000次动作控制,任务的动作步骤数为2到13步。实验表明,尽管我们的模型参数数量最少,却取得了最高的任务成功率。在涉及空间语义推理的任务中,其成功率比ReAct高出14.9个百分点。此外,我们展示了LightPlanner在边缘设备上运行的潜力。
英文摘要:
In recent years, lightweight large language models (LLMs) have garnered significant attention in the robotics field due to their low computational resource requirements and suitability for edge deployment. However, in task planning -- particularly for complex tasks that involve dynamic semantic logic reasoning -- lightweight LLMs have underperformed. To address this limitation, we propose a novel task planner, LightPlanner, which enhances the performance of lightweight LLMs in complex task planning by fully leveraging their reasoning capabilities. Unlike conventional planners that use fixed skill templates, LightPlanner controls robot actions via parameterized function calls, dynamically generating parameter values. This approach allows for fine-grained skill control and improves task planning success rates in complex scenarios. Furthermore, we introduce hierarchical deep reasoning. Before generating each action decision step, LightPlanner thoroughly considers three levels: action execution (feedback verification), semantic parsing (goal consistency verification), and parameter generation (parameter validity verification). This ensures the correctness of subsequent action controls. Additionally, we incorporate a memory module to store historical actions, thereby reducing context length and enhancing planning efficiency for long-term tasks. We train the LightPlanner-1.5B model on our LightPlan-40k dataset, which comprises 40,000 action controls across tasks with 2 to 13 action steps. Experiments demonstrate that our model achieves the highest task success rate despite having the smallest number of parameters. In tasks involving spatial semantic reasoning, the success rate exceeds that of ReAct by 14.9 percent. Moreover, we demonstrate LightPlanner's potential to operate on edge devices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。