arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2507.21802cs.AIcs.CV
收藏

MixGRPO: 通过混合ODE-SDE解锁基于流的GRPO效率

MixGRPO: Unlocking Flow-based GRPO Efficiency with Mixed ODE-SDE

Hunyuan, Tencent(腾讯混元);School of Computer Science, Peking University(北京大学计算机学院);Computer Center, Peking University(北京大学计算中心);Department of Engineering Physics, Tsinghua University(清华大学工程物理系)

Junzhe Li, Yutao Cui, Tao Huang, Weijie Kong, Yiming Cheng, Chuxuan Zeng, Yinping Ma, Chun Fan, Miles Yang, Zhao Zhong, Liefeng Bo

AI总结:

本文提出MixGRPO框架,通过结合ODE和SDE混合采样策略,优化流匹配模型的效率与性能,采用滑动窗口机制减少优化开销,提升收敛速度,其中MixGRPO-Flash进一步降低训练时间达71%。

摘要:

尽管GRPO显著提升了流匹配模型在图像生成中的人类偏好对齐效果,但FlowGRPO和DanceGRPO仍因需在马尔可夫决策过程(MDP)指定的去噪步骤中采样和优化而效率低下。本文提出MixGRPO,一种利用混合采样策略灵活性的新框架,通过整合随机微分方程(SDE)和常微分方程(ODE)。该方法优化MDP内的过程以提高效率和性能。具体而言,MixGRPO引入滑动窗口机制,在窗口内使用SDE采样和GRPO引导优化,而在窗口外应用ODE采样。此设计将采样随机性限制在窗口内的时间步,从而减少优化开销,并允许更集中的梯度更新以加速收敛。此外,由于窗口外的时间步不参与优化,支持更高阶求解器以加快采样。因此,我们提出了一个更快的变种,称为MixGRPO-Flash,进一步提高训练效率,同时实现与性能相当的成果。MixGRPO在人类偏好对齐的多个维度上实现了显著提升,优于DanceGRPO在效果和效率方面,训练时间几乎减少50%。值得注意的是,MixGRPO-Flash进一步将训练时间减少了71%。

英文摘要:

Although GRPO substantially enhances flow matching models in human preference alignment of image generation, methods such as FlowGRPO and DanceGRPO still exhibit inefficiency due to the necessity of sampling and optimizing over all denoising steps specified by the Markov Decision Process (MDP). In this paper, we propose $\textbf{MixGRPO}$, a novel framework that leverages the flexibility of mixed sampling strategies through the integration of stochastic differential equations (SDE) and ordinary differential equations (ODE). This streamlines the optimization process within the MDP to improve efficiency and boost performance. Specifically, MixGRPO introduces a sliding window mechanism, using SDE sampling and GRPO-guided optimization only within the window, while applying ODE sampling outside. This design confines sampling randomness to the time-steps within the window, thereby reducing the optimization overhead, and allowing for more focused gradient updates to accelerate convergence. Additionally, as time-steps beyond the sliding window are not involved in optimization, higher-order solvers are supported for faster sampling. So we present a faster variant, termed $\textbf{MixGRPO-Flash}$, which further improves training efficiency while achieving comparable performance. MixGRPO exhibits substantial gains across multiple dimensions of human preference alignment, outperforming DanceGRPO in both effectiveness and efficiency, with nearly 50% lower training time. Notably, MixGRPO-Flash further reduces training time by 71%.

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

↑