Abstract
Generalized planning is concerned with the characterization and computation of plans that solve many instances at once. In the standard formulation, a generalized plan is a mapping from feature or observation histories into actions, assuming that the instances share a common pool of features and actions. This assumption, however, excludes the standard relational planning domains where actions and objects change across instances. In this work, we extend the standard formulation of generalized planning to such domains. This is achieved by projecting the actions over the features, resulting in a common set of abstract actions which can be tested for soundness and completeness, and which can be used for generating general policies such as “if the gripper is empty, pick the clear block above x and place it on the table” that achieve the goal clear(x) in any Blocksworld instance. In this policy, “pick the clear block above x” is an abstract action that may represent the action Unstack(a, b) in one situation and the action Unstack(b, c) in another. Transformations are also introduced for computing such policies by means of fully observable non-deterministic (FOND) planners. The value of generalized representations for learning general policies is also discussed.
Introduction
In classical planning, the objective is to find a sequence of actions that transitions a specific initial state to a goal state within a fixed environment. Generalized Planning (GP) elevates this challenge by seeking a single, universal policy capable of solving an entire class of problems. For example, rather than finding a path for a specific robot in a specific $10 \times 10$ grid, GP aims to find a policy that allows any robot to navigate to a target in a grid of any dimension.
Historically, GP has struggled with relational domains like Blocksworld. In these environments, the available actions are "grounded" to specific objects (e.g., Unstack(a, b)), which vary from instance to instance. This paper introduces a framework that bridges the gap between instance-specific concrete actions and instance-independent abstract actions through representation change and projections.
Methodology: Representation Change and Projections
The authors propose a systematic approach to transform complex relational planning problems into a format solvable by standard non-deterministic planners. This process involves three primary components:
1. Numerical and Boolean Features
Instead of tracking individual objects, the state is represented by a set of shared features. These include numerical features, such as $n(x)$ (the number of blocks currently above block $x$), and boolean flags, such as $H$ (indicating whether the gripper is holding an object). This abstraction allows the planner to reason about the state of the system regardless of the total number of blocks or their specific identifiers.
2. Abstract Actions and Feature Projection ($Q_F$)
The core innovation is the "projection" of concrete actions into abstract ones. An abstract action is defined by its effects on the chosen features. For instance, an abstract action "pick-above-x" is considered sound if, in any state where the gripper is empty and $n(x) > 0$, there exists at least one concrete action (like Unstack(a, b)) that results in the gripper being full and $n(x)$ decreasing. This mapping is referred to as the Feature Projection ($Q_F$), which transforms the generalized problem into a Qualitative Numerical Problem (QNP).
3. Boolean Projection ($Q^+_F$) and FOND Reduction
To leverage existing solvers, the QNP is further reduced to a Fully Observable Non-Deterministic (FOND) problem. In this stage, numerical variables are replaced by boolean propositions (e.g., "is $n=0$?" or "is $n>0$?"). Decrements to numerical variables are modeled as non-deterministic transitions. Crucially, these transitions are treated as "conditionally fair": if an action that decreases a counter is applied repeatedly, the system must eventually reach the state where the counter is zero. This allows the planner to guarantee goal achievement without knowing the exact numerical values.
Experimental Evaluation
The framework was evaluated on several classic planning benchmarks, including Grid Navigation, Sliding Puzzles, and various Blocksworld configurations (e.g., clearing a block, building a tower). The researchers utilized off-the-shelf FOND solvers such as MyND and FOND-SAT to generate the policies.
Performance and Generality
The results demonstrate remarkable efficiency. All general policies were computed in under 300 milliseconds. Specifically:
- Grid-moving policy: 54ms
- Clearing a block (Blocksworld): 58ms
The resulting policies are not only fast to compute but also highly compact and truly general. They are expressed as simple "if-then" rules based on features, allowing them to be executed with constant memory overhead regardless of the problem instance's size.
Discussion and Future Work
While the framework is highly effective, it currently relies on human-engineered features. The authors identify the automatic discovery of these features as a primary challenge for future research. By defining the "crisp requirements" for what constitutes a useful feature set (i.e., one that supports sound abstract actions), this work provides a roadmap for integrating Deep Learning with symbolic planning. Neural networks could potentially be trained to extract these qualitative features from raw state data, enabling the automated generation of general policies for even more complex domains.
Conclusion
This work extends the reach of generalized planning to relational domains by decoupling the search for a policy from the specific objects and actions of an instance. By projecting actions onto a shared feature space and reducing the problem to a FOND planning task, the authors provide a robust and efficient method for generating universal strategies that are both human-readable and mathematically sound.
Summary updated