Sharp asymptotic and finite-sample rates of convergence of empirical measures in Wasserstein distance

Jonathan Weed, Francis Bach

Introduction

The Wasserstein distance is a measure of the closeness of probability distributions on metric spaces which has proven extremely useful in data science and machine learning, particularly in the analysis of images [RTG00, SdGP+15, SL11] and text [KSKW15, ZLL+16]. This distance is especially useful in tasks such as classification and clustering, since it captures geometric features of the underlying data. Moreover, unlike other measures of distance between distributions, such as the Kullback-Leibler divergence or total variation distance, the Wasserstein distance between two measures is generally finite even when neither measure is absolutely continuous with respect to the other, a situation that often arises when considering empirical distributions arising in practice.

Concretely, the Wasserstein distance measures how closely two measures can be coupled, where closeness is measured with respect to the underlying metric. For p∈[1,∞)p\in[1,\infty), the Wasserstein distance of order pp between two distributions μ\mu and ν\nu on a metric space (X,D)(X,D) is defined as

where the infimum is taken over all couplings γ\gamma of μ\mu and ν\nu, that is, distributions on X×XX\times X whose first and second marginals agree with μ\mu and ν\nu, respectively [Kan42]. It can be shown that WpW_{p} is a metric on the space of probability measures on XX [Vil08, Chapter 6].

In statistical contexts, direct access to a distribution of interest μ\mu is generally not available; instead, the statistician has access to i.i.d. samples from μ\mu, or, equivalently, to an empirical distribution μ^n\hat{\mu}_{n}. For μ^n\hat{\mu}_{n} to serve as a reasonable proxy to μ\mu, we should insist that μ^n\hat{\mu}_{n} and μ\mu are close in the Wasserstein sense. In the large-nn limit, this is indeed the case: if XX is compact and separable and μ\mu is a Borel measure, then for any p∈[1,∞)p\in[1,\infty),

This result follows from the fact that Wasserstein distances metrize weak convergence [Vil08, Corollary 6.13] and the fact that empirical measure μ^n\hat{\mu}_{n} converges weakly to μ\mu almost surely [Var58].

These results have been sharpened over the years, culminating in a tight almost sure limit theorem due to Dobrić and Yukich [DY95].

In short, these arguments establish that a dd-dimensional measure yields a convergence rate in the W1W_{1} distance of exactly n−1/dn^{-1/d}. These results are in a sense disappointing, since they show that slow convergence is a necessary price to pay for high-dimensional data. However, they raise several questions about the behavior of the Wasserstein metric in practice:

When can faster rates be achieved for measures that are not absolutely continuous with respect to the Lebesgue measure?

Under what conditions can sharper finite-sample (i.e., non-asymptotic) rates be obtained?

Our goal in this work is to answer the above questions in a very general sense. We consider a bounded metric space XX subject to mild technical conditions and prove upper and lower bounds on the rate of convergence for Wp(μ,μ^n)W_{p}(\mu,\hat{\mu}_{n}) for all p∈[1,∞)p\in[1,\infty). Inspired by the bounds of [Dud68], we show essentially tight asymptotic convergence rates for a large class of measures. In particular, our upper and lower bounds improve on many existing results in the literature [Dud68, BLG14, DSS13, FG15], either in the generality with which they are applicable or the rates which are obtained. These results show that the rate of convergence of Wp(μ,μ^n)W_{p}(\mu,\hat{\mu}_{n}) depends on a notion of the intrinsic dimension of the measure μ\mu, which can be significantly smaller than the dimension of the metric space on which μ\mu is defined.

Our second goal is to obtain finite-sample results which hold outside the asymptotic regime. A common phenomenon in practice is for a measure to exhibit different dimensional structure at different scales; this so-called multi-scale behavior arises in a range of applications [LMR16, WDCB05, SMB98]. We show that the convergence of μ^n\hat{\mu}_{n} to μ\mu in WpW_{p} for such measures can exhibit wildly different rates as nn increases. In particular, they can enjoy a much faster convergence rate when nn is small than they do in the large-nn limit. We illustrate this phenomenon via a number of examples inspired by measures that arise in practice.

In both of the above regimes, we consider exclusively the question of how the expectation IE[Wp(μ,μ^n)]{\rm I}\kern-1.79993pt{\rm E}[W_{p}(\mu,\hat{\mu}_{n})] behaves. Controlling this quantity suffices to understand the behavior of Wp(μ,μ^n)W_{p}(\mu,\hat{\mu}_{n}) because the Wasserstein distance concentrates very well around its expectation, a fact which we prove in Section 6. Combining this observation with the bounds on we prove on IE[Wp(μ,μ^n)]{\rm I}\kern-1.79993pt{\rm E}[W_{p}(\mu,\hat{\mu}_{n})] yields sharp high-probability bounds.

We end by giving applications of our work to machine learning and statistics and sketch directions for future work.

Preliminaries

In this section, we present the mild assumptions on XX under which our results hold. We also give background on Wasserstein distances and compare our results to prior work.

We are concerned with measures on a compact metric space XX. The first assumption is entirely standard and allows us to avoid many measure-theoretic difficulties:

The metric space XX is Polish, and all measures are Borel.

Since we limit ourselves to the compact case, diam⁡(X)\operatorname{diam}(X) is necessarily finite, and for normalization purposes we assume the following.

Assumption 2 can always be made to hold by a simple rescaling of the metric.

2 Background on Wasserstein distances

Above, we defined the Wasserstein pp distance between two distributions μ\mu and ν\nu on (X,D)(X,D) as

A second definition, due to Monge [Mon81, San15], reads as follows:

where the infimum is taken over all transports T:X→XT:X\to X such that the pushforward measure μ∘T−1\mu\circ T^{-1} equals ν\nu. In general, this infimum in the Monge definition is not attained. This formulation has an easy geometric interpretation: the Wasserstein distance measures the cost of moving mass from the measure μ\mu to the measure ν\nu with respect to the metric of XX.

The special case W1W_{1}, which is also known as the Kantorovich-Rubinstein distance [Vil08] or earth mover distance [RTG00], has a particularly simple dual representation:

where the supremum is taken over all 11-Lipschitz functions on XX [KR58]. This dual representation makes W1W_{1} significantly easier to bound [Vil08, Remark 6.6]. A more general dual formulation is also available for WpW_{p} for p≠1p\neq 1, but it is less simple to manipulate; more details appear in Section 6.

3 Related work

Our work generalizes several strands of work on the convergence rates of the empirical measure in Wasserstein distances. The first strand, inaugurated by Dudley [Dud68], focuses on obtaining rates of convergence of μ^n\hat{\mu}_{n} to μ\mu based on the inherent dimension of the measure μ\mu. In that paper, Dudley obtained results matching the ones we present in Section 4 for the convergence of μ^n\hat{\mu}_{n} to μ\mu in W1W_{1} distance, with a rate depending on the covering number of the support of μ\mu. Dudley’s argument relied extensively on the dual characterization of W1W_{1} as a supremum over Lipschitz test functions, as in (1). As a result, his technique does not extend to WpW_{p} for p≠1p\neq 1.

An extension of Dudley’s techniques to other values of pp appears in [BLG14]. Their approach is similar to ours, but our analysis is tighter: in the language of Section 4.2, they prove an upper bound based on the quantity dMd_{M} whereas we obtain an upper bound based on the smaller quantity dp∗d_{p}^{*}.

We also note several other recent works [Boi11, BGV07] which have focused on obtaining tail bounds for the quantity Wp(μ,μ^n)W_{p}(\mu,\hat{\mu}_{n}). The arguments of [BGV07] rely on transportation inequalities such as the celebrated Bobkov-Götze inequality [BG99]. These arguments were simplified in [Boi11], but, as noted in [BLG14], the analysis becomes much easier if the development of tail bounds is divided into two steps: an estimate of the expectation IE[Wp(μ,μ^n)]{\rm I}\kern-1.79993pt{\rm E}[W_{p}(\mu,\hat{\mu}_{n})] and a concentration bound showing how well Wp(μ,μ^n)W_{p}(\mu,\hat{\mu}_{n}) concentrates near that expectation. This is the approach we adopt: bounds on the expected value appear in Section 4 and 5, and concentration bounds are obtained in Section 6.

4 Notation

