Skip to content
StackDecode
AI & ML Atlas
Reinforcement LearningalgorithmAnimated walkthrough

Model-Based Reinforcement Learning

Learns a model of the environment and uses it to plan or generate extra experience.

The idea

The agent learns to predict what happens next (transition and reward) and then plans inside this model, by search, simulated rollouts or trajectory optimisation. Because imagined experience is cheap, it needs far fewer real interactions, but model errors can mislead the planner.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1Collect real transitions.
  2. 2Fit a model of the dynamics and rewards.
  3. 3Plan or simulate with the model to improve the policy.
  4. 4Act in the real world, collect more data and refit.
1/4

Step by step

  1. 1Collect real transitions.
  2. 2Fit a model of the dynamics and rewards.
  3. 3Plan or simulate with the model to improve the policy.
  4. 4Act in the real world, collect more data and refit.

Where it is used

Robotics and any domain where real interaction is expensive.

Watch out for

Compounding model error over long rollouts.

Related