All models

mu_zero_representation

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

Reinforcement learning and control · 187 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 (20 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
187
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
m7517
Graph hash
71fbfaa80fb87d6fc414701b5b2a02a28170292febfd4d61ce8213dd764c6644
Skeleton hash
2fb591a5d2ee45370ad6c4da5eca0a946b133ea399a25c789042d7b94a909d6a
Architecture hash
090bd4e87c2987165cd1327fa1208c252b319b20a05557a0f5c37ad9132f7f5f
Diagram SHA-256
8bf2b33974d24088de5e07d5dddbe781f93f8b788d57adfabba6ac05b7e79c74
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 representation 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}, 
}