All models

DiffusionPolicy_Unet1D

Robot actions denoised out of noise: a diffusion model over action sequences, as a 1D U-Net or a transformer.

Reinforcement learning and control · 219 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 (44 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
65.8M
Operations
219
Framework
PyTorch
Recurrent
No
Published
RSS 2023
Cited by
12 (as of 17 October 2026)
Authors
Cheng Chi, Zhenjia Xu, Siyuan Feng 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
m764
Graph hash
44bc78288a83035d9791a63d34a8844150ff676efd8bf6d619c5659145bbbffd
Skeleton hash
7387c20328741ecf9ef54fea14bedbfbaf27522beae01506a69537bfc6bd16c9
Architecture hash
15c43e91a1e6d680dcf90ea230ecdd2b06d6abf6e99b20e1537a4d9b6bff3628
Diagram SHA-256
f780f72216c72599c0d694c66899da2f94e8384c592202f2323d8e1633c76fb4
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

About this model's family

Diffusion Policy is a new way of generating robot behavior by representing a robot's visuomotor policy as a conditional denoising diffusion process. Instead of directly outputting an action, the policy infers the action-score gradient, conditioned on visual observations, for K denoising iterations. Benchmarked across 15 different tasks from 4 different robot manipulation benchmarks, it consistently outperforms existing state-of-the-art robot learning methods with an average improvement of 46.9%. The diffusion formulation gracefully handles multimodal action distributions, suits high-dimensional action spaces and exhibits impressive training stability.

At time step t the policy takes the latest To steps of observation data as input and predicts Tp steps of actions, of which Ta steps are executed on the robot without re-planning. The scheme encourages temporal action consistency while remaining responsive. A DDPM approximates the conditional distribution of actions given observations instead of the joint distribution used for planning. Excluding observation features from the output of the denoising process significantly improves inference speed and better accommodates real-time control. Neither the inference nor the training process involves evaluating the intractable normalization constant, which makes Diffusion Policy training more stable than energy-based alternatives. The CNN-based backbone works well on most tasks out of the box, but performs poorly when the desired action sequence changes quickly and sharply through time. In the state-based experiments most of the best-performing policies were achieved with the transformer backbone, especially when task complexity and rate of action change are high, though the transformer was more sensitive to hyperparameters.

Both members captured here are noise-prediction networks from the official codebase. Its ConditionalUnet1D implementation is adapted from Planning with Diffusion. Its TransformerForDiffusion implementation is adapted from MinGPT. The Square Cosine Schedule proposed in iDDPM worked best for the control tasks. For real-time control, DDIM with 100 training iterations and 10 inference iterations enables 0.1s inference latency on a Nvidia 3080 GPU. Diffusion Policy with a position-control action space consistently outperforms Diffusion Policy with velocity control. The authors' self-contained Google Colab notebooks are the easiest way to play with Diffusion Policy.

Key idea. Diffusion Policy generates robot behavior by representing a robot's visuomotor policy as a conditional denoising diffusion process. Its key technical contributions are the incorporation of receding horizon control, visual conditioning, and the time-series diffusion transformer.

  • Diffusion Policy
  • DiffusionPolicy
  • Diffusion Policy-T
  • Diffusion Policy-C
  • TransformerForDiffusion
  • ConditionalUnet1D
  • visuomotor policy
  • action diffusion
  • imitation learning
  • behavior cloning
  • DDPM
  • denoising diffusion
  • robot manipulation
  • Push-T
  • robomimic

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

Cite the paper

@misc{chi2024diffusionpolicyvisuomotorpolicy,
      title={Diffusion Policy: Visuomotor Policy Learning via Action Diffusion}, 
      author={Cheng Chi and Zhenjia Xu and Siyuan Feng and Eric Cousineau and Yilun Du and Benjamin Burchfiel and Russ Tedrake and Shuran Song},
      year={2024},
      eprint={2303.04137},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2303.04137}, 
}