paper-with-me

홈 › Papers

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

2025-03-24 · Augusto B. Corrêa, André G. Pereira, Jendrik Seipp

In recent years, large language models (LLMs) have shown remarkable capabilities in various artificial intelligence problems. However, they fail to plan reliably, even when prompted with a detailed definition of the planning task. Attempts to improve their planning capabilities, such as chain-of-thought prompting, fine-tuning, and explicit "reasoning" still yield incorrect plans and usually fail to generalize to larger tasks. In this paper, we show how to use LLMs to 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 within a greedy best-first search, and choose the strongest one. The resulting LLM-generated heuristics solve many more unseen test tasks than state-of-the-art domain-independent heuristics for classical planning. They are even competitive with the strongest learning algorithm for domain-dependent planning. These findings are especially remarkable given that our proof-of-concept implementation is based on an unoptimized 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, revealing that they are not only efficiently computable, but sometimes even more informative than the state-of-the-art heuristics. Overall, our results show that sampling a set of planning heuristic function programs can significantly improve the planning capabilities of LLMs.

📄 PDF Abstract BibTeX arXiv:2503.18809

Code (0)

등록된 구현이 없습니다.

Tasks

C++ code

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Hierarchical Task Network Planning with LLM-Generated Heuristics

2026-05-08 · Felipe Meneguzzi, Alexandre Buchweitz, Augusto B. Corrêa, Victor Scherer Putrich 외 arxiv

HTN planning is a variation of classical planning where, instead of searching for a linear sequence of actions, an algorithm decomposes higher-level tasks using a method library until only executable actions remain. On o…

Planning as Goal Recognition: Deriving Heuristics from Intention Models -- Extended Version

2026-03-16 · Giacomo Rosa, Jean Honorio, Nir Lipovetzky, Sebastian Sardina arxiv

Classical planning aims to find a sequence of actions, a plan, that maps a starting state into one of the goal states. If a trajectory appears to be leading to the goal, should we prioritise exploring it? Seminal work in…

LLM-Generated Heuristics for AI Planning: Do We Even Need Domain-Independence Anymore?

2025-01-30 · Alexander Tuisov, Yonatan Vernik, Alexander Shleyfman

Domain-independent heuristics have long been a cornerstone of AI planning, offering general solutions applicable across a wide range of tasks without requiring domain-specific engineering. However, the advent of large la…

Computational Efficiency

Reinforcement Learning for Classical Planning: Viewing Heuristics as Dense Reward Generators

2021-09-30 · Clement Gehring, Masataro Asai, Rohan Chitnis, Tom Silver 외

Recent advances in reinforcement learning (RL) have led to a growing interest in applying RL to classical planning domains or applying classical planning methods to some complex RL domains. However, the long-horizon goal…

reinforcement-learningReinforcement Learning (RL)

Learning Search-Space Specific Heuristics Using Neural Networks

2023-06-06 · Yu Liu, Ryo Kuroiwa, Alex Fukunaga

We propose and evaluate a system which learns a neuralnetwork heuristic function for forward search-based, satisficing classical planning. Our system learns distance-to-goal estimators from scratch, given a single PDDL t…

regression