Program Synthesis Guided Reinforcement Learning for Partially Observed Environments

Yichen David Yang, Jeevana Priya Inala, Osbert Bastani, Yewen Pu, Armando Solar-Lezama +1 more
2/22/2021
cs.AI
rl

Official code: yycdavid/program-synthesis-guided-RL (25 stars, Python, MIT, last commit 2022-08-01).

Abstract

A key challenge for reinforcement learning is solving long-horizon planning problems. Recent work has leveraged programs to guide reinforcement learning in these settings.

Show full abstract

However, these approaches impose a high manual burden on the user since they must provide a guiding program for every new task. Partially observed environments further complicate the programming task because the program must implement a strategy that correctly, and ideally optimally, handles every possible configuration of the hidden regions of the environment. We propose a new approach, model predictive program synthesis (MPPS), that uses program synthesis to automatically generate the guiding programs. It trains a generative model to predict the unobserved portions of the world, and then synthesizes a program based on samples from this model in a way that is robust to its uncertainty. In our experiments, we show that our approach significantly outperforms non-program-guided approaches on a set of challenging benchmarks, including a 2D Minecraft-inspired environment where the agent must complete a complex sequence of subtasks to achieve its goal, and achieves a similar performance as using handcrafted programs to guide the agent. Our results demonstrate that our approach can obtain the benefits of program-guided reinforcement learning without requiring the user to provide a new guiding program for every new task.

View on arXivView PDF

Code Implementations(1)

MIT
255Python, ShellOct 25, 20214 years agoMIT

Similar Papers

Cite this paper

@article{yang2021program,
  title  = {Program Synthesis Guided Reinforcement Learning for Partially Observed Environments},
  author = {Yichen David Yang and Jeevana Priya Inala and Osbert Bastani and Yewen Pu and Armando Solar-Lezama and Martin Rinard},
  year   = {2021},
  eprint = {2102.11137},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.11137}
}

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

Discussion