Learning How to Search for Plans with Exponentially Less Space
Dominik Drexler, Simon Ståhlberg, Markus Fritzsche, Blai Bonet
Abstract
Heuristic search for a plan can store exponentially many states, even when its heuristic is almost perfect. We instead learn search control, one specification per domain, written as an indexical policy: a generalized policy with registers that hold objects and modes that sequence its rules. We add the choose rule, which loads an object into a register and marks a backtracking point, where one candidate suffices; every other rule must work for all of its outcomes and needs no search. Our main result is that structural termination, which rules out infinite executions, also bounds every execution by a polynomial in the number of objects. A depth-first procedure then finds a plan in polynomial space, however large the state space, with no list of visited states. The cost is time, exponential only in the choice depth, the number of real choices along an execution. Any class that such a policy solves therefore lies in NP, and in P at constant choice depth. We learn these policies with a language model in a counterexample-guided loop that certifies termination, verifies the training tasks, and keeps the choice depth small. With the learned policies, the procedure solves 1,709 of 1,890 test tasks of the IPC 2023 Learning Track and the Autoscale Agile suite, more than LAMA, BFWS, and Levitron, and most of them within one second and 100 MiB.
Create a lesson
Related papers
Seeking in Space: Benchmarking Purposeful Active Exploration of Vision-Language Models for Spatial Reasoning
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.
Know What You Don't Know: Agentic Data Synthesis by Evolving Generation Space for Closed-Loop Learning
Shared title terminologycs.AIWei Yang, Qing Ping, Youzhi Luo et al.
Equal-Budget Monte Carlo Tree Search versus Randomized-Restart List Scheduling for DAG Workflows: A Controlled Equal-Budget Computational Study
Shared title terminologycs.AIYuyu Zhang
EliteTable: Self-Improving Program Search for Executable Control Policies
Shared title terminologycs.AIStuart Farmer
Searching for "Harmful Refusal": A Psychometric Audit of an AI Safety Benchmark
Shared title terminologycs.AIChristopher M. Stewart, Preston Botter, Natalie Sarabosing et al.
A Structural Theory of Cognitive Representation and Problem Solving,Contexts, Invariance, and the Knowledge Space
Shared title terminologycs.AIAntal Jakovác, András Telcs