Learning General Policies with Policy Gradient Methods

Simon Ståhlberg, Blai Bonet, Hector Geffner · DOI

Introduction

Traditional Reinforcement Learning (RL) often struggles with systematic generalization. An agent trained to solve a specific instance of a task, such as a 5-block "Blocksworld" puzzle, typically fails when the number of objects increases. In contrast, classical planning has historically relied on symbolic logic to find rules that apply across any instance. This paper explores whether Deep Reinforcement Learning (DRL), specifically Actor-Critic methods, can learn these universal policies while maintaining the scalability of neural networks.

Methodology

The authors bridge the gap between DRL and symbolic planning through three key innovations:

  1. State-Transition Policies: Instead of mapping states to specific actions, the policy $\pi(s'|s)$ evaluates the quality of a transition to a successor state $s'$. This representation is invariant to the number of objects.
  2. Relational Graph Neural Networks (GNNs): A specialized GNN architecture generates object embeddings based on relational structures. These embeddings are aggregated to compute the value function $V(s)$ and the transition policy.
  3. Actor-Critic Variants: Two versions were evaluated: Standard Actor-Critic (AC-1, model-free sampling) and All-Actions Actor-Critic (AC-M, an optimized version that considers all possible successors during updates for faster convergence).

Experimental Evaluation

The approach was tested on 10 classical planning domains from the International Planning Competition (IPC), including Blocks, Gripper, and Logistics. Training occurred on small instances (e.g., 4-7 blocks), while testing involved significantly larger environments (up to 50 objects).

Key Results

The learned policies demonstrated remarkable generalization capabilities. In 6 out of 10 domains, the agents achieved 100% coverage on test instances. When using the learned policy deterministically, the agents solved approximately 88% of all tested problems across all domains.

Performance comparison of Standard and All-Actions Actor-Critic across planning domains.

The All-Actions variant (AC-M) generally outperformed the standard version in terms of convergence speed and final coverage, particularly in domains with complex state spaces.

Insights into GNN Limitations

A significant finding of this work is that generalization failures are often attributable to the expressive limits of GNNs rather than the RL algorithm itself.

  • The Logical Ceiling: Standard GNNs are limited to features expressible in two-variable logic with counting ($C_2$). Problems requiring higher-order logic (like $C_3$) remain unsolvable without additional "derived predicates."
  • The Horizon Problem: The number of GNN layers ($L$) constrains the network's "receptive field." If a goal is further away than the number of layers, the network cannot accurately estimate the distance to the goal.
Impact of GNN depth (L) on policy cost convergence over time.

Conclusion and Future Work

This research proves that DRL can learn general, near-optimal policies for complex planning domains. While current limitations include a dependency on known transition models and human-guided feature engineering for certain domains, the results suggest a clear path toward combining the strengths of symbolic logic and deep learning. Future work will focus on expanding GNN architectures to capture higher-order logic and developing fully model-free variants.

Summary updated

BibTeX
@inproceedings{stahlberg2023learning,
  author = {Simon Ståhlberg and Blai Bonet and Hector Geffner},
  title = {{Learning General Policies with Policy Gradient Methods}},
  booktitle = {PRL},
  year = {2023},
  url = {https://openreview.net/forum?id=keNhJXjVDW},
}
Figure