Decoupling Representation Learning from Reinforcement Learning

Adam Stooke, Kimin Lee, Pieter Abbeel, Michael Laskin
9/14/2020
421 citations
cs.LGcs.AIcs.CV
rl

Official code: astooke/rlpyt (2,278 stars, Python, MIT, last commit 2021-01-04).

Abstract

In an effort to overcome limitations of reward-driven feature learning in deep reinforcement learning (RL) from images, we propose decoupling representation learning from policy learning. To this end, we introduce a new unsupervised learning (UL) task, called Augmented Temporal Contrast (ATC), which trains a convolutional encoder to associate pairs of observations separated by a short time difference, under image augmentations and using a contrastive loss.

Show full abstract

In online RL experiments, we show that training the encoder exclusively using ATC matches or outperforms end-to-end RL in most environments. Additionally, we benchmark several leading UL algorithms by pre-training encoders on expert demonstrations and using them, with weights frozen, in RL agents; we find that agents using ATC-trained encoders outperform all others. We also train multi-task encoders on data from multiple environments and show generalization to different downstream RL tasks. Finally, we ablate components of ATC, and introduce a new data augmentation to enable replay of (compressed) latent images from pre-trained encoders when RL requires augmentation. Our experiments span visually diverse RL benchmarks in DeepMind Control, DeepMind Lab, and Atari, and our complete code is available at https://github.com/astooke/rlpyt/tree/master/rlpyt/ul.

View on arXivView PDF

Code Implementations(1)

astooke/rlpytOfficial100%
MIT

Reinforcement Learning in PyTorch

2,278326PythonApr 28, 20195 years agoMIT

Similar Papers

Cite this paper

@article{stooke2020decoupling,
  title  = {Decoupling Representation Learning from Reinforcement Learning},
  author = {Adam Stooke and Kimin Lee and Pieter Abbeel and Michael Laskin},
  year   = {2020},
  eprint = {2009.08319},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.08319}
}

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

Discussion