Introduction
In the field of automated planning, the ultimate objective is to develop "generalized policies"—single, robust sets of rules that can solve any instance of a problem domain. Whether a robot is stacking five blocks or five thousand, a truly generalized policy should provide the correct sequence of actions without requiring re-training or manual adjustment for scale. Historically, achieving this level of generalization has been difficult due to the computational complexity of finding optimal solutions and the inherent logical limitations of standard neural architectures.
This research presents a novel framework for training Graph Neural Networks (GNNs) to learn these policies without human supervision. By shifting the focus from finding the shortest path to finding a generalizable one, and by augmenting the GNNs' logical capacity, the authors achieved 100% generalization across several complex benchmarks.
The Challenges of Generalization
The Optimality Trap
Most reinforcement learning (RL) and planning methods are designed to minimize cost, typically aiming for the shortest path to a goal (optimality). However, in many NP-hard domains, the optimal path is governed by intricate, instance-specific details that do not scale well. A simple, sub-optimal rule—such as "clear all blocks to the table before building a tower"—is far easier to learn and applies to any number of blocks. Standard RL often fails to discover these simple rules because it is penalized for any deviation from the absolute shortest path.
Logical Limits of GNNs
Graph Neural Networks are the natural choice for planning because they can process the relational structure of a problem. However, standard GNNs have a "glass ceiling" in expressive power, equivalent to a fragment of first-order logic known as $C_2$ (two variables with counting). Many planning problems require understanding relationships that $C_2$ cannot represent, such as transitive closures (e.g., if block A is on B, and B is on C, then A is above C). Without this understanding, the GNN cannot "see" the full state of the environment.
Methodology
The $L_1$ Loss Function
To avoid the "optimality trap," the researchers introduced a relaxed loss function called $L_1$. Unlike the standard Bellman error ($L_0$), which demands that the value of a state be exactly one step better than its best successor, $L_1$ only penalizes the model if the current state's value is lower than the successor's value plus one. This relaxation allows the GNN to learn "good enough" value functions that are logically simpler and significantly more robust when applied to massive, unseen problem instances.
Derived Atoms
To overcome the logical constraints of $C_2$, the framework extends the state description with "derived atoms." These are additional predicates, such as above(x, y) in Blocks World or city-level summaries in Logistics, that encode complex relational compositions. By manually providing these atoms, the researchers "pre-digest" the complex logic, allowing the GNN to focus on mapping these high-level relations to effective actions.
Experimental Results
The approach was evaluated on eight standard International Planning Competition (IPC) domains, including Blocks, Logistics, Gripper, and Miconic. The models were trained on very small instances (e.g., 4-7 blocks) and tested on significantly larger ones (up to 120+ locations).
- 100% Success Rate: Using the $L_1$ loss, the GNN achieved 100% success on test instances for the Blocks, Delivery, Gripper, and Miconic domains.
- Optimality vs. Generality: In the Blocks domain, the optimality-seeking $L_0$ loss failed completely (0% coverage) on large test sets, whereas the $L_1$ loss maintained perfect performance. This confirms that seeking perfection is often the enemy of generalization.
- Logistics Breakthrough: The Logistics domain initially proved difficult due to its relational complexity. However, after adding derived atoms to handle city-level relationships, the model's coverage jumped from 60% to 100%.
- Cycle Avoidance: The researchers found that while the learned value functions were not always perfect, they were sufficiently accurate that a basic cycle-avoidance mechanism during execution allowed the agent to solve nearly every test case.
Conclusion and Future Work
This research demonstrates that GNNs can learn powerful, generalized policies without human-labeled data by prioritizing logical simplicity over path optimality. By identifying the specific logical gaps in GNN architectures and filling them with derived atoms, the authors have bridged a significant gap between deep learning and formal logic.
Future work aims to automate the discovery of these derived atoms, removing the need for human expert intervention. Additionally, the authors are exploring newer GNN architectures, such as those utilizing subgraph aggregation, which may inherently possess the logical expressive power required to solve these problems without manual augmentation.
Summary updated