Efficient Lookahead Encoding and Abstracted Width for Learning General Policies in Classical Planning
About
Generalized planning aims to learn policies that generalize across collections of instances within a classical planning domain. Recent Graph Neural Network (GNN) approaches have learned nearly perfect policies for several domains. This work improves on the recently published idea of Iterated Width (IW) policies. Therein, the policy broadens its successor scope through an IW-lookahead search that can "jump" over multiple transitions, simplifying the problem structure. Yet, each transition is evaluated individually, leading to unscalable compute costs and expressivity limitations. Furthermore, although IW(1) is attractive because it scales linearly with the number of atoms, it becomes inefficient once thousands of objects are considered, as in the International Planning Competition (IPC) 2023 benchmark. We address both limitations. First, we introduce a vastly more efficient holistic encoding of the entire search tree. It jointly represents IW(1)-reachable states only by their relational differences to the current state, enabling Relational GNNs (R-GNNs) to score all transitions in a single forward pass. Second, we define Abstracted IW(1) to improve scaling through relational abstraction during novelty checks. Rather than testing fully instantiated atoms, it abstracts each atom by replacing all but one argument with its type. The original atom is novel if any of its abstracted forms is novel. This structural compression shifts novelty search scaling from atoms to objects, while preserving meaningful subgoal structure. We evaluate our contributions on the hyperscaling IPC 2023 benchmark and across diverse domains, including domains requiring features beyond the $C_2$ logic fragment. Our policies achieve new state-of-the-art performance, significantly surpassing prior work, including the classical planner LAMA.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Generalized Planning | IPC blocksworld 2023 | Coverage90 | 8 | |
| Generalized Planning | IPC miconic 2023 | Coverage90 | 8 | |
| Generalized Planning | IPC spanner 2023 | Coverage90 | 8 | |
| Generalized Planning | IPC transport 2023 | Coverage96 | 8 | |
| Generalized Planning | IPC childsnack 2023 | Coverage64 | 8 | |
| Generalized Planning | IPC Total 2023 | Coverage (Count)668 | 8 | |
| Generalized Planning | IPC satellite 2023 | Coverage88 | 8 | |
| Generalized Planning | IPC ferry 2023 | Coverage89 | 8 | |
| Generalized Planning | IPC rovers 2023 | Coverage74 | 8 | |
| Generalized Planning | IPC sokoban 2023 | Coverage17 | 8 |