Decision Transformer: Reinforcement Learning via Sequence Modeling
Authors:
Preprint
Abstract
We introduce a framework that abstracts Reinforcement Learning (RL) as a sequence modeling problem. This allows us to draw upon the simplicity and scalability of the Transformer architecture, and associated advances in language modeling such as GPT-x and BERT. In particular, we present Decision Transformer, an architecture that casts the problem of RL as conditional sequence modeling. Unlike prior approaches to RL that fit value functions or compute policy gradients, Decision Transformer simply outputs the optimal actions by leveraging a causally masked Transformer. By conditioning an autoregressive model on the desired return (reward), past states, and actions, our Decision Transformer model can generate future actions that achieve the desired return. Despite its simplicity, Decision Transformer matches or exceeds the performance of state-of-the-art model-free offline RL baselines on Atari, OpenAI Gym, and Key-to-Door tasks.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- GeDi: Generative Discriminator Guided Sequence Generation2021
- Self-Attentional Credit Assignment for Transfer in Reinforcement Learning2020
- Optimizing agent behavior over long time scales by transporting valueNature Communications, 2019
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Explain Yourself! Leveraging Language Models for Commonsense Reasoning2019
- Learning to Write with Cooperative Discriminators2018
- Controlling Linguistic Style Aspects in Neural Language Generation2017
- Integrated Architectures for Learning, Planning, and Reacting Based on Approximating Dynamic Programming1990