Diffuser_TemporalUnet
The temporal U-Net of Diffuser, a diffusion model that plans by denoising whole trajectories.
Reinforcement learning and control · 287 operations Checked
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
- 4M
- Operations
- 287
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2022
- Cited by
- 140 (as of 22 October 2026)
- Authors
- Michael Janner, Yilun Du, Joshua B. Tenenbaum, Sergey Levine
- Source
- diffusers 0.38.0
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m757
- Graph hash
- 35d21b206df61111aa764a97a7a76d405d03ddfa4edcc723f54cce69614daf4f
- Skeleton hash
- 2a49dc4b233ce4c258a4fcdd4fcb25cde83119b400965a562523f31052f4fecb
- Architecture hash
- 2ee4c4efef657536e6ed871c5195c3c539fafd8e054cf0489e22cabbc394321e
- Diagram SHA-256
- 82b6010901df10c30c7186d6ee825792edee53b39f86a334d2d7e5be095849e1
- 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
Diffuser is a diffusion probabilistic model that plans by iteratively denoising trajectories. Its paper considers folding as much of the trajectory optimization pipeline as possible into the modeling problem, so that sampling from the model and planning with it become nearly identical. Where standard model-based planning techniques predict forward in time autoregressively, Diffuser predicts all timesteps of a plan simultaneously.
States and actions in a trajectory are predicted jointly, with the actions treated as additional dimensions of the state. The architecture resembles the U-Nets used in image-based diffusion models, but with two-dimensional spatial convolutions replaced by one-dimensional temporal convolutions. Because the model is fully convolutional, the horizon of its predictions is determined by the input dimensionality and not by the architecture.
The paper shows how classifier-guided sampling and image inpainting can be reinterpreted as planning strategies. The official code trains diffusion models and plans via value-function guided sampling on the D4RL locomotion environments. Diffuser has also been integrated into Diffusers, the Hugging Face diffusion model library.
Key idea. The paper presents a diffusion probabilistic model that plans by iteratively denoising trajectories, predicting all timesteps of a plan at once.
- diffuser
- temporal unet
- temporalunet
- unet1dmodel
- planning with diffusion
- trajectory diffusion
- diffusion planning
- offline reinforcement learning
- value-guided sampling
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{janner2022planningdiffusionflexiblebehavior,
title={Planning with Diffusion for Flexible Behavior Synthesis},
author={Michael Janner and Yilun Du and Joshua B. Tenenbaum and Sergey Levine},
year={2022},
eprint={2205.09991},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2205.09991},
}