Abstract
We elucidate why the 1-Wasserstein distance $W_1$ coincides with the area between the two marginal cumulative distribution functions (CDFs). We first describe the Wasserstein distance in terms of copulas, and then show that $W_1$ with the Euclidean distance is attained with the $M$ copula. Two random variables whose dependence is given by the $M$ copula manifest perfect (positive) dependence. If we express the random variables in terms of their CDFs, it is intuitive to see that the distance between two such random variables coincides with the area between the two CDFs.
Introduction
In the field of optimal transport, the Wasserstein distance is a fundamental tool for measuring the effort required to transform one probability distribution into another. For distributions on the real line, practitioners often use a convenient shortcut: the 1-Wasserstein distance ($W_1$) is simply the integral of the absolute difference between the two marginal cumulative distribution functions (CDFs).
While this identity is a staple of one-dimensional analysis, the underlying intuition—specifically how it relates to the joint dependence between variables—is frequently glossed over. This paper aims to bridge that gap by explaining the "why" through the lens of copula theory, demonstrating that the "cheapest" transport plan corresponds to a state of perfect positive dependence.
Methodology: Connecting Transport to Copulas
The authors specialize the general Kantorovich-Wasserstein definition to the case of two random variables on the real line using Euclidean distance. Their derivation follows several key steps:
- Copula Reformulation: Using Sklar’s theorem, the joint distribution is expressed in terms of marginal CDFs and a copula $C$.
- Quantile Integration: The integration is transformed from the real line to the unit square $[0, 1]^2$ using generalized inverse CDFs (quantile functions).
- Optimization via Fréchet–Hoeffding Bounds: The proof utilizes the fact that all bivariate copulas are bounded by the $W$ copula (perfect negative dependence) and the $M$ copula (perfect positive dependence).
- Vallender’s Formula: By applying a specific identity for the expectation of the absolute difference $|X - Y|$, the authors prove that the minimum transport cost is achieved when the copula is $M$.
Key Insights: The $M$ Copula as the Path of Least Resistance
The core insight of the paper is that the optimal transport plan in 1D is reached when variables are comonotonic. This means the smallest value of $X$ is mapped to the smallest value of $Y$, the median to the median, and so on. This state of "perfect positive dependence" is mathematically represented by the $M$ copula.
When the $M$ copula is applied, the 2D integral over the unit square collapses into a 1D integral. This proves that the distance between the random variables is identical to the area between their quantile functions, which is geometrically equivalent to the area between their CDFs. Furthermore, if one distribution stochastically dominates another, the $W_1$ distance simplifies even further to the difference between their expected values ($E[X] - E[Y]$).
Key Results and Visualization
The formal proof (Theorem 2.1) establishes that the infimum of the transport cost is attained at $C(u, v) = \min\{u, v\}$, leading to the identity: $$W_1(X, Y) = \int_{0}^{1} |F_X^{-1}(u) - F_Y^{-1}(u)| du$$
As shown in the figure above, the "integrand of work" varies significantly with the dependence structure. By plotting Gaussian copulas with correlation coefficients $\rho$ ranging from -1 (the $W$ copula) to +1 (the $M$ copula), we see the area under the curve—representing the total transport cost—shrink to its minimum at the $M$ copula. This visualization highlights how any dependence other than perfect positive correlation increases the "work" required to move mass between distributions.
Limitations
The paper notes that this elegant geometric interpretation is strictly limited to the one-dimensional case on the real line $\mathbb{R}$. The "area between CDFs" intuition does not translate directly to higher dimensions, where optimal transport plans become significantly more complex and cannot be solved by simple comonotonicity. Additionally, the authors observe that if two distributions have non-overlapping supports, the $W_1$ distance is always the difference in means, regardless of the underlying copula.
Summary updated