Robots Atlas>ROBOTS ATLAS
Reasoning

Model-Based RL

1991ActivePublished: 8 June 2026Updated: 8 June 2026Published
Key innovation
The agent learns a model of environment dynamics and uses it for planning or to generate synthetic experience, drastically improving sample efficiency compared to model-free RL.
Category
Reasoning
Abstraction level
Paradigm
Operation level
TrainingInferenceAgent runtime
Use cases
Robot control with limited dataRobotic manipulation and locomotion (Dreamer, TD-MPC)Board and strategy games (MuZero, AlphaZero)Pixel-based control (PlaNet, Dreamer)Sim-to-real transfer with dynamics modelsPolicy learning in expensive simulators (CFD, particle physics)

How it works

The MBRL loop has three steps repeated iteratively: (1) Data collection — the agent acts in the environment with an exploration policy and stores transitions (s,a,r,s'). (2) Model learning — a dynamics network (deterministic, probabilistic, ensemble, or latent like RSSM) is trained on the collected data to predict s' and r. (3) Model usage — options include planning (CEM/MPC, MCTS in MuZero), training the policy on model rollouts (Dyna, Dreamer), or directly differentiating the policy through the model (analytic policy gradient, SVG, PILCO). The new policy collects more data, the model is updated. Key techniques: ensembles for uncertainty (PETS), finite-horizon planning, KL/regularization against model exploitation, latent representations for high-dimensional observations (Dreamer, RSSM).

Problem solved

Model-free RL requires millions or billions of environment interactions, which is infeasible for real robots and expensive simulators. MBRL drastically reduces the required sample count by learning the policy in "imagination" or by planning using the learned model.

Components

Dynamics modelPredicts s' from (s,a)

A neural network or probabilistic model learning f(s,a) → s'. Can be deterministic, probabilistic (Gaussian), an ensemble, or latent (RSSM).

Deterministic MLPSingle network predicting s'.
Probabilistic ensemble (PETS)Multiple probabilistic networks for epistemic and aleatoric uncertainty estimation.
Latent dynamics (RSSM, Dreamer)Dynamics in latent space, encoder from pixels.
Gaussian Process (PILCO)GP models dynamics with analytic uncertainty propagation.

Official

Reward modelPredicts r(s,a) or r(s)

A reward function usually learned jointly with dynamics; required for planning and imagination-based RL.

Planner / policySelects actions using the model

Decision-making component: a planner (CEM, MPPI, MCTS) or a trained policy (actor-critic in imagination, e.g. Dreamer).

CEM / MPPISample-based planning over a population of trajectories.
MCTS (MuZero, AlphaZero)Monte Carlo tree with value/policy network heuristics.
Actor-critic in imagination (Dreamer)Policy and value trained on model rollouts.

Official

Replay bufferStorage of real transitions (s,a,r,s')

Experience buffer used to train the model and often the policy as well (Dyna).

Implementation

Implementation pitfalls
Model exploitationCritical

The action optimizer finds state regions where the model is inaccurate and falsely predicts high reward.

Fix:Ensembles for uncertainty, horizon limits, uncertainty penalties, KL regularization as in Dreamer.
Compounding model errorHigh

Small model errors compound exponentially along long rollouts.

Fix:Short horizons, branched rollouts (MBPO), latent representations that stabilize dynamics.
Distribution shiftHigh

A model trained on real data performs poorly on rollouts generated by the current policy.

Fix:Iteratively retrain the model on new data after every policy update.
Model class vs compute trade-offMedium

GPs (PILCO) scale poorly to high-dim observations; neural ensembles are cheaper but worse at epistemic uncertainty.

Fix:Latent recurrent models (RSSM) for pixels, probabilistic ensembles for low-dim, hybrid approaches.

Evolution

Original paper · 1991 · SIGART Bulletin / AAAI 1991 · Richard S. Sutton
Dyna, an Integrated Architecture for Learning, Planning, and Reacting
Richard S. Sutton
1991
Dyna — first integrated MBRL architecture
Inflection point

Sutton introduces Dyna, integrating model learning, planning, and acting in a single system.

2011
PILCO — probabilistic GP model

Deisenroth & Rasmussen show that a Gaussian Process dynamics model achieves record sample efficiency on control tasks.

2018
PETS — probabilistic ensembles + CEM

Chua et al. establish a strong MBRL baseline with a probabilistic ensemble and CEM planning.

2019
PlaNet — first SoTA-level pixel MBRL
Inflection point

Hafner et al. introduce RSSM and demonstrate effective latent-space planning from raw pixels.

2019
MuZero — MBRL without knowing the game rules
Inflection point

DeepMind shows that an agent learning its own model matches AlphaZero in Go, chess, and Atari without access to environment rules.

2019
MBPO — uncertainty-aware Dyna

Janner et al. match SAC performance with an order-of-magnitude fewer samples.

2020
Dreamer / DreamerV2

Actor-critic training in imagination over RSSM reaches human-level Atari on a single GPU.

2023
DreamerV3 — universal MBRL
Inflection point

A single MBRL agent configuration achieves strong results on 150+ tasks (Atari, DMC, Minecraft, Crafter) without tuning.

2022
TD-MPC — combining planning with value learning

Hansen et al. combine short-horizon MPC with a learned value function, reaching SoTA on DMC.

Hyperparameters (configurable axes)

Planning horizon HCritical

Number of forward-planned steps. Too long → model-error compounding; too short → myopic behavior.

Model classCritical

Choice between deterministic, probabilistic, ensemble, GP, or latent (RSSM) models.

Real-to-imagined data ratioHigh

Ratio of real to synthetic samples in policy training. Crucial in Dyna/MBPO-style methods.

Ensemble sizeHigh

Number of models in the ensemble (PETS uses 5-10) — affects uncertainty estimation.

Planner typeHigh

CEM / MPPI / MCTS / random shooting / actor-critic in imagination.

Execution paradigm

Primary mode
Dense

The full dynamics, reward, and policy/planner networks are active at each planning step.

Activation pattern
All paths active

Parallelism

Parallelism level
Partially parallel

Model training is fully batch-parallel. Imagination rollouts can be parallelized across the batch. The sequential bottlenecks are the real environment step and the inner recurrence step of the model.

Scope
TrainingInference

Hardware requirements

Primary

Model and policy training plus imagination rollouts — an A100/V100-class GPU suffices even for complex Dreamer/TD-MPC tasks.

Good fit

Classical MBRL with CEM/MPPI planners is often run on CPUs with massively parallel sample-based search.

Good fit

DreamerV3 in JAX/XLA scales efficiently on TPU.