arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.00194cs.AIcs.NE
收藏

改进大语言模型的规划能力:一种模块化智能体架构

Improving Planning with Large Language Models: A Modular Agentic Architecture

Princeton University(普林斯顿大学);Microsoft Research(微软研究院)

Taylor Webb, Shanka Subhra Mondal, Ida Momennejad

AI总结:

本文提出模块化规划智能体(MAP)架构,通过多个专门模块的循环交互改进大语言模型的多步规划能力,在图遍历、汉诺塔、PlanBench和strategyQA上显著优于现有方法。

摘要:

大语言模型(LLMs)在多种任务上展现出令人印象深刻的性能,但它们往往难以处理需要多步推理或目标导向规划的任务。认知神经科学和强化学习(RL)都提出了多个相互交互的功能组件,这些组件共同在多步决策中实现搜索与评估。这些组件包括冲突监控、状态预测、状态评估、任务分解和编排。为了改进大语言模型的规划能力,我们提出了一种智能体架构——模块化规划智能体(MAP),在该架构中,规划通过上述专门模块的循环交互来实现,每个模块均由大语言模型实现。MAP通过专门模块的交互来改进规划,这些模块将较大的问题分解为多次对大语言模型的简短自动调用。我们在三个具有挑战性的规划任务——图遍历、汉诺塔和PlanBench基准——以及一个需要多步推理的自然语言处理任务(strategyQA)上评估了MAP。我们发现,MAP相较于标准大语言模型方法(零样本提示、上下文学习)和竞争性基线(思维链、多智能体辩论和思维树)均取得了显著改进,可以与更小且更具成本效益的大语言模型(Llama3-70B)有效结合,并展现出跨任务的卓越迁移能力。这些结果表明,采用模块化和多智能体方法进行大语言模型规划具有益处。

英文摘要:

Large language models (LLMs) demonstrate impressive performance on a wide variety of tasks, but they often struggle with tasks that require multi-step reasoning or goal-directed planning. Both cognitive neuroscience and reinforcement learning (RL) have proposed a number of interacting functional components that together implement search and evaluation in multi-step decision making. These components include conflict monitoring, state prediction, state evaluation, task decomposition, and orchestration. To improve planning with LLMs, we propose an agentic architecture, the Modular Agentic Planner (MAP), in which planning is accomplished via the recurrent interaction of the specialized modules mentioned above, each implemented using an LLM. MAP improves planning through the interaction of specialized modules that break down a larger problem into multiple brief automated calls to the LLM. We evaluate MAP on three challenging planning tasks -- graph traversal, Tower of Hanoi, and the PlanBench benchmark -- as well as an NLP task requiring multi-step reasoning (strategyQA). We find that MAP yields significant improvements over both standard LLM methods (zero-shot prompting, in-context learning) and competitive baselines (chain-of-thought, multi-agent debate, and tree-of-thought), can be effectively combined with smaller and more cost-efficient LLMs (Llama3-70B), and displays superior transfer across tasks. These results suggest the benefit of a modular and multi-agent approach to planning with LLMs.

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

↑