techlist.io
OpenAI2016-11-082 min read

Curated summary

RL²: Fast reinforcement learning via slow reinforcement learning

Read original(opens in new tab)

Deep reinforcement learning can learn sophisticated behaviors, but it needs a huge number of trials, while animals learn new tasks in just a few. The paper proposes RL², which closes this gap by learning a fast reinforcement learning algorithm from data rather than designing one by hand. Experiments show it approaches human-designed algorithms with optimality guarantees on small problems and scales to high-dimensional vision-based tasks.

The Gap Between Deep RL and Animal Learning

  • Deep RL learns complex behaviors automatically but requires vast numbers of trials.
  • Animals adapt to new tasks in a handful of trials by drawing on prior knowledge about the world.
  • The paper aims to transfer this capacity for rapid learning to artificial agents.

Learning the Algorithm Instead of Designing It

  • Rather than hand-designing a "fast" RL algorithm, RL² represents the algorithm itself as a recurrent neural network (RNN).
  • The RNN's weights encode the learning algorithm and are trained slowly with a general-purpose RL algorithm.
  • The RNN receives the same inputs a typical RL algorithm would: observations, actions, rewards, and termination flags.
  • Its hidden state persists across episodes within a given Markov Decision Process (MDP), so its activations hold the state of the fast learner on a new, previously unseen MDP.

Small-Scale Experiments

  • RL² is trained on randomly generated multi-armed bandit problems and finite MDPs.
  • On new MDPs, its performance is close to human-designed algorithms that come with optimality guarantees.

Large-Scale Experiments

  • A vision-based navigation task tests whether the approach extends to high-dimensional inputs.
  • The results indicate that RL² scales beyond toy problems.

Continue with another curated summary.