The metric on XX will always be denoted D(⋅,⋅)D(\cdot,\cdot). Given a point x∈Xx\in X and r>0r>0, denote by B(x,r)B(x,r) the open ball of radius rr around xx. The symbol log⁡\log denotes the natural logarithm. The notation f(n)≲g(n)f(n)\lesssim g(n) indicates that there exists a constant CC, depending on ff and gg but not nn, such that f(n)≤Cg(n)f(n)\leq Cg(n) for all nn.

Dyadic transport

We formalize these requirements in the following definition [Dav88, Section A]. Denote by B(X)\mathcal{B}(X) the Borel subsets of XX.

A dyadic partition of a set S⊆XS\subseteq X with parameter δ<1\delta<1 is a sequence {Qk}1≤k≤k∗\{\mathcal{Q}^{k}\}_{1\leq k\leq k^{*}} with Qk⊆B(X)\mathcal{Q}^{k}\subseteq\mathcal{B}(X) possessing the following properties:

The sets in Qk\mathcal{Q}^{k} form a partition of SS.

If Q∈QkQ\in\mathcal{Q}^{k}, then diam⁡(Q)≤δk\operatorname{diam}(Q)\leq\delta^{k}.

If Qk+1∈Qk+1Q^{k+1}\in\mathcal{Q}^{k+1} and Qk∈QkQ^{k}\in\mathcal{Q}^{k}, then either Qk+1⊆QkQ^{k+1}\subseteq Q^{k} or Qk+1∩Qk=∅Q^{k+1}\cap Q^{k}=\emptyset. That is, the (k+1)(k+1)th partition is a refinement of the kkth partition.

The following Proposition bounds Wpp(μ,ν)W_{p}^{p}(\mu,\nu) in terms of the mass μ\mu and ν\nu assign to elements of a dyadic partition.

Let μ\mu and ν\nu be two Borel probability measures on XX, and let SS be a set such that μ(S)=ν(S)=1\mu(S)=\nu(S)=1. If {Qk}1≤k≤k∗\{\mathcal{Q}^{k}\}_{1\leq k\leq k^{*}} is a dyadic partition of SS with parameter δ\delta, then

Proposition 1 is stated for WppW_{p}^{p}, but can easily adapted to optimal transport with a general cost c(⋅,⋅)c(\cdot,\cdot) by replacing the requirement that diam⁡(Q)≤δk\operatorname{diam}(Q)\leq\delta^{k} in Definition 1 by the requirement that sup⁡x,y∈Qc(x,y)≤δk\sup_{x,y\in Q}c(x,y)\leq\delta^{k}.

Boissard and Le Gouic [BLG14] used a version of Proposition 1 to prove a bound on Wpp(μ,μ^n)W_{p}^{p}(\mu,\hat{\mu}_{n}) based on the covering number of the set SS, a definition of which appears in Section 4, below. However, their results are not sharp, and they do not recover the rates obtained in [Dud68] for the case p=1p=1. In Section 4, we show how to improve their argument to obtain sharper results, which extend the rates from [Dud68] to all p∈[1,∞)p\in[1,\infty).

Asymptotic upper and lower bounds

In this section, we show asymptotic upper and lower bounds for WpW_{p} that hold for all p∈[1,∞)p\in[1,\infty). These bounds extend results of [Dud68] to the case p≠1p\neq 1 and improve the bounds of [BLG14] by focusing on a set SS to which μ\mu assigns mass of almost 11 rather than on the larger set supp⁡(μ)\operatorname{supp}(\mu). We will also show a broad class of measures for which our bounds are asymptotically tight.

To state our bounds we will define several notions of dimension of a measure.

Given a set S⊆XS\subseteq X, the ε\varepsilon-covering number of SS, denoted Nε(S)\mathcal{N}_{\varepsilon}(S), is the minimum mm such that there exists mm closed balls B1,…,BmB_{1},\dots,B_{m} of diameter ε\varepsilon such that S⊆⋃1≤i≤mBiS\subseteq\bigcup_{1\leq i\leq m}B_{i}. The ε\varepsilon-dimension of SS is the quantity

When working with measures instead of sets, it is convenient to be able to ignore a small fraction of the mass. The following definition appears in [Dud68], which notes a connection to the ε;δ\varepsilon;\delta entropy introduced by [PRR67].

Given a measure μ\mu on XX, the (ε\varepsilon, τ\tau)-covering number is

and the (ε\varepsilon, τ\tau)-dimension is

Note that Nε(μ)=Nε(supp⁡(μ))\mathcal{N}_{\varepsilon}(\mu)=\mathcal{N}_{\varepsilon}(\operatorname{supp}(\mu)), and that Nε(μ,τ)\mathcal{N}_{\varepsilon}(\mu,\tau) and dε(μ,τ)d_{\varepsilon}(\mu,\tau) increase as τ\tau decreases.

We now define our main notions of dimension of a measure.

The upper and lower Wasserstein dimensions are respectively

Note that the monotonicity of dε(μ,τ)d_{\varepsilon}(\mu,\tau) in τ\tau implies that the limit in the definition of d∗(μ)d_{*}(\mu) exists. The definition of dp∗d_{p}^{*} is complicated by the fact that the behavior of the Wasserstein distance is very different when the dimension is small. For convenience we only treat the case where the dimension is larger than 2p2p. We note that the monotonicity of dε(μ,τ)d_{\varepsilon}(\mu,\tau) in τ\tau also implies that d∗≤dp∗d_{*}\leq d_{p}^{*} for all pp.

Our definition of the upper Wasserstein dimension is new. Dudley [Dud68] considered measures satisfying a bound of the form Nε(μ,εss−2)≤Cε−s\mathcal{N}_{\varepsilon}(\mu,\varepsilon^{\frac{s}{s-2}})\leq C\varepsilon^{-s} for all sufficiently small ε\varepsilon; the definition of dp∗(μ)d_{p}^{*}(\mu) is the correct generalization to the p≠1p\neq 1 case. The lower Wasserstein dimension was introduced by Young [You82], who credits the idea to Ledrappier [Led81], in the context of dynamical systems. The term Wasserstein dimension is ours, and is justified by Theorem 1 below.

2 Comparison with other notions of dimension

To make it easier to interpret the quantities dp∗(μ)d_{p}^{*}(\mu) and d∗(μ)d_{*}(\mu), we sketch here their relationship with two other well known notions of dimensions for the measure μ\mu, the Minkowski dimension (also known as the Minkowski-Bouligand or box-counting dimension) and the Hausdorff dimension. Both quantities have long been studied in fractal and metric geometry [Fal04].

The Minkowski dimension of a set SS is the quantity

Given a measure μ\mu, the Minkowski and Hausdorff dimensions of μ\mu are respectively

We note that the quantities dM(μ)d_{M}(\mu) and dH(μ)d_{H}(\mu) are upper and lower bounds on the Wasserstein dimensions.

None of the inequalities in Proposition 2 can be replaced by equalities. Examples of measures μ\mu for which dH(μ)<d∗(μ)d_{H}(\mu)<d_{*}(\mu) are complicated; one appears in [KLP11, Remark 7.8]. It is much easier to find examples in which d∗(μ)d_{*}(\mu), dp∗(μ)d^{*}_{p}(\mu), and dM(μ)d_{M}(\mu) do not agree. For instance, it is easy to see that d∗(μ)=0d_{*}(\mu)=0 for any discrete measure, but the countable set S:=({k−1}k=1∞)d⊂dS:=\left(\{k^{-1}\}_{k=1}^{\infty}\right)^{d}\subset^{d} has Minkowski dimension d/2d/2. By choosing d>4pd>4p and choosing a measure μ\mu supported on SS with appropriately slow decay, one can ensure that dp∗(μ)d^{*}_{p}(\mu) is strictly less than d/2d/2, and hence strictly between d∗(μ)d_{*}(\mu) and dM(μ)d_{M}(\mu).

3 Main result

With these definitions in place, we can state our main asymptotic bound.

Let p∈[1,∞)p\in[1,\infty). If s>dp∗(μ)s>d_{p}^{*}(\mu), then

The upper and lower bounds are proved below and are corollaries of more precise results with explicit constants (Propositions 5 and 6). Note that the lower bound does not merely hold in expectation. Indeed, such a lower bound holds for any discrete measure supported on at most nn points.

