arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.15064cs.CL
收藏

AutoPlan:利用大型语言模型自动规划交互式决策任务

AutoPlan: Automatic Planning of Interactive Decision-Making Tasks With Large Language Models

University of California Santa Barbara(加州大学圣塔芭芭拉分校);Carnegie Mellon University(卡内基梅隆大学)

Siqi Ouyang, Lei Li

AI总结:

AutoPlan通过迭代经验收集与反思自动优化任务解决计划,使LLM智能体无需上下文演示即可在ALFWorld和HotpotQA上达到或超越使用人工演示的基线方法。

摘要:

近期的大型语言模型(LLMs)在基于环境的决策中展现出潜力。然而,由于LLMs中的预训练知识与环境中实际规则之间的错位,LLMs在复杂决策任务中经常失败。现有方法要么需要昂贵的梯度计算,要么需要冗长的上下文演示。本文提出AutoPlan,一种引导基于LLM的智能体完成交互式决策任务的方法。AutoPlan通过任务解决计划增强LLM提示,并通过迭代经验收集与反思对其进行优化。实验表明,AutoPlan在不使用上下文演示的情况下,在ALFWorld上取得了与使用人工编写演示的基线方法相当的成功率,在HotpotQA上甚至超过它们8%。代码可在 https://github.com/owaski/AutoPlan 获取。

英文摘要:

Recent large language models (LLMs) are promising for making decisions in grounded environments. However, LLMs frequently fail in complex decision-making tasks due to the misalignment between the pre-trained knowledge in LLMs and the actual rules in the environment. Existing methods require either costly gradient computation or lengthy in-context demonstrations. In this paper, we propose AutoPlan, an approach to guide LLM-based agents to accomplish interactive decision-making tasks. AutoPlan augments the LLM prompt with a task-solving plan and optimizes it through iterative experience collection and reflection. Our experiments show that AutoPlan, though using no in-context demonstrations, achieves success rates on par with the baselines using human-written demonstrations on ALFWorld and even outperforms them by 8% on HotpotQA. The code is available at https://github.com/owaski/AutoPlan.

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

↑