Introduction
In classical planning and reinforcement learning, the ability to decompose complex tasks into manageable subproblems—hierarchical behavior—is a hallmark of efficient problem-solving. However, automatically discovering these hierarchies without human intervention or expert demonstrations remains a significant hurdle. This paper introduces a principled approach to learning hierarchical policies by leveraging the formal concept of problem width.
The authors propose that complex, high-width problems can be solved by iteratively breaking them down into a sequence of subproblems with strictly lower width. This process continues until "width-0" tasks are reached, which can be executed in a single step.
Methodology: Width-Based Decomposition
The core of the proposed framework is the representation of Hierarchical Policies ($\Pi$) as trees. Each node in the tree corresponds to a class of subproblems.
- Sketch Rules: The framework utilizes "policy sketches"—rules that define how to reach intermediate subgoals rather than the final goal.
- Iterative Width Reduction: The root of the policy tree represents the original problem. Internal nodes contain sketch rules that decompose the problem into simpler ones with lower width. Leaf nodes contain rules for width-0 problems, which are directly executable actions.
- Learning via Answer Set Programming (ASP): To discover these rules, the authors use ASP to search for the simplest set of rules that correctly decompose small training instances. These rules are built from a pool of features generated via description logic.
- Execution: At runtime, the policy employs a stack-based mechanism to track subproblem progression, pushing new tasks as it traverses the hierarchy.
Experimental Evaluation
The method was evaluated across 11 classical planning domains, including standard IPC benchmarks (Blocks, Gripper, Miconic, Visitall) and additional tractable domains (Delivery, Reward, Spanner). The learned policies were tested on large-scale instances to verify their generalization capabilities.
Key Results
The hierarchical policies demonstrated remarkable performance and generalization:
- Generalization: Policies learned from tiny training examples (e.g., 2 objects) achieved 100% coverage on test instances with hundreds of objects.
- Performance vs. State-of-the-Art: In challenging domains like Spanner, standard planners such as LAMA and BFWS failed to solve any instances, whereas the learned hierarchical policies ($\Pi_1, \Pi_2$) solved them efficiently.
- Learning Efficiency: The "divide and conquer" nature of the hierarchy made the learning process itself more efficient. In several cases, the ASP solver could find a hierarchical policy ($\Pi_1$) even when it timed out attempting to find a flat policy ($\Pi_0$).
Discussion and Conclusion
The use of structural width as a proxy for complexity provides a formal guarantee for the decomposition process. By focusing on qualitative features (e.g., "number of undelivered packages"), the learned rules remain interpretable and highly generalizable.
Despite its success, the method is currently limited by its reliance on a predefined feature pool. If the necessary abstractions are missing, the policy cannot be learned. Furthermore, the combinatorial nature of ASP can lead to search space explosions in highly complex domains. Future work may involve integrating deep learning to automatically discover the necessary feature representations, combining neural power with the structural rigor of width-based planning.
Summary updated