Theorem 1 improves on several existing results. For the upper bound, Dudley [Dud68] showed that, if s>d1∗(μ)s>d_{1}^{*}(\mu), then

but his proof technique applied only to p=1p=1. Boissard and Le Gouic [BLG14] extended this bound to all pp, but only if s>dM(μ)≥2ps>d_{M}(\mu)\geq 2p. Since dp∗(μ)≤dM(μ)d^{*}_{p}(\mu)\leq d_{M}(\mu) with some measures exhibiting strict inequality, our result is sharper.

Dudley [Dud68] proved a lower bound for W1W_{1}—and hence, by monotonicity of WpW_{p} in pp, for WpW_{p} for all p∈[1,∞)p\in[1,\infty)—based on the quantity

which is easily seen to be smaller than d∗(μ)d_{*}(\mu), with strict inequality possible. Our argument is a simple extension of his.

4 Proof of upper bound

The upper bound of Theorem 1 follows from Proposition 5, below.

To apply the bound of Proposition 1, we need to show the existence of a suitable dyadic partition. The following Proposition is an extension of [BLG14, Lemma 2.1] and shows that we can choose a dyadic partition which provides an almost optimal covering of subsets of SS.

Fix S∈B(X)S\in\mathcal{B}(X). Let k∗k^{*} be any positive integer for which the covering number N3−(k∗+1)(S)\mathcal{N}_{3^{-(k^{*}+1)}}(S) is finite, and let {Sk}1≤k≤k∗\{S_{k}\}_{1\leq k\leq k^{*}} be a sequence of Borel subsets SS. There exists a dyadic partition of SS with parameter δ=1/3\delta=1/3 such that for 1≤k≤k∗1\leq k\leq k^{*}, the number of sets in Qk\mathcal{Q}^{k} intersecting SkS_{k} is at most N3−(k+1)(Sk)\mathcal{N}_{3^{-(k+1)}}(S_{k}).

Let Q(S)={i:Qik∩S≠∅}Q(S)=\{i:Q_{i}^{k}\cap S\neq\emptyset\}, and write

Since nμ^n(Qik)n\hat{\mu}_{n}(Q_{i}^{k}) is a Binomial random variable with parameters (n,μ(Qik))(n,\mu(Q_{i}^{k})), we have the bound [BK13]

Applying the first bound on S′S^{\prime} and the second bound on X∖S′X\setminus S^{\prime} yields

Since the second sum contains ∣Q(S)∣|Q(S)| terms and ∑i∈Q(S)μ(Qik)=μ(S′)≤1\sum_{i\in Q(S)}\mu(Q_{i}^{k})=\mu(S^{\prime})\leq 1, the final bound follows from Cauchy-Schwarz. ∎

The key step in proving the upper bound of Theorem 1 is giving a bound for IE[Wpp(μ,μ^n)]{\rm I}\kern-1.79993pt{\rm E}[W_{p}^{p}(\mu,\hat{\mu}_{n})] in terms of the quantity dε(μ,εsps−2p)d_{\varepsilon}(\mu,\varepsilon^{\frac{sp}{s-2p}}), which appears in the definition of dp∗d_{p}^{*}.

Let p∈[1,∞)p\in[1,\infty). Suppose there exists an ε′≤1\varepsilon^{\prime}\leq 1 and s>2ps>2p such that

for all ε≤ε′\varepsilon\leq\varepsilon^{\prime}. Then

The assumption that s>2ps>2p implies that the first term in the above bound is asymptotically larger than the second term. Note also that C1C_{1} decreases as ss increases, so that as long as ss is bounded away from 2p2p, the constant C1C_{1} has no dependence on the dimension ss. On the other hand, C2C_{2} does depend exponentially on ss, even though the term C2n−1/2C_{2}n^{-1/2} is asymptotically negligible.

The presence of two terms in the upper bound of Proposition 5 is a consequence of the weakness of the assumption that the bound on dεd_{\varepsilon} holds only for ε\varepsilon sufficiently small rather than for all ε\varepsilon. In Proposition 10, below, we remove the n−1/2n^{-1/2} term by adopting a stronger assumption on dεd_{\varepsilon}.

If n<(27/ε′)sn<(27/\varepsilon^{\prime})^{s}, then the second term is larger than 11, so the bound holds from the trivial fact that Wpp(μ,ν)≤diam⁡(X)≤1W^{p}_{p}(\mu,\nu)\leq\operatorname{diam}(X)\leq 1 for any measures μ,ν\mu,\nu supported on XX. We therefore assume that n≥(27/ε′)sn\geq(27/\varepsilon^{\prime})^{s}.

Hence for k≥k′k\geq k^{\prime}, there exists a set TkT_{k} of mass at least 1−3−αk′1-3^{-\alpha k^{\prime}} such that

Applying Proposition 3 with Sk=Tk′S_{k}=T_{k^{\prime}} for k<k′k<k^{\prime} and Sk=Tk+1S_{k}=T_{k+1} for k≥k′k\geq k^{\prime} implies the existence of a dyadic partition {Qk}1≤k≤k∗\{\mathcal{Q}^{k}\}_{1\leq k\leq k^{*}} of XX such that the number of sets of Qk\mathcal{Q}^{k} intersecting SkS_{k} is at most N3−(k+1)(Sk)\mathcal{N}_{3^{-(k+1)}}(S_{k}).

Using this dyadic partition in Proposition 1 and applying Proposition 4 yields

Since Nε(T)\mathcal{N}_{\varepsilon}(T) increases as ε\varepsilon decreases, for k≤k′−1k\leq k^{\prime}-1 we have the bound

By construction, the sets TkT_{k} also satisfy for k≥k′k\geq k^{\prime}

Combining these bounds with the bound ∑k=1k∗3−(k−1)p≤3/2\sum_{k=1}^{k^{*}}3^{-(k-1)p}\leq 3/2 for p≥1p\geq 1 yields

The choice of k∗k^{*} implies that 3(k∗+2)s≤n3^{(k^{*}+2)s}\leq n and that 3−k∗p≤33pn−p/s3^{-k^{*}p}\leq 3^{3p}n^{-p/s}, and the choice of k′k^{\prime} implies that αk′>plog⁡nslog⁡3−3α\alpha k^{\prime}>p\frac{\log n}{s\log 3}-3\alpha, so that 3−αk′<33αn−p/s3^{-\alpha k^{\prime}}<3^{3\alpha}n^{-p/s}. Combining these estimates yields

Plugging in the definitions of C1C_{1} and C2C_{2} then yields the claim. ∎

If s>dp∗(μ)s>d_{p}^{*}(\mu), then there exists an ε′\varepsilon^{\prime} such that dε(μ,εsps−2pk)≤sd_{\varepsilon}(\mu,\varepsilon^{\frac{sp}{s-2p}k})\leq s for all ε≤ε′\varepsilon\leq\varepsilon^{\prime}. Apply Proposition 5. ∎

5 Proof of lower bound

Our asymptotic lower bounds involving d∗(μ)d_{*}(\mu) follow from a much simpler argument. One striking feature of this lower bound is that it actually holds not merely for the empirical measure μ^n\hat{\mu}_{n} but indeed for any measure ν\nu supported on at most nn atoms. That such lower bounds are often tight for empirical measures is a rather surprising fact, which has been noted several times, including in Dudley’s original paper [CR12, Klo12, DSS13, Dud68, BLG14].

The following Proposition is adapted from [Dud68] and forms the core of the lower bound.

Suppose that there exist positive constants ε′\varepsilon^{\prime}, τ\tau, and tt such that

for all ε≤ε′\varepsilon\leq\varepsilon^{\prime}. If n>ε′−tn>{\varepsilon^{\prime}}^{-t} and ν\nu is any measure supported on at most nn points, then

Choose ε=n−1/t/2\varepsilon=n^{-1/t}/2, and let S=⋃x∈supp⁡(ν)B(x,ε/2)S=\bigcup_{x\in\operatorname{supp}(\nu)}B(x,\varepsilon/2). Since Nε′(μ,τ)≥ε−t>n\mathcal{N}^{\prime}_{\varepsilon}(\mu,\tau)\geq\varepsilon^{-t}>n, we must have μ(S)<1−τ\mu(S)<1-\tau. Therefore, if X∼μX\sim\mu, then D(X,supp⁡(ν))≥ε/2D(X,\operatorname{supp}(\nu))\geq\varepsilon/2 with probability at least τ\tau. Hence if (X,Y)(X,Y) is any coupling of μ\mu and ν\nu,

