the past is a foreign country
The past is a foreign country: they do things differently there.[1] In reinforcement learning, the replay buffer is usually treated as ground truth, a neutral archive of transitions used to anchor whatever representation is being trained. In its 2024 revision, Dreamer[2] trains a single critic on two different targets: the returns its current actor imagines inside the latent world model, and the λ-returns replayed from trajectories collected by older, weaker policies. Only the replay loss backpropagates into the world model. As the actor improves, those replayed returns lag behind the current policy, and that lag enters the representation as if it were model error.
the sum
The difference between the imagined return and the replayed return can be decomposed into a policy gap, arising solely from the actor having improved since the transitions were collected, and actual error in the model’s dynamics and rewards:
Because the replay gradient into the world model depends only on Δt, the optimizer has no way to separate these terms. An actor that has learned to play better and a world model that is overly optimistic push the representation in the same direction.
older selves
In our experiments, the policy gap is the dominant term. In MinAtar Breakout and Space Invaders,[3] δpol is larger than the total discrepancy Δt, since the world model is slightly pessimistic. In Breakout, the policy gap increases more than tenfold with the age of the replayed data, whereas true model error stays nearly flat.
persistence
Because the critic is fitted simultaneously to the imagined returns of the current policy and the replayed returns of older policies, it does not converge to the replay target. Its gradient into the world model therefore keeps a consistent direction from one update to the next. If we freeze the critic, most of this persistence disappears. Shortening the replay horizon or removing the oldest portion of the buffer removes most of it as well, while dropping the same fraction of transitions at random has little effect.
damage
Relative to a stop-gradient baseline, this gradient slows the learning of the world model, reduces episodic return, and worsens the critic’s ranking of actions under imagined values. Ablations rule out crowding of the optimizer’s second-moment estimate as the cause. Synthetic random gradients of the same norm cause more degradation the longer they hold a fixed direction; however, more persistent gradients also induce larger optimizer steps, so persistence and step size remain confounded here, and whether the critic’s specific direction matters is still open.
fixes
Three simple modifications either block the stale discrepancy from reaching the world model or shorten the horizon over which policy lag accumulates: placing a stop-gradient on the replay loss, giving the replay loss its own value head, or truncating the replay target to a single step. Both the separate head and the one-step target improve returns in both games, whether training is resumed from a checkpoint or run from scratch; the stop-gradient improves returns in Breakout.
other world models
This failure mode requires three conditions: a value loss on multi-step replayed returns that backpropagates into the representation, a policy that improves faster than the replay buffer turns over, and a value head that is also trained on a current-policy target. R2-Dreamer[4] inherits DreamerV3’s loss structure and meets all three conditions, though we have not tested whether it is affected in practice; the official DreamerV3 implementation[5] leaves this replay-to-representation gradient enabled by default. MuZero[6] and MuDreamer[7] also regress values against stale replayed returns, but their value heads fit only those targets, and in our MinAtar probes MuZero’s gradient did not persist until a current-policy target was mixed in. Muesli,[8] TD-MPC2,[9] and EfficientZero[10] either correct or shorten their off-policy targets, while earlier Dreamer variants,[11] IRIS,[12] DIAMOND,[13] and Dreamer 4[14] do not send value gradients into the world model.
references
- L. P. Hartley, The Go-Between, Hamish Hamilton, 1953.
- Danijar Hafner, Jurgis Pasukonis, Jimmy Ba, and Timothy Lillicrap, Mastering Diverse Control Tasks Through World Models, Nature 640 (2025), 647–653.
- Kenny Young and Tian Tian, MinAtar: An Atari-Inspired Testbed for Thorough and Reproducible Reinforcement Learning Experiments, arXiv:1903.03176, 2019.
- Naoki Morihira, Amal Nahar, Kartik Bharadwaj, Yasuhiro Kato, Akinobu Hayashi, and Tatsuya Harada, R2-Dreamer: Redundancy-Reduced World Models without Decoders or Augmentation, ICLR 2026.
- Danijar Hafner, dreamerv3, official implementation,
configs.yaml. - Julian Schrittwieser et al., Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model, Nature 588 (2020), 604–609.
- Maxime Burchi and Radu Timofte, MuDreamer: Learning Predictive World Models without Reconstruction, arXiv:2405.15083, 2024.
- Matteo Hessel et al., Muesli: Combining Improvements in Policy Optimization, ICML 2021.
- Nicklas Hansen, Hao Su, and Xiaolong Wang, TD-MPC2: Scalable, Robust World Models for Continuous Control, ICLR 2024.
- Weirui Ye, Shaohuai Liu, Thanard Kurutach, Pieter Abbeel, and Yang Gao, Mastering Atari Games with Limited Data, NeurIPS 2021.
- Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi, Dream to Control: Learning Behaviors by Latent Imagination, ICLR 2020.
- Vincent Micheli, Eloi Alonso, and François Fleuret, Transformers are Sample-Efficient World Models, ICLR 2023.
- Eloi Alonso et al., Diffusion for World Modeling: Visual Details Matter in Atari, NeurIPS 2024.
- Danijar Hafner, Wilson Yan, and Timothy Lillicrap, Training Agents Inside of Scalable World Models, arXiv:2509.24527, 2025.