[Paper Review] Approximating the Quadratic Transportation Metric in Near-Linear Time
This paper presents a deterministic algorithm that approximates the 2-Wasserstein distance (quadratic transportation metric) between two discrete probability distributions in near-linear time, O(n log n), by leveraging entropic regularization, approximate Sinkhorn scaling, and low-rank approximation of Gaussian kernel matrices. The method achieves an additive ε-approximation to the squared 2-Wasserstein distance with explicit dependence on dimension and precision.
Computing the quadratic transportation metric (also called the $2$-Wasserstein distance or root mean square distance) between two point clouds, or, more generally, two discrete distributions, is a fundamental problem in machine learning, statistics, computer graphics, and theoretical computer science. A long line of work has culminated in a sophisticated geometric algorithm due to Agarwal and Sharathkumar in 2014, which runs in time $ ilde{O}(n^{3/2})$, where $n$ is the number of points. However, obtaining faster algorithms has proven difficult since the $2$-Wasserstein distance is known to have poor sketching and embedding properties, which limits the effectiveness of geometric approaches. In this paper, we give an extremely simple deterministic algorithm with $ ilde{O}(n)$ runtime by using a completely different approach based on entropic regularization, approximate Sinkhorn scaling, and low-rank approximations of Gaussian kernel matrices. We give explicit dependence of our algorithm on the dimension and precision of the approximation.
Motivation & Objective
- To address the long-standing open question of whether the 2-Wasserstein distance can be approximated in near-linear time, despite known limitations in sketching and embedding.
- To overcome the poor sketching and embedding properties of the quadratic cost function that hinder geometric approaches.
- To provide a deterministic, efficient algorithm with explicit runtime dependence on dimension d and approximation error ε.
- To demonstrate that low-rank structure in the optimal coupling enables near-linear time computation, bypassing traditional geometric methods.
Proposed method
- The algorithm uses entropic regularization to transform the optimal transport problem into a smooth, regularized optimization problem.
- It applies approximate Sinkhorn scaling to efficiently compute a regularized coupling matrix with low-rank structure.
- The method leverages low-rank approximation of the Gaussian kernel matrix to reduce computational complexity.
- It maintains and updates diagonal scaling matrices D₁ and D₂ to enforce marginal constraints via iterative projection.
- The algorithm implicitly represents matrices in factored form to reduce storage and computation costs.
- It ensures accuracy by bounding suboptimality gaps through entropy and cost matrix perturbation analysis.
Experimental results
Research questions
- RQ1Can the 2-Wasserstein distance be approximated in near-linear time despite its poor sketching and embedding properties?
- RQ2Can entropic regularization and low-rank approximation be used to achieve near-linear time computation of the quadratic transportation metric?
- RQ3What is the explicit dependence of the runtime on dimension d and approximation error ε?
- RQ4Is it possible to bypass geometric algorithms that rely on embedding and sketching for W₂ by using regularization and low-rank structure?
Key findings
- The algorithm achieves an additive ε-approximation to the squared 2-Wasserstein distance in O(nr log n) time, where r is the rank of the low-rank approximation.
- The runtime is O(nr(1 + log n / (εd)) log n / ε²), with r bounded by (e + 900 log n / (εd))ᵈ, showing explicit dependence on dimension and precision.
- The method provides a deterministic algorithm with a runtime of Õ(n), improving upon the previous best-known Õ(n³ᐟ²) from geometric approaches.
- The suboptimality gap is bounded by decomposing the error into four components, each controlled via entropy bounds, perturbation analysis, and marginal deviation.
- The approach successfully bypasses the limitations of sketching and embedding by using regularization and low-rank structure instead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.