[Paper Review] Generalized Planning With Deep Reinforcement Learning
This paper proposes a deep reinforcement learning approach using graph neural networks (GNNs) to learn generalized planning policies that solve large-scale planning problems far beyond the size of training instances. By training reactive policies via policy gradient methods and integrating them into a goal-bounded search algorithm (GBFS-GNN), the method achieves superior scalability in expanded states and competitive runtime compared to state-of-the-art classical planners, even on instances orders of magnitude larger than training data.
A hallmark of intelligence is the ability to deduce general principles from examples, which are correct beyond the range of those observed. Generalized Planning deals with finding such principles for a class of planning problems, so that principles discovered using small instances of a domain can be used to solve much larger instances of the same domain. In this work we study the use of Deep Reinforcement Learning and Graph Neural Networks to learn such generalized policies and demonstrate that they can generalize to instances that are orders of magnitude larger than those they were trained on.
Motivation & Objective
- To develop a method that learns generalized planning policies capable of solving instances significantly larger than those seen during training.
- To explore whether graph neural networks with appropriate inductive biases can enable effective generalization in reinforcement learning for classical planning.
- To design a search algorithm that leverages learned reactive policies to efficiently solve large planning instances with minimal search effort.
- To evaluate the generalization capability of deep RL policies across diverse planning domains, especially in comparison to classical planners.
- To identify architectural and training factors that influence generalization performance, particularly in highly coupled domains like Logistics.
Proposed method
- The method employs deep reinforcement learning with policy gradient algorithms to train stochastic, reactive policies directly from environment interactions, using a neural network with graph-structural inductive bias.
- A graph neural network (GNN) is used to encode the state of the planning problem as a graph, where nodes represent objects and edges represent relations, enabling structured generalization.
- The policy is trained via Monte Carlo rollouts using a reward function that encourages progress toward goal states, with the objective of maximizing cumulative reward over a finite horizon.
- GBFS-GNN is introduced as a search algorithm that uses the learned policy as a heuristic, combining greedy rollout with bounded search to efficiently explore large state spaces.
- The framework uses a successor state generator and legal action filter based on Pyperplan and Fast Downward, ensuring correctness and compatibility with standard PDDL planning domains.
- The training process avoids reliance on optimal solutions or handcrafted heuristics, instead learning from scratch using only environment feedback.
Experimental results
Research questions
- RQ1Can deep reinforcement learning with GNNs learn generalized planning policies that generalize to instances orders of magnitude larger than those in the training distribution?
- RQ2How does the inductive bias of a GNN architecture affect the emergence of generalization in planning policies?
- RQ3In which planning domains does the learned policy fail to generalize, and what structural properties of the domain contribute to this failure?
- RQ4Can a search algorithm that leverages a high-performing reactive policy outperform classical planners in terms of state space expansion, even with slower successor state generation?
- RQ5What architectural or training modifications could improve generalization in highly coupled domains like Logistics?
Key findings
- GBFS-GNN achieved superior success rates in terms of expanded states on four out of five domains, demonstrating strong scalability due to effective policy generalization.
- On the Blocksworld and other domains, the method required minimal search—often just a few rollouts—because the policy itself was highly effective, indicating strong generalization.
- Despite using a successor state generator that was orders of magnitude slower than Fast Downward’s C++ implementation, GBFS-GNN matched or exceeded Fast Downward’s performance in runtime on four domains.
- The method significantly underperformed on the Logistics domain, where tight coupling between objects (e.g., shared trucks and planes) hindered generalization, suggesting architectural limitations in handling interdependent goals.
- The failure in Logistics was attributed to the policy’s inability to maintain focus on a single goal until completion, indicating a need for architectural modifications to enforce goal persistence.
- The results suggest that with appropriate inductive biases, deep RL can learn general principles akin to human-designed strategies, such as unstacking all blocks before restacking, even without access to optimal solutions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.