Classical Planning in Deep Latent Space

Masataro Asai, Hiroshi Kajino, Alex Fukunaga, Christian Muise

Introduction

The divide between subsymbolic systems (Deep Learning) and symbolic systems (Classical Planning) remains a significant challenge in AI. While deep learning excels at perception from raw data, classical planners provide formal guarantees for logical reasoning but require manually authored models in languages like PDDL (Planning Domain Definition Language). The Latplan framework addresses this "symbol grounding problem" by automatically learning a structured planning model from unlabeled image pairs of an environment.

The Latplan Framework

Latplan bridges the gap by observing environment transitions and extracting stable symbols that off-the-shelf planners can utilize without human-provided domain knowledge.

State Representation

The system utilizes a State Autoencoder (SAE) based on a Binary-Concrete Variational Autoencoder. This maps raw images into a latent space of binary bit-vectors, where each bit serves as a logical proposition. To ensure these symbols are stable enough for formal logic, the authors implement specific priors (Bernoulli 0.1) and deterministic activations, mitigating the "jitter" common in standard neural networks where tiny pixel changes flip bits randomly.

The visual planning task: finding a sequence of actions to move from an initial image state to a goal state.

Action Model Acquisition (AMA)

The core innovation is the AMA4+ (Bidirectional Cube-Space AE). Unlike previous iterations, it learns both forward dynamics (effects) and backward dynamics (preconditions). By treating precondition learning as a time-symmetric version of effect learning—forcing the network to "regress" or predict the previous state—the network can extract clean, conjunctive preconditions necessary for formal PDDL modeling.

Translation to PDDL

A novel Back-To-Logit (BTL) decoder ensures that transitions are bitwise monotonic. This allows the weights of the neural network to be directly translated into STRIPS-style PDDL, enabling the use of standard solvers like Fast Downward to find optimal or near-optimal plans.

Experimental Evaluation

Latplan was evaluated across six image-based planning domains, including MNIST 8-Puzzle, Mandrill 15-Puzzle, and photo-realistic Blocksworld. These domains test the system's ability to handle complex visual effects like reflections, shadows, and high-dimensional state spaces.

The Mandrill image used for the 15-puzzle domain, representing a complex visual environment for symbolic reasoning.

Key Results

  • End-to-End Success: Latplan successfully generated valid PDDL models and solved problems in all tested domains using the Fast Downward planner.
  • Heuristic Effectiveness: Standard domain-independent planning heuristics (e.g., LM-cut) were found to be highly effective in the learned latent space, as it naturally inherits the graph structure of the underlying problem.
  • Robustness: The system maintained performance even under Gaussian noise, demonstrating the effectiveness of the symbol stability measures and the closed-world prior.

Conclusion and Future Work

Latplan demonstrates that symbolic reasoning can emerge from raw visual data without human intervention. While currently limited to fully observable, deterministic environments and propositional representations, future work aims to incorporate First-Order Logic for object-based generalization and integration with physical motion planners for robotics applications.

Summary updated

BibTeX
@article{asai2022classical,
  author = {Masataro Asai and Hiroshi Kajino and Alex Fukunaga and Christian Muise},
  title = {{Classical Planning in Deep Latent Space}},
  journal = {J. Artif. Intell. Res.},
  year = {2022},
  doi = {10.1613/jair.1.13768},
}
Figure