Introduction
In classical AI planning, the objective is typically to find a sequence of actions that transitions a specific initial state to a goal state. However, generalized planning aims for a more ambitious goal: synthesizing a single policy capable of solving every instance within a problem domain, regardless of its size or configuration. For example, instead of solving a specific block-stacking task, a general policy would provide a strategy to clear any block in any Blocksworld setup.
The primary challenge in generalized planning is abstraction. To create a policy that generalizes across instances, one must identify the correct "features" (e.g., the number of objects above a target). Historically, these abstractions were either manually engineered or learned from extensive libraries of expert-provided plans. This paper introduces D2L, a novel framework that learns general policies without supervision and from remarkably small training examples.
Methodology: The D2L Framework
The D2L system frames policy learning as a self-supervised combinatorial optimization problem. The approach consists of three integrated components:
1. Automated Feature Generation
Using a formal grammar based on description logic, D2L automatically generates a vast pool of potential boolean and numerical features from the basic predicates of a domain. This eliminates the need for human-designed abstractions.
2. Weighted Max-SAT Optimization
The core of the D2L method is a propositional theory $T$ that encodes the requirements of a "good" policy. By utilizing a Weighted Max-SAT solver, the system identifies the simplest set of features that satisfy several critical criteria:
- Goal Discrimination: The policy must distinguish goal states from non-goal states.
- Transition Selection: It must identify "good" transitions that progress toward the goal.
- Soundness: The policy must be free of cycles or dead ends.
3. Lyapunov-like Constraints
To guarantee goal reachability, the SAT encoding incorporates variables that function as a discrete Lyapunov function. These variables assign "distance-to-goal" labels to states, ensuring that every action sanctioned by the policy results in measurable progress toward the objective.
Unlike many previous approaches, D2L learns non-deterministic policies. Rather than prescribing a single action, the policy acts as a filter, allowing any action that achieves specific changes in the feature space. This flexibility significantly simplifies the search for valid general strategies.
Experimental Evaluation and Results
The authors evaluated D2L across several classic AI planning benchmarks, including Blocksworld variants ($Q_{clear}$, $Q_{on}$), standard PDDL domains (Gripper, Spanner, Miconic, Visitall), and custom grid-based tasks. Training was conducted on minimal instances—often involving only 4 or 5 objects or small 3x3 grids.
The experimental results demonstrate several key advantages of the D2L approach:
- Efficiency and Scalability: D2L outperforms previous state-of-the-art methods in terms of computation time. As shown in Table 1, the system finds policies for domains like Gripper in just 2 seconds, whereas prior methods often required hours.
- Compactness: Despite being more expressive, the propositional theories generated by D2L are often an order of magnitude smaller than those in previous work.
- Robust Generalization: Policies learned from tiny training instances successfully solved test instances with 30+ objects, confirming that the simplicity bias of the Max-SAT solver effectively captures the fundamental logic of the domains.
Discussion and Future Work
The success of D2L highlights that simplicity equals generalization. By minimizing the complexity cost of chosen features, the system naturally identifies the most robust rules. Furthermore, the unsupervised nature of the framework allows it to discover functional policies that might be overlooked by human experts.
However, some limitations remain. D2L currently requires expanding the full state space of training instances, which can be a bottleneck if even the smallest instances are large. Additionally, the policy's quality is bounded by the expressive power of the feature grammar. Future research may focus on synthesizing "provably correct" policies by integrating these learned strategies with Qualitative Numerical Planning (QNP) theory.
Summary updated