Skip to main content
QUICK REVIEW

[Paper Review] Totally and Partially Ordered Hierarchical Planners in PDDL4J Library

Damien Pellier, Humbert Fiorino|arXiv (Cornell University)|Nov 26, 2020
AI-based Problem Solving and PlanningComputer Science7 references6 citations
TL;DR

This paper presents TFD and PFD, two hierarchical planners implemented in the PDDL4J library for the 2020 HTN IPC competition. They use forward-chaining task decomposition with a compact grounding technique based on lifted representation optimization, type inference, and reachability pruning, achieving efficient search via bitset-encoded actions and methods in both totally and partially ordered task networks.

ABSTRACT

In this paper, we outline the implementation of the TFD (Totally Ordered Fast Downward) and the PFD (Partially ordered Fast Downward) hierarchical planners that participated in the first HTN IPC competition in 2020. These two planners are based on forward-chaining task decomposition coupled with a compact grounding of actions, methods, tasks and HTN problems.

Motivation & Objective

  • To design and implement efficient hierarchical planners for the HTN IPC 2020 competition using the PDDL4J framework.
  • To reduce the size of the grounded planning representation without losing expressivity, improving search efficiency.
  • To support both totally and partially ordered task networks through distinct search strategies while maintaining correctness.
  • To optimize grounding by pruning unreachable actions and methods using inertia-based reachability analysis.
  • To enable scalable planning via bitset encoding of grounded actions and methods for compact memory representation.

Proposed method

  • Grounding is performed in six steps: integer encoding of lifted domains, type inference, action instantiation with reachability pruning, filtering unreachable actions, method instantiation with recursive decomposition, and bitset encoding of actions and methods.
  • The TFD planner uses a sequential task selection strategy, always processing the first task in the list, and applies forward-chaining decomposition recursively.
  • The PFD planner uses a topological ordering strategy, selecting tasks with no predecessors to maintain partial order consistency, and checks for acyclicity using Warshall’s algorithm.
  • Both planners use non-deterministic choice during search, favoring task networks with fewer undecomposed tasks and, in case of ties, fewer actions.
  • The grounding process leverages the inertia principle to eliminate actions and methods that cannot be applied in the initial state, reducing the search space.
  • The compact representation is stored using bitsets to minimize memory usage and accelerate access during search.

Experimental results

Research questions

  • RQ1How can a compact grounding technique be designed to minimize the size of the grounded representation in hierarchical planning without losing solution completeness?
  • RQ2What is the impact of reachability pruning based on the inertia principle on grounding efficiency and search performance?
  • RQ3How can forward-chaining task decomposition be efficiently adapted to support both totally and partially ordered task networks?
  • RQ4What is the role of bitset encoding in improving the performance of hierarchical planners in terms of memory and speed?
  • RQ5How do different task selection strategies (sequential vs. topological) affect the scalability and correctness of hierarchical planning?

Key findings

  • The grounding process significantly reduces the size of the search space by eliminating unreachable actions and methods through reachability analysis.
  • The use of bitset encoding for grounded actions and methods enables efficient memory representation and fast access during search.
  • The PFD planner successfully maintains partial order consistency by computing the transitive closure of ordering constraints using Warshall’s algorithm, ensuring acyclic task networks.
  • The TFD and PFD planners achieved competitive performance in the 2020 HTN IPC, demonstrating the effectiveness of their grounding and search strategies.
  • The search strategy in both planners, which prioritizes task networks with fewer undecomposed tasks and actions, improves efficiency by reducing non-deterministic branching.
  • The integration of compact grounding with forward-chaining decomposition enables scalable planning in complex hierarchical domains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.