# MuZero: Planning with a learned model without knowing the rules

> MuZero learns latent transitions, rewards and values useful for planning instead of receiving environment rules. MCTS over this learned model matches AlphaZero in board games and advances Atari performance.

- URL: https://dmxsf.com/en/blog/muzero-mastering-atari-go-chess-and-shogi-without-rules/
- [DMXSF](https://dmxsf.com/en/about/)
- Published: 2019-11-29
- Updated: 2026-11-13
- Paper notes
- Paper: [Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model](https://arxiv.org/abs/1911.08265) (Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, et al. · arXiv, 2019)

MuZero extends AlphaZero from known rules plus learned policy/value to learned dynamics. Its model preserves information useful for reward, value and policy prediction rather than reconstructing every pixel.

## How it works

A representation network encodes observations, dynamics predicts next latent state and reward, and prediction emits policy and value. MCTS expands the latent model, while real trajectories train toward n-step returns and improved search policies.

## What the evidence shows

The paper matches AlphaZero in Go, chess and shogi and reports state-of-the-art Atari results. Search improves decisions at added per-action compute, and domains use different configurations.

## A reproducible check

This snippet checks a public formula or configuration; it does not reproduce full training.

```python
reward, discount, steps = 1.0, 0.99, 5
n_step_return = sum(reward * discount**i for i in range(steps))
print("five-step discounted reward =", n_step_return)
print("latent model predicts reward, policy and value")
```

```text
five-step discounted reward = 4.90099501
latent model predicts reward, policy and value
```

The arithmetic is reproducible, but model quality still depends on the full experiments in the paper.

## Limitations and common misreadings

The learned model is not a general interpretable simulator. Training requires substantial interaction and compute, and continuous real-world control is not established by these experiments.

## The key takeaway

MuZero shows that a model only needs to retain planning-relevant information: latent reward, value and policy predictions can support search without full reconstruction.

## Further reading

- [Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model](https://arxiv.org/abs/1911.08265)
- [AlphaZero](https://dmxsf.com/en/blog/alphazero-mastering-chess-and-shogi-by-self-play/)
- [DreamerV3](https://dmxsf.com/en/blog/dreamerv3-mastering-diverse-domains-through-world-models/)

## FAQ

### Does MuZero receive the board rules?

No explicit rules are supplied; it learns dynamics suitable for planning.

### Must its model reconstruct observations?

No. It predicts planning-relevant latent state, reward, value and policy.

### How does it choose actions?

It runs MCTS over the learned latent model and distills the improved search policy.
