arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.05772cs.AIcs.CLcs.LG
收藏

ADaPT:使用语言模型进行按需分解与规划

ADaPT: As-Needed Decomposition and Planning with Language Models

UNC Chapel Hill(北卡罗来纳大学教堂山分校);Saarland University(萨尔大学);Allen Institute for AI(艾伦人工智能研究所)

Archiki Prasad, Alexander Koller, Mareike Hartmann, Peter Clark, Ashish Sabharwal, Mohit Bansal, Tushar Khot

AI总结:

本文提出 ADaPT,在 LLM 无法执行复杂子任务时按需递归分解与规划,从而适应任务难度和模型能力,并在 ALFWorld、WebShop 与新数据集 TextCraft 上显著提升成功率。

摘要:

大型语言模型(LLM)正越来越多地用于需要规划并适应环境的交互式决策任务。近期工作主要以两种方式将 LLM 用作智能体:迭代式确定下一个动作(迭代执行器),或生成计划并使用 LLM 执行子任务(规划并执行)。然而,这些方法在任务复杂性方面存在困难,因为无法执行任何子任务都可能导致任务失败。为解决这些不足,我们提出面向复杂任务的按需分解与规划(As-Needed Decomposition and Planning for complex Tasks,ADaPT),该方法在需要时(即当 LLM 无法执行复杂子任务时)显式地规划并分解这些子任务。ADaPT 递归地分解子任务,以同时适应任务复杂性和 LLM 能力。我们的结果表明,ADaPT 显著优于公认的强基线,在 ALFWorld、WebShop 和 TextCraft 上的成功率分别最高提升 28.3%、27% 和 33%;其中 TextCraft 是我们引入的一个新型组合数据集。通过广泛分析,我们阐明了多层分解的重要性,并证实 ADaPT 能够根据执行器 LLM 的能力以及任务复杂性进行动态调整。

英文摘要:

Large Language Models (LLMs) are increasingly being used for interactive decision-making tasks requiring planning and adapting to the environment. Recent works employ LLMs-as-agents in broadly two ways: iteratively determining the next action (iterative executors) or generating plans and executing sub-tasks using LLMs (plan-and-execute). However, these methods struggle with task complexity, as the inability to execute any sub-task may lead to task failure. To address these shortcomings, we introduce As-Needed Decomposition and Planning for complex Tasks (ADaPT), an approach that explicitly plans and decomposes complex sub-tasks as-needed, i.e., when the LLM is unable to execute them. ADaPT recursively decomposes sub-tasks to adapt to both task complexity and LLM capability. Our results demonstrate that ADaPT substantially outperforms established strong baselines, achieving success rates up to 28.3% higher in ALFWorld, 27% in WebShop, and 33% in TextCraft -- a novel compositional dataset that we introduce. Through extensive analysis, we illustrate the importance of multilevel decomposition and establish that ADaPT dynamically adjusts to the capabilities of the executor LLM as well as to task complexity.

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

↑