可扩展在线最优传输耦合降低流匹配训练方差与积分误差
Scaling Online Optimal Transport Minibatches for Flow Matching
训练流模型总不稳定?试试把最优传输小批量耦合做大,这篇论文给出了可扩展方案和方差下降证明。
流匹配训练的稳定性取决于源样本与数据的配对方式,独立随机配对会引入较大随机性,此前 Tong 等人 2024 年提出用小批量最优传输(OT)构建在线源-目标耦合来缓解。该方法在大规模高维数据上受限于小批量规模,而每轮迭代直接扩展大批量耦合的计算开销过高。论文提出可扩展的在线熵正则 OT 近似,在构建更大源-目标耦合的同时保留 OT 收益。理论上证明相对独立配对,未正则与熵正则 OT 均严格降低全随机梯度方差和积分误差,且在线耦合小批量越大改善越明显。在单细胞基因插值流和图像流训练实验中,更大的在线耦合持续提升训练稳定性并改善最终生成效果。
Scaling Online Optimal Transport Minibatches for Flow Matching
A central challenge in scaling flow models is maintaining stability in training and integration. In flow matching, this stability depends critically on how source samples are paired with data. Independent random pairing introduces substantial stochasticity, motivating minibatch optimal transport (OT) to construct online source-target couplings that reduce this randomness (Tong et al., 2024). However, as applications extend to larger and higher-dimensional datasets, small minibatches can limit these benefits, while scaling the coupling to substantially larger minibatches at every iteration is computationally prohibitive. Moreover, how OT coupling affects the full stochastic gradient and integration remains theoretically unresolved. In this work, we develop a scalable online entropic OT approximation that enables substantially larger source-target couplings while preserving the benefits of OT. We close the theoretical gap for both unregularized and entropic OT by proving strict reductions in full stochastic-gradient variance and integration error relative to independent pairing, and further characterize how these improvements strengthen as the online coupling minibatch grows. Experiments on single-cell gene interpolation-flow and image-flow training validate these predictions, showing that larger online couplings consistently improve training stability and final generation performance.