Grid-to-Graph: Flexible Spatial Relational Inductive Biases for Reinforcement Learning

Zhengyao Jiang, Pasquale Minervini, Minqi Jiang, Tim Rocktaschel
2/8/2021
cs.LG
gnnrl

Official code: ZhengyaoJiang/GTG (28 stars, Python, Apache-2.0, last commit 2021-08-19).

Abstract

Although reinforcement learning has been successfully applied in many domains in recent years, we still lack agents that can systematically generalize. While relational inductive biases that fit a task can improve generalization of RL agents, these biases are commonly hard-coded directly in the agent's neural architecture.

Show full abstract

In this work, we show that we can incorporate relational inductive biases, encoded in the form of relational graphs, into agents. Based on this insight, we propose Grid-to-Graph (GTG), a mapping from grid structures to relational graphs that carry useful spatial relational inductive biases when processed through a Relational Graph Convolution Network (R-GCN). We show that, with GTG, R-GCNs generalize better both in terms of in-distribution and out-of-distribution compared to baselines based on Convolutional Neural Networks and Neural Logic Machines on challenging procedurally generated environments and MinAtar. Furthermore, we show that GTG produces agents that can jointly reason over observations and environment dynamics encoded in knowledge bases.

View on arXivView PDF

Code Implementations(1)

ZhengyaoJiang/GTGOfficial100%
Apache-2.0

Source code of "Grid-to-Graph: Flexible Spatial Relational Inductive Biases for Reinforcement Learning" (AAMAS 2021).

288PythonFeb 2, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{jiang2021gridtograph,
  title  = {Grid-to-Graph: Flexible Spatial Relational Inductive Biases for Reinforcement Learning},
  author = {Zhengyao Jiang and Pasquale Minervini and Minqi Jiang and Tim Rocktaschel},
  year   = {2021},
  eprint = {2102.04220},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.04220}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.04220.svg)](https://codeofpaper.com/paper/2102.04220)

Discussion