Transformer-based World Models Are Happy With 100k Interactions

Jan Robine, Marc Höftmann, Tobias Uelwer, Stefan Harmeling
3/13/2023
cs.LGcs.AIstat.ML

No official code found. Best implementation: jrobine/twm (90 stars, MIT, last commit 2023-04-04).

Abstract

Deep neural networks have been successful in many reinforcement learning settings. However, compared to human learners they are overly data hungry. To build a sample-efficient world model, we apply a transformer to real-world episodes in an autoregressive manner: not only the compact latent states and the taken actions but also the experienced or predicted rewards are fed into the transformer, so that it can attend flexibly to all three modalities at different time steps. The transformer allows our world model to access previous states directly, instead of viewing them through a compressed recurrent state. By utilizing the Transformer-XL architecture, it is able to learn long-term dependencies while staying computationally efficient. Our transformer-based world model (TWM) generates meaningful, new experience, which is used to train a policy that outperforms previous model-free and model-based reinforcement learning algorithms on the Atari 100k benchmark.

View on arXivView PDF

Code Implementations(1)

jrobine/twmCommunity100%
MIT

Transformer-based World Models

9010PythonSep 28, 20223 years agoMIT
artificial-intelligenceatarideep-learningiclr2023machine-learning+3 more

Similar Papers

Cite this paper

@article{robine2023transformerbased,
  title  = {Transformer-based World Models Are Happy With 100k Interactions},
  author = {Jan Robine and Marc Höftmann and Tobias Uelwer and Stefan Harmeling},
  year   = {2023},
  eprint = {2303.07109},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.07109v1},
  journal = {ICLR 2023 2023}
}

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

Discussion