All models

EfficientZero

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

Reinforcement learning and control · 493 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 (180 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
8.4M
Operations
493
Framework
PyTorch
Recurrent
Yes
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
m900
Graph hash
da13ff415a04ec71368721a386961d69983abf53ba15437fdae56230939c732e
Skeleton hash
dc0541cae3b0c341b0a758b9587d85ea6377824039a878a8111983c7a5d0a68f
Architecture hash
d2684d63b1d463a9cd5884b0d31fbb69c4cadfacd8d82a647c2441ed69549c76
Diagram SHA-256
27f73d80b68782e323cf8d37326f4e3ecbfcdde54a2c18f52b3dd80ac08408cf
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

EfficientZero: MuZero with a self-supervised consistency loss, an end-to-end value prefix and off-policy correction.

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}, 
}