TL;DR
This paper introduces HATP, an open-source Hierarchical Task Network (HTN) planner designed for multi-agent systems. HATP enhances traditional HTN planning by offering a more expressive language, robust control over search, and seamless integration with geometric planning for real-world robotics applications.
What Problem Does This Paper Address?
Traditional AI planning often struggles with complex, real-world tasks that involve multiple agents and require coordination with physical constraints. While Hierarchical Task Network (HTN) planning offers a structured way to break down complex tasks into smaller, manageable steps using "recipes," existing implementations can be limited in expressiveness and integration with the physical world. This paper addresses the need for a more versatile HTN planner that can handle multi-agent coordination, incorporate user-defined behaviors, and bridge the gap between symbolic task planning and geometric motion planning, particularly for robotics.
Methods
HATP is a total-order HTN planner that has undergone significant enhancements and is now available as open-source software. Key methodological contributions include:
- Expressive Domain Language: HATP employs a structured programming-like syntax for defining HTN methods and operators, including support for structures, conditionals, and typing. It treats agents as "first-class citizens," allowing for distinct agent types and the splitting of solutions into multiple "streams" for concurrent execution by different agents, with mechanisms for synchronization.
- Control Over Search: HATP provides explicit constructs (
SEL,SEL-ORDERED,SEL-ONCE) to manage how variables are bound during planning. This allows for more efficient search by controlling backtracking and potentially reducing the search space, though with a trade-off in completeness. Domain-dependent backtrack preferences can also be encoded for further optimization. - Symbolic-Geometric Planning Integration: A core advancement is the tight integration of HATP with geometric planners (GPs). This allows for interleaved planning, where the GP can be consulted during HTN planning to verify the feasibility of actions in a 3D world, apply trajectories, compute symbolic facts (like distance moved), and constrain geometric goals. This is crucial for generating physically viable plans.
Datasets
Not discussed in the paper. The paper focuses on the planner's capabilities and integration with a robotics framework, rather than specific datasets for training or evaluation.
Key Insights and Ideas
- Agents as First-Class Citizens: Treating agents distinctly within the planning framework is crucial for effective multi-agent coordination, enabling the decomposition of plans into agent-specific streams.
- Bridging Symbolic and Geometric Planning: The seamless integration of HTN planning with geometric planning is essential for creating realistic and executable plans in robotics. This allows for the verification of physical constraints and the generation of precise motion trajectories.
- Controlling Search for Efficiency: Providing explicit control over search mechanisms (like variable binding) can significantly improve planning efficiency, even if it means sacrificing some completeness. This is particularly relevant for complex domains.
- Open-Source for Wider Adoption: Making HATP open-source democratizes access to advanced planning capabilities, fostering wider adoption and community contributions in robotics and AI research.
Key Results
The paper highlights the enhancements and capabilities of HATP, emphasizing its user-friendly language, effective control over decomposition, and integration into a robotics framework. While specific quantitative results (e.g., speedup percentages) are not detailed, the paper presents a new action definition syntax that facilitates interleaved symbolic-geometric planning. This new syntax allows for:
- Consulting a GP to determine viable trajectories.
- Applying trajectories to a 3D world.
- Computing symbolic facts resulting from trajectories.
- Transparently adding these facts to the HATP state.
- Constraining geometric goal states.
The paper also mentions case studies involving quadrotor UAVs assembling structures and human-robot collaborative manipulation, demonstrating the practical applicability of HATP's integrated planning capabilities.
Limitations and Future Work
- Completeness Trade-off: The
SEL-ONCEconstruct, while improving efficiency, can lead to a loss of completeness by disregarding certain bindings. - Future Work: The paper implies ongoing development and integration within the LAAS Robotics Architecture (LRA), suggesting continued refinement of HATP's capabilities and its application in more complex robotic scenarios. The availability as open-source software also opens avenues for community-driven extensions and improvements.
Summary updated