[Paper Review] Learning Generalized Policies Without Supervision Using GNNs
This paper proposes a self-supervised graph neural network (GNN) approach to learn generalized planning policies in classical planning domains without requiring optimal value functions or labeled demonstrations. By extending states with derived atoms like transitive closures and role compositions, the method achieves near-perfect generalization (up to 100%) across larger test instances in domains such as Logistics and Spanner*, even with minimal GNN layers, overcoming limitations of standard value-based reinforcement learning in NP-hard planning settings.
We consider the problem of learning generalized policies for classical planning domains using graph neural networks from small instances represented in lifted STRIPS. The problem has been considered before but the proposed neural architectures are complex and the results are often mixed. In this work, we use a simple and general GNN architecture and aim at obtaining crisp experimental results and a deeper understanding: either the policy greedy in the learned value function achieves close to 100% generalization over instances larger than those used in training, or the failure must be understood, and possibly fixed, logically. For this, we exploit the relation established between the expressive power of GNNs and the $C_{2}$ fragment of first-order logic (namely, FOL with 2 variables and counting quantifiers). We find for example that domains with general policies that require more expressive features can be solved with GNNs once the states are extended with suitable "derived atoms" encoding role compositions and transitive closures that do not fit into $C_{2}$. The work follows the GNN approach for learning optimal general policies in a supervised fashion (Stahlberg, Bonet, Geffner, 2022); but the learned policies are no longer required to be optimal (which expands the scope, as many planning domains do not have general optimal policies) and are learned without supervision. Interestingly, value-based reinforcement learning methods that aim to produce optimal policies, do not always yield policies that generalize, as the goals of optimality and generality are in conflict in domains where optimal planning is NP-hard.
Motivation & Objective
- To develop a self-supervised GNN-based method for learning generalized policies in classical planning domains without requiring optimal or supervised value functions.
- To address the gap in generalization performance of standard value-based reinforcement learning in domains where optimal planning is NP-hard.
- To investigate how GNNs, limited by the expressive power of C2 logic, can be extended to capture more complex planning features.
- To explore the use of derived atoms (e.g., transitive closures, role compositions) to bridge the gap between GNN expressiveness and non-C2 features required in some planning domains.
- To demonstrate that non-optimal, self-supervised GNN policies can generalize effectively across larger instances than supervised or standard RL approaches.
Proposed method
- Uses a simple, general GNN architecture to learn a value function V(s) from small training instances in lifted STRIPS format.
- Employs a novel L1 loss function instead of the standard L0 loss used in value-based RL, enabling self-supervised learning without ground-truth optimal values.
- Extends state representations with derived atoms such as transitive closures and role compositions to encode features beyond the expressive power of C2 logic.
- Applies the greedy policy derived from the learned value function to test instances larger than those in training to evaluate generalization.
- Reduces GNN depth (e.g., from 30 to 2 layers) to mitigate overfitting and improve generalization, especially when derived atoms are used.
- Validates performance across multiple domains (e.g., Logistics, Spanner*, Gridworld) using coverage metrics on unseen, larger instances.
Experimental results
Research questions
- RQ1Can a self-supervised GNN-based method learn generalized policies that generalize to larger instances without requiring optimal value functions or supervision?
- RQ2Why do standard value-based reinforcement learning methods fail to generalize in domains where optimal planning is NP-hard, despite learning optimal value functions?
- RQ3To what extent can GNNs, limited by C2 logic, capture the features needed for general policies in complex planning domains?
- RQ4How effective are derived atoms (e.g., transitive closures, role compositions) in extending GNN capabilities beyond C2 expressiveness to enable full generalization?
- RQ5Does reducing GNN depth improve generalization performance, particularly when combined with derived atoms?
Key findings
- In the Logistics domain, adding derived atoms increased greedy policy coverage from 0% to 14% and from 60% to 100% with cycle avoidance.
- In the modified Spanner* domain with up to 50 locations and reduced GNN layers (L=10), coverage reached 33% without derived atoms, but increased to 86% when derived atoms were added.
- Further reducing GNN layers from 10 to 5 increased coverage to 86% with derived atoms, and reducing to just 2 layers achieved 100% coverage.
- The improvement with fewer layers is attributed to reduced overfitting, especially when combined with derived atoms.
- The method achieves 100% generalization in multiple domains (e.g., Logistics, Spanner*) by combining derived atoms with minimal GNN depth.
- The L1 loss function enables effective self-supervised learning, allowing generalization even when optimal policies do not exist, outperforming standard value-based RL in NP-hard domains.
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.