Papers
Topics
Authors
Recent
Search
2000 character limit reached

Empirical Wasserstein-1 Distance Overview

Updated 26 November 2025
  • Empirical Wasserstein-1 distance is a metric measuring discrepancies between distributions via optimal transport with linear cost.
  • It provides precise asymptotic and finite-sample convergence rates that depend on support geometry and moment conditions.
  • Practical computation leverages 1D sorting, multivariate linear programming, and approximations like tree-based methods and neural networks.

The empirical Wasserstein-1 distance, also known as the empirical earth mover’s distance, quantifies the discrepancy between empirical and population distributions or between two empirical distributions via optimal transport with linear cost. This metric plays a central role in probability, statistical inference, machine learning, and high-dimensional data analysis due to its mathematical tractability and direct connection to geometry and coupling. Both the theory and practice of empirical Wasserstein-1 distance are well-developed, with precise asymptotics, non-asymptotic deviation bounds, and efficient computation/accessibility in various settings.

1. Formal Definition and One-Dimensional Characterization

For probability measures μ,νP1(E)\mu, \nu \in \mathcal{P}_1(E) on a Polish metric space (E,d)(E,d), the 1-Wasserstein distance is defined as: W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy) where Γ(μ,ν)\Gamma(\mu, \nu) is the set of all couplings of μ\mu and ν\nu. The Kantorovich-Rubinstein duality gives: W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right| For empirical measures μn=1ni=1nδXi\mu_n = \frac{1}{n} \sum_{i=1}^n \delta_{X_i}, XiμX_i \sim \mu, W1(μn,μ)W_1(\mu_n, \mu) captures the optimal cost of transporting the empirical distribution to the true law.

On (E,d)(E,d)0, a fundamental property is: (E,d)(E,d)1 for cumulative distribution functions (E,d)(E,d)2, and quantile functions (E,d)(E,d)3 (Angelis et al., 2021). This quantile formula underpins both practical computation (requiring only sorting) and theoretical analysis.

2. Asymptotic and Finite-Sample Rates of Convergence

The rate at which (E,d)(E,d)4 as (E,d)(E,d)5 depends on the geometry of the support and moment conditions.

(E,d)(E,d)7

The optimality of these rates is established via dyadic partition coupling and metric entropy arguments.

3. Limit Distributions and Weak Convergence

In dimension one with smooth density and regular tails, the plug-in statistic W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)1 satisfies functional central limit theorems:

  • Two-sample case W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)2: Under regularity, (Berthet et al., 2019) proves

W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)3

where W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)4 is an explicit quadratic form involving Brownian bridges and the quantile process.

  • Goodness-of-fit case W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)5: The standard W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)6-CLT fails. The limiting distribution is non-Gaussian and the scaling rate is slower (controlled by the regular variation at zero of the cost function W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)7), specifically

W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)8

where W1(μ,ν)=infγΓ(μ,ν)E×Ed(x,y)γ(dx,dy)W_{1}(\mu,\nu) = \inf_{\gamma \in \Gamma(\mu,\nu)} \int_{E \times E} d(x,y) \,\gamma(dx,dy)9 is a standard Brownian bridge (Berthet et al., 2019).

  • Finite metric spaces: For discrete support, Γ(μ,ν)\Gamma(\mu, \nu)0 is the value of a random linear program. The asymptotic distribution is the maximum of linear forms in a Gaussian random vector over the dual constraint set, yielding a non-classical limit; naive bootstrap fails, and valid alternatives are derived (Sommerfeld et al., 2016).
  • General dimensions: Functional delta method and empirical process theory remain technically challenging; for Γ(μ,ν)\Gamma(\mu, \nu)1, strong regularity is often required for CLTs.

4. Non-Asymptotic Deviation, Concentration, and Sample Complexity

Sharp deviation inequalities for Γ(μ,ν)\Gamma(\mu, \nu)2 are available under moment or transport-entropy assumptions:

  • Deviation bounds: If Γ(μ,ν)\Gamma(\mu, \nu)3 is sub-Gaussian, for any Γ(μ,ν)\Gamma(\mu, \nu)4,

Γ(μ,ν)\Gamma(\mu, \nu)5

