arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.04578cs.AIcs.LGcs.RO
收藏

基于知识图谱RAG与符号验证的复杂任务分层规划

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

University of Padova(帕多瓦大学);University of Cambridge(剑桥大学)

Cristina Cornelio, Flavio Petruzzellis, Pietro Lio

AI总结:

本文提出一种神经符号方法,将知识图谱RAG、分层规划与符号验证器集成到LLMs规划器中,以提升复杂长时程机器人任务的规划可靠性,并通过实验验证其优势。

摘要:

大语言模型(LLMs)作为机器人规划器已展现出潜力,但在长时程和复杂任务中往往表现不佳,尤其是在需要外部知识的专用环境中。虽然分层规划和检索增强生成(RAG)能够应对其中部分挑战,但单独使用仍显不足,需要更深层次的集成才能实现更可靠的系统。为此,我们提出一种神经符号方法,通过基于知识图谱的RAG增强基于LLMs的规划器,用于分层计划生成。该方法将复杂任务分解为可管理的子任务,并进一步展开为可执行的原子动作序列。为确保形式正确性和合理分解,我们集成了一个符号验证器(Symbolic Validator),该验证器同时充当失败检测器,通过对齐预期世界状态与观测世界状态来发挥作用。我们与基线方法的评估表明,在不同复杂度的任务和不同LLMs上,集成分层规划、符号验证和RAG具有持续且显著的优势。此外,我们的实验设置和新颖的评估指标不仅验证了该方法在复杂规划中的有效性,还可作为评估LLMs推理能力和组合能力的工具。

英文摘要:

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.

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

↑