Compositional Reinforcement Learning from Logical Specifications

Kishor Jothimurugan, Suguman Bansal, Osbert Bastani, Rajeev Alur
6/25/2021
cs.LGcs.AI
rl

Official code: keyshor/dirl (16 stars, Python, MIT, last commit 2021-10-26).

Abstract

We study the problem of learning control policies for complex tasks given by logical specifications. Recent approaches automatically generate a reward function from a given specification and use a suitable reinforcement learning algorithm to learn a policy that maximizes the expected reward.

Show full abstract

These approaches, however, scale poorly to complex tasks that require high-level planning. In this work, we develop a compositional learning approach, called DiRL, that interleaves high-level planning and reinforcement learning. First, DiRL encodes the specification as an abstract graph; intuitively, vertices and edges of the graph correspond to regions of the state space and simpler sub-tasks, respectively. Our approach then incorporates reinforcement learning to learn neural network policies for each edge (sub-task) within a Dijkstra-style planning algorithm to compute a high-level plan in the graph. An evaluation of the proposed approach on a set of challenging control benchmarks with continuous state and action spaces demonstrates that it outperforms state-of-the-art baselines.

View on arXivView PDF

Code Implementations(1)

keyshor/dirlOfficial100%
MIT

Code for experiments in the paper: "Compositional Reinforcement Learning from Logical Specifications" (https://arxiv.org/abs/2106.13906).

167PythonOct 22, 20215 years agoMIT

Similar Papers

Cite this paper

@article{jothimurugan2021compositional,
  title  = {Compositional Reinforcement Learning from Logical Specifications},
  author = {Kishor Jothimurugan and Suguman Bansal and Osbert Bastani and Rajeev Alur},
  year   = {2021},
  eprint = {2106.13906},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.13906}
}

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/2106.13906.svg)](https://codeofpaper.com/paper/2106.13906)

Discussion