arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08063cs.CVcs.AI

Flow-OPD:面向流匹配模型的在线策略蒸馏

Flow-OPD: On-Policy Distillation for Flow Matching Models

University of Science and Technology of China(中国科学技术大学);University of California, Los Angeles(加州大学洛杉矶分校);The Chinese University of Hong Kong(香港中文大学);Xiaohongshu Inc.(小红书公司)

Zhen Fang, Wenxuan Huang, Yu Zeng, Yiming Zhao, Shuang Chen, Kaituo Feng, Yunlong Lin, Lin Chen, Zehui Chen, Shaosheng Cao, Feng Zhao

AI总结:

提出Flow-OPD框架,通过两阶段对齐策略(单奖励GRPO微调专家+流式冷启动与在线策略蒸馏)解决流匹配模型在多任务对齐中的奖励稀疏和梯度干扰问题,并引入流形锚点正则化抑制美学退化,在GenEval和OCR指标上显著提升。

摘要:

现有的流匹配(FM)文本到图像模型在多任务对齐下存在两个关键瓶颈:标量奖励导致的奖励稀疏性,以及联合优化异构目标引起的梯度干扰,这共同导致了竞争指标的“跷跷板效应”和普遍的奖励破解。受大型语言模型社区中在线策略蒸馏(OPD)成功的启发,我们提出了Flow-OPD,这是第一个将在线策略蒸馏集成到流匹配模型中的统一后训练框架。Flow-OPD采用两阶段对齐策略:首先通过单奖励GRPO微调培养领域专精的教师模型,使每个专家在隔离环境中达到其性能上限;然后通过基于流的冷启动方案建立稳健的初始策略,并通过在线策略采样、任务路由标记和密集轨迹级监督的三步编排,将异构专业知识无缝整合到单个学生模型中。我们进一步引入了流形锚点正则化(MAR),它利用任务无关的教师提供全数据监督,将生成锚定到高质量流形,有效缓解了纯强化学习对齐中常见的美学退化。基于Stable Diffusion 3.5 Medium,Flow-OPD将GenEval分数从63提升至92,OCR准确率从59提升至94,相比原始GRPO总体提升约10个百分点,同时保持了图像保真度和人类偏好对齐,并展现出“超越教师”的涌现效应。这些结果确立了Flow-OPD作为构建通用文本到图像模型的可扩展对齐范式。代码和权重将在 https://github.com/CostaliyA/Flow-OPD 发布。

英文摘要:

Existing Flow Matching (FM) text-to-image models suffer from two critical bottlenecks under multi-task alignment: the reward sparsity induced by scalar-valued rewards, and the gradient interference arising from jointly optimizing heterogeneous objectives, which together give rise to a 'seesaw effect' of competing metrics and pervasive reward hacking. Inspired by the success of On-Policy Distillation (OPD) in the large language model community, we propose Flow-OPD, the first unified post-training framework that integrates on-policy distillation into Flow Matching models. Flow-OPD adopts a two-stage alignment strategy: it first cultivates domain-specialized teacher models via single-reward GRPO fine-tuning, allowing each expert to reach its performance ceiling in isolation; it then establishes a robust initial policy through a Flow-based Cold-Start scheme and seamlessly consolidates heterogeneous expertise into a single student via a three-step orchestration of on-policy sampling, task-routing labeling, and dense trajectory-level supervision. We further introduce Manifold Anchor Regularization (MAR), which leverages a task-agnostic teacher to provide full-data supervision that anchors generation to a high-quality manifold, effectively mitigating the aesthetic degradation commonly observed in purely RL-driven alignment. Built upon Stable Diffusion 3.5 Medium, Flow-OPD raises the GenEval score from 63 to 92 and the OCR accuracy from 59 to 94, yielding an overall improvement of roughly 10 points over vanilla GRPO, while preserving image fidelity and human-preference alignment and exhibiting an emergent 'teacher-surpassing' effect. These results establish Flow-OPD as a scalable alignment paradigm for building generalist text-to-image models. The codes and weights will be released in: https://github.com/CostaliyA/Flow-OPD .

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

↑