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

基于世界知识模型的智能体规划

Agent Planning with World Knowledge Model

Zhejiang University(浙江大学);National University of Singapore(新加坡国立大学);Alibaba Group(阿里巴巴集团)

Shuofei Qiao, Runnan Fang, Ningyu Zhang, Yuqi Zhu, Xiang Chen, Shumin Deng, Yong Jiang, Pengjun Xie, Fei Huang, Huajun Chen

AI总结:

本文提出参数化世界知识模型WKM,通过从专家和采样轨迹中自我合成先验任务知识与动态状态知识,辅助大语言模型智能体进行全局和局部规划,在多个模拟数据集上验证其能有效缓解盲目试错与幻觉动作问题。

摘要:

近年来,直接使用大语言模型(LLMs)作为智能体模型来执行交互式规划任务的研究已经取得了值得称道的成果。然而,尽管取得了一定成就,这些方法仍然在全球规划中面临盲目的试错问题,并在局部规划中由于对“真实”物理世界的理解不足而产生幻觉性动作。模仿人类的心智世界知识模型——该模型在任务前提供全局先验知识,并在任务过程中维护局部动态知识——本文引入了参数化的世界知识模型(WKM)来辅助智能体规划。具体来说,我们引导智能体模型从专家轨迹和采样轨迹中自我合成知识。随后,我们开发了WKM,提供先验任务知识以指导全局规划,并提供动态状态知识以辅助局部规划。在三个复杂的真实世界模拟数据集上,使用三种最先进的开源大语言模型Mistral-7B、Gemma-7B和Llama-3-8B进行的实验结果表明,与各种强基线方法相比,我们的方法能够取得更优越的性能。此外,我们通过分析说明,我们的WKM能够有效缓解盲目试错和幻觉性动作问题,为智能体理解世界提供了有力支持。其他有趣的发现包括:1)我们的实例级任务知识能够更好地泛化到未见过的任务;2)较弱的WKM可以指导较强的智能体模型进行规划;3)统一的WKM训练具有进一步发展的潜力。代码可在 https://github.com/zjunlp/WKM 获取。

英文摘要:

Recent endeavors towards directly using large language models (LLMs) as agent models to execute interactive planning tasks have shown commendable results. Despite their achievements, however, they still struggle with brainless trial-and-error in global planning and generating hallucinatory actions in local planning due to their poor understanding of the ``real'' physical world. Imitating humans' mental world knowledge model which provides global prior knowledge before the task and maintains local dynamic knowledge during the task, in this paper, we introduce parametric World Knowledge Model (WKM) to facilitate agent planning. Concretely, we steer the agent model to self-synthesize knowledge from both expert and sampled trajectories. Then we develop WKM, providing prior task knowledge to guide the global planning and dynamic state knowledge to assist the local planning. Experimental results on three complex real-world simulated datasets with three state-of-the-art open-source LLMs, Mistral-7B, Gemma-7B, and Llama-3-8B, demonstrate that our method can achieve superior performance compared to various strong baselines. Besides, we analyze to illustrate that our WKM can effectively alleviate the blind trial-and-error and hallucinatory action issues, providing strong support for the agent's understanding of the world. Other interesting findings include: 1) our instance-level task knowledge can generalize better to unseen tasks, 2) weak WKM can guide strong agent model planning, and 3) unified WKM training has promising potential for further development. The code is available at https://github.com/zjunlp/WKM.

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

↑