Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning Upside Down: Don't Predict Rewards -- Just Map Them to Actions

Juergen Schmidhuber|arXiv (Cornell University)|Dec 5, 2019
Reinforcement Learning in RoboticsComputer Science23 citations
TL;DR

This paper introduces Upside Down Reinforcement Learning (UDRL), a novel approach that bypasses reward prediction by directly mapping desired rewards and time horizons to actions via supervised learning on past experience. By training a differentiable controller (e.g., an RNN) to generalize from self-generated command inputs—such as 'achieve X reward within Y time'—UDRL achieves superior performance on challenging RL tasks compared to traditional methods, even with a pilot implementation.

ABSTRACT

We transform reinforcement learning (RL) into a form of supervised learning (SL) by turning traditional RL on its head, calling this Upside Down RL (UDRL). Standard RL predicts rewards, while UDRL instead uses rewards as task-defining inputs, together with representations of time horizons and other computable functions of historic and desired future data. UDRL learns to interpret these input observations as commands, mapping them to actions (or action probabilities) through SL on past (possibly accidental) experience. UDRL generalizes to achieve high rewards or other goals, through input commands such as: get lots of reward within at most so much time! A separate paper [63] on first experiments with UDRL shows that even a pilot version of UDRL can outperform traditional baseline algorithms on certain challenging RL problems. We also also conceptually simplify an approach [60] for teaching a robot to imitate humans. First videotape humans imitating the robot's current behaviors, then let the robot learn through SL to map the videos (as input commands) to these behaviors, then let it generalize and imitate videos of humans executing previously unknown behavior. This Imitate-Imitator concept may actually explain why biological evolution has resulted in parents who imitate the babbling of their babies.

Motivation & Objective

  • To address the limitations of traditional RL, which relies on predicting future rewards and translating them into actions through complex optimization.
  • To enable lifelong, continual learning by transforming each new experience into a supervised command for immediate policy improvement.
  • To simplify RL by eliminating the need for reward prediction networks and value function estimation.
  • To enable generalization to new tasks by training a single policy network to interpret diverse command inputs derived from past experience.
  • To explore the feasibility of imitation learning through a recursive 'imitate-imitator' framework, where agents learn to imitate human behaviors from video demonstrations.

Proposed method

  • UDRL treats desired cumulative rewards and time horizons as input commands to a differentiable controller, such as an RNN, which maps these to action probabilities.
  • It uses gradient descent to train the controller on retrospectively generated command-action pairs from a single lifelong trial, where commands are derived from all past time intervals (time1 < time2).
  • The method generalizes by learning conditional action distributions given command inputs, enabling extrapolation to new, unseen goals like 'achieve more reward in less time'.
  • It leverages the generalization capacity of deep networks to compress successful behaviors into a compact policy network without explicit command inputs.
  • The framework supports both deterministic and probabilistic environments, and extends to partially observable settings via RNNs with memory of initial commands.
  • It integrates with supervised pre-training and can be combined with techniques like experience replay and selective training on relevant sequences to reduce computational cost.

Experimental results

Research questions

  • RQ1Can reinforcement learning be redefined to bypass reward prediction and instead map desired rewards directly to actions?
  • RQ2Can a single lifelong trial provide sufficient experience to train a general-purpose policy network via supervised learning on command inputs?
  • RQ3How does the generalization capability of deep networks enable the policy to solve new tasks not explicitly seen during training?
  • RQ4Can the Imitate-Imitator framework explain biological mechanisms like parental imitation of infant babbling?
  • RQ5What are the computational and statistical trade-offs of using retrospective command generation versus traditional value-based or policy-gradient methods?

Key findings

  • A pilot version of UDRL outperforms traditional RL baselines on certain challenging reinforcement learning problems, as demonstrated in a separate experimental paper [63].
  • The method enables continual online learning, where every new observation is immediately used to improve the policy through supervised fine-tuning.
  • UDRL generalizes effectively to new tasks by interpreting novel command inputs such as 'achieve more reward in less time', even when such commands were not explicitly seen during training.
  • The approach successfully learns to imitate human behaviors from video demonstrations by training an RNN to map visual inputs to corresponding actions, enabling the robot to generalize to previously unseen behaviors.
  • The framework avoids common issues in traditional RL such as reward prediction errors and value function approximation bias, by directly learning the action mapping from commands.
  • Experiments show that even with limited experience, the method can learn complex behaviors and improve exploration strategies through command-based generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.