with explicit constants. For sub-exponential and heavy-tailed distributions, similar, though possibly polynomial, concentration rates hold (A. et al., 2019, Boissard, 2011, Fournier et al., 2013).

  • Transport-entropy inequalities: If Γ(μ,ν)\Gamma(\mu, \nu)6 satisfies a Γ(μ,ν)\Gamma(\mu, \nu)7-inequality (Gaussian-type concentration in Γ(μ,ν)\Gamma(\mu, \nu)8), McDiarmid's bounded differences yield for all Γ(μ,ν)\Gamma(\mu, \nu)9,

μ\mu0

(Boissard, 2011).

5. Computational Methods and Approximations

Efficient practical and approximate computation of empirical μ\mu4 is critical in large-scale applications:

  • 1D exact computation: μ\mu5 time via sorting and using either the empirical CDF or quantile formula (Angelis et al., 2021).
  • Multivariate exact computation: μ\mu6 reduces to a linear program of size μ\mu7; complexity is typically μ\mu8.
  • Tree-based Approximation (TWD): Embeds the data in a tree metric and solves a convex Lasso problem (nonnegative μ\mu9-regularized regression) for optimal edge weights, yielding linear-time approximate computation with quantifiable accuracy. Variance is reduced via tree-slicing (averaging over trees) (Yamada et al., 2022).
  • Deep Network Approximation: In high-dimensional settings, the Lipschitz function class is approximated by 1-Lipschitz neural networks; the supremum in the dual representation is optimized over networks, enabling scalable hypothesis tests and confidence intervals via Gaussian multiplier bootstrap (Imaizumi et al., 2019).
Method Dimension Computational Cost
1D Sort+Pairing 1 ν\nu0
LP Solver ν\nu1 ν\nu2 (network flow)
Tree-Wasserstein ν\nu3 ν\nu4 (tree nodes)
ReLU Network Dual ν\nu5 ν\nu6 (SGD/ADAM; ν\nu7 bootstraps)

6. Statistical Inference, Hypothesis Testing, and Confidence Bands

Empirical Wasserstein-1 distance underpins a variety of inference schemes:

  • Hypothesis testing: Empirical ν\nu8-based one- and two-sample tests with Gaussian process bootstrap calibration have correct Type I error and comparable or superior performance to alternatives, even on singular supports (Imaizumi et al., 2019).
  • Confidence intervals: Bootstrap quantiles of the supremum of Gaussian processes (approximating the empirical process indexed by 1-Lipschitz functions) yield valid CIs for ν\nu9 and for functionals that are W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right|0-Lipschitz (Imaizumi et al., 2019, Sommerfeld et al., 2016, A. et al., 2019).
  • Applications: Used to rigorously quantify inter/intra-group distances in metagenomics and other high-dimensional histogram data, providing interpretable intervals and robust significance estimates even in challenging regimes (e.g., partially overlapping supports) (Sommerfeld et al., 2016).

7. Optimality, Quantization, and Theoretical Extensions

Empirical measures are, up to polylogarithmic factors, as effective as optimal uniform quantizers for 1-Wasserstein approximation:

  • Quantization error: The expected empirical Wasserstein-1 distance nearly matches the minimal error over all W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right|1-point uniform quantizers up to a factor W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right|2, the gap being sharply characterized with multiscale decomposition, chaining arguments, and metric entropy bounds (Boedihardjo, 4 Aug 2025).
  • Non-uniform quantizers: In many settings (e.g., absolutely continuous measures on W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right|3), the empirical quantization rate matches optimal non-uniform quantizers. However, for measures with small-mass fine-structure, polynomial factors may appear (Boedihardjo, 4 Aug 2025).
  • Transport-entropy connections: W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right|4-concentration unifies analysis of risk measures, generalizing CVaR and other quantile-related risk bounds to arbitrary W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right|5-Lipschitz functionals (A. et al., 2019).
  • Open questions: The necessity of polylogarithmic rate gaps in general spaces, precise characterization for W1(μ,ν)=supfLip1fdμfdνW_1(\mu, \nu) = \sup_{\|f\|_{\text{Lip}} \leq 1} \left| \int f\, d\mu - \int f\, d\nu \right|6-Wasserstein, and performance for strongly singular or heavy-tailed distributions remain subjects of active research (Boedihardjo, 4 Aug 2025).

References

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Empirical Wasserstein-1 Distance.