LLM+P: Empowering Large Language Models with Optimal Planning Proficiency
Bo Liu Yuqian Jiang Xiaohan Zhang Qiang Liu Shiqi Zhang Joydeep Biswas Peter Stone Thanks: *Equal contribution. Thanks: $ˆ†$Department of Computer Science, The University of Texas at Austin {bliu, lqiang, joydeep, Thanks: $ˆ‡$Department of Computer Science, State University of New York at Binghamton Thanks: $ˆ§$Sony AI
Abstract
Large language models (LLMs) have demonstrated remarkable zero-shot generalization abilities: state-of-the-art chatbots can provide plausible answers to many common questions that arise in daily life. However, so far, LLMs cannot reliably solve long-horizon robot planning problems. By contrast, classical planners, once a problem is given in a formatted way, can use efficient search algorithms to quickly identify correct, or even optimal, plans. In an effort to get the best of both worlds, this paper introduces LLM+P, the first framework that incorporates the strengths of classical planners into LLMs. LLM+P takes in a natural language description of a planning problem, then returns a correct (or optimal) plan for solving that problem in natural language. LLM+P does so by first converting the language description into a file written in the planning domain definition language (PDDL), then leveraging classical planners to quickly find a solution, and then translating the found solution back into natural language. Along with LLM+P, we define a diverse set of different benchmark problems taken from robot planning scenarios. Via a comprehensive set of experiments on these benchmark proble
原文 arXiv:2304.11477;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2304.11477v3