All models

DiffusionPolicy_Transformer

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

Reinforcement learning and control · 601 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 (21 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
9M
Operations
601
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
m763
Graph hash
6bb524a622e0af6adec4fe895b83cf8e52b5ce32c0cedc7c6a4f5f0193da75ec
Skeleton hash
400c2f3576f0ecb3b5061599a7ba51528910151c7f28820b90b1157972a6d082
Architecture hash
a38c88411b03624c71afe268367c97fb9f8150490e3a446ce1777f65373f7534
Diagram SHA-256
5a0382218fdc9211cdedd1af79a1bc0643955bdd2ebe3b2b22f20386bf3b6c45
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}, 
}