Generalized Planning: Non-Deterministic Abstractions and Trajectory Constraints

Blai Bonet, Giuseppe De Giacomo, Hector Geffner, Sasha Rubin

TL;DR

This paper advances generalized planning—finding a single policy that solves an entire class of problems—by introducing "trajectory constraints." By augmenting abstract models with these global constraints (often expressed in Linear-time Temporal Logic), the authors remove the need for manual termination proofs and enable the automated synthesis of general policies using LTL synthesis or standard non-deterministic planners.

What Problem Does This Paper Address?

In classical planning, we find a sequence of actions to reach a goal from a specific starting state. Generalized planning is more ambitious: it seeks a single policy that works for a whole family of related problems, such as "clear any block $x$ in any Blocks World configuration."

Previous research successfully used abstractions to map many concrete problems into one small, non-deterministic abstract problem. However, these abstractions were "local" (Markovian). They captured what happens in a single step but lost "global" properties. For example, if you have a positive counter $X$ and a policy that decrements it, a local abstraction doesn't know that $X$ must eventually hit zero; it only knows that $X$ might decrease. To make the math work, researchers previously had to manually assume a "termination condition." This paper aims to formalize these global properties so that general policies can be computed automatically without such manual crutches.

Methods

The authors introduce two primary ways to handle these global properties, which they call trajectory constraints:

  1. LTL Synthesis: They express trajectory constraints using Linear-time Temporal Logic (LTL). For instance, a constraint might state: "If action Decrement occurs infinitely often and Increment occurs finitely often, then the state $X=0$ must be reached infinitely often." They then reduce the planning problem to LTL synthesis, using automata-theoretic techniques (like Büchi and Deterministic Parity Word automata) to generate a policy.
  2. FOND Planning Compilation: For a specific but broad class of problems called Qualitative Numerical Problems (QNPs)—which involve variables that can increase or decrease non-deterministically—they show how to "compile away" the constraints. By adding specific "helper" atoms and actions to the abstract model, they transform the complex constrained problem into a standard Fully Observable Non-Deterministic (FOND) planning problem. This allows them to use existing, highly efficient FOND planners to find general solutions.

Datasets

Not discussed in the paper. This is a theoretical and algorithmic contribution. The authors use illustrative examples, such as integer variable manipulation and the Blocks World, to demonstrate their framework rather than benchmarking against standard datasets.

Key Insights and Ideas

  • The Local-Global Gap: The core "aha" moment is realizing that abstractions fail not because they are non-deterministic, but because they are memoryless. They miss the global "physics" of the domain (like the fact that you can't decrement a finite counter forever).
  • Trajectory Constraints as the Missing Link: By explicitly defining these global rules as constraints on the sequences of states and actions (trajectories), the authors provide the missing information needed for a policy to generalize safely.
  • Completeness: The authors prove that if a general policy exists for a class of problems, there always exists a trajectory constraint that makes that policy a solution in the abstract space.
  • Automated Synthesis: By reducing the problem to LTL synthesis or FOND planning, they move generalized planning from a manual analysis task to an automated computational task.

Key Results

  • Theorem 6 (Generalization): The authors prove that a policy solving an abstract problem with the right trajectory constraints is guaranteed to solve every concrete problem in that class.
  • Complexity: They establish that solving generalized planning via LTL synthesis is 2EXPTIME-complete. While high, they show that for practical problems, the resulting automata can remain manageable.
  • Automata Construction: Figure 1 illustrates a Deterministic Parity Word (DPW) automaton generated during the synthesis process for a simple integer variable problem. This automaton represents the logic the planner must follow to satisfy the trajectory constraints.
DPW (with priorities written in the states) for the integer variable example.
  • FOND Efficiency: For QNPs, the compilation technique allows researchers to sidestep the 2EXPTIME complexity of LTL synthesis by leveraging existing off-the-shelf FOND planners, which are much faster in practice.

Limitations and Future Work

  • Complexity of LTL: The 2EXPTIME-completeness means that very complex global constraints might lead to a state-space explosion during synthesis.
  • QNP Assumptions: The efficient FOND compilation requires certain assumptions, such as actions only decrementing one variable at a time. Relaxing these assumptions is a path for future work.
  • Broadening the Scope: While QNPs cover many interesting domains, extending this framework to handle more complex data structures or continuous variables remains an open challenge.

Summary updated

BibTeX
@inproceedings{bonet2017generalized,
  author = {Blai Bonet and Giuseppe De Giacomo and Hector Geffner and Sasha Rubin},
  title = {{Generalized Planning: Non-Deterministic Abstractions and Trajectory Constraints}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  url = {https://openreview.net/forum?id=SJ4047M_ZB},
}
Figure