
DiffusionPolicy_Transformer
Reinforcement learning and control601 ops9M params
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
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.
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.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}