Qwen-Image-2.0-RL技术报告
Qwen-Image-2.0-RL Technical Report
摘要
我们提出了Qwen-Image-2.0-RL这一训练后处理流程。该流程通过基于人类反馈的强化学习与在线策略蒸馏技术,提升Qwen-Image-2.0扩散模型的视觉质量以及遵循指令的能力。为了获得可靠的奖励信号,我们通过对视觉语言模型进行微调,结合逐点评分机制和思维链推理方法,构建出针对特定任务的复合奖励模型。在文本到图像生成任务中,这些奖励模型涵盖了一致性、美观性和肖像清晰度等维度;而在图像编辑任务中,奖励系统则关注于遵循指令的准确性和面部特征保持能力。基于这一奖励系统,我们开发了一种可扩展的基于GRPO的强化学习训练框架,该框架采用了混合无分类器引导策略来保留预训练知识,通过组内奖励范围筛选来优化提示词质量,同时还能对不同类别的奖励权重进行校准。为了将T2I和编辑任务所需的强化学习策略整合在一起,我们采用在线策略蒸馏作为最后的训练阶段,通过轨迹级别的速度匹配方式,将多个“教师”模型合并为单个“学生”模型。大量测试结果表明,Qwen-Image-2.0-RL在Qwen-Image-Bench测试集上的综合得分达到了57.84分,比基础模型提升了2.61分;在文本到图像任务中,Elo评分达到了1193分,比基础模型提升了78分;在图像编辑任务中则达到了1349分,比基础模型提升了93分。这些结果表明,该模型在美观性、对提示词的遵循程度以及编辑准确性方面都取得了显著的提升。
English Abstract
We present Qwen-Image-2.0-RL, a post-training pipeline that applies reinforcement learning from human feedback (RLHF) and on-policy distillation (OPD) to improve both the visual quality and instruction-following capability of the Qwen-Image-2.0 diffusion model. To provide reliable reward signals, we construct task-specific composite reward models by fine-tuning vision-language models with a pointwise scoring paradigm and chain-of-thought reasoning. For text-to-image generation, the reward models cover alignment, aesthetics, and portrait fidelity dimensions. For image editing tasks, the reward system addresses instruction-following accuracy and face identity preservation. Building on this reward system, we develop a scalable GRPO-based RL training framework, incorporating a hybrid classifier-free guidance (CFG) strategy to preserve pre-trained knowledge, prompt curation via intra-group reward range filtering, and per-category reward weight calibration. To merge the task-specialized RL policies for T2I and editing, we propose on-policy distillation as the final training stage, which consolidates multiple teachers into a single student model through trajectory-level velocity matching. Extensive evaluation shows that Qwen-Image-2.0-RL achieves 57.84 overall score on Qwen-Image-Bench (+2.61 over the base model), Elo ratings of 1193 in text-to-image arena (+78) and 1349 in image edit arena (+93), demonstrating consistent gains in aesthetic quality, prompt adherence, and editing accuracy.