CoBERL: Contrastive BERT for Reinforcement Learning

Andrea Banino, Adrià Puidomenech Badia, Jacob Walker, Tim Scholtes, Jovana Mitrovic +1 more
7/12/2021
44 citations
cs.LGcs.AI
transformer-attentionrl

Official code: google-deepmind/dm_control (4,727 stars, Python, Apache-2.0, last commit 2026-04-25).

Abstract

Many reinforcement learning (RL) agents require a large amount of experience to solve tasks. We propose Contrastive BERT for RL (CoBERL), an agent that combines a new contrastive loss and a hybrid LSTM-transformer architecture to tackle the challenge of improving data efficiency.

Show full abstract

CoBERL enables efficient, robust learning from pixels across a wide range of domains. We use bidirectional masked prediction in combination with a generalization of recent contrastive methods to learn better representations for transformers in RL, without the need of hand engineered data augmentations. We find that CoBERL consistently improves performance across the full Atari suite, a set of control tasks and a challenging 3D environment.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google DeepMind's software stack for physics-based simulation and Reinforcement Learning environments, using MuJoCo.

4,727779Python, Jupyter NotebookDec 29, 20177 months agoApache-2.0
artificial-intelligencedeep-learningmachine-learningmujoconeural-networks+2 more

Similar Papers

Cite this paper

@article{banino2021coberl,
  title  = {CoBERL: Contrastive BERT for Reinforcement Learning},
  author = {Andrea Banino and Adrià Puidomenech Badia and Jacob Walker and Tim Scholtes and Jovana Mitrovic and Charles Blundell},
  year   = {2021},
  eprint = {2107.05431},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.05431}
}

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

Discussion