TWISTED: Enhancing Transformer World Models with Spatio-Temporal Encoding and Graph-Based Optimal Decoding
Youngin Kim, Ray Sun, Bumsoo Park, Hyun Oh Song
ICLR 2026 submission
Abstract. Model-based reinforcement learning improves sample efficiency by using learned world models to simulate experiences for training agents. Recent world models that leverage transformers demonstrate high quality simulations, leading to better agent performance. However, transformer world models underutilize spatial relationships between visually adjacent tokens, which are critical when interacting in visual environments. Additionally, current models rely on sampling methods for transformer decoding that do not leverage visual similarities among subsequent frames. To address these limitations, we introduce TWISTED, a transformer world model with 3D spatio-temporal positional encoding and a graph-based optimal decoding strategy specific to 2D visual environments. Our experiments show state-of-the-art performance on the Craftax-classic, Craftax, MinAtar, and Atari 100K benchmarks, challenging visual environments requiring long-horizon object recall and interaction. The proposed method achieves a return of 72.5% and a score of 35.6% on Craftax-classic, significantly surpassing the previous best of 67.4% and 27.9%. We plan to release our source code on GitHub upon acceptance.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…