arXiv:2605.08063cs.CVcs.AI2026-05被引 18

用在线蒸馏提升文本生成图像模型的多任务对齐效果

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

论文配图:Flow-OPD: On-Policy Distillation for Flow Matching Models
图 1 · 摘自论文原文
  • 通过两阶段策略先训练专用教师模型,再融合为统一学生模型
  • 在GenEval和OCR任务上分别提升至92分和94分,超越原始方法10分
  • 解决奖励稀疏与梯度干扰问题,适合构建通用图文生成系统

现有文本到图像的流匹配模型在多任务对齐中面临两大瓶颈:标量奖励导致的奖励稀疏性,以及异构目标联合优化引发的梯度干扰,共同造成指标间‘此消彼长’与普遍的奖励欺骗现象。受大语言模型中在线蒸馏(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发布。

原文摘要 · Abstract (English)

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 .

文本生成图像流匹配在线蒸馏多任务对齐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。