arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.11014cs.AI
收藏

基于预训练大语言模型的PDDL领域通用规划

Generalized Planning in PDDL Domains with Pretrained Large Language Models

MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室);IBM Research(IBM研究院)

Tom Silver, Soham Dan, Kavitha Srinivas, Joshua B. Tenenbaum, Leslie Pack Kaelbling, Michael Katz

AI总结:

该研究探索GPT-4作为PDDL领域通用规划器的能力,结合思维链总结与自动调试技术,在7个领域实验验证其泛化性能优异,自动调试作用关键,仅需少量训练任务即可实现强泛化。

摘要:

近期研究探讨了大语言模型(LLM)能否充当规划器:即给定任务时生成规划方案。本文研究LLM能否作为通用规划器:给定一个领域和训练任务,生成一个能高效生成该领域其他任务规划的程序。具体而言,我们研究PDDL领域,使用GPT-4合成Python程序。我们还采用两种技术:(1)思维链(Chain-of-Thought, CoT)总结,即提示LLM在合成程序前先用自然语言总结领域特点并提出策略;(2)自动调试,即针对训练任务验证程序,若出现错误,则向LLM重新提供四种类型的反馈以修正程序。我们在7个PDDL领域中评估该方法,并与4种消融实验设置和4种基线方法进行对比。总体而言,我们发现GPT-4是一款能力惊人的通用规划器。我们还得出结论:自动调试至关重要,CoT总结的影响存在不一致性,GPT-4的性能远优于GPT-3.5,且仅需2个训练任务通常就能实现强泛化能力。

英文摘要:

Recent work has considered whether large language models (LLMs) can function as planners: given a task, generate a plan. We investigate whether LLMs can serve as generalized planners: given a domain and training tasks, generate a program that efficiently produces plans for other tasks in the domain. In particular, we consider PDDL domains and use GPT-4 to synthesize Python programs. We also consider (1) Chain-of-Thought (CoT) summarization, where the LLM is prompted to summarize the domain and propose a strategy in words before synthesizing the program; and (2) automated debugging, where the program is validated with respect to the training tasks, and in case of errors, the LLM is re-prompted with four types of feedback. We evaluate this approach in seven PDDL domains and compare it to four ablations and four baselines. Overall, we find that GPT-4 is a surprisingly powerful generalized planner. We also conclude that automated debugging is very important, that CoT summarization has non-uniform impact, that GPT-4 is far superior to GPT-3.5, and that just two training tasks are often sufficient for strong generalization.

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

↑