mlsanityData to 7 Oct 2026

Do Transformer World Models Give Better Policy Gradients?

arXiv 2402.05290 ↗First posted 7 Feb 2024cs.LG cs.AIcited by 10

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

  1. 2023Transformer-based World Models Are Happy With 100k Interactions13 Mar
  2. 2022Transformers are Sample-Efficient World Models1 Sep
  3. 2022TransDreamer: Reinforcement Learning with Transformer World Models19 Feb
  4. 2021Offline Reinforcement Learning as One Big Sequence Modeling Problem3 Jun
  5. 2020Mastering Atari with Discrete World Models5 Oct

Other references · 39

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
  3. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  4. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  5. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
  6. 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,327
  7. 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 781
  8. 2015Deep Recurrent Q-Learning for Partially Observable MDPscited by 457
  9. 2020Learning Invariant Representations for Reinforcement Learning without Reconstructioncited by 424
  10. 2019Stabilizing Transformers for Reinforcement Learningcited by 262
  11. 2022Online Decision Transformercited by 194
  12. 2018RUDDER: Return Decomposition for Delayed Rewardscited by 162
27 more
  1. 2015Learning Continuous Control Policies by Stochastic Value Gradientscited by 156
  2. 2019Reinforcement Learning Upside Down: Don't Predict Rewards -- Just Map Them to Actionscited by 124
  3. 2021Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPscited by 115
  4. 2023Structured State Space Models for In-Context Reinforcement Learningcited by 109
  5. 2019Training Agents using Upside-Down Reinforcement Learningcited by 106
  6. 2022Accelerated Policy Learning with Parallel Differentiable Simulationcited by 92
  7. 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
  8. 2021Gradients are Not All You Needcited by 82
  9. 2019Shaping Belief States with Generative Environment Models for RLcited by 65
  10. 2013How to Construct Deep Recurrent Neural Networkscited by 64
  11. 2023When Do Transformers Shine in RL? Decoupling Memory from Credit Assignmentcited by 62
  12. 2020Model-Augmented Actor-Critic: Backpropagating through Pathscited by 61
  13. 2018Optimizing Agent Behavior over Long Time Scales by Transporting Valuecited by 57
  14. 2019PIPPS: Flexible Model-Based Policy Search Robust to the Curse of Chaoscited by 56
  15. 2024Bridging State and History Representations: Understanding Self-Predictive RLcited by 52
  16. 2020On the model-based stochastic value gradient for continuous reinforcement learningcited by 46
  17. 2023Bridging RL Theory and Practice with the Effective Horizoncited by 31
  18. 2016The Generalized Reparameterization Gradientcited by 30
  19. 2022Simplifying Model-based RL: Learning Representations, Latent-space Models, and Policies with One Objectivecited by 28
  20. 2019Sequence Modeling of Temporal Credit Assignment for Episodic Reinforcement Learningcited by 27
  21. 2020Causally Correct Partial Models for Reinforcement Learningcited by 24
  22. 2020Policy-Aware Model Learning for Policy Gradient Methodscited by 23
  23. 2019Gradient-Aware Model-based Policy Searchcited by 19
  24. 2016Architectural Complexity Measures of Recurrent Neural Networkscited by 17
  25. 2020How to Learn a Useful Critic? Model-based Action-Gradient-Estimator Policy Optimizationcited by 16
  26. 2023Policy Optimization in a Noisy Neighborhood: On Return Landscapes in Continuous Controlcited by 11
  27. 2022Myriad: a real-world testbed to bridge trajectory optimization and deep learningcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 5.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024One-shot World Models Using a Transformer Trained on a Synthetic Prior
  2. 2024PWM: Policy Learning with Multi-Task World Models
  3. 2025Transformer World Model for Sample Efficient Multi-Agent Reinforcement Learning
  4. 2026How do World Models and Policies Compose in LLM Agents? A Joint Spectral and Behavioral Account
  5. 2026Do Robotic World Models Really Follow Actions? Diagnosing and Aligning Action-Conditioned Generation for Policy Learning
  6. 2026Network World Models as Environments for Algorithm Design on Complex Systems
  7. 2026WAM-RL: World-Action Model Reinforcement Learning with Reconstruction Rewards and Online Video SFT
  8. 2025Accelerating Model-Based Reinforcement Learning with State-Space World Models