Scaling Online Optimal Transport Minibatches for Flow Matching

Peter Chen, Sergey Levine

University of California, Berkeley

Published October 13, 2026 · on the feed October 15, 2026 · ▲ 7 · arXiv 2610.18838

Image generation & editing No code arXiv ↗Hugging Face ↗

The abstract

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.

The Brief

2:16

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Scaling Online Optimal Transport Minibatches for Flow Matching. By Peter Chen and one other, from the University of California, Berkeley. Published on the thirteenth of October. No code repository is linked to it.

Scaling flow models runs into a stability problem, both in training and in integration. In flow matching, that stability depends critically on how source samples are paired with data. Pairing them independently at random introduces a lot of stochasticity. Minibatch optimal transport, following Tong and colleagues, builds the source-target couplings online to reduce that randomness. Two things remain unsettled. On larger, higher-dimensional datasets, small minibatches can limit the benefit, yet coupling much larger minibatches at every iteration is computationally prohibitive. And how optimal transport coupling affects the full stochastic gradient and the integration has not been settled in theory.

The work answers both. On the practical side, it develops a scalable online approximation to entropic optimal transport, which allows much larger source-target couplings while keeping the benefits of optimal transport. The point of the approximation is to break the trade described above, so that the coupling can grow with the dataset instead of being held small by its cost. On the theoretical side, the aim is to explain why the couplings help at all.

The theory closes the gap for both unregularized and entropic optimal transport, so it covers the exact coupling and the approximate one the method relies on. It proves strict reductions, relative to independent pairing, in the variance of the full stochastic gradient and in integration error. It further characterizes how those improvements strengthen as the online coupling minibatch grows, which is exactly the quantity the scalable approximation makes it possible to increase. Lower gradient variance speaks to stability in training. Lower integration error speaks to stability when samples are generated. Those are the two kinds of stability the problem started from.

Experiments on two kinds of training check these predictions: single-cell gene interpolation flows, and image flows. In both, larger online couplings consistently improve training stability and final generation performance, which is the direction the theory predicted.

Theory and method point the same way here. The proofs say bigger couplings should mean lower gradient variance and lower integration error, and the approximation is what makes bigger couplings affordable, so the experiments can test whether the predicted gains appear.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.