Plausibility-Based Heuristics for Latent Space Classical Planning

Yuta Takata, Alex FukunagaarXiv 2023 · DOI

TL;DR

This paper introduces Plausibility-Based Heuristics (PBH) to improve the reliability of classical planning systems that learn domain models from image data. By evaluating the "plausibility" of states, PBH helps planners find valid solutions even when the learned domain model is imperfect, significantly boosting success rates on challenging planning tasks.

What Problem Does This Paper Address?

Autonomous systems often need to plan in novel environments where explicit, hand-coded domain models are unavailable. Systems like LatPlan aim to learn these models from unlabeled image data, generating a PDDL (Planning Domain Definition Language) representation. While these learned models can be used by standard planners, a critical issue arises: the learned "latent" propositions and actions might not perfectly correspond to the real-world domain. This can lead to plans that are valid according to the learned model but invalid in reality (e.g., reaching a state with duplicate objects or impossible configurations). This paper addresses the challenge of finding valid plans when the learned domain model is potentially flawed, a common problem in unsupervised learning for planning.

Methods

The core contribution is Plausibility-Based Heuristics (PBH). Instead of relying solely on traditional distance-based heuristics (which estimate the cost to the goal), PBH introduces a new heuristic that estimates the plausibility of a given state. This plausibility is assessed by checking for invariant properties of the state's visual representation, assuming that valid states in the real world share certain statistical characteristics.

Specifically, PBH uses the learned autoencoder from LatPlan to:

  1. Decode a latent state representation back into an image.
  2. Analyze the image's histogram to extract statistical properties.
  3. Compare this histogram to a reference state's histogram (typically the goal state's image) using metrics like $\chi^2$ difference or KL-divergence.

These plausibility scores are then used as heuristic values in search algorithms like A* or Greedy Best-First Search (GBFS). The idea is to prioritize exploring states that are more likely to be valid, even if they appear further from the goal according to traditional heuristics. This approach is domain-independent, relying on general image properties rather than specific object detectors.

Datasets

The paper evaluates PBH on the following domains, all using the AMA4+ action model from Asai et al. (2022):

  • MNIST-8 puzzle: A 3x3 sliding tile puzzle with digits 0-8 from the MNIST dataset.
  • Hanoi(4,4): A Towers of Hanoi problem with 4 towers and 4 disks.
  • Mandrill-15: A 4x4 sliding tile puzzle where the goal is to unscramble the Mandrill face image.

The training data for LatPlan consists of unlabeled image pairs representing state transitions. For evaluation, 20 instances per domain were used, with start and goal images generated by a domain-specific generator.

Key Insights and Ideas

  • Learned models are imperfect: The paper strongly emphasizes that learned domain models, even with deep learning, are prone to errors and may not perfectly reflect the true domain dynamics. This is a fundamental challenge for applying learned models in safety-critical or real-world planning.
  • Validity over optimality: In many scenarios, finding any valid plan is more important than finding the shortest possible plan, especially if the shortest plan is invalid. PBH prioritizes this validity.
  • Image statistics as a proxy for validity: The core insight is that valid states in many visual domains (like tile puzzles or block worlds) share invariant statistical properties in their pixel distributions, even when objects are moved. This allows for a domain-independent way to check state plausibility.
  • Search can compensate for learning flaws: The paper demonstrates that by augmenting the search process with plausibility checks, the system can overcome limitations in the learned model, leading to significantly better performance in finding valid plans.

Key Results

  • Significant improvement in valid plans: PBH dramatically increased the number of valid plans found compared to baseline search algorithms using standard heuristics.
  • On the Hanoi(4,4) domain, where previous work failed to find valid solutions, PBH achieved 100% valid plans.
  • On MNIST-8, PBH found 20 valid plans (compared to a maximum of 9 for baselines).
  • On Mandrill-15, PBH (specifically A* with hKL) found 20 valid and c-optimal plans, outperforming baselines that found fewer valid plans.
  • Focuses search on plausible states: Figure 3 shows that states expanded by PBH have much more concentrated plausibility scores, indicating that the search is effectively guided towards more likely valid states.
  • Hyperparameter sensitivity: The paper highlights that the performance of LatPlan's learned model is highly sensitive to hyperparameter settings, making it difficult to guarantee valid plans without extensive tuning. PBH offers a way to mitigate this sensitivity.

Limitations and Future Work

  • Runtime overhead: The current implementation of PBH is computationally expensive due to the repeated image decoding and histogram computation for each state evaluation. This significantly slows down the search process.
  • Domain applicability: While PBH works well for domains with invariant image statistics (like tile puzzles, blocks world, Towers of Hanoi), it might not be directly applicable to domains where actions drastically alter these statistics (e.g., LightsOut).
  • Future Work:
    • Optimization: Developing more efficient methods for computing plausibility or optimizing the search strategy to reduce the number of plausibility evaluations.
  • Combining heuristics: Investigating ways to combine plausibility-based heuristics with traditional distance-based heuristics to improve both validity and plan optimality.
  • Extending to paths: Exploring plausibility metrics for entire plan paths, not just individual states.
  • Broader domain coverage: Applying PBH to a wider range of domains and exploring its effectiveness in other planning systems that use learned representations.

Summary updated

BibTeX
@misc{takata2023plausibility,
  author = {Yuta Takata and Alex Fukunaga},
  title = {{Plausibility-Based Heuristics for Latent Space Classical Planning}},
  year = {2023},
  eprint = {2306.11434},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.11434},
}
Figure