Modular Diffusion Policy Training: Decoupling and Recombining Guidance and Diffusion for Offline RL