Symbolic Relational Deep Reinforcement Learning based on Graph Neural Networks

Jaromír Janisch, Tomás Pevný, Viliam Lisý

Abstract

SR-DRL (Symbolic Relational Deep Reinforcement Learning) is a framework that combines Graph Neural Networks (GNNs) with autoregressive policy decomposition to solve complex relational problems. By representing states as graphs and decomposing actions into sequences of parameter selections, the model achieves significant zero-shot generalization, solving problem instances far larger than those seen during training.

Introduction

Standard Deep RL algorithms often rely on fixed-size input tensors, which limits their applicability to relational tasks involving a variable number of objects and dynamic connections. SR-DRL addresses these limitations by leveraging the permutation-invariant nature of GNNs and a structured approach to action selection. This allows for effective learning in environments where the number of entities and their interactions can vary significantly.

Methodology

The SR-DRL framework consists of two core components designed to handle variable state and combinatorial action spaces:

Graph Neural Network State Representation

States are represented as graphs where nodes correspond to objects and edges to relations. GNNs compute object embeddings through local message-passing steps. Because these operations are local and permutation-invariant, the same model can process graphs of any size, providing a strong relational inductive bias.

Graph representation of object relations in a symbolic domain.

Autoregressive Policy Decomposition

To handle combinatorial action spaces (e.g., "move block x to block y"), SR-DRL decomposes the policy into a sequence of selections: action type, followed by parameters conditioned on previous choices. This reduces the complexity from exponential $O(N^P)$ to linear $O(P \times N)$ relative to the number of objects $N$ and parameters $P$.

Evaluation and Results

The framework was evaluated on three distinct symbolic domains: BlockWorld, Sokoban, and SysAdmin.

The three evaluation domains: (a) BlockWorld, (b) SysAdmin, and (c) Sokoban.

Zero-Shot Generalization

SR-DRL demonstrated exceptional scaling capabilities across all tested domains:

  • BlockWorld: Agents trained on only 5 blocks generalized to 20 blocks with a 78% success rate.
  • SysAdmin: Models trained on 10 nodes generalized almost perfectly to networks with up to 160 nodes.
  • Sokoban: Agents trained on 10x10 maps generalized to 15x15 maps with high success rates.

Computational Efficiency

In the SysAdmin domain, SR-DRL demonstrated decision times of approximately 1ms, significantly outperforming traditional planners like PROST, whose latency increased exponentially with problem complexity.

Conclusion

SR-DRL provides a robust approach for relational RL, offering strong inductive bias and scalability. While currently requiring symbolic inputs, it sets a foundation for future work integrating object detection for raw pixel inputs and exploring recurrent architectures for temporal reasoning in complex environments.

Summary updated

BibTeX
@misc{janisch2020symbolic,
  author = {Jaromír Janisch and Tomás Pevný and Viliam Lisý},
  title = {{Symbolic Relational Deep Reinforcement Learning based on Graph Neural Networks}},
  year = {2020},
  eprint = {2009.12462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.12462},
}
Figure