Home Knowledge Base Recurrent State Space Models (RSSM)

Recurrent State Space Models (RSSM) are a hybrid latent dynamics architecture that simultaneously maintains a deterministic recurrent state for temporal consistency and a stochastic latent variable for uncertainty representation — combining the memory of RNNs with the probabilistic expressiveness of VAEs to model both the reliable patterns and the inherent randomness of real-world environments — introduced as the core of the Dreamer agent and now the dominant architecture for learning dynamics models in model-based reinforcement learning from high-dimensional observations.

What Is the RSSM?

RSSM Equations

The RSSM update at each step t given action a_{t-1} and observation o_t:

Training uses ELBO: reconstruction + reward prediction + KL(posterior || prior).

Why The Two-Path Design?

PropertyDeterministic PathStochastic Path
PurposeLong-range memory, temporal contextUncertainty, multimodal futures
UpdateAlways updated from previous state + actionSampled from distribution
During ImaginationUsed directlySampled from prior
Information FlowCarries all past context forwardCaptures current randomness

A purely deterministic model can't represent stochastic environments. A purely stochastic model (VAE at each step) loses temporal context. RSSM combines both strengths.

Evolution Across Dreamer Versions

RSSM is the workhorse of world-model-based RL — the architectural insight that bridging deterministic memory and stochastic uncertainty produces a dynamics model expressive enough to learn the structure of diverse real and simulated environments from raw sensory observations.

recurrent state space modelsrssmreinforcement learning

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.