variational methods
Optimal Transport
You should know: lebesgue measure, convex optimization
Overview
Optimal transport (OT) studies the problem of moving one probability distribution to another at minimum cost. The Monge problem (1781) asks for a map T that pushes mu forward to nu minimizing integral c(x, T(x)) dmu(x). The Kantorovich relaxation (1942) formulates this as a linear program over transport plans (joint distributions). Kantorovich duality gives a dual linear program. Wasserstein distances (arising as the optimal transport cost) define a metric on the space of probability measures that is geometrically natural. OT has applications in economics, image processing, machine learning (Wasserstein GANs), and statistics.
Intuition
Imagine two sandpiles: one shaped like distribution mu, the other like nu. How do you rearrange the sand at minimum total effort (mass times distance moved)? The Monge problem seeks the optimal transport map T; the Kantorovich problem relaxes this to 'splitting' mass (a transport plan). The Wasserstein-2 distance W_2(mu, nu) is the square root of the minimum cost with cost = squared Euclidean distance. W_2 metrizes weak convergence and has beautiful geometric properties: geodesics (shortest paths) in the space of measures are displacement interpolations, used in image morphing and fluid dynamics.
Formal Definition
Kantorovich formulation: for probability measures mu on X and nu on Y with cost function c: X x Y -> R, the optimal transport cost is OT(mu,nu) = inf_{pi in Gamma(mu,nu)} integral c(x,y) dpi(x,y), where Gamma(mu,nu) = {pi in P(X x Y) : (pi_X)_* pi = mu, (pi_Y)_* pi = nu} is the set of transport plans (couplings). Kantorovich duality: OT(mu,nu) = sup_{phi in L^1(mu), psi in L^1(nu), phi(x)+psi(y)<=c(x,y)} [integral phi dmu + integral psi dnu]. For c(x,y) = |x-y|^p, the p-th Wasserstein distance is W_p(mu,nu) = OT(mu,nu)^{1/p}.
Notation
| Notation | Meaning |
|---|---|
| Set of transport plans (couplings of mu and nu) | |
| Wasserstein-p distance | |
| Transport plan (joint distribution on X x Y) | |
| Kantorovich potentials (dual variables) |
Theorems
Worked Examples
- 1
W_1(mu,nu) = inf_{pi coupling} integral |x-y| dpi. By Kantorovich-Rubinstein: W_1 = sup_{Lip-1 phi} integral phi d(mu-nu).
- 2
Take phi(x) = x (1-Lipschitz): integral phi dmu = 0.5*0 + 0.5*2 = 1. Integral phi dnu = 1. So phi contributes 1-1=0.
- 3
Take phi(x) = |x-1| (1-Lip): integral phi dmu = 0.5*1 + 0.5*1 = 1. Integral phi dnu = 0. Difference = 1.
- 4
So W_1(mu,nu) >= 1. The transport plan: move 0.5 mass from x=0 to y=1 (cost 0.5) and 0.5 mass from x=2 to y=1 (cost 0.5). Total = 1. So W_1 = 1.
✓ Answer
W_1(0.5*delta_0 + 0.5*delta_2, delta_1) = 1.
Practice Problems
Prove the Kantorovich-Rubinstein formula W_1(mu, nu) = sup_{phi 1-Lip} integral phi d(mu - nu) for measures on R.
Common Mistakes
Confusing the Wasserstein distance W_p with the total variation distance.
Total variation (TV) distance: d_TV(mu,nu) = (1/2)||mu-nu||_1 (half the L^1 distance of densities). It depends only on where the measures differ, not on how far apart those regions are. Wasserstein W_1: W_1(mu,nu) is the minimum cost to move mu to nu with cost = distance. Two distant Dirac masses delta_0 and delta_1 have d_TV = 1 (maximum) and W_1 = 1 (= their distance). Nearby measures can have large TV but small W_p: W_p metrizes weak convergence, TV does not.
Quiz
Historical Background
Gaspard Monge posed the original earth-moving problem in 1781. Leonid Kantorovich reformulated it as a linear programming problem in 1942, earning him the Nobel Prize in Economics (1975). The Wasserstein distance was studied in the Russian literature (Vasershtein, 1969) and by Dobrushin. The field was revolutionized by Brenier's theorem (1987) characterizing OT maps as gradients of convex functions. Villani's 2003 and 2008 monographs, and his Fields Medal (2010), brought OT to the mathematical mainstream. Cuturi's Sinkhorn algorithm (2013) made OT computationally tractable for machine learning.
- 1781
Monge poses the earth-moving problem
Gaspard Monge
- 1942
Kantorovich reformulates as linear programming, introduces duality
Leonid Kantorovich
- 1987
Brenier's theorem: OT map = gradient of convex function (for quadratic cost)
Yann Brenier
- 2013
Cuturi introduces entropic regularization and Sinkhorn algorithm for fast OT
Marco Cuturi
Summary
- OT: move distribution mu to nu at minimum cost. Kantorovich: linear program over transport plans Gamma(mu,nu).
- Kantorovich duality: OT = sup of dual linear program with potentials phi, psi.
- Wasserstein-p distance: W_p = OT^{1/p} with cost |x-y|^p. Metrizes weak convergence.
- Brenier: for quadratic cost and absolutely continuous mu, optimal map = gradient of convex function.
References
- BookVillani, C. Optimal Transport: Old and New. Springer, 2009.
- BookSantambrogio, F. Optimal Transport for Applied Mathematicians. Birkhauser, 2015.
Mathematics