Proposition 6 immediately implies the desired asymptotic lower bound.

If t<d∗(μ)t<d_{*}(\mu) and ν\nu is any measure supported on at most nn points, then

By the definition of d∗(μ)d_{*}(\mu), for any t<d∗(μ)t<d_{*}(\mu), there exist constants ε′\varepsilon^{\prime} and τ\tau as in the statement of Proposition 6. The claim follows. ∎

6 Regular spaces

The remark after Proposition 2 establishes that d∗(μ)d_{*}(\mu) and dp∗(μ)d^{*}_{p}(\mu) do not agree in general. However, these dimensions do agree whenever the measure is sufficiently well behaved. In this section, we give several broad classes of examples for which they do match, and for which our bounds are therefore sharp.

The following Proposition gives a simple condition under which this agreement occurs.

Let Hd\mathcal{H}^{d} be the dd-dimensional Hausdorff measure on a closed set SS. If μ≪Hd\mu\ll\mathcal{H}^{d} and supp⁡(μ)⊆S\operatorname{supp}(\mu)\subseteq S, then for any p∈[1,d/2]p\in[1,d/2],

In particular, if d=dM(S)d=d_{M}(S), then d∗(μ)=dp∗(μ)=dd_{*}(\mu)=d^{*}_{p}(\mu)=d.

Limiting our attention to sets for which the Hausdorff measure is well behaved motivates the following definition, which appears in [GL07].

A set SS is regular of dimension dd if it is compact and there exists constants cc and r0r_{0} such that the dd-dimensional Hausdorff measure Hd\mathcal{H}^{d} on SS satisfies

It is well known (see, e.g., [Mat99, Theorem 5.7]) that dM(S)=dd_{M}(S)=d if SS is regular of dimension dd. We therefore obtain the following simple characterization.

If the support of μ\mu is a regular set of dimension dd and μ≪Hd\mu\ll\mathcal{H}^{d}, then for any p∈[1,d/2]p\in[1,d/2],

The following Proposition, which appears in [GL07], shows that many well behaved sets are regular, and so implies the existence of many examples for which our results are tight.

The following sets are regular of dimension dd:

Nonempty, compact convex sets spanned by an affine space of dimension dd,

Relative boundaries of nonempty, compact convex sets of dimension d+1d+1,

Compact dd-dimensional differentiable manifolds,

Self-similar sets with similarity dimension dd.

Moreover, regularity is preserved under finite unions and bi-Lipschitz maps.

Finite-sample bounds and multiscale behavior

The results of Section 4 imply that for any sufficiently regular dd-dimensional measure μ\mu, the empirical measure μ^n\hat{\mu}_{n} approaches μ\mu in WpW_{p} at a rate of approximately n−1/dn^{-1/d}. For example, if μ\mu is absolutely continuous with respect to the Lebesgue measure on d^{d}, Dudley showed that the slow n−1/dn^{-1/d} rate is unavoidable [Dud68]. Faster rates can be obtained if μ\mu is singular: for instance, if μ\mu is a sum of a finite number of Dirac masses, then Proposition 1 can be used to show that μ^n\hat{\mu}_{n} approaches μ\mu at a much faster n−1/2pn^{-1/2p} rate, independent of the ambient dimension.

However, what should one expect if μ\mu is approximately a sum of Dirac masses (or, in general, approximately low dimensional)? Suppose for instance that μ\mu is the convolution of a sum of Dirac masses with an isotropic Gaussian of small variance. Since μ\mu has a density, Wp(μ,μ^n)W_{p}(\mu,\hat{\mu}_{n}) must scale like n−1/dn^{-1/d} eventually, but it is possible that the convergence of μ^n\hat{\mu}_{n} to μ\mu should improve due to the fact that μ\mu is almost singular.

It turns out that this is indeed the case, as we show in this Section. We begin by proving a sharper version of Proposition 5 better suited to non-asymptotic results. In the second half of this Section, we show how this non-asymptotic bound can be used to prove faster convergence rates in the finite-sample regime for situations like the one described above.

The statement of Proposition 5 only assumes a bound on the quantity dε(μ,τ)d_{\varepsilon}(\mu,\tau) for sufficiently small ε\varepsilon. It is therefore well suited to establishing results of an asymptotic nature. On the other hand, the resulting bound did not give any indication of the behavior in the small-nn regime, since the bound was vacuous for n≲(ε′)−2n\lesssim(\varepsilon^{\prime})^{-2}.

If we have stronger control over dε(μ,τ)d_{\varepsilon}(\mu,\tau), then the proof of Proposition 5 can be modified to yield a finite-sample result. In particular, if we can control dε(μ,τ)d_{\varepsilon}(\mu,\tau) for all ε\varepsilon larger than a certain threshold, we can prove an upper bound without the n−1/2n^{-1/2} term present in Proposition 5.

Fix p∈[1,∞)p\in[1,\infty). Write d≥ε(μ,τ)=sup⁡ε′∈[ε,1/9]dε(μ,τ)d_{\geq\varepsilon}(\mu,\tau)=\sup_{\varepsilon^{\prime}\in[\varepsilon,1/9]}d_{\varepsilon}(\mu,\tau), and let dn=inf⁡ε>0max⁡{d≥ε(μ,εp),log⁡n−log⁡ε}d_{n}=\inf_{\varepsilon>0}\max\{d_{\geq\varepsilon}(\mu,\varepsilon^{p}),\frac{\log n}{-\log\varepsilon}\}. If dn>2pd_{n}>2p, then

As in Proposition 5, the constant C1C_{1} is independent of the dimension as long as dnd_{n} is bounded away from 2p2p.

Fix an arbitrary ε\varepsilon, and let d=max⁡{d≥ε(μ,εp),log⁡n−log⁡ε}d=\max\{d_{\geq\varepsilon}(\mu,\varepsilon^{p}),\frac{\log n}{-\log\varepsilon}\}, where d>2pd>2p. If n−1/d≥1/27n^{-1/d}\geq 1/27, then the bound Wpp(μ,μ^n)≤C1n−p/dW^{p}_{p}(\mu,\hat{\mu}_{n})\leq C_{1}n^{-p/d} is trivial, so assume that n>33dn>3^{3d}.

Let k∗=⌊log⁡ndlog⁡3⌋−2k^{*}=\left\lfloor\frac{\log n}{d\log 3}\right\rfloor-2. As in the proof of Proposition 5, we can choose sets S1,…,Sk∗S_{1},\dots,S_{k^{*}} such that μ(Sk)≥1−εp\mu(S_{k})\geq 1-\varepsilon^{p} and N3−(k+1)(Sk)=N3−(k+1)(μ,εp)\mathcal{N}_{3^{-(k+1)}}(S_{k})=\mathcal{N}_{3^{-(k+1)}}(\mu,\varepsilon^{p}) for 1≤k≤k∗1\leq k\leq k^{*}. Applying Proposition 3 to construct an appropriate dyadic partition and using Propositions 1 and 4 yields

By the definition of k∗k^{*}, for 1≤k≤k∗1\leq k\leq k^{*},

so 3−(k+1)≥ε3^{-(k+1)}\geq\varepsilon. Hence 3εp≤3−k∗p3\varepsilon^{p}\leq 3^{-k^{*}p} and N3−(k+1)(μ,εp)≤3(k+1)d\mathcal{N}_{3^{-(k+1)}}(\mu,\varepsilon^{p})\leq 3^{(k+1)d} for 1≤k≤k∗1\leq k\leq k^{*}, and applying the bound ∑k=1k∗3−(k−1)p≤3/2\sum_{k=1}^{k^{*}}3^{-(k-1)p}\leq 3/2 for p≥1p\geq 1 yields

where in the last step we have used the fact that d≥dnd\geq d_{n} and 13d2−p−1\frac{1}{3^{\frac{d}{2}-p}-1} is decreasing in dd.

Taking the infimum over all possible choices of ε\varepsilon yields the bound. ∎

Note in the proof of Proposition 10 that we in fact only needed control over dε′(μ,τ)d_{\varepsilon^{\prime}}(\mu,\tau) for ε′\varepsilon^{\prime} of the form 3−k3^{-k} for kk a positive integer, though for simplicity we have assumed that we can bound dε′(μ,τ)d_{\varepsilon^{\prime}}(\mu,\tau) for all ε′∈[ε,1/9]\varepsilon^{\prime}\in[\varepsilon,1/9].

