Diffusion-Based Robot Policies

Model a conditional distribution over action sequences, explain why demonstrations support multiple modes, and trace the receding-horizon execution loop.

Source
Anbloq
Language
English
Created
Updated
Chapters
3
Reading time
2 min
In this article3 chapters
  1. Action chunks preserve coordination across steps
  2. Averaging modes can create an implausible motion
  3. Execute a prefix and replan with new observations

Action chunks preserve coordination across steps

An imitation dataset pairs observations \(o\) with demonstrated action chunks \(a_0=(a_0^1,\ldots,a_0^H)\). Training corrupts a chunk through a schedule, for example

\[ a_t=\sqrt{\bar\alpha_t}\,a_0+\sqrt{1-\bar\alpha_t}\,\epsilon, \qquad \epsilon\sim\mathcal N(0,I). \]

A denoiser receives the noisy sequence, diffusion time and an encoded observation. Sampling reverses those noise stages to produce a temporally coordinated action sequence. Diffusion time indexes denoising steps, independently of the real control cycle. Score-based generative modeling explains why denoising can approximate the conditional distribution.

Gaussian noising explains the schedule used to corrupt a demonstrated sequence. Trajectory time scaling illustrates why the real timing and derivatives of a movement need their own interpretation after generation.

Averaging modes can create an implausible motion

In a tabletop sorting task, demonstrations can move a gripper around a divider on either side. Under squared loss, directly predicting the mean of two valid action trajectories could send it toward the divider. Conditional sequence sampling can select one coherent mode if the model learned it. Predictions across the chunk are correlated, which also avoids choosing left in one step and right in the next merely because individual action predictions were sampled independently.

Execute a prefix and replan with new observations

A controller can execute only \(K<H\) actions of the predicted chunk, then observe again and draw a new chunk. Longer prefixes improve temporal consistency and reduce the frequency of expensive sampling. Shorter prefixes react sooner to disturbances. Repeated sampling may still alternate between choices without information about prior commitments. Distribution shift after a missed grasp, actuator limits and inference overruns require separate evaluation. Offline reinforcement learning estimates long-term returns from fixed logs. Model predictive control replans under an explicit dynamics model, and formal verification describes how to enforce a separate safety constraint.[1][2]

References

  1. Cheng Chi et al., Diffusion Policy: Visuomotor Policy Learning via Action Diffusion ↩
  2. Jonathan Ho, Ajay Jain and Pieter Abbeel, Denoising Diffusion Probabilistic Models ↩