Transformers are Sample-Efficient World Models

Vincent Micheli, Eloi Alonso, François Fleuret
9/1/2022
427 citations
cs.LGcs.AIcs.CV
transformer-attentionrl

Official code: eloialonso/iris (903 stars, Python, GPL-3.0, last commit 2024-10-14).

Abstract

Deep reinforcement learning agents are notoriously sample inefficient, which considerably limits their application to real-world problems. Recently, many model-based methods have been designed to address this issue, with learning in the imagination of a world model being one of the most prominent approaches.

Show full abstract

However, while virtually unlimited interaction with a simulated environment sounds appealing, the world model has to be accurate over extended periods of time. Motivated by the success of Transformers in sequence modeling tasks, we introduce IRIS, a data-efficient agent that learns in a world model composed of a discrete autoencoder and an autoregressive Transformer. With the equivalent of only two hours of gameplay in the Atari 100k benchmark, IRIS achieves a mean human normalized score of 1.046, and outperforms humans on 10 out of 26 games, setting a new state of the art for methods without lookahead search. To foster future research on Transformers and world models for sample-efficient reinforcement learning, we release our code and models at https://github.com/eloialonso/iris.

View on arXivView PDF

Code Implementations(1)

eloialonso/irisOfficial100%
GPL-3.0

Transformers are Sample-Efficient World Models. ICLR 2023, notable top 5%.

90396Python, Jupyter NotebookAug 23, 20222 years agoGPL-3.0
artificial-intelligenceatarideep-learningmachine-learningreinforcement-learning+3 more

Similar Papers

Cite this paper

@article{micheli2022transformers,
  title  = {Transformers are Sample-Efficient World Models},
  author = {Vincent Micheli and Eloi Alonso and François Fleuret},
  year   = {2022},
  eprint = {2209.00588},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.00588}
}

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

Discussion