Let δn\delta_{n} be a nonincreasing sequence in (0,1)(0,1) with the following properties:

the bound δn≥n−1\delta_{n}\geq n^{-1} holds for all n≥2n\geq 2 (i.e., δn\delta_{n} does not decrease too quickly)

the sequence log⁡n−log⁡δn\frac{\log n}{-\log\delta_{n}} is nondecreasing (i.e., the rate of decrease of δn\delta_{n} slows), and

there exist constants c>1c>1 and α∈[−1,0)\alpha\in[-1,0) such that 1cnα≤δn≤cnα\frac{1}{c}n^{\alpha}\leq\delta_{n}\leq cn^{\alpha} for all nn sufficiently large (i.e., δn\delta_{n} eventually decreases polynomially in nn).

for all p∈[1,∞)p\in[1,\infty), all n≥1n\geq 1, and any measure ν\nu supported on at most nn points.

Proposition 10 only holds when dn>2pd_{n}>2p, so for completeness we conclude this section by providing a second bound that can be used when Prposition 10 does not apply. The following bound is always valid and is sharper when the asymptotic dimension of μ\mu is small.

Let mn=inf⁡ε>0max⁡{Nε(μ,εp),nε2p}m_{n}=\inf_{\varepsilon>0}\max\{\mathcal{N}_{\varepsilon}(\mu,\varepsilon^{p}),n\varepsilon^{2p}\}. Then

Fix an arbitrary ε\varepsilon, and let m=max⁡{Nε(μ,εp),nε2p}m=\max\{\mathcal{N}_{\varepsilon}(\mu,\varepsilon^{p}),n\varepsilon^{2p}\}. If ε≥1/9\varepsilon\geq 1/9, then the bound Wpp(μ,μ^n)≤C1mnW_{p}^{p}(\mu,\hat{\mu}_{n})\leq C_{1}\sqrt{\frac{m}{n}} is trivial, so assume ε<1/9\varepsilon<1/9.

Let k^{*}=\Big{\lfloor}\frac{-\log\varepsilon}{\log 3}\Big{\rfloor}-1. Following the proof of Proposition 10, we have

The monotonicity of Nε(μ,τ)\mathcal{N}_{\varepsilon}(\mu,\tau) implies that N3−(k+1)(μ,εp)≤Nε(μ,εp)≤m\mathcal{N}_{3^{-(k+1)}}(\mu,\varepsilon^{p})\leq\mathcal{N}_{\varepsilon}(\mu,\varepsilon^{p})\leq m for all k≤k∗k\leq k^{*}. Plugging in this estimate and applying the bound ∑k=1k∗3−(k−1)p≤3/2\sum_{k=1}^{k^{*}}3^{-(k-1)p}\leq 3/2 for p≥1p\geq 1 yields

On the other hand, 3−k∗p=9p3−(k∗+2)p<9pεp≤9pmn3^{-k^{*}p}=9^{p}3^{-(k^{*}+2)p}<9^{p}\varepsilon^{p}\leq 9^{p}\sqrt{\frac{m}{n}}, so

Taking the infimum over all possible choices of ε\varepsilon yields the bound. ∎

2 Clusterable distributions

We now return to the situation described in the introduction to this Section and analyze the case where μ\mu is like a sum of Dirac masses. This is the simplest example of where multiscale behavior can occur. We validate the intuition presented above: when μ\mu is approximately discrete, in the sense that it is supported on balls of small radius, then the convergence of μ^n\hat{\mu}_{n} to μ\mu enjoys the fast n−1/2pn^{-1/2p} rate until nn is large even μ\mu is absolutely continuous with respect to the Lebesgue measure. We show that a similar phenomenon occurs when μ\mu is the convolution of a discrete distribution with a small Gaussian, where we show that it is enough that most of the mass of μ\mu is near a discrete distribution, even though the support is unbounded.

A distribution μ\mu is (m,Δ)(m,\Delta)-clusterable if supp⁡(μ)\operatorname{supp}(\mu) lies in the union of mm balls of radius at most Δ\Delta.

Intuitively, the measure μ\mu looks like a sum of mm Dirac measures at “large scales,” with high-dimensional information arriving only when we consider scales smaller than Δ\Delta.

If μ\mu is (m,Δ)(m,\Delta) clusterable, then for all n≤m(2Δ)−2pn\leq m(2\Delta)^{-2p},

Since supp⁡(μ)\operatorname{supp}(\mu) lies in the union of mm balls of radius at most Δ\Delta, we have N2Δ(μ)≤m\mathcal{N}_{2\Delta}(\mu)\leq m. Therefore if n≤m(2Δ)−2pn\leq m(2\Delta)^{-2p}, then

and the claim follows from Proposition 12. ∎

We can apply the above result to “Diracs plus Gaussian” case described in the introduction to this Section. We first require a simple Lemma, which allows us bound the mass of a Gaussian outside of a small ball.

If Z∼N(0,Σ)Z\sim\mathcal{N}(0,\Sigma), then for any c≥5c\geq 5,

Proposition 13 and Lemma 1 yield the following claim.

Since the measure μ\mu is absolutely continuous with respect to the Lebesgue measure, if d>2pd>2p, then asymptotically we have

which is slower than the n−1/2n^{-1/2} rate obtainable for small nn.

Let c=2plog⁡1σc=2\sqrt{p\log\frac{1}{\sigma}}, which by assumption is at least 55. By Lemma 1, all but at most e−c2/4=σpe^{-c^{2}/4}=\sigma^{p} mass lies within balls of radius cσc\sigma around the mixture centers. Therefore N2cσ(μ,(2cσ)p)≤N2cσ(μ,σp)≤m\mathcal{N}_{2c\sigma}(\mu,(2c\sigma)^{p})\leq\mathcal{N}_{2c\sigma}(\mu,\sigma^{p})\leq m. If n≤m(16σ2plog⁡1σ)−p=m(2cσ)−2pn\leq m(16\sigma^{2}p\log\frac{1}{\sigma})^{-p}=m(2c\sigma)^{-2p}, then we obtain

and the claim follows from Proposition 12. ∎

3 Approximately low-dimensional sets

We now broaden considerably to the general case where μ\mu is supported on an approximately low-dimensional set.

For any S⊆XS\subseteq X, the ε\varepsilon-fattening of SS is

If S′⊂SεS^{\prime}\subset S_{\varepsilon} for some SS, then S′S^{\prime} is close to SS in the sense that every point of S′S^{\prime} is within ε\varepsilon of some point in SS. In particular, S′⊂SεS^{\prime}\subset S_{\varepsilon} if the Hausdorff distance between S′S^{\prime} and SS is at most ε\varepsilon.

Measures supported on SεS_{\varepsilon} are “close” to measures supported on SS, and if SS is low-dimensional, then we obtain correspondingly better finite-sample rates.

Suppose supp⁡(μ)⊆Sε\operatorname{supp}(\mu)\subseteq S_{\varepsilon} for some ε>0\varepsilon>0 and set SS satisfying

for all ε′≤1/27\varepsilon^{\prime}\leq 1/27 and for some d>2pd>2p. Then for all n≤(3ε)−dn\leq(3\varepsilon)^{-d},

Given any covering of SS by balls B1,…,BmB_{1},\dots,B_{m} of diameter ε′\varepsilon^{\prime}, the ε\varepsilon-fattenings (B1)ε,…,(Bm)ε(B_{1})_{\varepsilon},\dots,(B_{m})_{\varepsilon} provide a covering of SεS_{\varepsilon} by balls of diameter ε′+2ε\varepsilon^{\prime}+2\varepsilon. This implies for all ε′≥ε\varepsilon^{\prime}\geq\varepsilon that

Therefore, if n≤(3ε)−dn\leq(3\varepsilon)^{-d}, then

We can also relax the requirement that supp⁡(μ)⊆Sε\operatorname{supp}(\mu)\subseteq S_{\varepsilon} to the statement that μ\mu is concentrated near SS.

for all ε≤1/27\varepsilon\leq 1/27, for some d>2pd>2p. Suppose there exists a positive constant σ\sigma such that μ\mu satisfies

