arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03101cs.CLcs.AIcs.HCcs.LGcs.MA
收藏

KnowAgent:基于知识增强规划的LLM智能体

KnowAgent: Knowledge-Augmented Planning for LLM-Based Agents

Zhejiang University(浙江大学);ZJU-Ant Group Joint Research Center for Knowledge Graphs(浙江大学-蚂蚁集团知识图谱联合研究中心);Ant Group(蚂蚁集团);National University of Singapore(新加坡国立大学)

Yuqi Zhu, Shuofei Qiao, Yixin Ou, Shumin Deng, Shiwei Lyu, Yue Shen, Lei Liang, Jinjie Gu, Huajun Chen, Ningyu Zhang

AI总结:

KnowAgent通过引入动作知识库和自学习策略约束规划路径,增强LLM智能体的规划能力,缓解规划幻觉,并在HotpotQA和ALFWorld上取得优于或媲美基线的性能。

摘要:

大型语言模型(LLMs)在复杂推理任务中展现出巨大潜力,但在应对更复杂的挑战时,尤其是在通过生成可执行动作与环境交互时,它们表现不足。这种不足主要源于语言智能体缺乏内置的动作知识,无法在任务解决过程中有效指导规划轨迹,导致规划幻觉。为解决此问题,我们引入KnowAgent,一种通过纳入显式动作知识来增强LLMs规划能力的新方法。具体而言,KnowAgent利用动作知识库和知识型自学习策略来约束规划过程中的动作路径,实现更合理的轨迹合成,从而提升语言智能体的规划性能。基于多种骨干模型在HotpotQA和ALFWorld上的实验结果表明,KnowAgent能够达到与现有基线相当或更优的性能。进一步分析表明,KnowAgent在缓解规划幻觉方面具有有效性。代码可在https://github.com/zjunlp/KnowAgent获取。

英文摘要:

Large Language Models (LLMs) have demonstrated great potential in complex reasoning tasks, yet they fall short when tackling more sophisticated challenges, especially when interacting with environments through generating executable actions. This inadequacy primarily stems from the lack of built-in action knowledge in language agents, which fails to effectively guide the planning trajectories during task solving and results in planning hallucination. To address this issue, we introduce KnowAgent, a novel approach designed to enhance the planning capabilities of LLMs by incorporating explicit action knowledge. Specifically, KnowAgent employs an action knowledge base and a knowledgeable self-learning strategy to constrain the action path during planning, enabling more reasonable trajectory synthesis, and thereby enhancing the planning performance of language agents. Experimental results on HotpotQA and ALFWorld based on various backbone models demonstrate that KnowAgent can achieve comparable or superior performance to existing baselines. Further analysis indicates the effectiveness of KnowAgent in terms of planning hallucinations mitigation. Code is available in https://github.com/zjunlp/KnowAgent.

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

↑