arXiv:2504.04578cs.AIcs.LG2025-04ICML被引 11

用知识图谱和符号验证提升大模型的复杂任务规划能力

Hierarchical Planning for Complex Tasks with Knowledge Graph-RAG and Symbolic Verification

  • 分层规划结合知识图谱检索生成可执行动作序列
  • 符号验证确保计划正确性,能检测执行中的状态偏差
  • 适合需要可靠推理的机器人任务规划场景

大型语言模型(LLMs)在机器人规划中展现潜力,但在长时序、复杂的任务中仍表现不佳,尤其在需要外部知识的专用环境中。尽管分层规划和检索增强生成(RAG)部分缓解了这些问题,但单独使用仍不足。为此,我们提出一种神经符号方法,将基于知识图谱的RAG与分层规划相结合,用于生成可靠的任务计划。该方法将复杂任务分解为可管理的子任务,并进一步展开为可执行的原子动作序列。为确保形式上的正确性和合理分解,引入符号验证器,其同时作为故障检测器,通过比对预期与实际世界状态来判断执行是否正确。实验表明,在不同复杂度的任务和多种LLM上,集成分层规划、符号验证和RAG的方法均显著优于基线。此外,我们的实验设置和新指标不仅验证了本方法的有效性,也可用于评估LLMs的推理与组合能力。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have shown promise as robotic planners but often struggle with long-horizon and complex tasks, especially in specialized environments requiring external knowledge. While hierarchical planning and Retrieval-Augmented Generation (RAG) address some of these challenges, they remain insufficient on their own and a deeper integration is required for achieving more reliable systems. To this end, we propose a neuro-symbolic approach that enhances LLMs-based planners with Knowledge Graph-based RAG for hierarchical plan generation. This method decomposes complex tasks into manageable subtasks, further expanded into executable atomic action sequences. To ensure formal correctness and proper decomposition, we integrate a Symbolic Validator, which also functions as a failure detector by aligning expected and observed world states. Our evaluation against baseline methods demonstrates the consistent significant advantages of integrating hierarchical planning, symbolic verification, and RAG across tasks of varying complexity and different LLMs. Additionally, our experimental setup and novel metrics not only validate our approach for complex planning but also serve as a tool for assessing LLMs' reasoning and compositional capabilities.

任务规划知识图谱符号验证大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。