for all ε>0\varepsilon>0. If plog⁡1σ≥118p\log\frac{1}{\sigma}\geq\frac{1}{18}, then for all n≤(18pσ2log⁡1σ)−d/2n\leq\left(18p\sigma^{2}\log\frac{1}{\sigma}\right)^{-d/2},

In other words, we again get the fast n−p/dn^{-p/d} rate until nn is of order approximately σ−d\sigma^{-d}.

Let ε=2pσ2log⁡1σ\varepsilon=\sqrt{2p\sigma^{2}\log\frac{1}{\sigma}}. As in the proof of Proposition 15, the assumptions imply that

we conclude that as long as n≤(18pσ2log⁡1σ)−d/2n\leq\left(18p\sigma^{2}\log\frac{1}{\sigma}\right)^{-d/2}, then

and the claim follows from Proposition 10. ∎

The condition appearing in Proposition 16 is notable because it resembles the guarantee of an isoperimetric inequality [Led05]. Such inequalities are an important topic in modern geometric probability theory, and possess a close connection to the W1W_{1} distance [BG99].

It is a striking fact about such inequalities that they are intimately connected to the concentration properties of 11-Lipschitz functions.

then for any set AA with μ(A)≥1/2\mu(A)\geq 1/2,

Conversely, if (3) holds for all sets AA with μ(A)≥1/2\mu(A)\geq 1/2, then (2) holds for any 11-Lipschitz function ff with median mfm_{f}.

The conditions of Proposition 17 have been used recently to show concentration bounds for the W1W_{1} distance [BGV07]. Here, we show that if μ\mu possesses the property described above, then μ^n\hat{\mu}_{n} enjoys a fast rate of convergence to μ\mu for any pp, as long as μ\mu assigns a constant fraction of mass to a low-dimensional set.

Suppose that μ\mu satisfies either of the two equivalent conditions of Proposition 17 with some σ\sigma satisfying plog⁡1σ≥118p\log\frac{1}{\sigma}\geq\frac{1}{18}. If SS is a set satisfying

for all ε\varepsilon, for some d>2pd>2p and μ(S)≥1/2\mu(S)\geq 1/2, then for all n≤(18pσ2log⁡1σ)−d/2n\leq\left(18p\sigma^{2}\log\frac{1}{\sigma}\right)^{-d/2},

Concentration

In addition to proving bounds on the expected value of the quantity Wpp(μ,μ^n)W_{p}^{p}(\mu,\hat{\mu}_{n}), we also show that it concentrates well around its expectation. Previous work [BGV07, Boi11] has sought to obtain tail bounds of the form

where ψn(t)\psi_{n}(t) is some function exhibiting subgaussian decay. The results of [BGV07] appear to obtain this rate, but the constants involved depend on nn and the ambient dimension of the space in a way that makes the results difficult to interpret.

We follow a different approach, which more clearly emphasizes the dependence of the tail on nn and the dimension. The results of Sections 4 and 5, above, yield bounds on the expected value IE[Wpp(μ,μ^n)]{\rm I}\kern-1.79993pt{\rm E}[W_{p}^{p}(\mu,\hat{\mu}_{n})]. As we have seen, the convergence of this quantity to may be slow when the dimension is large. On the other hand, we show below that, as long as XX is bounded, the quantity Wpp(μ,μ^n)W_{p}^{p}(\mu,\hat{\mu}_{n}) concentrates well around its expectation independent of the dimension. The argument is standard [Tal92] and is significantly easier to obtain than the above bounds on the expected value.

We require the following dual formulation [RR90, R9̈1].

The following claims are standard, and we provide a proof in Appendix A for completeness.

Given any pair of probability measures μ\mu and ν\nu on XX and any p∈[1,∞)p\in[1,\infty), the following duality holds:

where the supremum is taken over all bounded continuous functions on XX and fcf^{c} is the cc-transform of ff with respect to D(⋅,⋅)pD(\cdot,\cdot)^{p}. Moreover, if diam⁡(X)≤1\operatorname{diam}(X)\leq 1, then we can take 0≤f(x)≤10\leq f(x)\leq 1 for all x∈Xx\in X.

We then obtain a concentration result via a standard bounded difference argument.

Let μ^n\hat{\mu}_{n} be the empirical distribution corresponding to the i.i.d. samples X1,…,Xn∼μX_{1},\dots,X_{n}\sim\mu. We abbreviate Wpp(μ,μ^n)W_{p}^{p}(\mu,\hat{\mu}_{n}) by WW. By Proposition 19, we can write

or, writing WW explicitly as a function of X1,…XnX_{1},\dots X_{n},

For any x1,…,xn,xn′∈Xx_{1},\dots,x_{n},x_{n}^{\prime}\in X, we have

Applying McDiarmid’s inequality [McD89] yields the bound. ∎

Applications

In this section, we sketch two applications of our work to machine learning and statistics.

is as good as possible for a wide class of functions ff. This problem possesses close connections to optimal quantization, since the points x1,…,xnx_{1},\dots,x_{n} naturally serve as a finite approximation to the underlying measure [GL07, Pag98].

Recalling (1), we immediately see that the first claim corresponds to the fact that IEW1(μ,μ^n)≲n−1/s{\rm I}\kern-1.79993pt{\rm E}W_{1}(\mu,\hat{\mu}_{n})\lesssim n^{-1/s}, which follows from Corollary 1 and Proposition 8.

For the second claim, we first note that by choosing f(x)=cf(x)=c to be a constant function, we have

Since such an ff is Lipschitz, by choosing cc arbitrarily large we obtain that

unless ∑i=1nαi=1\sum_{i=1}^{n}\alpha_{i}=1. It therefore suffices to prove the claim when ∑i=1nαi=1\sum_{i=1}^{n}\alpha_{i}=1. In this case, setting

and again applying (1) yields that this claim is equivalent to the fact that W1(μ,ν)≳n−1/tW_{1}(\mu,\nu)\gtrsim n^{-1/t}. Since ν\nu is supported on at most nn points, this follows from Corollary 2 and Proposition 8. ∎

2 k𝑘k-means clustering

on the basis of n=C2k2+4dn=C_{2}k^{2+\frac{4}{d}} samples. Corollary 2 implies that this dependence on kk is asymptotically optimal.

Our results show that a much simpler procedure suffices in high dimensions. As long as d≥4d\geq 4, the empirical measure μ^k\hat{\mu}_{k} satisfies

for any s>ds>d, and Proposition 20 then implies that

This shows that clustering a measure μ\mu into kk pieces on the basis of kk i.i.d. samples from μ\mu is asymptotically optimal, and enjoys concentration properties even better than the ones implied by [CR12].

Conclusion and Future Work

Our focus in this work has been to obtain sharper rates than previously available for the convergence of μ^n\hat{\mu}_{n} to μ^\hat{\mu} in Wasserstein distance, both in asymptotic and finite-sample settings. Our results give theoretical support to a phenomenon observed in practice: even though Wp(μ,μ^n)W_{p}(\mu,\hat{\mu}_{n}) can converge very slowly for measures supported on a high-dimensional metric space, many measures arising in applications are intrinsically low dimensional, at least approximately, and therefore enjoy reasonably fast rates of convergence.

Our work leaves open whether slightly different versions of the Wasserstein distance can converge faster in general. Recently, a version of the Wasserstein distance with an entropic penalty has been proposed and shown to have attractive theoretical properties and practical performance [SdGP+15, Cut13, CDPS17, RCP16]. It is possible that these objects achieve better rates than the vanilla Wasserstein distance in the high-dimensional setting.

We also do not consider here empirical measures other than the simple μ^n\hat{\mu}_{n}. In practice, a technique known as importance sampling [Buc13] is often used to reduce the variance of estimates produced on the basis of random samples from a distribution. As noted in Section 7.1, if μ\mu is sufficiently regular, then no discrete measure on nn points can achieve better asymptotic performance than the empirical measure μ^n\hat{\mu}_{n}. However, we conjecture that many reasonable sampling techniques should produce measures that are also asymptotically no worse than μ^n\hat{\mu}_{n}. We leave this question for future work.

Acknowledgments

We thank Guillaume Carlier, Marco Cuturi, and Gabriel Peyré for discussions related to this work. JW would like to thank FB for his hospitality at INRIA, where this research was conducted.

