mlsanityData to 24 Nov 2026

Encoding Memory in World Models with Test-Time Model-Based Reinforcement Learning

arXiv 2611.09625 ↗Submitted 6 Nov 2026cs.LG cs.AI cs.CVcited by 0

On the map: World models → Latent dynamics models and model-based RL

also in 1 more
Abstract (arXiv)

Model-based reinforcement learning (MBRL) approaches have demonstrated strong performance across diverse domains in recent years, learning accurate world models from agent trajectories. However, despite this progress, current approaches still struggle to surpass human performance on tasks that require long-term memory and planning. In this work, we address the problem of long-term memory in MBRL by moving beyond the commonly studied paradigm of architecture design. We introduce Test-Time Model-Based Reinforcement Learning (TT-MBRL), using gradient descent at test time to encode the memory of episode observations into world model parameters. This enables the agent to learn a distinct world model for each episode, improving memory capabilities compared to traditional approaches that solely rely on contextual memory. We first establish a proof of concept on a simplified two-dimensional variant of the Memory Maze environment, which we refer to as Memory Maze 2D, showing consistent improvements across different world model architectures. We then demonstrate the effectiveness of TT-MBRL in the 3D domain, achieving new state-of-the-art results on the Memory Maze benchmark. Finally, we show that TT-MBRL maintains strong performance on non-memory benchmarks such as DeepMind Control and Atari 100k.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Latent dynamics models and model-based RL, one of 11 directions in World models. Builds on 53 of its 64 references that are in the map. Submitted 6 Nov 2026.

Builds on

53 of 64 references.

Closest ancestors · 19

Same direction, newest first

  1. 2025Learning Massively Multitask World Models for Continuous Control24 Nov
  2. 2025Training Agents Inside of Scalable World Models29 Sep
  3. 2025Learning Transformer-based World Models with Contrastive Predictive Coding6 Mar
  4. 2025EDELINE: Enhancing Memory in Diffusion-based World Models via Linear-Time Sequence Modeling1 Feb
  5. 2024Efficient World Models with Context-Aware Tokenization27 Jun
  6. 2024Diffusion for World Modeling: Visual Details Matter in Atari20 May
  7. 2024Mastering Memory Tasks with World Models7 Mar
  8. 2024EfficientZero V2: Mastering Discrete and Continuous Control with Limited Data1 Mar
  9. 2023TD-MPC2: Scalable, Robust World Models for Continuous Control25 Oct
  10. 2023STORM: Efficient Stochastic Transformer based World Models for Reinforcement Learning14 Oct
  11. 2023Facing Off World Model Backbones: RNNs, Transformers, and S45 Jul
  12. 2023Transformer-based World Models Are Happy With 100k Interactions13 Mar
7 more
  1. 2023Mastering Diverse Domains through World Models10 Jan
  2. 2022Transformers are Sample-Efficient World Models1 Sep
  3. 2022TransDreamer: Reinforcement Learning with Transformer World Models19 Feb
  4. 2021Mastering Atari Games with Limited Data30 Oct
  5. 2020Mastering Atari with Discrete World Models5 Oct
  6. 2019Dream to Control: Learning Behaviors by Latent Imagination3 Dec
  7. 2018Recurrent World Models Facilitate Policy Evolution4 Sep

Other references · 34

  1. 2017Attention Is All You Needcited by 62,125
  2. 2017Proximal Policy Optimization Algorithmscited by 16,156
  3. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,842
  4. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,673
  5. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,208
  6. 2016Layer Normalizationcited by 6,002
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
  8. 2013Auto-Encoding Variational Bayescited by 4,449
  9. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,222
  10. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,611
  11. 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,298
  12. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,231
22 more
  1. 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,611
  2. 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,404
  3. 2018Learning Latent Dynamics for Planning from Pixelscited by 1,386
  4. 2018Towards Accurate Generative Models of Video: A New Metric & Challengescited by 1,333
  5. 2018Soft Actor-Critic Algorithms and Applicationscited by 1,284
  6. 2018DeepMind Control Suitecited by 1,016
  7. 2018IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architecturescited by 914
  8. 2022Simplified State Space Layers for Sequence Modelingcited by 818
  9. 2019Model-Based Reinforcement Learning for Ataricited by 511
  10. 2022Temporal Difference Learning for Model Predictive Controlcited by 439
  11. 2024Diffusion Models Are Real-Time Game Enginescited by 373
  12. 2015A Recurrent Latent Variable Model for Sequential Datacited by 370
  13. 2024Navigation World Modelscited by 317
  14. 2022Test-Time Training with Masked Autoencoderscited by 220
  15. 2020Self-Supervised Policy Adaptation during Deploymentcited by 132
  16. 2023Test-Time Training on Nearest Neighbors for Large Language Modelscited by 96
  17. 2021Counter-Strike Deathmatch with Large-Scale Behavioural Cloningcited by 56
  18. 2022Evaluating Long-Term Memory in 3D Mazescited by 51
  19. 2023Test-Time Training on Video Streamscited by 44
  20. 2026Multiplayer Interactive World Models with Representation Autoencoderscited by 26
  21. 2019Continual Reinforcement Learning in 3D Non-stationary Environmentscited by 23
  22. 2025StateSpaceDiffuser: Bringing Long Context to Diffusion World Modelscited by 21

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Accelerating Model-Based Reinforcement Learning with State-Space World Models
  2. 2025Enter the Void - Planning to Seek Entropy When Reward is Scarce
  3. 2026Decision Titan: Test-Time Training for Long-Term Memory in Offline Reinforcement Learning
  4. 2025TTRL: Test-Time Reinforcement Learning
  5. 2026Composition of Memory Experts for Diffusion World Models
  6. 2022A Survey on Model-based Reinforcement Learning
  7. 2026MemoWM: How World Models Change What Agents Need to Remember
  8. 2026Q-Learning With World Models