arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.16955cs.CVcs.LGeess.IV
收藏

邻居GRPO:对比ODE策略优化对齐流模型

Neighbor GRPO: Contrastive ODE Policy Optimization Aligns Flow Models

CUHK MMLab(香港中文大学多模态实验室);Vivix Group Limited(Vivix集团有限公司);HKUST(香港理工大学);Shenzhen Loop Area Institute(深圳河套学院);CPII under InnoHK(创新香港下的CPII)

Dailan He, Guanlin Feng, Xingtong Ge, Yazhe Niu, Yi Zhang, Bingqi Ma, Guanglu Song, Yu Liu, Hongsheng Li

AI总结:

本文提出Neighbor GRPO,通过扰动ODE初始噪声条件生成候选轨迹,基于softmax距离优化,避免SDE,提升效率与生成质量。

摘要:

组相对策略优化(GRPO)在对齐图像和视频生成模型方面表现出色,但应用于现代流匹配模型时因确定性采样范式而面临挑战。当前方法通过将常微分方程(ODEs)转换为随机微分方程(SDEs)来解决,但导致信用分配效率低且与高阶求解器不兼容。本文从距离优化视角重新解读现有SDE-based GRPO方法,揭示其本质为对比学习。基于此,提出Neighbor GRPO,一种无需SDE的对齐算法。Neighbor GRPO通过扰动ODE初始噪声条件生成多样化候选轨迹,并利用基于softmax距离的替代跳跃策略优化模型。建立距离目标与策略梯度优化的理论联系,将方法严格整合到GRPO框架中。方法完整保留确定性ODE采样的优势,包括效率和高阶求解器兼容性。进一步引入对称锚点采样以提高计算效率,以及组内准范数重加权以解决奖励平坦化问题。大量实验表明,Neighbor GRPO在训练成本、收敛速度和生成质量方面显著优于SDE-based方法。

英文摘要:

Group Relative Policy Optimization (GRPO) has shown promise in aligning image and video generative models with human preferences. However, applying it to modern flow matching models is challenging because of its deterministic sampling paradigm. Current methods address this issue by converting Ordinary Differential Equations (ODEs) to Stochastic Differential Equations (SDEs), which introduce stochasticity. However, this SDE-based GRPO suffers from issues of inefficient credit assignment and incompatibility with high-order solvers for fewer-step sampling. In this paper, we first reinterpret existing SDE-based GRPO methods from a distance optimization perspective, revealing their underlying mechanism as a form of contrastive learning. Based on this insight, we propose Neighbor GRPO, a novel alignment algorithm that completely bypasses the need for SDEs. Neighbor GRPO generates a diverse set of candidate trajectories by perturbing the initial noise conditions of the ODE and optimizes the model using a softmax distance-based surrogate leaping policy. We establish a theoretical connection between this distance-based objective and policy gradient optimization, rigorously integrating our approach into the GRPO framework. Our method fully preserves the advantages of deterministic ODE sampling, including efficiency and compatibility with high-order solvers. We further introduce symmetric anchor sampling for computational efficiency and group-wise quasi-norm reweighting to address reward flattening. Extensive experiments demonstrate that Neighbor GRPO significantly outperforms SDE-based counterparts in terms of training cost, convergence speed, and generation quality.

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

↑