Lune

NeurIPS2025顶会

Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python Code

Augusto B. Corrêa, André Grahl Pereira, Jendrik Seipp

摘要

In recent years, large language models (LLMs) have shown remarkable performance in many problems. However, they fail to plan reliably. Specialized attempts to improve their planning capabilities still produce incorrect plans and fail to generalize to larger tasks. Furthermore, LLMs designed for explicit "reasoning" fail to compete with automated planners while increasing computational costs, which reduces one of the advantages of using LLMs. In this paper, we show how to use LLMs to always generate correct plans, even for out-of-distribution tasks of increasing size. For a given planning domain, we ask an LLM to generate several domain-dependent heuristic functions in the form of Python code, evaluate them on a set of training tasks with a greedy best-first search, and choose the best one. The resulting LLM-generated heuristic functions solve substantially more unseen out-of-distribution test tasks than end-to-end LLM planning, particularly for nonreasoning LLMs. Moreover, they also solve many more tasks than state-of-the-art domain-independent heuristics for classical planning, and are competitive with the strongest learning algorithm for domain-dependent planning. These results are impressive given that our implementation is based on a Python planner and the baselines all build upon highly optimized C++ code. In some domains, the LLM-generated heuristics expand fewer states than the baselines, showing that they are not only efficiently computable but also more informative than the state-of-theart heuristics. Overall, our results show that sampling a set of planning heuristic functions can significantly improve the planning capabilities of LLMs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Satisficing and Optimal Generalised Planning via Goal Regression 引用了 Generalized Planning in PDDL Domains with Pretrained Large Language Models
  • Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planning 引用了 On the Planning Abilities of Large Language Models - A Critical Investigation
  • Chain of Thoughtlessness? An Analysis of CoT in Planning 引用了 Large Language Models are Zero-Shot Reasoners
  • Chain of Thoughtlessness? An Analysis of CoT in Planning 引用了 On the Planning Abilities of Large Language Models - A Critical Investigation
  • On the Planning Abilities of Large Language Models - A Critical Investigation 引用了 Large Language Models are Zero-Shot Reasoners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Satisficing and Optimal Generalised Planning via Goal RegressionDillon Z. Chen, Till Hofmann, Toryn Q. Klassen, Sheila A. McIlraithAAAI 2026 · 1 次引用
  2. Beyond Single-Step Updates: Reinforcement Learning of Heuristics with Limited-Horizon SearchGal Hadar, Forest Agostinelli, Shahaf S. ShperbergAAAI 2026

它引用的 Paper10

  1. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
  2. On the Planning Abilities of Large Language Models - A Critical InvestigationKarthik Valmeekam, Matthew Marquez, Sarath Sreedharan, Subbarao KambhampatiNeurIPS 2023 · 509 次引用
  3. Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task PlanningLin Guan, Karthik Valmeekam, Sarath Sreedharan, Subbarao KambhampatiNeurIPS 2023 · 347 次引用
  4. Generalized Planning in PDDL Domains with Pretrained Large Language ModelsTom Silver, Soham Dan, Kavitha Srinivas, Joshua B. Tenenbaum 等AAAI 2024 · 194 次引用
  5. Chain of Thoughtlessness? An Analysis of CoT in PlanningKaya Stechly, Karthik Valmeekam, Subbarao KambhampatiNeurIPS 2024 · 156 次引用

相关 Paper

  1. Thought of Search: Planning with Language Models Through The Lens of EfficiencyMichael Katz, Harsha Kokel, Kavitha Srinivas, Shirin SohrabiNeurIPS 2024 · 50 次引用
  2. Learning to Plan by Updating Natural LanguageYiduo Guo, Yaobo Liang, Chenfei Wu, Wenshan Wu 等EMNLP Findings 2024
  3. Can LLMs Fix Issues with Reasoning Models? Towards More Likely Models for AI PlanningTurgay Caglar, Sirine Belhaj, Tathagata Chakraborti, Michael Katz 等AAAI 2024 · 11 次引用
  4. LLMs Can Plan Only If We Tell ThemBilgehan Sel, Ruoxi Jia, Ming JinICLR 2025
  5. SayCanPay: Heuristic Planning with Large Language Models Using Learnable Domain KnowledgeRishi Hazra, Pedro Zuidberg Dos Martires, Luc De RaedtAAAI 2024 · 74 次引用
黄昏的海面,两侧是细线勾勒的悬崖