This study provides a systematic look at hierarchical search—specifically "subgoal methods"—in the context of NP-hard combinatorial reasoning. While these methods are often touted as the future of planning, their performance can be inconsistent. The authors identify the specific "stress tests" where hierarchical search truly shines compared to traditional low-level planners.
TL;DR
Hierarchical search isn't a universal upgrade, but it is a powerful "noise filter" for planning. It significantly outperforms low-level search in environments characterized by noisy value functions, complex action spaces, frequent dead ends, or training data derived from diverse, inconsistent sources.
What Problem Does This Paper Address?
Combinatorial reasoning problems, like solving a Rubik’s Cube or proving mathematical theorems, have search spaces that grow exponentially. The standard AI approach combines search algorithms (like A*) with learned heuristics (value functions).
Recently, subgoal methods have emerged. Instead of planning every individual move, these agents pick a high-level "subgoal" state and then use a low-level policy to reach it. However, it hasn't been clear when this extra layer of complexity is actually worth it. This paper aims to move beyond "it works better on this one benchmark" to establish a conceptual foundation for when and why hierarchical search succeeds.
Methods
The authors compare two state-of-the-art hierarchical methods, kSubS and AdaSubS, against three "low-level" baselines: $\rho$-BestFS, $\rho$-A, and $\rho$-MCTS*. The "$\rho$" indicates that these baselines are augmented with a trained policy to prune the action space, ensuring a fair fight.
Key components of their hierarchical framework include:
- Subgoal Generator: A model that proposes future states to reach.
- Low-level Policy: A "reachability" model that finds the atomic actions to connect subgoals.
- Value Function: A heuristic that estimates the distance to the final goal.
All components are trained using Imitation Learning from offline datasets. Crucially, the authors advocate for measuring the complete search budget—counting every single state visited, including those visited by the low-level policy—to prevent hierarchical methods from appearing artificially efficient.
Datasets
The researchers evaluated these methods across four classic combinatorial domains:
- Rubik’s Cube: Testing resilience to diverse data (using Beginner, CFOP, Kociemba, and Random solvers).
- N-Puzzle: A sliding tile puzzle used to test scaling.
- Sokoban: A box-pushing game used to study dead ends and out-of-distribution (OOD) generalization.
- INT (Inequality Theorem Proving): A benchmark for mathematical reasoning with a massive, complex action space.
Key Insights and Ideas
- Subgoal Methods as "Value Noise Filters": Low-level search is incredibly sensitive to the "smoothness" of the value function. If the heuristic is noisy, the agent gets lost in local fluctuations. Subgoal methods effectively "jump" over these noisy regions by focusing on distant states where the value signal is more distinct.
- Handling Action Space "Densification": In environments like theorem proving, there might be thousands of possible actions, many of which are redundant. The authors prove (Theorem 2) that as action spaces become denser, low-level search becomes less diverse and more prone to failure. Subgoal methods bypass this by searching in the state space rather than the action space.
- Dead End Avoidance: Value functions are typically trained on successful trajectories, meaning they rarely "see" dead ends during training. Subgoal generators, however, seem better at learning the manifold of reachable states, allowing them to bypass traps that would snare a low-level planner.
Key Results
- Resilience to Noise: In Sokoban and Rubik's Cube, AdaSubS maintained a high success rate even when the value function was replaced with 100% random noise, whereas low-level methods collapsed to 0% success.
- Diverse Data Mastery: When trained on a mix of different Rubik's Cube solvers (which produce very different trajectory styles), low-level search struggled with the resulting inconsistent value estimates. Subgoal methods remained stable.
- Complex Action Spaces: In the INT environment, hierarchical methods outperformed low-level search by a wide margin due to the sheer complexity of the proof-step action space.
- OOD Generalization: Subgoal methods scaled significantly better when tested on "extra hard" Sokoban boards that were far outside the training distribution.
Limitations and Future Work
The authors note that hierarchical search is not a "free lunch." If the training data is unimodal and clean (e.g., only optimal demonstrations), a well-tuned low-level search like $\rho$-BestFS can be just as effective and much simpler to implement.
Furthermore, while the paper provides strong empirical evidence and some theoretical grounding (Theorems 1 & 2), the authors call for more rigorous theoretical work to explain why subgoal generators are so much better at avoiding dead ends than value functions. They also suggest that the "random expansion" strategy used by AdaSubS when stuck could be adapted to improve low-level search algorithms.
Summary updated