On Sample-Efficient Generalized Planning via Learned Transition Models
Organizations: University of South Carolina
Abstract
Generalized planning studies the construction of solution strategies that generalize across families of planning problems sharing a common domain model, formally defined by a transition function . Classical approaches achieve such generalization through symbolic abstractions and explicit reasoning over . In contrast, recent Transformer-based planners, such as PlanGPT and Plansformer, largely cast generalized planning as direct action-sequence prediction, bypassing explicit transition modeling. While effective on in-distribution instances, these approaches typically require large datasets and model sizes, and often suffer from state drift in long-horizon settings due to the absence of explicit world-state evolution. In this work, we formulate generalized planning as a transition-model learning problem, in which a neural model explicitly approximates the successor-state function and generates plans by rolling out symbolic state trajectories. Instead of predicting actions directly, the model autoregressively predicts intermediate world states, thereby learning the domain dynamics as an implicit world model. To study size-invariant generalization and sample efficiency, we systematically evaluate multiple state representations and neural architectures, including relational graph encodings. Our results show that learning explicit transition models yields higher out-of-distribution satisficing-plan success than direct action-sequence prediction in multiple domains, while achieving these gains with significantly fewer training instances and smaller models. This is an extended version of a short paper accepted at ICAPS 2026 under the same title.
Figures & tables
| FD | Plansf. | PlanGPT ∗ | SymT ∗ | SymT ∗ | WL-LSTM | WL-XGB | FSF-LSTM | FSF-XGB | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Domain | Split | greedy | appl. | regr. | greedy | greedy | appl. | regr. | state | delta | state | delta | state | delta | state | delta | ||
| Blocks | Val. | 1.00 | 1.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 0.00 ±0.00 | 0.44 ±0.16 | 0.67 | 1.00 ±0.00 | 0.67 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 |
| Interp. | 1.00 | 1.00 ±0.00 | 0.56 ±0.16 | 0.56 ±0.16 | 0.00 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 0.67 ±0.27 | 0.89 | 1.00 ±0.00 | 1.00 ±0.00 | 0.11 ±0.16 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | |
| Extrap. | 0.60 | 0.10 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.05 ±0.07 | 0.07 ±0.02 | 0.13 ±0.05 | 0.00 ±0.00 | 0.10 ±0.07 | 0.15 ±0.07 | 0.25 | 0.50 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | |
| Gripper | Val. | 1.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 | 1.00 ±0.00 | 0.17 ±0.24 | 1.00 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 0.67 | 0.00 ±0.00 | 0.00 ±0.00 | 0.17 ±0.24 | 0.50 ±0.00 | 0.00 ±0.00 | 0.00 ±0.00 |
| Interp. | 1.00 | 0.00 ±0.00 | 0.00 ±0.00 | 0.44 ±0.16 | 0.00 ±0.00 | 0.89 | 0.67 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 1.00 ±0.00 | 0.67 ±0.47 | 0.00 ±0.00 | 0.00 ±0.00 | 0.44 ±0.31 | 0.22 ±0.31 | 0.67 ±0.00 | 0.00 ±0.00 | |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Symbol | Meaning |
| Planning | State-transition system (set of states , actions , and transition function ) | |
| Set of all symbolic world states | ||
| Set of grounded actions (operators) | ||
| Deterministic transition function | ||
| Finite object set in a planning instance | ||
| Predicate vocabulary |
| Domain | FSF Dim. ( ) | WL Dim. ( ) | WL-LSTM Params | WL-XGBoost Nodes |
|---|---|---|---|---|
| Blocksworld | 17 | 172 | 1,253,292 | 335,154 |
| Gripper | 46 | 302 | 1,552,942 | 128,310 |
| VisitAll | 121 | 138 | 1,174,922 | 679,060 |
| Logistics | 37 | 552 | 2,129,192 | 819,320 |
| Method | Parameters | Architecture | Ratio |
|---|---|---|---|
| Plansformer | 220M | CodeT5 | 230 |
| PlanGPT | 125M | GPT-2 | 130 |
| SymT | 25–35M | Transformer | 30 |
| Ours (LSTM) | 1.1–2.1M | 2-layer LSTM | 1 |
| Ours (XGB) | 340–820K nodes | Gradient boosting | — |
| Domain | Train | Validation | Interpolation | Extrapolation |
|---|---|---|---|---|
| Blocksworld (blocks) | 9 (4, 6, 7) | 3 (8) | 3 (5) | 20 (9–17) |
| Gripper (balls) | 4 (2, 4, 6, 8) | 2 (9, 10) | 3 (3, 5, 7) | 16 (12–42, even) |
| Logistics (goals) | 12 (1, 3, 5) | 4 (6) | 9 (2, 4) | 18 (7–15) |
| VisitAll (cells) | 207 (1, 3, 4, 6, 10, 11, 12, 14, 16) | 24 (18, 20) | 37 (2, 5, 8, 9, 15) | 219 (24–121) |
| Domain | Slot Interpretation | Value Semantics |
|---|---|---|
| Blocksworld | Slot 0: Unused (constant 0) | — |
| Slot ( ): Block | = on table; = held by gripper; = on block | |
| Gripper | Slot 0: Robot location | Room index where robot is located |
| Slot (ball): Ball location | Room index if at room; if carried by gripper | |
| Slot (gripper): Gripper status | = free; = holding ball | |
| Logistics | Slot 0: Unused (constant 0) | — |
| Parameter | LSTM | XGBoost |
|---|---|---|
| Architecture | ||
| Hidden dimension | 256 | — |
| Number of layers | 2 | — |
| Tree depth | — | 8 |
| Training | ||
| Learning rate | 0.1 | |
Model-Based Planning
Model-Based Planning uses explicit or learned models of how actions change states to simulate futures, compare plans, and choose actions.
See all 206 papers