Minibatch optimal transport distances; analysis and applications
Kilian Fatras, Younes Zine, Szymon Majewski, Rémi Flamary, Rémi Gribonval, Nicolas Courty
TL;DR
The paper tackles the scalability challenge of optimal transport by rigorously analyzing minibatch OT methods. It extends prior work to unbounded and nonuniform distributions, formalizes a general MBOT framework with reweighting and sampling laws, and introduces a debiased MBOT loss to restore distance-like properties. The authors prove concentration bounds, derive unbiased gradients for several OT kernels, and validate the approach through gradient flows, map learning, GANs, and large-scale color transfer, plus invariance properties for minibatch Gromov–Wasserstein. Collectively, the work provides both theoretical guarantees and practical utilities for large-scale distribution comparison and learning tasks. The results suggest MBOT as a scalable, theoretically sound toolkit for modern ML applications requiring OT-based objectives.
Abstract
Optimal transport distances have become a classic tool to compare probability distributions and have found many applications in machine learning. Yet, despite recent algorithmic developments, their complexity prevents their direct use on large scale datasets. To overcome this challenge, a common workaround is to compute these distances on minibatches i.e. to average the outcome of several smaller optimal transport problems. We propose in this paper an extended analysis of this practice, which effects were previously studied in restricted cases. We first consider a large variety of Optimal Transport kernels. We notably argue that the minibatch strategy comes with appealing properties such as unbiased estimators, gradients and a concentration bound around the expectation, but also with limits: the minibatch OT is not a distance. To recover some of the lost distance axioms, we introduce a debiased minibatch OT function and study its statistical and optimisation properties. Along with this theoretical analysis, we also conduct empirical experiments on gradient flows, generative adversarial networks (GANs) or color transfer that highlight the practical interest of this strategy.
