MaskFocus: 为掩码图像生成聚焦策略优化
MaskFocus: Focusing Policy Optimization on Critical Steps for Masked Image Generation
AI总结:
MaskFocus通过聚焦关键步骤优化策略,提升掩码图像生成模型的性能。
摘要:
强化学习(RL)在训练后语言模型和自回归视觉生成模型中展现出显著潜力,但将其应用于掩码生成模型仍具挑战性。核心问题是由于其多步和迭代精炼过程,策略优化需要考虑每一步的概率似然。这种对整个采样轨迹的依赖引入了高计算成本,而原生优化随机步骤往往会产生次优结果。在本文中,我们提出了MaskFocus,一种新的RL框架,通过聚焦关键步骤实现对掩码生成模型的有效策略优化。具体而言,我们通过测量每一步采样中间图像与最终生成图像之间的相似性,确定步骤级的信息增益。关键在于利用这一点来识别最关键和有价值的步骤,并在这些步骤上执行聚焦策略优化。此外,我们设计了一种基于熵的动态路由采样机制,以鼓励模型探索更多有价值的掩码策略,特别是对于熵较低的样本。在多个文本到图像基准上的广泛实验验证了我们方法的有效性。
英文摘要:
Reinforcement learning (RL) has demonstrated significant potential for post-training language models and autoregressive visual generative models, but adapting RL to masked generative models remains challenging. The core factor is that policy optimization requires accounting for the probability likelihood of each step due to its multi-step and iterative refinement process. This reliance on entire sampling trajectories introduces high computational cost, whereas natively optimizing random steps often yields suboptimal results. In this paper, we present MaskFocus, a novel RL framework that achieves effective policy optimization for masked generative models by focusing on critical steps. Specifically, we determine the step-level information gain by measuring the similarity between the intermediate images at each sampling step and the final generated image. Crucially, we leverage this to identify the most critical and valuable steps and execute focused policy optimization on them. Furthermore, we design a dynamic routing sampling mechanism based on entropy to encourage the model to explore more valuable masking strategies for samples with low entropy. Extensive experiments on multiple Text-to-Image benchmarks validate the effectiveness of our method.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。