World Models
1. Research problem
Model-free RL needs many environment interactions; a learned generative model of the environment could allow training inside imagined rollouts.
2. Motivation
The authors wanted to test whether a compact learned world model plus a tiny controller could solve a visual control task.
3. Previous approaches
Model-based RL used linear or tabular dynamics; deep generative models were rarely integrated into an agent's control loop end to end.
4. Core contribution
Built an agent with a VAE perception module, an MDN-RNN that predicts latent dynamics, and a simple linear controller evolved inside the learned dream environment.
5. Mathematical formulation
Encode frames to latent z with a VAE, model p(z_{t+1}|z_t,a_t) with a mixture-density RNN, and evolve controller weights to maximize predicted cumulative reward.
6. Methodology
Train the vision and dynamics models from random rollouts, then train the controller entirely on simulated rollouts from the learned model and finally transfer it to the real environment.
7. Architecture
VAE encoder/decoder, MDN-RNN, and a single-layer linear controller.
8. Experimental setup
CarRacing-v0 from pixel inputs and a modified Doom task.
9. Datasets
OpenAI Gym CarRacing and custom VizDoom environments.
10. Results
Solved the driving task with a tiny controller trained purely in the latent dream, and demonstrated the viability of end-to-end model-based visual RL.
11. Limitations
Model errors accumulate in long rollouts; VAE reconstructions blur details; the approach was demonstrated on relatively forgiving environments.
12. Critical analysis
A influential proof of concept for learning a generative simulator, anticipating later model-based agents and world-model research.
13. Implementation tasks
- 1.Train a small VAE on environment frames and inspect latent reconstructions.
- 2.Fit a latent dynamics model and generate short imagined rollouts.
- 3.Evolve a linear controller in imagined rollouts and evaluate in the real environment.
14. Follow-up work
- 1.Dreamer: Scaling Up Model-Based Reinforcement Learning (Hafner et al., 2019)
- 2.Mastering Atari with Discrete World Models (Hafner et al., 2020)
15. Open research questions
- 1.How can model error be prevented from compounding over long imagined rollouts?
- 2.What visual details must a world model preserve for control?