LeanPlan: Optimal Planning with LLM-Generated Heuristics and Admissibility Proofs
André G. Pereira, Augusto B. Corrêa, Felipe Meneguzzi, Jendrik Seipp
Abstract
Frontier large language models (LLMs) can generate heuristic functions that guide search to achieve state-of-the-art performance in satisficing planning, where any plan is acceptable. However, these heuristics are not guaranteed to be admissible and can lead to suboptimal plans. We introduce LeanPlan, the first planning system that finds optimal plans with LLM-generated heuristics whose admissibility is machine-checked. Given a domain description and training tasks, an agentic loop uses planner feedback to iteratively improve a reusable domain-specific heuristic, its admissibility proof and the required domain assumptions. LeanPlan implements the heuristic, its proof and an efficient planner with machine-checked grounding and search in Lean 4. We evaluate LeanPlan on ten domains from the International Planning Competition and three new domains, using test tasks with up to 57 times as many objects as the training tasks. With GPT-5.6 Sol in the agentic loop, we successfully generate heuristics and admissibility proofs for all these domains. With the resulting heuristics, LeanPlan usually expands fewer states than the state-of-the-art Scorpion planner and solves more tasks overall.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG, cs.SC
Related papers
Reproducing History Is Not Enough: Intervention-Level Assurance for LLM-Generated Simulators
Shared title terminologycs.AIAshraf Abdul-Muumin, Aniruddha Chattopadhyay, Noorbakhsh Golilarz et al.
CM-DPO: Constraint-Margin Direct Preference Optimization for LLM Planning
Shared title terminologycs.AIRabimba Karanjai, Qun Gu, Hemanth Hegadehalli Madhavarao et al.
From High Recall to High Utility: Dataset-Adaptive Post-Processing of LLM-Generated Customer Intents
Shared title terminologycs.AIMahesh Viswanathan, Joan Rossello, Leticia Fernandes et al.
Shared-Roadmap Generation and Evaluator for Multi-Agent Path Planning Using Heterogeneous Graph Neural Network
Shared title terminologycs.AIBrandon Ho, Nikola Rogers, Seung-Kyum Choi
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.
A Generative AI Agent to Emulate Interactive Human-driven Vehicles for Automated Driving Testing in Urban Areas
Shared title terminologycs.AIJia Hu, Changjian Yu, Panqu Wang et al.