arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.09235cs.LGcs.AIstat.ML
收藏

在学习均值流中的方差缩减

On Variance Reduction in Learning Mean Flows

Purdue University(普渡大学)

Juanwu Lu, Ziran Wang

AI总结:

本文通过理论分析揭示了均值流训练中损失非递减和梯度方差无界的问题根源,提出最优系数的闭式解,并在基准和Diffusion Transformer上验证了其提升样本质量和FID趋势的效果。

摘要:

单步生成建模已成为缓解扩散和流匹配模型推断成本的有效方法。在无蒸馏方法中,均值流训练因条件速度场的误用而不稳定,导致损失非递减和梯度方差无界。本文建立理论,指出问题源于条件速度场在损失中的双重统计作用:作为无偏回归目标和雅可比-向量积内的蒙特卡洛控制变量,原损失错误地分配了系数。推导出最优系数的闭式解,并证明并发工作中的一系列修复方法对应于同一最优的实践实现。在二维基准和潜在Diffusion Transformer上对系数进行受控扫描,恢复了预测的偏差-方差顺序。最优系数在二维基准上提升了54%的样本质量,并在每一步匹配的DiT检查点上呈现单调FID趋势。关键的是,相同的DiT测量揭示了FID-MSE景观的定量不匹配:尽管梯度方差在内部系数值时最小,但最小化FID的系数偏好直接使用条件速度场。

英文摘要:

One-step generative modeling has emerged as a leading approach for amortizing the inference cost of diffusion and flow-matching models. Among distillation-free methods, MeanFlow training is notoriously unstable, with non-decreasing loss and unbounded gradient variance. In this work, we establish a theory that attributes this pathology to a misuse of the conditional velocity field. We show that the conditional velocity plays two distinct statistical roles in the loss: both as an unbiased regression target and as a Monte Carlo control variate in a Jacobi-vector product, with the original MeanFlow loss assigning the wrong coefficient to the latter. We derive the optimal coefficient in closed form and show that a family of fixes in concurrent works corresponds to different practical realizations of the same optimum. A controlled sweep of this coefficient on two-dimensional benchmarks and on a latent Diffusion Transformer recovers the predicted bias-variance ordering. Our DiT experiment also reveals a quantitative FID-MSE landscape mismatch. Specifically, although the gradient-MSE is minimized at an interior coefficient value near $β\!=\!0.94$, the coefficient that minimizes FID prefers to use conditional velocity directly at the unbiased corner. Our analysis therefore explains why MeanFlow is unstable and unifies its concurrent remedies, and shows that the variance-optimal coefficient need not coincide with the quality-optimal one.

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

↑