时机至关重要:流匹配在线策略蒸馏中何时查询、何时跳过
Timing Matters Twice: When to Query and When to Skip in Flow-Matching On-Policy Distillation
AI总结:
该研究针对流匹配在线策略蒸馏的冗余计算问题,提出PhaseOPD框架,通过在线识别生成阶段自适应查询教师并跳过冗余回滚,在SD3.5-M上减少41.3%训练时间并提升多项指标。
摘要:
在线策略蒸馏(OPD)使流匹配模型能够通过对学生生成轨迹的监督,从专业教师那里获取互补能力。然而,不同的评估维度(如美学和OCR准确率)以及不同的任务(如图像生成与编辑),强调去噪过程的不同方面,这表明它们的有效监督可能发生在不同阶段。现有方法通常从预定义的时间步分布中选择监督状态,这可能忽略这些依赖阶段的差异,并产生不必要的计算开销。这促使两个关键的时机决策:何时根据不断发展的生成过程自适应查询教师以获取有效监督,以及何时跳过剩余的回滚以避免冗余计算。在本文中,我们提出PhaseOPD,这是一个感知阶段的查询-跳过框架,它从预测的干净潜在变量的修订中在线识别生成阶段,使用现有的学生速度预测而无需额外的模型评估。对于每个任务分配的教师,PhaseOPD根据其阶段偏好选择监督状态,并在所有查询决策最终确定后跳过未使用的回滚后缀,保留单查询速度蒸馏目标。在SD3.5-M上,PhaseOPD在每个本地批次中仅执行16个回滚位置中的5.56个,与DanceOPD相比减少了41.3%的训练时间,同时提高了美学、GenEval和OCR分数。
英文摘要:
On-policy distillation (OPD) enables flow-matching models to acquire complementary capabilities from specialized teachers through supervision on student-generated trajectories. However, different evaluation dimensions, such as aesthetics and OCR accuracy, and different tasks, such as image generation and editing, emphasize different aspects of the denoising process, suggesting that their effective supervision may occur at different stages. Existing methods typically select supervision states from predefined timestep distributions, which may overlook these phase-dependent differences and incur unnecessary computational overhead. This motivates two critical timing decisions: when to adaptively query teachers for effective supervision based on the evolving generative process, and when to skip the remaining rollout to avoid redundant computation. In this paper, we introduce PhaseOPD, a phase-aware query-and-skip framework that identifies generative phases online from revisions of predicted-clean latents, using existing student velocity predictions without additional model evaluations. For each task-assigned teacher, PhaseOPD selects a supervision state based on its phase preference and skips the unused rollout suffix once all query decisions are finalized, preserving the single-query velocity-distillation objective. On SD3.5-M, PhaseOPD executes only 5.56 of 16 rollout positions per local batch, reducing training time by 41.3% relative to DanceOPD while improving Aesthetic, GenEval, and OCR scores.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。