LGAIFeb 3, 2025

Improving Transformer World Models for Data-Efficient RL

arXiv:2502.01591v314 citationsh-index: 30ICML
Originality Incremental advance
AI Analysis

This addresses data efficiency in RL for AI agents, with incremental improvements to existing transformer-based methods.

The paper tackles the problem of data-efficient reinforcement learning by improving transformer world models with three modifications, achieving 69.66% reward on Craftax-classic after 1M steps, outperforming DreamerV3 (53.2%) and human performance (65.0%).

We present three improvements to the standard model-based RL paradigm based on transformers: (a) "Dyna with warmup", which trains the policy on real and imaginary data, but only starts using imaginary data after the world model has been sufficiently trained; (b) "nearest neighbor tokenizer" for image patches, which improves upon previous tokenization schemes, which are needed when using a transformer world model (TWM), by ensuring the code words are static after creation, thus providing a constant target for TWM learning; and (c) "block teacher forcing", which allows the TWM to reason jointly about the future tokens of the next timestep, instead of generating them sequentially. We then show that our method significantly improves upon prior methods in various environments. We mostly focus on the challenging Craftax-classic benchmark, where our method achieves a reward of 69.66% after only 1M environment steps, significantly outperforming DreamerV3, which achieves 53.2%, and exceeding human performance of 65.0% for the first time. We also show preliminary results on Craftax-full, MinAtar, and three different two-player games, to illustrate the generality of the approach.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes