Generative models have emerged as a powerful paradigm for AI planning, yet their performance remains fundamentally constrained by the distribution of their training data. If a model is trained on suboptimal or "messy" plans, it will naturally generate messy plans. While scaling test-time compute via search algorithms like Monte Carlo Tree Search (MCTS) can improve generated solutions, standard methods often struggle with depth imbalance and heuristic inaccuracies.
To address this, researchers have introduced OCLGEN, a novel search algorithm that supercharges generative planning models. By synergizing the speed of autoregressive rollouts with the systematic rigor of classical Open-Closed List (OCL) graph search, OCLGEN finds shorter, more optimal plans significantly faster than standard methods.
The Challenge of Test-Time Search
Deep generative models, such as specialized Transformers, are highly capable of predicting action sequences for planning tasks. However, when researchers attempt to refine these predictions at test-time using search algorithms, two major bottlenecks emerge:
- Depth Imbalance: Standard search methods often spend disproportionate time exploring wide, shallow branches near the start of a plan, failing to adequately explore critical decisions deeper in the trajectory.
- Pessimistic Heuristics: Learned heuristics tend to overestimate the "cost-to-go" (the remaining steps to the goal) because they are trained on suboptimal data. This causes the search to behave greedily, prematurely committing to poor paths.
The OCLGEN Approach
OCLGEN adapts the classical Open-Closed List search framework for modern generative models through three key innovations:
1. Depth-Partitioned Selection
Instead of maintaining a single, massive list of candidate nodes, OCLGEN maintains separate "open lists" for every depth level of the search tree. By alternating between these levels, the algorithm ensures fair exploration of both shallow alternatives and deep trajectories, effectively neutralizing the bias caused by overestimating heuristics.
2. Truncated Rollouts with Adaptive Expansion
Rather than expanding the search tree one single action at a time, OCLGEN leverages the generative model to "fast-forward" several steps via an autoregressive rollout. Crucially, it only branches out to explore alternative actions at "critical decision points." These points are defined dynamically by the model's internal confidence: if the model is highly certain about an action, OCLGEN trusts it; if confidence is low, the algorithm stops and explores alternatives. This confidence-based branching prevents the combinatorial explosion that typically paralyzes search algorithms.
3. Distributional Heuristic Estimation
Instead of predicting a single scalar value for the remaining cost, the heuristic model predicts a probability distribution. OCLGEN uses the lower percentile (the "optimistic tail") of this distribution to rank nodes. Because the models naturally learn to be pessimistic from suboptimal training data, this optimistic sampling forces the search to actively hunt for the shortest possible path.
Experimental Validation
The researchers evaluated OCLGEN across four challenging combinatorial planning domains: Blocksworld, Logistics, Labyrinth, and Sokoban. The models were trained on 100,000 instances per domain using suboptimal plans generated by a symbolic solver (FD-LAMA) to simulate an imperfect training environment.
Key Results
- Superior Optimality: On problems with known optimal solutions, OCLGEN achieved 87.3% optimality across domains, nearly doubling the 49.8% achieved by MCTS under an identical compute budget.
- Computational Efficiency: OCLGEN converges to high-quality plans much faster than baselines. In Blocksworld, it reached a plan quality in 30 seconds that MCTS could not match even after 5 minutes of search.
- Out-of-Distribution Generalization: OCLGEN successfully solved 100% of challenging Logistics problems that the original symbolic solver failed to solve, proving the search reasons beyond its training data.
- The Self-Improvement Loop: The paper demonstrates a powerful virtuous cycle. By using OCLGEN to find better plans and then fine-tuning the model on those superior trajectories, the model's baseline capabilities drastically improve. After three rounds of this self-improvement loop, the model reached 100% optimality on Blocksworld.
Limitations and Future Directions
While OCLGEN represents a significant leap in test-time inference efficiency, the authors note a few areas for future refinement. Currently, the algorithm selects which depth level to explore using a relatively uninformed, fixed schedule; a more intelligent strategy for identifying promising depths could yield further speedups. Additionally, the method relies on having some suboptimal demonstration data to initialize the models (the "cold start" problem). Future work will explore whether this framework can support zero-shot policy improvement without any prior demonstrations, as well as how well it scales to environments with vastly more objects or larger grids than seen during training.
Summary updated