LLM+P: Empowering Large Language Models with Optimal Planning Proficiency

By Bo Liu, Yuqian Jiang, Xiaohan Zhang, Qian Liu, Shiqi Zhang, Joydeep Biswas, Peter Stone. arXiv.org, 2023

653 citations recorded by the source corpus.

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 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 common planning scenarios. Via a comprehensive set of experiments on these benchmark problems, we find that LLM+P is able to provide optimal solutions for most problems, while LLMs fail to provide even feasible plans for most problems.\footnote{The code and results are publicly available at https://github.com/Cranial-XIX/llm-pddl.git.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/003ef1cd670d01af05afa0d3c72d72228f494432

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Minlie Huang
  2. Jie Tang
  3. Xuanjing Huang
  4. Mohit Bansal
  5. Greg Durrett
  6. Karthik Narasimhan
  7. Zhiting Hu
  8. William Yang Wang

In Computer Vision and Pattern Recognition

  1. William Yang Wang
  2. Peng Xu
  3. Fei Xia
  4. Karthik Narasimhan
  5. Shunyu Yao
  6. Andy Zeng
  7. Greg Durrett
  8. Zhiting Hu

Citations in the corpus