TL;DR
Computing Optimal Transport (OT)—finding the most efficient way to morph one probability distribution into another—is notoriously slow when you have to do it thousands of times. This paper introduces a clever shortcut: instead of training massive neural networks to guess the 3D or high-dimensional transport plan from scratch, it projects the problem onto 1D lines where OT is practically instantaneous, then uses a simple linear combination of those 1D solutions to reconstruct the full high-dimensional answer. The result is an ultra-lightweight, highly accurate solver that doesn't care how many data points you throw at it.
What Problem Does This Paper Address?
Imagine moving a pile of dirt to fill a hole of the same volume while doing the least amount of work. That’s Optimal Transport (OT). In modern machine learning, OT is everywhere—aligning datasets, transferring image colors, and straightening trajectories in generative flow models.
Because exact OT scales terribly (super-cubically with the number of points), practitioners usually add an "entropic regularization" penalty to smooth the problem, solving it iteratively via the Sinkhorn algorithm in quadratic time. That’s fine for one pair of distributions, but in scenarios like mini-batch generative modeling, you have to solve OT from scratch thousands of times for slightly different pairs of distributions.
Enter amortized optimization: training a model on past OT problems so it can rapidly predict solutions for new ones. The current state-of-the-art, Meta-OT, trains a Multi-Layer Perceptron (MLP) to take raw distribution weights and spit out Kantorovich potentials—mathematical dual variables (think Lagrange multipliers representing price/cost landscapes) from which the full transport plan can be easily recovered. However, feeding raw distributions into an MLP requires huge parameter counts and locks you into a fixed number of data points (atoms). If your point cloud changes size, the network breaks.
Methods
The authors realize we don't need a heavy neural network if we feed our model smarter features. They turn to Sliced OT. While high-dimensional OT is hard, 1D OT on a line has a trivial closed-form solution: you just sort the points!
Given a high-dimensional problem, the authors project the two distributions onto $L$ different 1D lines (or stereographic projections if working on a sphere). They instantly solve the 1D OT problem on each slice to get $L$ "sliced Kantorovich potentials." Because these 1D potentials already capture rich geometric transport information, the authors propose predicting the true, high-dimensional Kantorovich potential simply by taking a weighted linear combination of the $L$ sliced potentials.
They introduce two ways to learn those $L$ linear weights ($\boldsymbol{\omega}$):
- Regression-based Amortization (RA-OT): Pay the cost to run Sinkhorn on a small training set to get ground-truth potentials, and fit $\boldsymbol{\omega}$ via standard least-squares linear regression—which has an exact, closed-form matrix solution!
- Objective-based Amortization (OA-OT): Skip ground-truth Sinkhorn entirely. Plug the linear model directly into the entropic Kantorovich dual objective and optimize $\boldsymbol{\omega}$ via gradient descent (extending Meta-OT, but optimizing a tiny vector of $L$ weights instead of a massive MLP).
Datasets
The authors evaluate their methods on existing and adapted benchmarks (no brand-new standalone datasets are introduced, though specific task splits are constructed):
- MNIST: Grayscale digit images ($28 \times 28$ grids, $784$ atoms) for Wasserstein digit interpolation.
- Spherical Supply–Demand: Mapping $100$ uniform landmass supply points to $10,000$ population-weighted demand points on a 3D unit sphere using a CC-licensed global population density dataset.
- WikiArt (Color Transfer): ~200 public domain paintings quantized via $k$-means into $500$ RGB color clusters.
- Generative Modeling: 2D synthetic toy distributions (
8gaussians,moons,scurve) and high-dimensional CIFAR-10 (in the appendix) for mini-batch OT Conditional Flow Matching (OT-CFM).
Key Insights and Ideas
- Sliced potentials are "handcrafted" geometric superpowers: Previous sliced OT methods tried to lift 1D transport plans back to high dimensions as rough, standalone approximations. Here, the authors show that the true high-dimensional potential practically lives in the linear span of ~100 1D sliced potentials. A simple linear layer is all you need.
- Resolution and size independence: In Meta-OT, the network architecture is tied to the number of discrete points $n$. In RA-OT and OA-OT, the learned parameter $\boldsymbol{\omega}$ only depends on the number of projections $L$ (e.g., $L=100$). You can train on clouds of 100 points and run inference on clouds of 10,000 points without changing a thing.
- Extreme sample efficiency: Because fitting 100 linear weights requires vastly less data than training an MLP, both methods generalize remarkably well even when trained on just 10 or 20 distribution pairs.
Key Results
Across standard OT tasks ($L=100$ projections), RA-OT and OA-OT consistently beat baselines in accuracy and training speed:
- MNIST ($M=50$ training pairs): OA-OT and RA-OT achieve transport plan RMSEs of $6.02 \times 10^{-6}$ and $7.77 \times 10^{-6}$ respectively, beating Meta-OT ($15.54 \times 10^{-6}$) by more than $2\times$ in error. RA-OT trains in just 3.03 seconds compared to Meta-OT's 37.11 seconds.
- Color Transfer ($M=50$): OA-OT drops RMSE to $9.00 \times 10^{-6}$ vs. Meta-OT's $33.16 \times 10^{-6}$, producing faithful color palettes.
- Spherical Transport: Using stereographic projections, OA-OT ($3.93 \times 10^{-7}$ RMSE at $M=50$) beats Meta-OT ($4.42 \times 10^{-7}$), whereas naive projection baselines fail by two orders of magnitude because they ignore curvature.
- Conditional Flow Matching: Replacing exact mini-batch OT with RA-OT/OA-OT speeds up flow matching training by $2.5\times\text{–}4.5\times$ (e.g., dropping
moonstraining from 1513s to ~320s) while keeping flow paths nearly as straight (Normalized Path Energy of ~0.014 on8gaussiansvs. 0.0108 for exact OT-CFM and 0.2590 for uncoupled flow matching).
Limitations and Future Work
- Inference-time trade-off: While RA-OT and OA-OT train much faster and predict far more accurately than Meta-OT, their per-pair inference time is slower than a pure MLP forward pass (e.g., ~39ms vs. ~2.4ms on MNIST) because computing $L=100$ projections and 1D sorts on the fly carries a slight overhead.
- Slight Wasserstein degradation in complex flows: In 2D flow matching, while trajectories remain straight, the final Sinkhorn $W_2^2$ distance degrades slightly compared to exact OT-CFM (e.g., $0.50$ vs. $0.20$ on
8gaussians), trading a bit of distributional precision for massive training speedups. - Discrete focus & Entropic OA-OT: Although the mathematical formulation works for continuous distributions, this paper focuses strictly on discrete settings. Furthermore, while RA-OT can tackle unregularized classical OT (by fitting two regression models for both dual potentials), OA-OT is currently restricted to entropic-regularized OT. Exploring continuous settings or nonlinear operators beyond simple linear spans remains open territory.
Summary updated