arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.10482cs.LGcs.AI
收藏

通过扩散时间步反向传播微调扩散策略

Fine-tuning Diffusion Policies with Backpropagation Through Diffusion Timesteps

Tsinghua University(清华大学)

Ningyuan Yang, Jiaxuan Gao, Feng Gao, Yi Wu, Chao Yu

AI总结:

针对扩散策略RL微调中似然不可处理、样本效率低的问题,本文提出NCDPO,将去噪步骤建模为噪声条件可微变换以实现跨扩散时间步反向传播。

摘要:

扩散策略被广泛应用于机器人、游戏和自动驾驶等决策场景,凭借其强大的表示能力,能够从示范数据中学习多样化技能。然而,示范数据的次优性和有限覆盖范围可能导致扩散策略生成次优轨迹,甚至造成灾难性失败。尽管基于强化学习(RL)的微调已成为解决这些局限的一种有前景方案,但现有方法难以有效地将近端策略优化(PPO)适配到扩散模型。这一挑战源于去噪过程中动作似然估计在计算上不可处理,从而导致复杂的优化目标。在从随机初始化策略开始的实验中,我们发现,与直接将PPO应用于MLP策略(MLP+PPO)相比,在线调优扩散策略表现出低得多的样本效率。为应对这些挑战,我们提出NCDPO,这是一种将扩散策略重新表述为噪声条件确定性策略的新颖框架。通过将每个去噪步骤视为以预采样噪声为条件的可微变换,NCDPO实现了可处理的似然评估以及跨越所有扩散时间步的梯度反向传播。实验表明,从零开始训练时,NCDPO达到了与MLP+PPO相当的样本效率,并在包括连续机器人控制和多智能体游戏场景在内的多种基准上,于样本效率和最终性能方面均优于现有方法。此外,实验结果表明,我们的方法对扩散策略中的去噪时间步数量具有鲁棒性。

英文摘要:

Diffusion policies, widely adopted in decision-making scenarios such as robotics, gaming and autonomous driving, are capable of learning diverse skills from demonstration data due to their high representation power. However, the sub-optimal and limited coverage of demonstration data could lead to diffusion policies that generate sub-optimal trajectories and even catastrophic failures. While reinforcement learning (RL)-based fine-tuning has emerged as a promising solution to address these limitations, existing approaches struggle to effectively adapt Proximal Policy Optimization (PPO) to diffusion models. This challenge stems from the computational intractability of action likelihood estimation during the denoising process, which leads to complicated optimization objectives. In our experiments starting from randomly initialized policies, we find that online tuning of Diffusion Policies demonstrates much lower sample efficiency compared to directly applying PPO on MLP policies (MLP+PPO). To address these challenges, we introduce NCDPO, a novel framework that reformulates Diffusion Policy as a noise-conditioned deterministic policy. By treating each denoising step as a differentiable transformation conditioned on pre-sampled noise, NCDPO enables tractable likelihood evaluation and gradient backpropagation through all diffusion timesteps. Our experiments demonstrate that NCDPO achieves sample efficiency comparable to MLP+PPO when training from scratch, outperforming existing methods in both sample efficiency and final performance across diverse benchmarks, including continuous robot control and multi-agent game scenarios. Furthermore, our experimental results show that our method is robust to the number denoising timesteps in the Diffusion Policy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