All models

mu_zero_prediction

Planning network that learns a latent model predicting reward, policy and value, so tree search needs no rules.

Reinforcement learning and control · 128 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (27 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
MuZero
Parameters
73.5M
Operations
128
Framework
PyTorch
Recurrent
No
Published
Nature (arXiv 2019)
Cited by
1,204 (as of 17 October 2026)
Authors
Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m7516
Graph hash
ef81079cdcd4828a1c9cbc64d83e76d8e30e43d7a5cabaf8c933f137eb7a563c
Skeleton hash
0b27dde4649f86d308c248edac654785a0f2b6e8f363ab4021e32e0f9a2829ca
Architecture hash
836ea1257373d0396f927f2949735c0d25c407ab96471140c0f4a19caea5125b
Diagram SHA-256
9ed1c2a8d3d15670d4a370181c11a0c83b0092811d773c6d89b719abcf5ecef5
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Only the prediction function of the muzero-general residual network, traced on its own.

About this model's family

MuZero plans with a model it learns itself: a tree-based search over a learned model, with no knowledge of the environment's underlying dynamics. The model predicts only the quantities that matter for planning: the reward, the action-selection policy and the value function. On 57 Atari games, where model-based planning had historically struggled, it set a new state of the art. On Go, chess and shogi it matched the superhuman AlphaZero without being told the rules that AlphaZero was given.

The network is three functions: a representation function, a dynamics function and a prediction function. The representation function turns an observation such as a Go board or an Atari screen into a hidden state. The dynamics function is a recurrent process that takes the previous hidden state and a hypothetical action and returns an immediate reward and the next hidden state. That hidden state has no semantics of environment state attached; its sole purpose is to predict future policies, values and rewards. The prediction function reads policy and value from a hidden state, akin to AlphaZero's joint policy and value network. In the paper the representation function keeps AlphaZero's convolutional residual architecture but with 16 residual blocks instead of 20. The dynamics function shares that architecture, the prediction function keeps AlphaZero's, and every network uses 256 hidden planes.

The MuZero rows traced here come from muzero-general, a PyTorch reimplementation with both a residual network and a fully connected network, captured whole and as the three component networks. EfficientZero, the other member, is built on MuZero with three critical changes aimed at sample efficiency. The first uses self-supervised learning to make the environment model temporally consistent. The second learns the value prefix end to end, which eases the compounding error in the model. The network that does that is an LSTM. The third uses the learned model to correct off-policy value targets. With only two hours of real-time game experience it reaches 194.3% mean human performance on the Atari 100k benchmark.

Key idea. A learned model split into representation, dynamics and prediction functions and trained end to end only to predict reward, policy and value, so tree search can plan in environments whose rules it is never given.

  • muzero
  • efficientzero
  • muzero-general
  • model-based reinforcement learning
  • monte carlo tree search
  • mcts
  • atari
  • go
  • chess
  • shogi
  • alphazero successor
  • learned model

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{schrittwieser2020masteringatarigochess,
      title={Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model}, 
      author={Julian Schrittwieser and Ioannis Antonoglou and Thomas Hubert and Karen Simonyan and Laurent Sifre and Simon Schmitt and Arthur Guez and Edward Lockhart and Demis Hassabis and Thore Graepel and Timothy Lillicrap and David Silver},
      year={2020},
      eprint={1911.08265},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      doi={https://doi.org/10.1038/s41586-020-03051-4},
      url={https://arxiv.org/abs/1911.08265}, 
}