TL;DR
This paper bridges the gap between data-driven learning and symbolic planning by proposing a method to learn first-order symbolic planning representations (like PDDL) directly from the structure of state-space graphs. This approach allows AI systems to acquire the flexible and interpretable models needed for planning without requiring any prior symbolic knowledge.
What Problem Does This Paper Address?
A significant challenge in AI is the disconnect between powerful data-driven learners (like deep neural networks) and robust symbolic solvers (like classical planners). While learners excel at handling raw data, they often produce "black boxes" that lack transparency and generality. Conversely, symbolic planners require hand-crafted, first-order symbolic models (e.g., PDDL) which are difficult and time-consuming to create. This paper tackles this problem by enabling the automatic learning of these crucial first-order symbolic representations from non-symbolic inputs that encode the structure of a problem's state space. Essentially, it aims to learn the "rules of the game" for planning directly from observing how states transition.
Methods
The core innovation lies in formulating the representation learning problem as inferring planning instances over a common, but initially unknown, first-order domain. This domain, encompassing action schemas, predicate symbols, and objects, is learned from input graphs that represent the state-space structure of one or more problem instances. The learning process is cast as a two-level combinatorial search:
- Outer Level (Hyperparameter Search): This level searches for optimal values of a small set of hyperparameters that define the complexity of the domain (e.g., number of action schemas, predicates, and their arities).
- Inner Level (SAT Solving): For each set of hyperparameters, a propositional theory is constructed and solved using a SAT solver. This theory encodes the relationship between the input state-space graphs and the potential first-order representations. A satisfying assignment to this theory yields a first-order symbolic model (domain and instance information) that explains the observed state-space structure.
The input is a labeled directed graph where nodes represent states and edges represent action types. The output is a PDDL-like representation, including general action schemas, predicate symbols (some static), and instance information (objects and initial state). Crucially, no goal information is provided or inferred.
Datasets
The paper uses standard AI planning domains for evaluation:
- Gripper
- Blocksworld
- Towers of Hanoi
- Grid
For each domain, a single input graph representing a small problem instance was used to learn the general first-order domain representations. These graphs were generated by systematically expanding the entire state space of these small instances.
Key Insights and Ideas
- Learning from Structure, Not Pixels: The approach emphasizes learning from the structure of the state space (how states transition) rather than from raw perceptual data like images. This is key to obtaining symbolic representations.
- Inferring the "Rules of the Game": The method learns not just specific actions but general action schemas and predicate symbols that define the underlying domain, enabling generalization to new instances.
- Leveraging SAT Solvers for Symbolic Induction: By encoding the representation learning problem as a SAT problem, the authors effectively use powerful constraint satisfaction techniques to discover symbolic structures.
- Hyperparameter-Driven Domain Complexity: The use of hyperparameters to bound the complexity of the learned domain (e.g., number of predicates) provides a tractable way to search for plausible representations.
- Static Predicates for Control: The learned models include static predicates, which are crucial for controlling the grounding of action schemas and representing invariant properties, adding expressiveness to the learned representations.
Key Results
The paper demonstrates that the proposed method can successfully learn general and correct first-order symbolic representations for standard planning problems like Gripper, Blocksworld, and Hanoi from input graphs encoding the flat state-space structure of a single small instance. The learned representations are PDDL-like, including action schemas, predicate symbols, and object definitions. The experiments show that the SAT encoding is computationally feasible for these domains within reasonable time and memory limits, and the learned representations pass verification on unseen test instances. For example, the Towers of Hanoi experiment learned a domain with two predicates and two binary static predicates, which generalized to instances with different numbers of disks and pegs.
Limitations and Future Work
- Input Completeness: The current formulation assumes complete input graphs (i.e., all possible transitions are represented). The authors suggest that the SAT encoding could be adapted to handle incomplete graphs with a SAT solver.
- Noise Handling: The current approach produces crisp representations from crisp inputs. Handling noisy data would require extending the SAT formulation to Weighted Max-SAT.
- Non-Determinism and Stochasticity: The current method is designed for deterministic actions. Learning representations for non-deterministic or stochastic actions would require modifications, such as using AND-OR graphs as input.
- Symbol Grounding: This work focuses on learning symbolic representations, not on grounding them to perceptual inputs (like images). Future work could explore combining this approach with methods that handle symbol grounding.
- Generalization and Simplest Model: While the learned representations are compatible with the training instances, there's no explicit mechanism to guarantee they are the "simplest" or to rank them. Further research is needed to understand the conditions under which learned representations generalize well to unseen instances.
Summary updated