Appendix A Omitted proofs

We begin by giving an informal outline of the idea of the proof.

Consider a partition {Qi}i∈I\{Q_{i}\}_{i\in\mathcal{I}} of XX, for some index set I\mathcal{I}. The measures μ\mu and ν\nu both induce measures on each set in the partition. We will transport μ\mu to ν\nu by first moving mass between sets in this partition, and then moving mass within each set in the partition. If μ(Qi)≠ν(Qi)\mu(Q_{i})\neq\nu(Q_{i}) for one of the sets QiQ_{i}, we we need to transport an amount of mass equal to ∣μ(Qi)−ν(Qi)∣|\mu(Q_{i})-\nu(Q_{i})| into or out of QiQ_{i}. In total, we can transport the mass that μ\mu assigns to each set in the partition to its proper set under ν\nu for a total cost of

where we use the fact that diam⁡(S)≤diam⁡(X)≤1\operatorname{diam}(S)\leq\operatorname{diam}(X)\leq 1 by assumption.

After the first step of the transport plan, μ\mu has been transported so that each set in the partition contains the correct total amount of mass. It therefore suffices in the second step to properly arrange the mass within each set. Moving the mass within QiQ_{i} cannot cost more than diam⁡(Qi)\operatorname{diam}(Q_{i}), so the total cost of arranging the mass within each set is at most

We have obtained a transport of μ\mu to ν\nu for a total cost of approximately

This “single scale” bound is generally not tight, but a more refined bound can be obtained by applying the above argument recursively: instead of naively bounding the cost of moving the mass within QiQ_{i} by the quantity diam⁡(Qi)\operatorname{diam}(Q_{i}), we can partition QiQ_{i} into smaller sets and estimate the cost of moving the mass within QiQ_{i} by first moving it between the sets of the partition before moving it within each smaller set. Iterating the argument k∗k^{*} times yields the bound.

We now show how to make the above argument precise. Given two measures μ\mu and ν\nu on XX, write C(μ,ν)\mathcal{C}(\mu,\nu) for the set of couplings between μ\mu and ν\nu; that is, for the set of measures on X×XX\times X whose projection onto the first and second coordinate correspond to μ\mu and ν\nu respectively.

Fix a k∗≥1k^{*}\geq 1. We will define two sequences of measure πk\pi_{k} and ρk\rho_{k} on XX for 1≤k≤k∗1\leq k\leq k^{*} such that ∑k=1k∗πk≤μ\sum_{k=1}^{k^{*}}\pi_{k}\leq\mu and ∑k=1k∗ρk≤ν\sum_{k=1}^{k^{*}}\rho_{k}\leq\nu. Given such a sequence, we set μ1=μ\mu_{1}=\mu and ν1=ν\nu_{1}=\nu and write

Note that if γk∈C(πk,ρk)\gamma_{k}\in\mathcal{C}(\pi_{k},\rho_{k}) for 1≤k≤k∗1\leq k\leq k^{*} and γk∗+1∈C(μk∗+1,νk∗+1)\gamma_{k^{*}+1}\in\mathcal{C}(\mu_{k^{*}+1},\nu_{k^{*}+1}), then

Note that 0≤πk≤μk0\leq\pi_{k}\leq\mu_{k} and 0≤ρk≤νk0\leq\rho_{k}\leq\nu_{k} for all kk, hence 0≤μk≤μ0\leq\mu_{k}\leq\mu and 0≤νk≤ν0\leq\nu_{k}\leq\nu for all kk as well.

If α\alpha and β\beta are two measures on XX such that

We can now obtain the final bound. By Lemmas A.1 and A.2,

A.2 Proof of Proposition 2

We prove the inequalities in order. If d<dH(μ)d<d_{H}(\mu), then by [Fal97, Proposition 10.3] there exists a compact set KK with positive mass and a r0>0r_{0}>0 such that

for all r≤r0r\leq r_{0} and all x∈Kx\in K. (See also the proof of [GL07, Corollary 12.16].) Let τ<μ(K)/2\tau<\mu(K)/2. If SS is any set with μ(S)≥1−τ\mu(S)\geq 1-\tau, then μ(S∩K)>μ(K)/2\mu(S\cap K)>\mu(K)/2. If Nε(S)=N\mathcal{N}_{\varepsilon}(S)=N, then in particular there exists a covering of S∩KS\cap K by at most NN balls of radius ε\varepsilon whose centers all lie in KK. Indeed, any set of diameter at most ε\varepsilon which intersects S∩KS\cap K is contained in a ball of radius ε\varepsilon whose center is in KK. If ε≤r0\varepsilon\leq r_{0}, then each such ball satisfies μ(B(x,r))≤εd\mu(B(x,r))\leq\varepsilon^{d}, so

We therefore have for all τ\tau sufficiently small,

Thus d∗(μ)≥dd_{*}(\mu)\geq d. Since d<dH(μ)d<d_{H}(\mu) was arbitrary, we have dH(μ)≤d∗(μ)d_{H}(\mu)\leq d_{*}(\mu), as desired.

That d∗(μ)≤dp∗(μ)d_{*}(\mu)\leq d^{*}_{p}(\mu) follows from the simple observation that for all positive α\alpha and τ\tau,

Finally, if dM(μ)≥2pd_{M}(\mu)\geq 2p, then setting s>dM(μ)s>d_{M}(\mu) yields

so dp∗(μ)≤sd_{p}^{*}(\mu)\leq s. Since s>dM(μ)s>d_{M}(\mu) was arbitrary, we obtain dp∗(μ)≤dM(μ)d_{p}^{*}(\mu)\leq d_{M}(\mu). ∎

A.3 Proof of Proposition 3

Write Nk=N3−(k+1)(Sk)N_{k}=\mathcal{N}_{3^{-(k+1)}}(S_{k}). For 1≤k≤k∗1\leq k\leq k^{*}, let Ck={C1k,… }C^{k}=\{C^{k}_{1},\dots\} be a finite covering of SS by balls of diameter 3−(k+1)3^{-(k+1)} such that C1k,…,CNkkC^{k}_{1},\dots,C^{k}_{N_{k}} covers SkS_{k}. Such a covering can always be found by choosing an optimal covering of SkS_{k} and extending this covering to a covering of all of SS. Since N3−(k∗+1)(S)<∞\mathcal{N}_{3^{-(k^{*}+1)}}(S)<\infty, this requires only a finite number of additional balls.

We now show how to construct Qk\mathcal{Q}^{k} from Qk+1\mathcal{Q}^{k+1} and CkC^{k}. Let

Let Qk={Q1k,… }\mathcal{Q}^{k}=\{\mathcal{Q}^{k}_{1},\dots\}.

A.4 Proof of Proposition 7

The only inequality that does not follow from Proposition 2 is the first. By absolute continuity, for all τ>0\tau>0 there exists a σ>0\sigma>0 such that any set TT for which μ(T)≥1−τ\mu(T)\geq 1-\tau satisfies Hd(T)≥σ\mathcal{H}^{d}(T)\geq\sigma. If Hd(T)≥σ\mathcal{H}^{d}(T)\geq\sigma, then in particular for any covering {B(xi,ε)}\{B(x_{i},\varepsilon)\} of TT by balls of radius ε\varepsilon, we must have ∑iεd≥σ\sum_{i}\varepsilon^{d}\geq\sigma. Therefore such a covering contains at least σε−d\sigma\varepsilon^{-d} balls, so

and taking limits yields that d∗(μ)≥dd_{*}(\mu)\geq d, as desired. ∎

A.5 Proof of Proposition 11

For all integers k≥0k\geq 0, denote by NkN_{k} the smallest positive integer nn such that nn is a power of two and δn≤2−k\delta_{n}\leq 2^{-k}. Such an integer always exists because the sequence δn\delta_{n} decreases to . We require the following lemma, whose proof is deferred to Appendix B.

Let mm be an integer large enough that Nk+1/Nk≤2mN_{k+1}/N_{k}\leq 2^{m} for all nn. Let Q\mathcal{Q} be the standard dyadic partition of $,with, with\mathcal{Q}^{k}beingapartitionofbeing a partition of^{m}consistingofconsisting of2^{km}cubesofsidelengthcubes of side length2^{-k}$.

