2025-03-14 · 进阶 · 机器学习 · 计算机视觉

The Curse of Conditions: Analyzing and Improving Optimal Transport for Conditional Flow-Based Generation

本文提出了一种条件最优传输方法(C2OT),通过在成本矩阵中添加条件权重项来改进条件生成中的最优传输,从而在条件生成中取得了优于现有基线的性能。

更新于 2025-03-14。作者:Ho Kei Cheng、Alexander Schwing。

中文摘要

小批量最优传输耦合在无条件的流匹配中使路径变得平直。这导致推理计算需求降低,因为在测试时数值求解常微分方程时可以采用更少的积分步骤和更简单的数值求解器。然而,在条件设置中,小批量最优传输表现不足。这是因为默认的最优传输映射忽略了条件,导致在训练期间出现条件偏斜的先验分布。相比之下,在测试时,我们无法访问偏斜的先验分布,而是从完整的、无偏的先验分布中进行采样。这种训练和测试之间的差距导致性能不佳。为了弥合这一差距,我们提出了条件最优传输C^2OT,在计算最优传输分配时在成本矩阵中添加一个条件加权项。实验表明,这种简单的修复在8高斯到月亮、CIFAR-10、ImageNet-32x32和ImageNet-256x256中的离散和连续条件下都有效。与现有的基线相比,我们的方法在跨不同函数评估预算的整体性能上表现更优。代码可在https://hkchengrex.github.io/C2OT获取。

英文摘要

Minibatch optimal transport coupling straightens paths in unconditional flow matching. This leads to computationally less demanding inference as fewer integration steps and less complex numerical solvers can be employed when numerically solving an ordinary differential equation at test time. However, in the conditional setting, minibatch optimal transport falls short. This is because the default optimal transport mapping disregards conditions, resulting in a conditionally skewed prior distribution during training. In contrast, at test time, we have no access to the skewed prior, and instead sample from the full, unbiased prior distribution. This gap between training and testing leads to a subpar performance. To bridge this gap, we propose conditional optimal transport C^2OT that adds a conditional weighting term in the cost matrix when computing the optimal transport assignment. Experiments demonstrate that this simple fix works with both discrete and continuous conditions in 8gaussians-to-moons, CIFAR-10, ImageNet-32x32, and ImageNet-256x256. Our method performs better overall compared to the existing baselines across different function evaluation budgets. Code is available at https://hkchengrex.github.io/C2OT

解读

一句话总结

本文提出了一种条件最优传输方法(C2OT),通过在成本矩阵中添加条件权重项来改进条件生成中的最优传输,从而在条件生成中取得了优于现有基线的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源