RL$^2$: Fast Reinforcement Learning via Slow Reinforcement Learning

Yan Duan, John Schulman, Xi Chen, Peter L. Bartlett, Ilya Sutskever +1 more
11/9/2016
1,263 citations
cs.AIcs.LGcs.NE
rl

No official code found. Best implementation: lucaslingle/pytorch_rl2 (71 stars). 1 more below.

Abstract

Deep reinforcement learning (deep RL) has been successful in learning sophisticated behaviors automatically; however, the learning process requires a huge number of trials. In contrast, animals can learn new tasks in just a few trials, benefiting from their prior knowledge about the world.

Show full abstract

This paper seeks to bridge this gap. Rather than designing a "fast" reinforcement learning algorithm, we propose to represent it as a recurrent neural network (RNN) and learn it from data. In our proposed method, RL$^2$, the algorithm is encoded in the weights of the RNN, which are learned slowly through a general-purpose ("slow") RL algorithm. The RNN receives all information a typical RL algorithm would receive, including observations, actions, rewards, and termination flags; and it retains its state across episodes in a given Markov Decision Process (MDP). The activations of the RNN store the state of the "fast" RL algorithm on the current (previously unseen) MDP. We evaluate RL$^2$ experimentally on both small-scale and large-scale problems. On the small-scale side, we train it to solve randomly generated multi-arm bandit problems and finite MDPs. After RL$^2$ is trained, its performance on new MDPs is close to human-designed algorithms with optimality guarantees. On the large-scale side, we test RL$^2$ on a vision-based navigation task and show that it scales up to high-dimensional problems.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
lucaslingle/pytorch_rl2Community71–––
bay3s/rl-squaredCommunity20–––

My implementations of 'RL^2: Fast Reinforcement Learning via Slow Reinforcement Learning' and 'A Simple Neural Attentive Meta-Learner'

7112
bay3s/rl-squaredCommunity25%

RL^2: Fast Reinforcement Learning via Slow Reinforcement Learning

205

Similar Papers

Cite this paper

@article{duan2016rl,
  title  = {RL$^2$: Fast Reinforcement Learning via Slow Reinforcement Learning},
  author = {Yan Duan and John Schulman and Xi Chen and Peter L. Bartlett and Ilya Sutskever and Pieter Abbeel},
  year   = {2016},
  eprint = {1611.02779},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1611.02779}
}

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

Discussion