All models

DIAMOND_denoiser

The U-Net denoiser that dreams the next Atari frame for a diffusion world model.

Reinforcement learning and control · 602 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 (25 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

Parameters
4.4M
Operations
602
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2024
Cited by
45 (as of 16 October 2026)
Authors
Eloi Alonso, Adam Jelley, Vincent Micheli and others
License
MIT
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
m546
Graph hash
def1e6362edf795487be08a8b9d6c3a24e7bb40595ab1b2e25139c1e88f6dcfb
Skeleton hash
f9624270041c0bfda14b469651d37ebcbfb94b96984046a4685d2d96dacd1d09
Architecture hash
68bc018726a52ae4f47a799d456a7630f2f368428ccc4ca1cae46d1de2088b0f
Diagram SHA-256
7b8ee7c4dfcfa85c1ad4cf12fd107cf77381ac0485a435edb22d37946be2b892
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

This graph is the denoiser at the heart of DIAMOND, a diffusion world model: a network that dreams the next frame of an Atari game so that a reinforcement learning agent can be trained entirely inside the dream. The motivation is that earlier world models compress the world into discrete latent tokens, and that compression can throw away visual details an agent needs. Diffusion models had meanwhile come to dominate image generation, so the authors asked what it takes to make diffusion work as a world model.

The network itself is a standard 2D U-Net, conditioned on the last 4 frames and actions and on the diffusion time. Past frames are stacked onto the noisy next frame along the channel axis, while actions enter through adaptive group normalisation inside the residual blocks. Rather than the older DDPM recipe, the model follows the EDM formulation of Karras et al. (2022). That choice uses network preconditioning, so the output you see is combined with a skip of the noised input to give the denoised frame. The authors found this EDM-based world model stable even with a single denoising step.

Frames are rendered at 64 by 64, and the paper notes that DIAMOND needs only 3 network evaluations per frame against 16 for IRIS. On the Atari 100k benchmark the agent reaches a mean human normalised score of 1.46, which the paper reports as the best for agents trained entirely within a world model. The same world model, trained on static Counter-Strike: Global Offensive gameplay, works as an interactive neural game engine.

Key idea. DIAMOND replaces the discrete latent world model with a diffusion model of raw frames, showing that keeping visual detail improves the agent trained inside it.

  • DIAMOND
  • DIffusion As a Model Of eNvironment Dreams
  • diffusion world model
  • world model
  • Atari 100k
  • denoiser
  • EDM
  • neural game engine
  • Counter-Strike

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

Cite the paper

@misc{alonso2024diffusionworldmodelingvisual,
      title={Diffusion for World Modeling: Visual Details Matter in Atari}, 
      author={Eloi Alonso and Adam Jelley and Vincent Micheli and Anssi Kanervisto and Amos Storkey and Tim Pearce and François Fleuret},
      year={2024},
      eprint={2405.12399},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2405.12399}, 
}