Deep Transformer Q-Networks for Partially Observable Reinforcement Learning

Kevin Esslinger, Robert Platt, Christopher Amato
6/2/2022
cs.LGcs.AI
transformer-attentionrl

Official code: kevslinger/DTQN (178 stars, Python, MIT, last commit 2024-07-07).

Abstract

Real-world reinforcement learning tasks often involve some form of partial observability where the observations only give a partial or noisy view of the true state of the world. Such tasks typically require some form of memory, where the agent has access to multiple past observations, in order to perform well.

Show full abstract

One popular way to incorporate memory is by using a recurrent neural network to access the agent's history. However, recurrent neural networks in reinforcement learning are often fragile and difficult to train, susceptible to catastrophic forgetting and sometimes fail completely as a result. In this work, we propose Deep Transformer Q-Networks (DTQN), a novel architecture utilizing transformers and self-attention to encode an agent's history. DTQN is designed modularly, and we compare results against several modifications to our base model. Our experiments demonstrate the transformer can solve partially observable tasks faster and more stably than previous recurrent approaches.

View on arXivView PDF

Code Implementations(1)

kevslinger/DTQNOfficial100%
MIT

Deep Transformer Q-Networks for Partially Observable Reinforcement Learning

17832PythonJun 2, 20222 years agoMIT

Similar Papers

Cite this paper

@article{esslinger2022deep,
  title  = {Deep Transformer Q-Networks for Partially Observable Reinforcement Learning},
  author = {Kevin Esslinger and Robert Platt and Christopher Amato},
  year   = {2022},
  eprint = {2206.01078},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.01078}
}

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

Discussion