Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning with Prototypical Representations

Denis Yarats, Rob Fergus|arXiv (Cornell University)|Feb 22, 2021
Reinforcement Learning in RoboticsComputer Science56 references42 citations
TL;DR

Proto-RL is a model-free RL method that combines continuous representations learned via self-supervised learning with a prototypical discrete structure to drive exploration and improve policy learning, inspired by BYOL and SwAV.

ABSTRACT

Learning effective representations in image-based environments is crucial for sample efficient Reinforcement Learning (RL). Unfortunately, in RL, representation learning is confounded with the exploratory experience of the agent -- learning a useful representation requires diverse data, while effective exploration is only possible with coherent representations. Furthermore, we would like to learn representations that not only generalize across tasks but also accelerate downstream exploration for efficient task-specific training. To address these challenges we propose Proto-RL, a self-supervised framework that ties representation learning with exploration through prototypical representations. These prototypes simultaneously serve as a summarization of the exploratory experience of an agent as well as a basis for representing observations. We pre-train these task-agnostic representations and prototypes on environments without downstream task information. This enables state-of-the-art downstream policy learning on a set of difficult continuous control tasks.

Motivation & Objective

  • Motivate the use of unsupervised prototypical representations to enhance exploration in reinforcement learning.
  • Develop a model-free algorithm that leverages continuous representations with discrete prototypes.
  • Adapt self-supervised learning ideas from BYOL and SwAV to the RL setting.
  • Analyze the impact of prototypes on entropy estimation and exploration stability.

Proposed method

  • Use a predictor and a target network as in BYOL, with the target updated by exponential moving average.
  • Learn a set of prototypes via a SwAV-like loss and target generation procedure.
  • Contrast consecutive observations and employ data augmentations suited for non-stationary RL.
  • Compute intrinsic rewards using an entropy-based measure derived from prototype-driven nearest-neighbor statistics.
  • Keep gradients from the exploration RL agent stopped to separate representation learning from the RL objective.

Experimental results

Research questions

  • RQ1Does jointly learning continuous representations and a prototypical discrete structure improve exploration and policy performance in RL?
  • RQ2How do prototype-based entropy estimates affect exploration stability and sample efficiency?
  • RQ3Can BYOL/SwAV-inspired self-supervised objectives be effectively adapted to non-stationary RL settings?
  • RQ4What is the role of pre-training state entropy and intrinsic rewards in Proto-RL's performance?

Key findings

  • Proto-RL leverages continuous representations with discrete prototypes to improve exploration.
  • Prototype-driven entropy estimation reduces variance in intrinsic rewards compared with random batches.
  • Stopping gradients for certain components helps disentangle representation learning from the RL objective.
  • Intrinsic rewards accelerate downstream exploration in Proto-RL.
  • The approach integrates ideas from BYOL and SwAV for RL without requiring pre-training.

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.