CoBERL: Contrastive BERT for Reinforcement LearningDownload PDF

Published: 22 Jul 2021, Last Modified: 22 Oct 2023URL 2021 PosterReaders: Everyone
Keywords: Reinforcement Learning, Contrastive Learning, Representation Learning, Transformer, Deep Reinforcement Learning
TL;DR: A new loss and an improved architecture to efficiently train attentional models in reinforcement learning.
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. 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.
Community Implementations: [![CatalyzeX](/images/catalyzex_icon.svg) 3 code implementations](
1 Reply