MuZero
AlphaZero plans by using the real rules of a game. It can ask, "If I make this move, what board position comes next?" because the simulator is given. MuZero removes that assumption. It learns the internal model it uses for planning, then combines that learned model with search.
The surprising part is what MuZero does not learn. It does not need to reconstruct the full observation, draw every future board, or explain the environment in human terms. It learns predictions that are useful for action selection: rewards, values, and policy priors in a latent state space. This is a practical lesson for world models generally. A model can be valuable because it supports decisions, even if it is not a faithful simulator of every detail.
MuZero is usually described with three learned functions:
The representation function encodes the current observation into an internal state . The dynamics function takes a latent state and action, then predicts the next latent state and reward. The prediction function outputs a policy prior and value estimate for search. Monte Carlo tree search uses these predictions to allocate visits, compare branches, and produce an improved action target.
Equation walkthrough
MuZero learns three decision-useful functions
Click each function to see how MuZero plans without knowing the environment rules.
Representation
observation to hidden state
The representation function h turns the real observation into the first hidden state for search. This is the bridge from the environment into MuZero's internal planning space.
Subcomponents
The real input from the environment, such as a board position, Atari frame stack, or sensor reading.
A neural network that compresses the observation into a latent state useful for planning.
The starting latent state for MCTS. It does not need to reconstruct the full observation; it needs to support good decisions.
At acting time, MuZero performs MCTS at each timestep. An action is sampled from the search policy, the environment returns a new observation and reward, and the episode trajectory is stored in replay. At training time, a trajectory is sampled from replay, the representation function encodes past observations into , and the dynamics function is unrolled for steps using the real actions from that trajectory.
The model is trained end to end through time to predict policy targets from search, observed rewards, and value targets such as final rewards or n-step returns. Search improves the policy target; learning improves the model that future search will use.
MuZero process
Planning, acting, and training
Choose a stage to see how MuZero uses its learned model, real environment feedback, and MCTS targets.
Tree search over imagined futures
MuZero plans in latent space. It starts from observations, unrolls candidate actions with learned dynamics, then evaluates each imagined state with policy and value predictions.
Past observations are encoded into the initial hidden state for search.
Given a previous hidden state and candidate action, the dynamics function predicts a new hidden state and immediate reward.
The prediction function computes a policy prior and value estimate from the hidden state.
Takeaway
MCTS combines imagined rewards, values, and policy priors to compare action branches before any real action is taken.

MuZero vs Dreamer
Both use learned latent dynamics. Dreamer mainly trains actor and critic through imagined rollouts. MuZero mainly uses the learned dynamics inside search, producing stronger planning targets from each real state. The shared idea is latent prediction; the difference is how the imagined future is used.
Why does MuZero's planning model not need to predict every detail of the environment?