arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.00941cs.LGcs.CV
收藏

散度即不确定性:流匹配的闭式后验协方差

Uncertainty in a Single Pass: A Closed-Form Identity for One-Step Flow Matching

Yale University(耶鲁大学);Shanxi University(山西大学);Harvard Medical School(哈佛医学院)

Jiarui Xing, Song Wang, Jian Wang

AI总结:

本文通过扩展Tweedie公式到流匹配插值,推导出生成轨迹上每一点后验协方差的精确闭式表达式,该表达式仅依赖于学习速度场的散度,可在预训练模型上事后计算,无需重新训练或修改架构。

摘要:

流匹配已成为生成建模的领先框架,但量化其样本的不确定性仍是一个开放问题。现有方法使用辅助方差头重新训练模型、维护昂贵的集成或通过多个积分步骤传播近似协方差,在训练成本、推理成本或准确性之间进行权衡。我们表明这些权衡都不是必需的。通过将Tweedie公式从去噪设置扩展到流匹配插值,我们推导出生成轨迹上每一点后验协方差的精确闭式表达式。结果仅依赖于一个量,即学习速度场的散度,该散度可以在任何预训练的流匹配模型上事后计算,无需重新训练和架构修改。对于像MeanFlow这样的单步生成器,相同的公式在单次前向传递中产生端到端的生成不确定性,消除了所有先前方法所需的多步方差传播。在MNIST上的实验证实,得到的逐像素不确定性图在语义上有意义,集中在样本间变化最大的数字边界上,并且标量不确定性分数跟踪实际预测误差,所有计算量大约比集成或蒙特卡洛丢弃法少$10^4$倍。

英文摘要:

Flow matching provides a highly effective framework for generative modeling, yet estimating the uncertainty of its generated samples remains a fundamental challenge. Existing methods rely on auxiliary variance heads, model ensembles, or iterative covariance propagation, which invariably introduce accumulated errors and structural interference along the noise-to-image trajectory. We resolve these limitations by adapting Tweedie's formula to the linear flow matching interpolant, yielding an exact, closed-form identity for the posterior covariance. Because this identity relies exclusively on the divergence of the learned velocity field, it can be evaluated post hoc on pretrained models without any architectural modifications. This analytical formulation proves exceptionally powerful for single-step generative frameworks. By computing the end-to-end posterior covariance in one forward pass, our approach completely bypasses the compounding errors inherent to sequential integration. This mechanism fundamentally enhances robustness, providing highly accurate and stable uncertainty estimates while preventing the numerical degradation typical of multi-step approximations. We validate our framework across benchmark datasets, including CIFAR-10 and real brain MRI scans. The resulting divergence-based uncertainty maps are highly interpretable and tightly correlated with empirical reconstruction errors. Crucially, in medical imaging, this precise localization of structural ambiguity provides essential decision support for high-stakes clinical tasks such as tumor boundary delineation and neurosurgical planning.

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

↑