Do Transformer World Models Give Better Policy Gradients?
On the map: World models → Latent dynamics models and model-based RL
Abstract (arXiv)
A natural approach for reinforcement learning is to predict future rewards by unrolling a neural network world model, and to backpropagate through the resulting computational graph to learn a policy. However, this method often becomes impractical for long horizons since typical world models induce hard-to-optimize loss landscapes. Transformers are known to efficiently propagate gradients over long horizons: could they be the solution to this problem? Surprisingly, we show that commonly-used transformer world models produce circuitous gradient paths, which can be detrimental to long-range policy gradients. To tackle this challenge, we propose a class of world models called Actions World Models (AWMs), designed to provide more direct routes for gradient propagation. We integrate such AWMs into a policy gradient framework that underscores the relationship between network architectures and the policy gradient updates they inherently represent. We demonstrate that AWMs can generate optimization landscapes that are easier to navigate even when compared to those from the simulator itself. This property allows transformer AWMs to produce better policies than competitive baselines in realistic long-horizon tasks.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Latent dynamics models and model-based RL, one of 11 directions in World models. Builds on 44 of its 67 references that are in the map. First posted on arXiv 7 Feb 2024.
Builds on
44 of 67 references.
Closest ancestors · 5
Same direction, newest first
- 2023Transformer-based World Models Are Happy With 100k Interactions13 Mar
- 2022Transformers are Sample-Efficient World Models1 Sep
- 2022TransDreamer: Reinforcement Learning with Transformer World Models19 Feb
- 2021Offline Reinforcement Learning as One Big Sequence Modeling Problem3 Jun
- 2020Mastering Atari with Discrete World Models5 Oct
Other references · 39
- 2017Attention Is All You Needcited by 59,932
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,327
- 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 781
- 2015Deep Recurrent Q-Learning for Partially Observable MDPscited by 457
- 2020Learning Invariant Representations for Reinforcement Learning without Reconstructioncited by 424
- 2019Stabilizing Transformers for Reinforcement Learningcited by 262
- 2022Online Decision Transformercited by 194
- 2018RUDDER: Return Decomposition for Delayed Rewardscited by 162
27 more
- 2015Learning Continuous Control Policies by Stochastic Value Gradientscited by 156
- 2019Reinforcement Learning Upside Down: Don't Predict Rewards -- Just Map Them to Actionscited by 124
- 2021Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPscited by 115
- 2023Structured State Space Models for In-Context Reinforcement Learningcited by 109
- 2019Training Agents using Upside-Down Reinforcement Learningcited by 106
- 2022Accelerated Policy Learning with Parallel Differentiable Simulationcited by 92
- 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
- 2021Gradients are Not All You Needcited by 82
- 2019Shaping Belief States with Generative Environment Models for RLcited by 65
- 2013How to Construct Deep Recurrent Neural Networkscited by 64
- 2023When Do Transformers Shine in RL? Decoupling Memory from Credit Assignmentcited by 62
- 2020Model-Augmented Actor-Critic: Backpropagating through Pathscited by 61
- 2018Optimizing Agent Behavior over Long Time Scales by Transporting Valuecited by 57
- 2019PIPPS: Flexible Model-Based Policy Search Robust to the Curse of Chaoscited by 56
- 2024Bridging State and History Representations: Understanding Self-Predictive RLcited by 52
- 2020On the model-based stochastic value gradient for continuous reinforcement learningcited by 46
- 2023Bridging RL Theory and Practice with the Effective Horizoncited by 31
- 2016The Generalized Reparameterization Gradientcited by 30
- 2022Simplifying Model-based RL: Learning Representations, Latent-space Models, and Policies with One Objectivecited by 28
- 2019Sequence Modeling of Temporal Credit Assignment for Episodic Reinforcement Learningcited by 27
- 2020Causally Correct Partial Models for Reinforcement Learningcited by 24
- 2020Policy-Aware Model Learning for Policy Gradient Methodscited by 23
- 2019Gradient-Aware Model-based Policy Searchcited by 19
- 2016Architectural Complexity Measures of Recurrent Neural Networkscited by 17
- 2020How to Learn a Useful Critic? Model-based Action-Gradient-Estimator Policy Optimizationcited by 16
- 2023Policy Optimization in a Noisy Neighborhood: On Return Landscapes in Continuous Controlcited by 11
- 2022Myriad: a real-world testbed to bridge trajectory optimization and deep learningcited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 5.
10 papers.
- 2025DMWM: Dual-Mind World Model with Long-Term Imaginationcited by 10
- 2024CALE: Continuous Arcade Learning Environmentcited by 5
- 2026The Surprising Difficulty of Search in Model-Based Reinforcement Learningcited by 5
- 2026Overcoming Statistical Bias in Action-Controllable World Modelscited by 4
- 2025Differentiable Information Enhanced Model-Based Reinforcement Learningcited by 3
- 2025Reparameterization Proximal Policy Optimizationcited by 1
- 2025Long-Horizon Model-Based Offline Reinforcement Learning Without Explicit Conservatismcited by 1
- 2026Transferable Delay-Aware Reinforcement Learning via Implicit Causal Graph Modelingcited by 0
- 2026Scaling World-Model Reinforcement Learning Through Diffusion Policy Optimizationcited by 0
- 2026Large Distant Gradients Need Not Be Reliable: reliability-weighted credit assignment for long-horizon autoregressive forecastingcited by 0
- 2026Large Distant Gradients Need Not Be Reliable: reliability-weighted credit assignment for long-horizon autoregressive forecasting11 Sep 2026
- 2026Overcoming Statistical Bias in Action-Controllable World Models5 Aug 2026
- 2026Scaling World-Model Reinforcement Learning Through Diffusion Policy Optimization25 May 2026
- 2026Transferable Delay-Aware Reinforcement Learning via Implicit Causal Graph Modeling12 May 2026
- 2026The Surprising Difficulty of Search in Model-Based Reinforcement Learning29 Jan 2026
- 2025Long-Horizon Model-Based Offline Reinforcement Learning Without Explicit Conservatism4 Dec 2025
- 2025Reparameterization Proximal Policy Optimization8 Aug 2025
- 2025Differentiable Information Enhanced Model-Based Reinforcement Learning3 Mar 2025
- 2025DMWM: Dual-Mind World Model with Long-Term Imagination11 Feb 2025
- 2024CALE: Continuous Arcade Learning Environment31 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024One-shot World Models Using a Transformer Trained on a Synthetic Prior
- 2024PWM: Policy Learning with Multi-Task World Models
- 2025Transformer World Model for Sample Efficient Multi-Agent Reinforcement Learning
- 2026How do World Models and Policies Compose in LLM Agents? A Joint Spectral and Behavioral Account
- 2026Do Robotic World Models Really Follow Actions? Diagnosing and Aligning Action-Conditioned Generation for Policy Learning
- 2026Network World Models as Environments for Algorithm Design on Complex Systems
- 2026WAM-RL: World-Action Model Reinforcement Learning with Reconstruction Rewards and Online Video SFT
- 2025Accelerating Model-Based Reinforcement Learning with State-Space World Models