NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Query-Efficient Planning with Language Models

Gonzalo Gonzalez-Pumariega, Wayne Chen, Kushal Kedia, Sanjiban Choudhury · DOI

Introduction

In robotics and complex artificial intelligence tasks, planning involves identifying a sequence of actions to achieve a specific goal. Traditional planning systems rely on a world model—such as a physics engine or simulator—to verify the feasibility of proposed actions. However, querying these models is often the most computationally expensive part of the process. For a robot, running a high-fidelity simulation for every potential arm movement is time-prohibitive.

While Large Language Models (LLMs) possess strong "commonsense" priors regarding plan structures, they often struggle with long-term reasoning and can fall into repetitive loops. This research investigates the most "query-efficient" method to integrate LLM intuition with world model verification, specifically comparing LLMs as search heuristics versus generative planners.

Comparative Methodologies

The researchers evaluated several frameworks to determine which best balances planning success with computational cost:

  1. Tree of Interaction (ToI): In this setup, the LLM functions as a heuristic within a classical search algorithm (e.g., Breadth-First Search). The LLM proposes actions from a given state and evaluates the "promise" of resulting states, while the search algorithm manages the exploration tree.
  2. Boomerang: This framework utilizes the LLM as a generative planner. The LLM attempts to generate a complete sequence of actions from start to finish. This plan is then "rolled out" in the world model. If a failure occurs at step $k$, Boomerang takes the successful partial trajectory and the error feedback, feeds them back to the LLM, and requests a entirely new plan starting from the initial state.
  3. ReAct: A baseline agentic approach that plans and acts step-by-step.
Comparison of planning frameworks: ReAct, ReAct-Select, Tree of Interaction, and Boomerang.

Key Insights: Why Boomerang Succeeds

The study reveals that using an LLM to generate entire plans (Boomerang) is significantly more efficient than using it to rank states in a search tree (ToI). This success is attributed to several factors:

  • Avoiding "Cul-de-Sacs": Incremental agents like ReAct often get trapped in local optima or cycles (e.g., repeatedly picking up and dropping the same object). By replanning from the start upon failure, Boomerang "teleports" its reasoning out of these traps.
  • Rapid Adaptation: When a search-based heuristic hits a dead end, it may continue exploring nearby nodes within that same dead end. Boomerang can immediately pivot to a different high-level strategy based on environmental feedback.
  • Lazy Planning: Boomerang aligns with the theory of "lazy" planning, where a path is assumed valid until proven otherwise, thereby minimizing expensive verification checks.

Experimental Results

The frameworks were tested across challenging domains including PlanBench (Blocksworld), Logistics, and Robotouille (a complex cooking simulator with multi-threaded task dependencies).

  • Success Rates: In Blocksworld, Boomerang achieved a 78% success rate, outperforming classical PDDL planners (63%) and ReAct (52%). In the Robotouille simulator, it reached 57%, leading all other baselines.
  • Query Efficiency: Boomerang proved remarkably cost-effective. In Blocksworld, it required an average of only 5.69 world model queries to find a solution, compared to 13.69 for ReAct and nearly 40 for the search-based ToI-BFS.
Distribution of World Model Queries for the Boomerang framework, demonstrating its efficiency in reaching goals.

Limitations and Future Directions

Despite its efficiency, Boomerang faces challenges with context window limits. As planning horizons extend, the history of failures can saturate the LLM's memory, causing it to potentially repeat failed plans. Additionally, while symbolic logic is handled well, precise geometric reasoning remains a hurdle. Future work aims to scale Boomerang to longer horizons and integrate it with low-level geometric planners for comprehensive Task and Motion Planning (TAMP).

Summary updated

BibTeX
@misc{gonzalezpumariega2024query,
  author = {Gonzalo Gonzalez-Pumariega and Wayne Chen and Kushal Kedia and Sanjiban Choudhury},
  title = {{Query-Efficient Planning with Language Models}},
  year = {2024},
  eprint = {2412.06162},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.06162},
}
Figure