Learning diffusion models as priors accelerates robot motion planning optimization by sampling from posterior trajectory distributions.