Extraire et utiliser la structure des domaines en planification de tâches

Emmanuel Guere, Rachid AlamiHAL 2002

TL;DR

This paper introduces ShaPer, a novel task planning approach that tackles large-scale problems by efficiently representing domain structures. It achieves this by building a compact "shape graph" offline, which significantly reduces the search space for online planning, leading to competitive performance on benchmarks.

What Problem Does This Paper Address?

The field of automated task planning aims to find a sequence of actions to achieve a goal state from an initial state. As problems grow in complexity, the search space of possible states and actions explodes, making it computationally intractable for traditional planners. Existing approaches try to mitigate this by pruning the search space, for example, through techniques like GraphPlan's mutex propagation or heuristic search in planners like HSP and FF. However, dealing with domains that have many similar objects or states (e.g., multiple blocks in a block-stacking world) remains a significant challenge due to combinatorial explosion. This paper addresses the need for a more efficient way to represent and exploit the inherent structure and symmetries within these domains to enable faster and more scalable task planning.

Methods

ShaPer employs a two-phase approach:

  • Offline Phase: Building the Shape Graph (G)
    • The core innovation is the concept of "forms" to represent states. Two states are considered to have the same form if all applicable macro-actions (sequences of STRIPS actions) are applicable to both. This allows for grouping redundant states.
  • ShaPer constructs a "shape graph" (G) offline. This graph represents all unique "forms" of accessible states within a given domain. The key is that this graph is significantly smaller than the full state-space graph due to the efficient handling of symmetries and redundancies.
  • To further refine the process of identifying new forms and building the graph, an "F-tree" (selection tree) is introduced. This tree helps guide the search for state equality and aids in constructing substitutions.
  • Online Phase: Planning with the Shape Graph and Substitution Graph (H)
    • Once the shape graph (G) is built, a "substitution graph" (H) is constructed. This graph captures the connections between different forms, enabling efficient planning.
  • For a given planning problem (initial state $S_{init}$ and goal state $S_{goal}$), the algorithm instantiates $G$ and $H$ based on the forms of $S_{init}$ and $S_{goal}$.
  • The planning process then involves finding a path between the instantiated $H_{init}$ and $G_{goal}$. The paper argues that often, a single action is sufficient to connect these two graphs, making the online search very fast.
  • Hierarchical Abstractions: The paper also proposes an automatic method for generating hierarchical abstractions of the domain. This involves ordering predicates and actions based on their dependencies, allowing for a more structured and efficient planning process, especially in domains with multiple independent object types. This hierarchical decomposition is shown to maintain optimality.

Datasets

The paper evaluates ShaPer on several benchmark domains:

  • Blocks World: This is used extensively for illustrative examples and comparisons, particularly with varying numbers of cubes (3 to 7 cubes).
  • Gripper Domain: This domain involves a robot picking up and dropping balls.
  • Ferry Domain: This domain likely involves transporting objects using a ferry.

The paper does not introduce new benchmarks but uses established ones to compare ShaPer's performance against other state-of-the-art planners.

Key Insights and Ideas

  • "Forms" as a powerful abstraction: The core idea of grouping states based on the set of applicable macro-actions is a novel and effective way to capture domain symmetries and reduce state-space explosion.
  • Offline graph construction for online speed: Building a compact representation of the domain (the shape graph G) offline allows for extremely fast online planning. This is crucial for applications requiring quick responses.
  • The F-tree for efficient form comparison: The F-tree acts as a sophisticated guide for determining if a new state's form is novel, significantly speeding up the graph construction process.
  • Hierarchical decomposition for complex domains: The automatic generation of abstraction hierarchies is a key extension that allows ShaPer to handle domains with multiple independent types of objects efficiently, without sacrificing optimality.
  • Single action connection: The observation that often a single action is sufficient to connect the instantiated substitution graph ($H_{init}$) to the goal form graph ($G_{goal}$) is a significant factor in the planner's speed.

Key Results

  • Significant reduction in search space: Table 1 shows that the size of the shape graph (number of nodes in G) is exponentially smaller than the full state-space size for the blocks world and gripper domains. For example, with 7 cubes, the state space has 41,413 states, while the shape graph has only 15 nodes.
  • Competitive performance: Table 3 demonstrates that ShaPer rivals or surpasses leading planners like IPP, STAN, HSP, and FF on various benchmarks (ferry, gripper, blocks world) in terms of CPU time.
  • Fast planning times: For the blocks world, ShaPer can solve problems with up to 20 cubes in under a second, and with hierarchical abstractions, problems with up to 30 cubes are solved in under 0.1 seconds.
  • Robustness to domain structure: ShaPer's performance is particularly strong on domains with many similar objects, where symmetries are prevalent.

Limitations and Future Work

  • Heuristic-based hierarchy: The paper notes that the hierarchical decomposition, while effective, is based on a heuristic and may not always guarantee optimality in the strictest sense, although it is stated to be "not approximate."
  • Domain-dependent H graph: While the G graph is domain-independent, the H graph becomes domain-specific once constructed. The paper acknowledges that this makes ShaPer "domain-dependent" in a sense, similar to TalPlan.
  • Future Work:
    • Exploring the shape graph as a generalized set of mutexes to guide other planners.
  • Leveraging the forward chaining search coupled with applicable actions (G) for "conformant planning" problems.
  • Further investigation into the optimal construction of the H graph.
  • Extending the approach to handle more complex planning scenarios.

Summary updated

Abstract

Dans la course actuelle au planiicateur de tâches le plus efficace, nous proposons dans cet article une nouvelle approche qui permet de traiter efficacement des probl emes de taille importante. L'algorithme se decompose en deux parties distinctes. Dans un premier temps ShaPer construit, hors-ligne, le graphe d'accessibilit e, compact gr^ ace e a la notion de forme, d'un domaine donné. La capacité e ShaPer à "résister" à l'explosion combinatoire réside en effet dans une gestion efficace des symetries des domaines. Le graphe des formes est ensuite utilisé en-ligne pour repondre à n'importe quel probleme de planiication sur le domaine developpe. Apres avoir decrit en detail cette methode originale, nous la completons par l'utilisation et la synthese automatique de hi erarchies d'abstractions, etendant ainsi les possibilit es de ShaPer. Une premiere implementation a permis d'obtenir des resultats prometteurs sur la majorite des benchmarks, rivalisant avec les meilleurs planiicateurs de la competition AIPS-2000.
BibTeX
@inproceedings{guere2002extraire,
  author = {Emmanuel Guere and Rachid Alami},
  title = {{Extraire et utiliser la structure des domaines en planification de tâches}},
  booktitle = {HAL},
  year = {2002},
}
Figure