Our measure μ\mu will satisfy N2−k(μ)=Nk−2\mathcal{N}_{2^{-k}}(\mu)=N_{k-2} for all k≥2k\geq 2. We will define a sequence of measures {μk}k=2∞\{\mu_{k}\}_{k=2}^{\infty} iteratively and construct μ\mu as their limit in the weak topology.

Let μ2\mu_{2} be the uniform distribution on [0,1/4]m[0,1/4]^{m}. For each positive integer kk, the measure μk\mu_{k} will be supported on Nk−2N_{k-2} cubes in Q\mathcal{Q}, and will be uniform on its support. We will call a cube Qi∈QkQ_{i}\in\mathcal{Q}^{k} live if μk(Qi)≠0\mu_{k}(Q_{i})\neq 0.

Fix an ordering x0,…,x2m−1x_{0},\dots,x_{2^{m}-1} of the 2m2^{m} elements of {0,1}m\{0,1\}^{m}. To produce μk+1\mu_{k+1} from μk\mu_{k}, divide each live cube of μk\mu_{k} into 2m2^{m} cubes of side length 2−(k+1)2^{-(k+1)}. The ordering of {0,1}m\{0,1\}^{m} induces an order on these 2m2^{m} subcubes.

Given a live Q∈QkQ\in\mathcal{Q}^{k}, define the restriction μk+1∣Q\mu_{k+1}|_{Q} by requiring that μk+1(Q)=μk(Q)\mu_{k+1}(Q)=\mu_{k}(Q) and that μk+1∣Q\mu_{k+1}|_{Q} be uniform on the union of the first Nk+1/NkN_{k+1}/N_{k} subcubes of QQ. Note that Nk+1/NkN_{k+1}/N_{k} is an integer because both Nk+1N_{k+1} and NkN_{k} are powers of 22, and by assumption Nk+1/Nk≤2mN_{k+1}/N_{k}\leq 2^{m}, the total number of subcubes of QQ. Since Qk\mathcal{Q}^{k} forms a partition of m^{m}, combining the measures μk+1∣Q\mu_{k+1}|_{Q} for Q∈QkQ\in\mathcal{Q}^{k} yields a probability measure μk+1\mu_{k+1} on m^{m}. By Prokhorov’s theorem, this sequence of measures μk\mu_{k} possesses a subsequence converging in distribution to some measure μ\mu.

The following lemma collects necessary properties of μ\mu. Its proof appears in Appendix B.

We can now obtain the lower bound. Let ν\nu be any measure supported on at most nn points. If Nk≤n<Nk+1N_{k}\leq n<N_{k+1}, then by Lemma A.4, if X∼μX\sim\mu, then

Markov’s inequality therefore implies for any coupling (X,Y)(X,Y) of μ\mu and ν\nu that

A.6 Proof of Proposition 19

Both claims are standard, and details can be found in [Vil08, Theorem 5.10]. The first follows follows from the assumption that XX is a bounded Polish space. For the second, we use the fact that the supremum is achieved by an ff satisfying

Let ff be a function achieving the supremum in (4) and satisfying (5). By adding a constant to ff and fcf^{c}, we can assume that sup⁡x∈Xf(x)=1\sup_{x\in X}f(x)=1. Then for all y∈Xy\in X,

A.7 Proof of Lemma 1

Let Σ=∑i=1dλivivi⊤\Sigma=\sum_{i=1}^{d}\lambda_{i}v_{i}v_{i}^{\top} be an eigendecomposition of Σ\Sigma with λ1≥⋯≥λd≥0\lambda_{1}\geq\dots\geq\lambda_{d}\geq 0. Then ∥Z∥22\|Z\|_{2}^{2} has the same distribution as ∑i=1dλiξi2\sum_{i=1}^{d}\lambda_{i}\xi_{i}^{2}, where ξ1,…,ξd\xi_{1},\dots,\xi_{d} are i.i.d. standard Gaussian random variables.

By [LM00, Lemma 1], for any positive tt, we have

Finally, setting c2=2(t+1)2c^{2}=2(\sqrt{t}+1)^{2}, we obtain

Appendix B Additional lemmas

Suppose first that Q∈Qk−1Q\in\mathcal{Q}^{k-1}. By definition, μk=μk−1−πk−1\mu_{k}=\mu_{k-1}-\pi_{k-1}. We obtain

We now prove the bound on πK(S)\pi_{K}(S). By definition,

We now show that, for any P∈Qk−1P\in\mathcal{Q}^{k-1}, there exist scalars c1,c2∈c_{1},c_{2}\in depending on PP such that

We proceed by induction on kk. By symmetry, it suffices to prove the claim for μk\mu_{k} and μ\mu. Since μ1=μ\mu_{1}=\mu, it holds for k=1k=1. Now assume μk−1∣P=c1μ∣P\mu_{k-1}|_{P}=c_{1}\mu|_{P}. We have

where c1′=min⁡{νk−1(P)μk−1(P),1}c1c_{1}^{\prime}=\min\left\{\frac{\nu_{k-1}(P)}{\mu_{k-1}(P)},1\right\}c_{1}. This proves the claim.

Now, given such a P∈Qk−1P\in\mathcal{Q}^{k-1} and c1,c2∈c_{1},c_{2}\in, we have μk(P)=νk(P)\mu_{k}(P)=\nu_{k}(P), so

Summing over the elements of Qk\mathcal{Q}^{k} contained in PP, we obtain

Finally, summing over all P∈Qk−1P\in\mathcal{Q}^{k-1} yields

B.2 Proof of Lemma A.2

Note that γ∈C(α,β)\gamma\in C(\alpha,\beta). Indeed, for any measurable U⊂SU\subset S, since Qk−1\mathcal{Q}^{k-1} is a partition of SS, we have

On the other hand, by assumption, α(Qik)=β(Qkk)\alpha(Q_{i}^{k})=\beta(Q_{k}^{k}), so

B.3 Proof of Lemma A.3

By assumption, there exist constants cc and α\alpha such that 1cnα≤δn≤cnα\frac{1}{c}n^{\alpha}\leq\delta_{n}\leq cn^{\alpha} for all nn sufficiently large. Let M=(2c2)−1/αM=(2c^{2})^{-1/\alpha}. Then for nn sufficiently large,

This implies that for kk sufficiently large, δNk≤2−k\delta_{N_{k}}\leq 2^{-k} implies that δMNk≤2−k−1\delta_{MN_{k}}\leq 2^{-k-1}, so that Nk+1≤MNkN_{k+1}\leq MN_{k}. Hence Nk+1/Nk≤MN_{k+1}/N_{k}\leq M for all kk sufficiently large, so Nk+1/NkN_{k+1}/N_{k} is bounded for all kk. ∎

B.4 Proof of Lemma A.4

Since n≤Nk+1n\leq N_{k+1}, we have by definition δn>2−(k+1)\delta_{n}>2^{-(k+1)}. Because log⁡n−log⁡δn\frac{\log n}{-\log\delta_{n}} is nondecreasing and at least 11 for all n≥2n\geq 2, we have as long as n≥2n\geq 2 that

and therefore δ2n≥12δn>2−(k+2)\delta_{2n}\geq\frac{1}{2}\delta_{n}>2^{-(k+2)}. This implies Nk+2/2>nN_{k+2}/2>n.

If Nk≤n<Nk+1N_{k}\leq n<N_{k+1}, then by definition of NkN_{k} and Nk+1N_{k+1} and the fact that δn\delta_{n} is nonincreasing in nn,

To prove the third claim, we first note that the definition of dnd_{n} implies that

is nonincreasing as nn increases. We can therefore prove an upper bound on n−1/dnn^{-1/d_{n}} by proving an upper bound on Nk−1/dNkN_{k}^{-1/d_{N_{k}}}.

The assumption that log⁡n−log⁡δn\frac{\log n}{-\log\delta_{n}} is nonincreasing therefore implies

so n−1/dn≤Nk−1/dNk≤2−kn^{-1/d_{n}}\leq N_{k}^{-1/d_{N_{k}}}\leq 2^{-k}.

To obtain the lower bound, note that if ε≤2−(k+4)\varepsilon\leq 2^{-(k+4)}, then

where we have used the fact proved above that N2−(k+4)(μ,1/2)>n\mathcal{N}_{2^{-(k+4)}}(\mu,1/2)>n. If ε>2−(k+4)\varepsilon>2^{-(k+4)}, then

References