TL;DR
Learning a general strategy to solve massive planning puzzles—like rearranging hundreds of blocks—usually breaks down when the number of objects explodes. By teaching Graph Neural Networks to evaluate entire lookahead search trees via compact "git diffs" rather than full states, and by relaxing how we check for novel subgoals, the authors scale learned planning policies to unprecedented sizes. Their greedy, backtracking-free agent sets a new state of the art, handily beating legendary search-based planners like LAMA.
What Problem Does This Paper Address?
Imagine learning how to stack 20 blocks, and then suddenly being asked to stack 488 blocks without stopping to search or backtrack. That is the goal of generalized planning: learning a single closed-loop policy that scales zero-shot across an entire domain.
Recently, researchers combined Relational Graph Neural Networks (R-GNNs) with a lightweight local search called Iterated Width, or IW(1). Instead of choosing one tiny primitive action at a time, IW(1) finds states with "novel" facts (facts not yet seen in the local search), allowing the policy to take multi-step "jumps" toward meaningful subgoals.
While clever, this setup hits two massive walls as problem sizes grow:
- Redundant computation: Previous methods ran a separate, complete GNN pass for every single candidate jump. If a state has hundreds of reachable subgoals, re-encoding the massive unchanging world state hundreds of times blows up GPU memory and prevents candidates from comparing notes.
- The "atom" explosion: IW(1) scales linearly with the number of ground atoms—all possible factual combinations of predicates and objects (like
on(blockA, blockB)). Because relations connect multiple objects, the number of atoms grows polynomially with the object count. When you hit thousands of objects, even a "fast" IW(1) lookahead grinds to a halt.
Methods
Building on standard deep Q-learning with lifted Hindsight Experience Replay (HER) and R-GNNs, the authors introduce two major innovations:
- Aggregated-Delta (AD) Encoding: Instead of encoding each candidate future state $s'$ from scratch, AD encodes the entire lookahead tree into one unified graph. The current root state is encoded once, and every candidate jump $s'$ is represented as a node connected only to its deltas—the specific facts added or deleted relative to the root. Because candidates are wired together by tree edges, they exchange information directly during message passing, and the R-GNN scores every possible jump in a single forward pass. The authors also add relational "depth nodes" trained with an auxiliary pairwise ranking loss so the network knows how far away each jump is.
- Abstracted IW(1) [AIW(1)]: To break the polynomial scaling of novelty checks, AIW(1) blurs its vision slightly. When testing if an $n$-ary fact like
at(bob, loc3)is novel, it iteratively replaces all but one object with its general type—testingat(bob, location)andat(man, loc3)instead (except for goal facts, which keep exact identities). This simple tweak shifts worst-case lookahead scaling from linear in the number of atoms to linear in the number of objects.
Datasets
The authors do not introduce new benchmarks, instead testing zero-shot structural generalization on two established, demanding suites:
- IPC 2023 Learning Track: 10 domains (900 test instances total) featuring extreme scale-ups—training on small instances (e.g., up to 20 blocks) and testing on massive ones (up to 488 blocks).
- Hard-to-Learn & Classical Domains: 11 additional domains (1,576 test instances) from prior literature, specifically including domains like Grid, Logistics, and Satellite that require logical expressiveness beyond what standard GNNs can theoretically compute ($C_2$ logic).
Key Insights and Ideas
- Efficiency unlocks expressivity: Standard GNNs are famously limited in logical expressiveness (bound by the Weisfeiler-Lehman test / $C_2$ logic). By letting AIW handle multi-step subproblems and allowing candidate states to communicate across the lookahead tree via AD encoding, the network solves domains requiring higher-order logic without needing heavy, data-hungry $C_3$ architectures.
- Aggressive abstraction still preserves subgoals: AIW throws away information about how specific objects are paired together during lookahead, sacrificing IW(1)'s theoretical completeness. Surprisingly, this barely hurts in practice: the surviving jumps still capture the high-level task decompositions the neural policy needs.
- Think "git diff" for state-space graphs: Representing future states purely by their relational differences slashes VRAM usage from >24 GB down to at most 4 GB, turning previously untrainable instances into routine runs.
Key Results
Evaluated as a strictly greedy controller (zero backtracking at test time), AIW–AD achieves remarkable results:
- On the IPC 2023 benchmark, AIW–AD solves 668 / 900 (74%) of instances. This crushes the previous IW-External baseline (51%), flat action policies (58%), learned search heuristics like Distincter (65%) and GOOSE (56%), and even the gold-standard classical search planner LAMA (65%)—all without exponential search.
- On the 11 non-IPC domains, AIW–AD and IW–AD solve 1,570 and 1,573 out of 1,576 (~100%) instances respectively, beating LAMA (91%) and External-encoding baselines (71–74%), while completely acing the beyond-$C_2$ Grid and Satellite domains.
Limitations and Future Work
- Dead-end traps in puzzles: AIW–AD struggles on puzzle domains with irreversible actions, solving 14% of Sokoban and 0% of Floortile. Because policies act greedily without backtracking—and random failed trajectories give poor training signals—the authors note that adding bounded search (like beam search) or supervised safe/unsafe state signals will be needed.
- Action enumeration bottlenecks: In massive Childsnack instances, simply listing the tens of millions of valid primitive actions takes up to 10 minutes. Scaling further will require policies that generate actions compositionally rather than picking from a list.
- Abstraction and domain specificity: Retaining only 1 exact argument in AIW can prune vital object pairings if relaxed any further; keeping $h > 1$ arguments is a natural middle ground. Finally, policies are trained per domain—cross-domain transfer remains future work.
Summary updated