2025-05-09 · 专家 · 机器学习 · 计算机视觉

Flow-GRPO: Training Flow Matching Models via Online RL

Flow-GRPO提出了一种将在线强化学习(RL)集成到流匹配模型中的方法,通过将确定性常微分方程(ODE)转换为等效随机微分方程(SDE)和减少去噪步骤,显著提高了采样效率和图像生成质量。

更新于 2025-05-09。作者:Jie Liu、Gongye Liu、Jiajun Liang、Yangguang Li、Jiaheng Liu、Xintao Wang、Pengfei Wan、Di Zhang、Wanli Ouyang。

中文摘要

我们提出了Flow-GRPO,这是第一个将在线强化学习(RL)集成到流匹配模型中的方法。我们的方法采用两个关键策略:(1) 将常微分方程(ODE)转换为随机微分方程(SDE),使方程在所有时间步长上与原始模型的边际分布相匹配,从而实现RL探索的统计采样;(2) 采用去噪降维策略,在保持原始推理时间步数不变的情况下,减少训练去噪步骤,显著提高采样效率而不降低性能。实证研究表明,Flow-GRPO在多个文本到图像任务中均表现出有效性。对于复杂组合,经过RL调优的SD3.5能生成近乎完美的物体计数、空间关系和精细属性,将GenEval准确率从63%提升至95%。在视觉文本渲染中,其准确率从59%提高至92%,显著增强了文本生成能力。Flow-GRPO在人类偏好对齐方面也取得了实质性进步。值得注意的是,在我们的实验中几乎没有出现奖励黑客行为,这意味着奖励的增加并未以牺牲图像质量或多样性为代价,两者都保持了稳定。

英文摘要

We propose Flow-GRPO, the first method integrating online reinforcement learning (RL) into flow matching models. Our approach uses two key strategies: (1) an ODE-to-SDE conversion that transforms a deterministic Ordinary Differential Equation (ODE) into an equivalent Stochastic Differential Equation (SDE) that matches the original model's marginal distribution at all timesteps, enabling statistical sampling for RL exploration; and (2) a Denoising Reduction strategy that reduces training denoising steps while retaining the original inference timestep number, significantly improving sampling efficiency without performance degradation. Empirically, Flow-GRPO is effective across multiple text-to-image tasks. For complex compositions, RL-tuned SD3.5 generates nearly perfect object counts, spatial relations, and fine-grained attributes, boosting GenEval accuracy from 63% to 95%. In visual text rendering, its accuracy improves from 59% to 92%, significantly enhancing text generation. Flow-GRPO also achieves substantial gains in human preference alignment. Notably, little to no reward hacking occurred, meaning rewards did not increase at the cost of image quality or diversity, and both remained stable in our experiments.

解读

一句话总结

Flow-GRPO提出了一种将在线强化学习(RL)集成到流匹配模型中的方法,通过将确定性常微分方程(ODE)转换为等效随机微分方程(SDE)和减少去噪步骤,显著提高了采样效率和图像生成质量。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt