LGAICVMar 6, 2025

Learning Transformer-based World Models with Contrastive Predictive Coding

arXiv:2503.04416v222 citationsh-index: 98ICLR
AI Analysis

This work addresses the challenge of improving Transformer-based world models for reinforcement learning agents, offering a novel approach that sets a new performance record on a standard benchmark.

The paper tackled the problem of learning Transformer-based world models in reinforcement learning, which previously underperformed compared to RNN-based methods, by introducing TWISTER with action-conditioned Contrastive Predictive Coding to extend predictions to longer time horizons, achieving a human-normalized mean score of 162% on the Atari 100k benchmark.

The DreamerV3 algorithm recently obtained remarkable performance across diverse environment domains by learning an accurate world model based on Recurrent Neural Networks (RNNs). Following the success of model-based reinforcement learning algorithms and the rapid adoption of the Transformer architecture for its superior training efficiency and favorable scaling properties, recent works such as STORM have proposed replacing RNN-based world models with Transformer-based world models using masked self-attention. However, despite the improved training efficiency of these methods, their impact on performance remains limited compared to the Dreamer algorithm, struggling to learn competitive Transformer-based world models. In this work, we show that the next state prediction objective adopted in previous approaches is insufficient to fully exploit the representation capabilities of Transformers. We propose to extend world model predictions to longer time horizons by introducing TWISTER (Transformer-based World model wIth contraSTivE Representations), a world model using action-conditioned Contrastive Predictive Coding to learn high-level temporal feature representations and improve the agent performance. TWISTER achieves a human-normalized mean score of 162% on the Atari 100k benchmark, setting a new record among state-of-the-art methods that do not employ look-ahead search.

Foundations

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

Your Notes