Back to Reinforcement Learning Mind Map
中文·English
🎮 Reinforcement LearningID: dreamer

Dreamer RSSM (Latent Imagination)

Dreamer RSSM 潜想象
🎯Core Definition
Dreamer learns a world model from pixel observations with an RSSM (Recurrent State-Space Model) and trains the policy in latent imagination. The RSSM latent state has two paths: ① deterministic path: ht=f(ht1,zt1,at1)h_t = f(h_{t-1}, z_{t-1}, a_{t-1}) — a recurrent network integrating history;② stochastic path: ztq(ztht,ot)z_t \sim q(z_t | h_t, o_t) — a stochastic latent variable encoding the current observation; reconstruction heads: o^t=o(ht,zt)\hat{o}_t = o(h_t, z_t) (reconstruct observation) and r^t=r(ht,zt)\hat{r}_t = r(h_t, z_t) (predict reward).
📌Overview
Policy training in latent imagination: two phases — first train the world model on real sequences only (observation reconstruction + reward prediction + KL regularizer keeping qq close to the prior); then freeze the model and 'dream': from the current latent state, roll out the latent trajectory with the current policy, then update actor-critic to maximize discounted return along this purely imagined trajectory. Policy and value heads are trained entirely in latent space, never touching the real environment.
💡Use Cases
pixel-based control (DMC, Atari), robot learning; Dreamer V1/V2/V3 are the SOTA model-based line for pixel control; interviews probe how 'dreaming in latent space' saves samples.
Key Problems Solved
pixel-level model-free RL is extremely sample-hungry; the RSSM's deterministic + stochastic hybrid captures both temporal dependencies and observation uncertainty, keeping long imagined rollouts stable (pure stochastic models diverge in imagination) — roughly an order-of-magnitude sample-efficiency gain over model-free SOTA.
🎯5 High-Frequency Exam Points
1
What do RSSM's deterministic and stochastic states capture? Write and explain h_t = f(h_{t-1}, z_{t-1}, a_{t-1}).
2
How does Dreamer train its policy 'in dreams'? The full latent imagined rollout procedure?
3
Why is the stochastic latent z_t necessary for imagined rollouts? What happens with purely deterministic or purely stochastic models?
4
Dreamer vs MuZero latent modeling: similarities and differences?
5
How much more sample-efficient is Dreamer than model-free SOTA on pixel control, and why?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Dreamer RSSM (Latent Imagination)"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardMuZero Latent ModelNext CardModel-Based vs Model-Free

🔗 More Reinforcement Learning Knowledge Cards

Actor-CriticBehavioral CloningContextual BanditCoT & Reasoning RL