May 28, 2026
Importance sampling (IS) consists in biasing samples from a distribution \(f\) towards another distribution \(g\). Concretely, given samples \(X_i\) from \(f\), the IS measure is \[\hat{g}_n = \frac{1}{Z_n}\sum_{i=1}^n \frac{g(X_i)}{f(X_i)} \delta_{X_i},\] with \(Z_n = \sum_{i=1}^n \frac{g(X_i)}{f(X_i)}\). The random measure \(\hat{g}_n\) approximates \(g\), and is used in many contexts ranging from Monte Carlo integration to Bayesian inference. We show that, in high dimension (\(d \geqslant 3\)), the Wasserstein cost \(\mathscr{W}_p^p(\hat{g}_n, g)\) has order \(n^{-p/d}\) in expectation, i.e. \[\beta^{\mathrm{low}}_{p,d}\int gf^{-p/d}\leqslant \liminf_{n \to \infty} n^{p/d} \mathbb{E}[\mathscr{W}_p^p(\hat{g}_n, g)] \leqslant \limsup_{n \to \infty} n^{p/d} \mathbb{E}[\mathscr{W}_p^p(\hat{g}_n, g)] \leqslant\beta_{p,d} \int g f^{-p/d}\] where \(\beta^{\mathrm{low}}_{p,d}\leqslant \beta_{p,d}\) are constants depending only on \(p\) and \(d\), which are equal for \(p=2\) and conjectured to be equal for any \(p\geqslant 1\). Our results are valid for all \(p\geqslant 1\) and \(d\geqslant 3\).
In the case where \(\beta^{\mathrm{low}}_{p,d}= \beta_{p,d}\), we show that the asymptotically optimal sampling distribution \(f^*\) for importance sampling is not equal to \(g\) but to a tempered version of \(g\), namely \(f^* \propto g^{d/(p+d)}\), which is reminiscent of Zador’s theorem in the domain of measure quantization.
Let \(f,g\) be two probability densities over \(\mathbb{R}^d\), supported on the same set. For any measurable function \(\varphi\), one can write \[\label{eq:is} \mathbb{E}_{Y \sim g}[\varphi(Y)] = \mathbb{E}_{X \sim f}\left[\varphi(X) \frac{g(X)}{f(X)}\right].\tag{1}\] In particular, for any \(\varphi\), if we have samples \(X_i\) from \(f\), we can approximate the expectation \(\mathbb{E}_{Y \sim g}[\varphi(Y)]\) by the empirical average \[\label{eq:is950} \frac{1}{n}\sum_{i=1}^n \varphi(X_i) \frac{g(X_i)}{f(X_i)}.\tag{2}\] This random variable has mean \(\mathbb{E}_{Y \sim g}[\varphi(Y)]\), and if the samples are independent, by the law of large numbers, it converges to this expectation as \(n\to \infty\), which gives an estimator of the integral \(\mathbb{E}_{Y \sim g}[\varphi(Y)]\) using only samples from \(f\). However, 2 implicitly assumes that we can evaluate the density \(g\) itself. In many applications, the target is only available up to a multiplicative constant, and the normalization constant \(\int g\) could be impossible to compute. This is the usual situation for unnormalized measures, e.g. in Bayesian inference where the posterior is proportional to likelihood times prior. In that case, the weights \(g(X_i)/f(X_i)\) in 2 cannot be computed.
Self-normalized importance sampling resolves this issue by replacing 2 with a ratio in which any unknown multiplicative constant cancels, \[\label{eq:is95sn} \frac{\sum_{i=1}^n \varphi(X_i) g(X_i)/f(X_i)}{\sum_{i=1}^n g(X_i)/f(X_i)}.\tag{3}\] While this estimator is in general biased, the law of large numbers for 2 still ensures that the numerator converges to \(\int \varphi g\) and the denominator converges to \(\int g\), hence the estimator converges to \(\mathbb{E}_{X \sim g}[\varphi(X)]\) even if \(g\) is only known up to a normalization constant.
The estimator 3 can be seen as the integral of \(\varphi\) against the self-normalized importance sampling measure \(\hat{g}_n\), which motivates the following definition. From now on, we will restrict to the cube \((0,1)^d\).
Definition 1 (self-normalized importance sampling measure). Let \(f,g\) be two probability densities on \((0,1)^d\). Let \((X_i)\) be a sequence of iid random variables with distribution \(f\). The self-normalized importance sampling measure* for \(g\) based on the samples from \(f\) is defined as \[\hat{g}_n = \frac{1}{Z_n}\sum_{i=1}^n W_i \delta_{X_i},\] where \(W_i = g(X_i)/f(X_i)\) are the importance weights and \(Z_n\) is the normalization constant \[Z_n = \sum_{i=1}^n W_i.\]*
Importance sampling and its variants are used in a large variety of contexts, and it is crucial to understand the accuracy of these methods and how it behaves depending on the sample size \(n\). Many works were devoted to this topic, as we will review in the next section. It is generally acknowledged that the accuracy of 3 depends on the distribution and concentration of the importance weights \(W_i = g(X_i)/f(X_i)\): if the sampling density \(f\) and the target density \(g\) are equal, these weights are all equal to 1. Conversely, any significant discrepancy between \(f\) and \(g\) will lead to a poor concentration of the importance weights (they could have large variance, or be heavy-tailed), resulting in a very poor accuracy of 3 .
In 2018, a landmark paper by Chatterjee and Diaconis [1] studied how \(\int \varphi d\hat{g}_n\) is close to \(\int \varphi dg\) for a fixed function \(\varphi\) with unit square-norm. They essentially showed that there is a cutoff at the sample size \(n = e^{\mathrm{d}_{\mathrm{KL}}(g\mid f)}\), where \(\mathrm{d}_{\mathrm{KL}}(g|f)\) is the Kullback-Leibler divergence between \(f\) and \(g\), in the sense that if \(n \gg e^{\mathrm{d}_{\mathrm{KL}}(g\mid f)}\), then \[\mathbb{P}\left(\left|\int \varphi d\hat{g}_n - \int \varphi dg\right|>\varepsilon\right) = O(\varepsilon),\] while if \(n \ll e^{\mathrm{d}_{\mathrm{KL}}(f|g)}\), then one can find (at least) one square-integrable function \(\varphi\) such that \(\int \varphi d\hat{g}_n = 1\) with overwhelming probability, but \(\int \varphi dg \leqslant \varepsilon\). This is often interpreted as a curse of dimensionality phenomenon, because in high dimension, the divergence \(\mathrm{d}_{\mathrm{KL}}(g\mid f)\) can grow linearly with \(d\) in many contexts (see [2] for a prototypical example).
In this work, we are interested in a more quantitative study of the estimation error using the self-normalized importance sampling measure. Our results are global in the sense that we directly measure the \(p\)-Wasserstein distance \(\mathscr{W}_p(\hat{g}_n, g)\) for \(p\geqslant 1\), and prove that it has order \(n^{-1/d}\).
The \(p\)-Wasserstein distance is defined for pairs of Borel measures \(\mu\) and \(\nu\) on \((0,1)^d\) by the formula \[\label{def:Wp}\mathscr{W}_p^p(\mu, \nu)= \inf_{\Pi \in \mathscr{C}(\mu, \nu)}\int |x - y|^p \mathrm{d}\Pi(x, y),\tag{4}\] where \(\mathscr{C}(\mu, \nu)\) is the set of couplings between \(\mu\) and \(\nu\). A coupling between \(\mu\) and \(\nu\) is a measure \(\Pi\) on the product space with marginals \(\mu\) and \(\nu\). Note that we did not impose any normalization on \(\mu\) and \(\nu\), which may or may not be probability measures—but they must have the same mass.
Hypothesis 1. Our results hold for differentiable densities \(f, g\) which are bounded from above and below and with a bounded gradient. For simplicity, we denote by \(c>0\) a constant such that all the quantities \[|g|_\infty, |f|_\infty, |1/g|_\infty, |1/f|_\infty,|\nabla g|_\infty, |\nabla f|_\infty, |f/g|_\infty\] are smaller than \(c\).
Theorem 2. Let \(f,g\) be two probability densities on \((0,1)^d\) satisfying Hypothesis 1 and let \(\hat{g}_n\) be the self-normalized importance sampling measure for \(g\) based on \(n\) iid samples from \(f\). Then, for any \(p\geqslant1\), there is a constant \(\beta_{p,d} \in ]0,\infty[\) such that \[\limsup_{n \to \infty} n^{p/d} \mathbb{E}\left[\mathscr{W}_p^p\left(\hat{g}_n, g\right) \right]\leqslant \beta_{p,d}\int_{(0,1)^d} g(x) f(x)^{-p/d}\mathrm{d} x.\] Additionally, there is a constant \(0<\beta^{\mathrm{low}}_{p,d}\leqslant \beta_{p,d}\) such that \[\label{eq:lower95bound95Wp} \liminf_{n \to \infty} n^{p/d} \mathbb{E}\left[\mathscr{W}_p^p\left(\hat{g}_n, g\right) \right]\geqslant \beta^{\mathrm{low}}_{p,d}\int_{(0,1)^d} g(x) f(x)^{-p/d}\mathrm{d} x.\qquad{(1)}\]
The constants \(\beta_{p,d}\) and \(\beta^{\mathrm{low}}_{p,d}\) are respectively defined in 14 and 29 . It is conjectured that they are equal. This was only proved in the case where \(p=2\) and \(d\geqslant 3\) in [3].
Our proof has the decisive advantage of being valid for the whole range of \(p\geqslant 1\) and \(d\geqslant 3\). Other simpler proofs (like the one in [4]) could work, but only for tighter ranges like \(p\leqslant d/2\).
The hypothesis that the common support of \(f\) and \(g\) is the cube \((0,1)^d\) could be relaxed to cover compact sets with Lipschitz boundary at the price of some technicalities, see [5].
When \(g=f\), this theorem reduces to [5], where it is proved that \(\mathscr{W}^p_p(\hat{g}_n, g)\) is of order \(n^{-p/d}\beta_{p,d}\int g^{1 - p/d}\). The extra term \(\int g^{1 - p/d}\) is equal to 1 if \(g\equiv 1\), hence this term accounts for the non-uniformity of \(g\). Since \(x\mapsto x^{1 - p/d}\) is convex if \(p\geqslant d\) and concave if \(p < d\), Jensen’s inequality yields \[\label{eq:g941-p47d} \int_{(0,1)^d} g(x)^{1 - p/d} \leqslant 1 \quad \text{ iff } p < d.\tag{5}\] The interpretation of 5 is that, when \(p < d\) and \(g\) is nonuniform, the IS error is smaller than if \(g\) were uniform. The regime \(p< d\) is the typical one in high dimension; in practice, one often uses \(p=1\) or \(p=2\).
It might sound natural that, when approximating \(g\) by IS, using reweighted samples from a distribution \(f\neq g\), the error should be higher, i.e. the extra term \(\int g f^{-p/d}\) should be greater than \(\int g^{1 - p/d}\). Again, this is not true in general. Suppose for example that the sampling distribution is uniform, ie \(f=1\). Then, 5 shows that \(\int g^{1 - p/d} > 1=\int g f^{-p/d}\) if \(p \geqslant d\). In other words, the IS error using real samples from \(g\) is greater than the IS error using uniform samples from \(g\). So it is only natural to ask, for a fixed \(g\), what is the sampling distribution \(f\) that minimizes the error \(\mathscr{W}_p(\hat{g}_n, g)^p\). Our results do not provide the exact asymptotic of \(\mathscr{W}_p(\hat{g}_n, g)^p\) as \(n \to \infty\), because the two constants \(\beta_{p,d}\) and \(\beta^{\mathrm{low}}_{p,d}\) are not known to be equal — but they are generally conjectured to be equal. Under this conjecture, we would have \[\mathscr{W}_p^p(\hat{g}_n, g) \sim n^{-p/d}\beta_{p,d}\int_{(0,1)^d} g(x) f(x)^{-p/d}\mathrm{d} x\] and it is natural to minimize this asymptotic equivalent with respect to \(f\). The following proposition gives the minimizer.
Proposition 3. The solution to the problem \[f^* \in \mathop{\mathrm{\arg\!\min}}_{f \geqslant 0, \int f = 1} J_g(f), \qquad J_g(f) = \int g f^{-p/d}\] is found at \[\label{eq:f95star} f^*(x) = \frac{1}{\int g^{\frac{d}{p+d}}}g(x)^{\frac{d}{p+d}}.\qquad{(2)}\] The minimum value is then \[\label{eq:J95f95star} J_g(f^*) = \left(\int g^{\frac{d}{p+d}}\right)^{\frac{p+d}{d}}.\qquad{(3)}\]
Proof. We set \(a = p/d\) and define the Lagrangian of the problem, \(\mathscr{L}(f, \lambda) = J_g(f) + \lambda (\int f - 1)\). The function \(x^{-a}\) is convex, so \(J_g\) is itself convex, hence the first-order conditions for optimality are sufficient. These conditions read \(- a g f^{-a-1} + \lambda = 0 \quad \text{and} \quad \int f = 1\), whose solution is any density \(f\) which must be proportional to \(g^{1/(1+a)}\), hence ?? . ◻
It is noticeable that if \(g\) is not uniform, then \(f^* \neq g\). Moreover, since \(g\) is admissible, we necessarily have \(J_g(f^*) \leqslant J_g(g)\). This result might feel counter-intuitive: when using importance sampling to approximate \(g\), the best sampling distribution is not \(g\) itself if we measure the error by the transport cost with \(\mathscr{W}^p_p\). For example, in 3d problems where the error is measured in the euclidean distance \((p=2)\), the best sampling distribution is (proportional to) \(g^{3/5}\), which is very different from \(g\).
Remark 4 (quantization and Zador’s theorem). Given a measure \(\mu\), the quantization of \(\mu\)* with \(n\) points is the solution of the following optimization problem: \[\label{prob:quantization} \mathscr{Q}_n(\mu) = \min_{(w_i, x_i)_{1\leqslant i\leqslant n}} \mathscr{W}_p^p\left(\mu, \sum_{i=1}^n w_i \delta_{x_i}\right)\tag{6}\] where the minimum is taken over \(n\)-tuples of points \(x_i\) and positive weights \(w_i\) such that \(\sum_{i=1}^n w_i = 1\). It is known under the name of Zador’s theorem (see for example [6], Theorem 6.2 and Theorem 7.5) that \[\lim_{n \to \infty} n^{p/d}\mathscr{Q}_n(g) = c_{d}\left(\int g^{\frac{d}{p+d}}\right)^{\frac{p+d}{d}}\] where \(c_{d}\) is a constant; this is, up to a constant, the exact value of the problem ?? . Moreover, under some mild conditions, the empirical distribution of the \(x_i\) in the arg min of 6 can be shown to converge weakly to ?? . It thus comes as no surprise that the optimal sampling measure \(f^*\) for IS is the same as the asymptotically optimal quantization measure.*
Remark 5 (Effective Sample Size). There is an extensive literature on Effective Sample Sizes* (ESS), see [7] for a review. Given a method for sampling a target distribution \(g\) using \(n\) samples, one can compare any metric (like the variance) of this sampling method with what would be the same metric if we had real samples from \(g\).*
Consider IS with samples from \(f\) and target density \(g\), and let \(\hat{g}_n\) be the importance sampling measure defined in 3 ; let \(\bar{g}_m\) be the empirical measure of \(m\) genuine samples from \(g\). Asymptotically, the equation \(\mathbb{E}[\mathscr{W}^p_p(\hat{g}_n, g)] = \mathbb{E}[\mathscr{W}^p_p(\bar{g}_m, g)]\) becomes \[m^{-p/d}\int g^{1-p/d} \sim n^{-p/d}\int g f^{-p/d},\] which is solved for \[m_{\mathrm{ESS}} \sim n \times \left(\frac{\int g^{1 - p/d}}{\int g f^{-p/d}}\right)^{\frac{d}{p}}.\] Interestingly, the remark below the main theorem suggests that this ESS is not always smaller than \(n\); having \(m_{\mathrm{ESS}}>n\) would mean that using importance sampling with \(n\) proposal samples from \(f\) is actually beneficial over using \(n\) samples from the real density \(g\).
The proof of this theorem spans Sections 5 and 6, and adapts the general strategy developed in a series of papers studying optimal matchings between point sets and measures, [8],[9], [5]. Appendices 8 and 9 contain classical results on concentration inequalities and functional inequalities used in the proof.
The authors thank Dario Trevisan for useful discussions and suggestions. Part of this research was supported by the ANR project STOIQUES. This work was supported by a public grant from the Fondation Mathématique Jacques Hadamard.
Importance sampling (IS) is a classical Monte Carlo device, tracing back at least to the early work of Kahn [10], and now ubiquitous in statistics and applied probability. We refer to the surveys by Agapiou et al. [11] or Elvira et al. [7] for a broad overview.
A large body of work on IS aims at stabilizing weights or diagnosing when stabilization is needed. Truncated importance sampling [12] and Pareto-smoothed importance sampling [13] are widely used practical fixes, and recent work studies regimes with unbounded weight functions, like [14]. IS has become a core tool in variational inference, see for example the importance-weighted VAE [15] or the recent work [16]. IS is also used in the training or sampling of generative models in machine learning, see [2], [17]–[20] for recent examples.
These works typically measure accuracy through function-by-function errors (variance, CLT, concentration for a fixed test function) or through scalar summaries of the weights (ESS and its variants), which are indispensable in practice but do not directly quantify how close the random measure \(\hat{g}_n\) is to the target distribution as an object. In general, there are few papers on a rigorous study of the accuracy of IS beyond the landmark paper [1], and more recently [21] but with a focus on the normalization constant estimation in a dynamic setting (like AIS or using Jarzynski’s inequality). By treating self-normalized IS as a weighted empirical measure and analyzing it in \(p\)-Wasserstein distance, we obtain sharp scaling laws for \(\mathscr{W}_p(\hat{g}_n,g)\). This provides a genuinely different guarantee: it controls the full output of IS as a probability measure (for example, if \(p=1\), all Lipschitz test functions simultaneously), and it makes explicit how the proposal \(f\) enters through a transport-relevant functional of \(f\) and \(g\).
Our contribution is to bridge IS with the geometric theory of empirical measures in optimal transport. Rates for Wasserstein distances between empirical measures and their limits are connected to optimal matching problems, starting from Ajtai–Komlós–Tusnády [22] and further developed in, e.g., [4], [5], [5], [9], [23]–[27]. Another line of research focused on general metric (Polish) spaces, see [28]–[31] ; but we are not aware of any work on importance sampling or weighted empirical measures in Wasserstein distance.
The main limitation of our work lies in the restriction that \(f\) and \(g\) have full support on \((0,1)^d\) and are bounded from above and below. This is a strong assumption: in this case the weights \(W = g(X)/f(X)\) are bounded and cannot be heavy-tailed, for example. But their distribution is crucial to assess the performance of an importance sampling strategy. In fact, \(\mathbb{E}_{X \sim f}[W] = 1\), but the variance is given by \[\mathbb{E}_{X \sim f}[W^2] - 1 = \int \frac{g(x)^2}{f(x)}dx -1 = \mathbb{E}_{X \sim g}[W] - 1.\] This quantity can be infinite, leading to a high variability of 2 , which would be dominated by a few large weights. Unfortunately, our method does not apply to this case, and extending it to the case where \(f,g\) are allowed to have unbounded or zero values is hard. See however [3], [9] for some results in this direction.
Annealed Importance Sampling [32] is a popular refinement of IS. The end goal is to estimate means of functionals with respect to a density \(g=g_0\), starting from samples \(X_i\) from a density, say, \(g_n\). Given a chain of densities \(g_0, g_1, \ldots, g_n\), typically \(g_k\) is proportional to \(g_0^{\beta_k}g_n^{1-\beta_k}\) for some \(1=\beta_1 > \beta_2 > \ldots > \beta_n=0\), the annealed importance sampling estimator is defined as follows: starting at \(X_i^{(n)}=X_i\), one samples \(X_i^{(n-1)}\). This is typically done by running a Markov chain starting from \(X_i^{(n)}\), whose invariant measure is \(g_{n-1}\). The chain is run for several steps; the resulting sample \(X_i^{(n-1)}\) might not be exactly distributed according to \(g_{n-1}\). Then one samples \(X_i^{(n-2)}\) by running a Markov chain starting from \(X_i^{(n-1)}\), whose invariant measure is \(g_{n-2}\), and so on, until one reaches \(X_i^{(0)}\). The annealed importance sampling measure is then defined as \[\mu = \frac{1}{n}\sum_{i=1}^n W_i \delta_{X_i^{(0)}}\] where \[W_i = \frac{g_{n-1}(X_i^{(n-1)})}{g_n(X_i^{(n-1)})}\times \frac{g_{n-2}(X_i^{(n-2)})}{g_{n-1}(X_i^{(n-2)})}\times \cdots \times \frac{g_0(X_i^{(0)})}{g_1(X_i^{(0)})}.\] One difference with classical importance sampling is that the importance weights do not only depend on \(X_i^{(0)}\), the points effectively sampled at the end of the chain. To study AIS, we would need a version of our main result which is suitable for random weights \(W\) which only satisfy \[\mathbb{E}[W \mid X] = \frac{g(X)}{f(X)}.\] Our preliminary work on this general problem suggests that the constant \(\beta_{p,d}\) in our main result would now depend on the whole distribution of \(W\) in a non-trivial way.
Up to now, we have mostly been interested in the high but finite-dimensional setting; but the problem of finding estimates for infinite-dimensional quantities is also of interest. Let \((B_n)\) be a sequence of independent Brownian motions from \([0,1]\) to \(\mathbb{R}^d\). We equip \(C=\mathscr{C}([0,1],\mathbb{R}^d)\) with the topology of uniform convergence. The Wasserstein distance between Gaussian measures on \(C\) and the empirical measure \(\mu_n = n^{-1}\sum_{i=1}^n \delta_{B_i}\) was studied in1 [29] (see also references therein), although the authors only seem to prove upper bounds. But in applied stochastic calculus, many problems revolve around importance sampling through the Girsanov identity. In its simplest form, this theorem states that if \(B\) is a Brownian motion and \((h_t)_{t \in [0,1]}\) is a process adapted to the filtration generated by \(B\), then for any functional \(\varphi\), \[\mathbb{E}[\varphi(B)Z_T] = \mathbb{E}[\varphi(X)]\] where \(Z_T\) is the terminal value of the “change of measure" process \[Z_t = \exp\!\left(-\int_0^t h_s\,dB_s - \frac{1}{2}\int_0^t h_s^2\,ds\right),\] and \(X = (X_t)_{t \in [0,1]}\) is the diffusion process defined by \(dX_t = dB_t + h_t dt\). This allows one to compute observables from \(X\) using only samples from \(B\), thus falling exactly in the framework of importance sampling. We plan on extending our results to this setting in the near future.
For any Borel set \(S\), we denote by \(|S|\) its volume and \(\mathbf{1}_S\) its indicator function. For any real quantities \(A,B\), the notation \(A \lesssim B\) or equivalently \(A = O(B)\) means that there exists a constant \(C>0\) (possibly depending on \(p\) and \(d\) only) such that \(A \leqslant C B\). We write \(A \sim B\) if \(A \lesssim B\) and \(B \lesssim A\).
For a measure \(\mu\) and a set \(S\), we denote by \(\mu{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}S\) the restriction of \(\mu\) to \(S\).
Throughout the proof, we will repeatedly use the two elementary inequalities: \[\label{ineq:elementary}\forall a, b\geqslant 0, \quad\forall p\geqslant 1, \qquad (a+b)^p \leqslant (1+\varepsilon)a^p + c_p\varepsilon^{1-p}b^p\tag{7}\] for some constant \(c_p\); and for all \(a_1, \ldots, a_k \geqslant 0\), \[\label{ineq:elementary95sum}\forall p\geqslant 1, \qquad (a_1 + \dots + a_k)^p \leqslant k^p (a_1^p + \dots + a_k^p).\tag{8}\]
For two measures \(\mu\) and \(\nu\) on the same measurable space \(S\) and with the same mass, the Wasserstein distance of order \(p\) is defined by \[\mathscr{W}_p(\mu, \nu)= \left(\inf_{\Pi \in \mathscr{C}(\mu, \nu)}\int_{S \times S} |x - y|^p \mathrm{d}\Pi(x, y)\right)^{1/p},\] where \(\mathscr{C}(\mu, \nu)\) is the set of couplings between \(\mu\) and \(\nu\). A coupling between \(\mu\) and \(\nu\) is a measure \(\Pi\) on the product space \(S \times S\) with marginals \(\mu\) and \(\nu\). Note that we did not impose any normalization on \(\mu\) and \(\nu\), which may or may not be probability measures—but they must have the same mass. The quantity \(\mathscr{W}_p^p(\mu, \nu)\) is called the \(p\)-Wasserstein cost between \(\mu\) and \(\nu\), and it is linear in the mass of \(\mu\) and \(\nu\) in the sense that \[\label{wasserstein95linearity} \mathscr{W}_p^p(\alpha \mu, \alpha \nu) = \alpha \mathscr{W}_p^p(\mu, \nu).\tag{9}\]
If \(S\) is bounded, then clearly the term \(|x-y|^p\) is bounded by \(\mathrm{diam}(S)^p\), so that \(\int_{S \times S} |x - y|^p \mathrm{d}\Pi(x, y) \leqslant \mathrm{diam}(S)^p \Pi(S \times S)\), and since \(\Pi\) is a coupling between \(\mu\) and \(\nu\), we have \(\Pi(S \times S) = \mu(S) = \nu(S)\). Consequently, \[\label{wasserstein95bound95bounded95domain} \mathscr{W}_p^p(\mu, \nu) \leqslant \mathrm{diam}(S)^p \mu(S).\tag{10}\]
If \(R\) is a subset of \(S\) such that \(\mu(R) = \nu(R)\), we denote by \(\mathscr{W}_{p,R}(\mu, \nu)\) the Wasserstein distance of order \(p\) between \(\mu{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}R\) and \(\nu{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}R\). If \(\mathscr{R}\) is a collection of disjoint subsets of \(S\) such that \(\cup_{R \in \mathscr{R}} R = S\) and such that \(\mu(R) = \nu(R)\) for all \(R \in \mathscr{R}\), then for any collection of couplings \(\Pi_R\) between \(\mu{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}R\) and \(\nu{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}R\) for \(R \in \mathscr{R}\), the measure \(\Pi = \sum_{R \in \mathscr{R}} \Pi_R\) is a coupling between \(\mu\) and \(\nu\). Consequently, \[\mathscr{W}_{p,S}^p(\mu, \nu)\leqslant \sum_{R \in \mathscr{R}} \mathscr{W}_{p,R}^p(\left.\mu\right|_R, \left.\nu\right|_R).\] This property is called subadditivity of the Wasserstein distance.
Let \(g\) be a probability density on \((0,1)^d\), and let \(X\) be a random variable on \((0,1)^d\) with probability density \(f\). We set \[\label{def:W}W = \frac{g(X)}{f(X)}.\tag{11}\] Then, for any test function \(\varphi\), \[\mathbb{E}_{X \sim g}[\varphi(X)] = \mathbb{E}_{X \sim f}[\varphi(X) W].\] The density \(f\) of \(X\) will often be called the sampling density while \(g\) is called the target density.
Several of our estimates are formulated in terms of the relative second moment of \(W\), denoted \[\label{def:v}v_A = \frac{\mathrm{Var}(W \mathbf{1}_{X \in A})}{\mathbb{E}[W \mathbf{1}_{X \in A}]^2}\qquad \forall A \subset (0, 1)^d.\tag{12}\] In this paper, we only use very crude bounds on \(v_A\). Indeed, since we assumed in Hypothesis 1 that \(W \leqslant c\), it is easily seen that \(v_A \leqslant \frac{c}{\int_A g}\); and since \(g \geqslant c^{-1}\), this is smaller than \(c^2 |A|^{-1}\): \[\label{bound95v}\forall A, \qquad v_A \lesssim|A|^{-1}.\tag{13}\]
Let \(n\) be an integer and \((X_i)_{i \in [n]}\) be a sequence of independent random variables with density \(f\), with their weights \(W_i = g(X_i)/f(X_i)\). We set \[\mu_n = \sum_{i=1}^n W_i \delta_{X_i}\] the empirical measure of the \(X_i\), weighted by the \(W_i\), and \[Z_n = \sum_{i=1}^n W_i\] the normalization constant, so that \(Z_n^{-1}\mu_n\) is a probability measure. When \(g=f\), the weights \(W_i\) are all equal to 1. Under the additional hypothesis that \(g\equiv 1\), the main result of [8] is the existence of the following limit, which will be our definition of \(\beta_{p,d}\): \[\label{def:beta}\limsup_{n \to \infty} n^{p/d} \mathbb{E}\mathscr{W}_p^p\left(\frac{1}{n}\sum_{i=1}^n \delta_{X_i}, 1\right) = \beta_{p,d}.\tag{14}\] Our goal is to prove that, under Hypothesis 1, \[\label{eq:main950} \limsup_{n \to \infty} n^{p/d} \mathbb{E}\mathscr{W}_p^p\left({Z_n}^{-1}\mu_n, g\right) \leqslant \beta_{p,d}\int_{(0,1)^d} g(x) f(x)^{-p/d} \mathrm{d} x.\tag{15}\] We will first prove a non-normalized version of 15 : \[\label{eq:main951} \limsup_{n \to \infty} n^{p/d-1} \mathbb{E}\mathscr{W}_p^p\left(\mu_n, Z_n g\right) \leqslant \beta_{p,d}\int_{(0,1)^d} g(x) f(x)^{-p/d} \mathrm{d} x.\tag{16}\] We will then deduce 15 from 16 .
We divide the cube \(Q^0=(0,1)^d\) dyadically into \(2^{dk}\) dyadic cubes \(Q^k_i\) with side length \[\label{def:l}\ell_k=2^{-k}\tag{17}\] and we note \(\mathscr{D}_k = \{Q^k_i : i \in [2^{dk}]\}\) the set of these cubes. Note that the diameter of any \(Q \in \mathscr{D}_k\) is \[\label{diam} \mathrm{diam}(Q) = \sqrt{d}\,2^{-k} \sim \ell_k.\tag{18}\] We will study how the points \(X_i\) are distributed in these cubes and how this distribution changes when we change the scale \(k\). For this, we note \[\label{def:nu}\nu_n = \sum_{i=1}^n \delta_{X_i}\tag{19}\] the unweighted empirical measure of the \(X_i\). For every measurable set \(Q\subset (0,1)^d\), we define \[\begin{align} \label{def:kappa95gamma95delta} &\kappa_Q=\frac{\mu_n(Q)}{\int_Q g}, &&\gamma_Q = \frac{\mu_n(Q)}{\nu_n(Q)} &&\delta_Q = \frac{\mu_n(Q)}{\int_Q f}. \end{align}\tag{20}\]
In the case where \(\nu_n(Q)=0\), then we also have \(\mu_n(Q)=0\) and we set \(\gamma_Q=0\). For any scale \(k\), we define the measure \[\lambda^k=\sum_{Q \in \mathscr{D}_k} \kappa_Q \mathbf{1}_Q g.\] Note that, since \(\kappa_{Q^0} = Z_n\), we clearly have \(\lambda^0 = Z_n g\). We will go down to a maximal scale \(K\) defined by \[\label{def:K} K = \lfloor d^{-1} \log_2 n \rfloor - \omega \quad \qquad \omega = \lfloor\log_2 ((\log n)^\alpha)\rfloor\tag{21}\] for some \(\alpha > 0\) — it will be clear later on that any \(\alpha \geqslant 3\) works. For simplicity, we could choose \(\alpha=3\). The side length \(\ell_K\) of any cube \(Q \in \mathscr{D}_K\) is thus equal to \[\label{eq:ell95K} \ell_K = 2^{-K} \sim \frac{2^{\omega}}{n^{1/d}} = \frac{(\log(n))^{\alpha}}{n^{1/d}}\tag{22}\] and the volume of any cube \(Q \in \mathscr{D}_K\) is equal to \[\label{eq:vol95DK} |Q| = \ell_K^d \sim \frac{(\log(n))^{\alpha d}}{n}.\tag{23}\]
Lemma 1. For any \(p\geqslant 1\), \[\label{ineq:mainterm} \limsup_{n \to \infty} n^{p/d - 1}\mathbb{E}\left[\mathscr{W}_{p}^p(\mu_n, Z_n g)\right] \leqslant (1+\varepsilon) \limsup_{n \to \infty} \sum_{Q \in \mathscr{D}_K} n^{\frac{p}{d}-1}\mathbb{E}\left[\mathscr{W}_{p,Q}^p(\mu_n , \kappa_{Q} g)\right].\qquad{(4)}\]
This lemma, whose proof is postponed to Section 7, reduces the problem to the study of local expectations like \(\mathbb{E}\left[\mathscr{W}_{p,Q}^p(\mu_n , \kappa_{Q} g)\right]\) for any fixed dyadic cube \(Q\), which is what we do now. We will simply write \(\gamma, \delta, \kappa\) instead of \(\gamma_Q, \delta_Q, \kappa_Q\). On the dyadic cube \(Q\), we will compare \(\mu_n\) with the measures \(\gamma \nu_n, \delta f\) and \(\kappa g\) which all have the same mass \(\mu_n(Q)\) on \(Q\). By the triangle inequality, \[\begin{align} \mathscr{W}_{p,Q}^p(\mu_n , \kappa g)\le \left( \mathscr{W}_{p,Q}(\mu_n , \gamma \nu_n)+ \mathscr{W}_{p,Q}(\gamma \nu_n, \delta f)+ \mathscr{W}_{p,Q}( \delta f,\kappa g)\right)^p. \end{align}\] It will appear thereafter that the leading contribution is the ‘flattened’ term \(\mathscr{W}_{p,Q}^p(\gamma \nu_n, \delta f)\), which transports a point measure with all weights equal to \(\gamma\) towards the reference measure \(\delta f\). Using 7 and averaging, we have \[\begin{align} \nonumber \mathbb{E}[\mathscr{W}_{p,Q}^p(\mu_n , \kappa g)] &\leqslant (1+\varepsilon) \mathbb{E}[\mathscr{W}_{p,Q}^p(\gamma \nu_n, \delta f)]+ \frac{c_p}{\varepsilon^{p-1}}\left( \mathbb{E}[\mathscr{W}_{p,Q}^p(\mu_n , \gamma \nu_n)]+ \mathbb{E}[\mathscr{W}_{p,Q}^p( \delta f,\kappa g)]\right)\\ &=: (1+\varepsilon)(\mathrm{I}) + \frac{c_p}{\varepsilon^{p-1}}[(\mathrm{II}) + (\mathrm{III})].\label{threeterms} \end{align}\tag{24}\] We bound each of these three terms separately, and uniformly in \(Q \in \mathscr{D}_K\). The proofs are again postponed to Section 7.
Lemma 2. If \(n\) is large enough, then \[\forall Q \in \mathscr{D}_K, \qquad \mathbb{E}[\mathscr{W}_{p,Q}^p( \gamma \nu_n,\delta f)] \leqslant (1 + \varepsilon)^{3+p} \beta_{p,d} n^{1 - p/d} \int_{Q} g f^{-p/d}.\]
Due to Hypothesis 1, the term \(\int_Q gf^{-p/d}\) has order \(|Q|=(\log n)^{\alpha d}/n\), so the right-hand side is of the order of \(\gtrsim n^{ - p/d}\log(n)^{\alpha d}\). The next lemmas show that \((\mathrm{II})\) and \((\mathrm{III})\) are negligible at this scale.
Lemma 3. \(\sup_{Q \in \mathscr{D}_K} \mathbb{E}[\mathscr{W}_{p,Q}^p( \delta f,\kappa g)] \ll n^{ - p/d} \log(n)^{\alpha d}.\)
Lemma 4. \(\sup_{Q \in \mathscr{D}_K} \mathbb{E}[\mathscr{W}_{p,Q}^p( \mu_n,\gamma \nu_n)] \ll n^{ - p/d} \log(n)^{\alpha d}\).
These lemmas together with 24 imply that for \(n\) large enough, \[\forall Q \in \mathscr{D}_K, \quad \mathbb{E}[\mathscr{W}_{p,Q}^p(\mu_n , \kappa g)] \leqslant (1+\varepsilon)^{4+p} \beta_{p,d}n^{1 - p/d} \int_{Q} g f^{-p/d}.\] Summing over all \(Q \in \mathscr{D}_K\) as in the right-hand side of ?? then gives \[\limsup_{n \to \infty} \sum_{Q \in \mathscr{D}_K} n^{p/d - 1}\mathbb{E}[\mathscr{W}_{p,Q}^p(\mu_n , \kappa_Q g)] \leqslant (1+\varepsilon)^{4+p} \beta_{p,d}\int_{(0,1)^d} g f^{-p/d}.\] This is valid for all \(\varepsilon > 0\), so that we obtain 16 . To obtain 15 , we note that \[\mathscr{W}_{p}^p(\hat{g}_n, g) = Z_n^{-1} \mathscr{W}_{p}^p(\mu_n, Z_n g) = (nZ_n^{-1}) n^{-1}\mathscr{W}_{p}^p(\mu_n, Z_n g).\]
Lemma 10 with \(Q = (0,1)^d\) shows that \(\mathbb{P}(|Z_n / n - 1| > \varepsilon) \leqslant 2e^{-nC}\) for some constant \(C\) depending on \(\varepsilon\). Therefore, using \(\mathscr{W}_{p,Q}(\mu_n, Z_n g)^p \lesssim Z_n\lesssim n\), we get \[\begin{align} \mathbb{E}[\mathscr{W}_{p}^p(\hat{g}_n, g)] &\leqslant (1+\varepsilon)n^{-1}\mathbb{E}[\mathscr{W}_{p}^p(\mu_n, Z_n g)] + C\mathbb{E}[n\mathbf{1}_{|Z_n / n - 1| > \varepsilon}]\\ &\leqslant (1+\varepsilon)n^{-1}\mathbb{E}[\mathscr{W}_{p}^p(\mu_n, Z_n g)] + Ce^{-nC}. \end{align}\] The final conclusion 15 follows from 16 .
For a bounded convex set \(\Omega\subset \mathbb{R}^d\) and two positive measures \(\mu, \nu\) we define the boundary Wasserstein distance as \[\label{defWb} \mathscr{W}b_{p,\Omega}(\mu,\nu)=\left(\inf_{\Pi\in \mathscr{C}_\Omega(\mu, \nu)}\int_{\overline{\Omega}\times\overline{\Omega}}|x-y|^p d\Pi(x,y)\right)^\frac{1}{p}\tag{25}\] where \(\mathscr{C}_\Omega(\mu, \nu)\) is the set of couplings \(\Pi\) such that \(\Pi_1{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}\Omega=\mu{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}\Omega\) and \(\Pi_2{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}\Omega=\nu{{\mathchoice {\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\>\vrule width.2pt \vbox to7pt{\vfill \hrule width7pt height.2pt}\>}{\,\vrule width.2pt \vbox to5pt{\vfill \hrule width5pt height.2pt}\,}{\,\vrule width.2pt \vbox to3.35pt{\vfill \hrule width3.35pt height.2pt}\,}}}\Omega\), see [33]. Let us point out that as opposed to \(\mathscr{W}_p\), we do not need to require \(\mu(\Omega)=\nu(\Omega)\) for \(\mathscr{W}b_{p,\Omega}(\mu,\nu)\) to be well-defined. However, if both measures have the same mass, we always have
\[\label{ineq:wb-w} \mathscr{W}b_{p,\Omega}^p(\mu,\nu)\leqslant \mathscr{W}_p(\mu,\nu)^p.\tag{26}\] As shown in, e.g., [3], [5], [9], the boundary Wasserstein distance is super-additive: for any collection of disjoint bounded convex sets \(A_1, \ldots, A_k \subset \Omega\), \[\label{eq:superad} \mathscr{W}b_{p,\Omega}^p(\mu,\nu)\geqslant \sum_{i=1}^k \mathscr{W}b_{p,A_i}^p(\mu,\nu).\tag{27}\]
We defined \(\beta_{p,d}\) in 14 . We may define the constant \(\beta^{\mathrm{low}}_{p,d}\) in a similar way, using the boundary Wasserstein distance. For an integer \(n\) and a family of iid random variables \(X_i\) uniformly distributed in \(Q_0=(0,1)^d\) we set \[\label{defFb} Fb_p(n)=n^{p/d}\mathbb{E}\left[ \mathscr{W}b_{p,Q_0}^p\left(\frac{1}{n}\sum_{i=1}^n \delta_{X_i},1\right) \right].\tag{28}\] Then, from [9], the following limit exists and belongs to \(]0, \infty[\): \[\label{def:betalow} \beta^{\mathrm{low}}_{p,d}=\lim_{n\to \infty} Fb_p(n).\tag{29}\]
We aim to prove that under Hypothesis 1 on \(f\) and \(g\), we have \[\label{mainclaimlower} \liminf_{n\to \infty} n^{p/d-1} \mathbb{E}\left[ \mathscr{W}_{p}^p(\mu_n,Z_ng) \right]\geqslant \beta^{\mathrm{low}}_{p,d}\int_{(0,1)^d} g f^{-p/d}.\tag{30}\] While we could in principle argue
along the same lines as for the upper bound 16 , as shown in [9] the lower bound 30 is actually simpler. Fix \(k\in \mathbb{N}\) with \(k\gg1\) and set \(L=2^k\). For \(n\in
\mathbb{N}\) we set \[K = \lfloor d^{-1} \log_2 n \rfloor\] which is not exactly the same as in 21 , and we define \[\ell= L 2^{-K}=2^{k-K}\sim L n^{-1/d}.\]
We then consider the partition \(\mathscr{D}\) of dyadic cubes with side length \(\ell\). Using 26 and the super-additivity of \(\mathscr{W}b_{p,Q_0}\), we have \[\label{superad} \mathbb{E}\left[ \mathscr{W}_{p}^p(\mu_n,Z_ng) \right]\geqslant \sum_{Q\in \mathscr{D}} \mathbb{E}\left[
\mathscr{W}b_{p,Q}^p(\mu_n,Z_ng) \right].\tag{31}\] We now bound from below \(\mathbb{E}\left[ \mathscr{W}b_{p,Q}(\mu_n,Z_ng)^p \right]\) for every fixed \(Q\). We recall that
\(\nu_n=\sum_{i=1}^n \delta_{X_i}\) and that \(\kappa=\kappa_Q, \gamma=\gamma_Q, \delta=\delta_Q\) were defined in 20 . We also introduce \[\lambda=Z_n\frac{\delta}{\kappa}=Z_n \frac{\int_Q g}{\int_Q f}.\] By Young’s inequality and \(\mathscr{W}b_{p,Q}\le \mathscr{W}_{p,Q}\) for measures with the same mass, we have for \(\varepsilon\in(0,1)\), \[\label{splitDir} \mathscr{W}b_{p,Q}^p(\mu_n,Z_ng)\geqslant (1-\varepsilon)\mathscr{W}b_{p,Q}^p(\gamma\nu_n,\lambda f)
-\frac{C}{\varepsilon^{p-1}}\left(\mathscr{W}_{p,Q}^p(\mu_n,\gamma \nu_n) + \mathscr{W}_{p,Q}^p(\lambda f,Z_ng)\right).\tag{32}\] Notice that the main difference with 24 is that here \(\gamma \nu_n\) and \(\lambda f\) do not have the same mass.
We first state the estimates for the last two terms, see Section 7 for the proofs.
Lemma 5. \(\mathbb{E}\left[ \mathscr{W}_{p,Q}^p(\lambda f,Z_ng) \right]\lesssim n \ell^{2p} |Q|\) and \(\mathbb{E}\left[ \mathscr{W}_{p,Q}(\mu_n,\gamma \nu_n)^p \right]\lesssim\ell^{p+1} n |Q|\).
Proof. For the first part, we argue as in the proof of Lemma 3: \[\label{IIb} \mathbb{E}\left[ \mathscr{W}_{p,Q}^p(\lambda f,Z_ng) \right]=\mathbb{E}\left[ Z_n \right] \mathscr{W}_{p,Q}^p(\delta/\kappa f,g)\lesssim n \ell^{2p} |Q|.\tag{33}\] For the second part, we argue exactly as in the proof of Lemma 4. ◻
We now state the estimate for the first and main term, see again Section 7 for the proof.
Lemma 6.
For \(n\) large enough, we have \[\label{claimmaintermlower} n^{p/d-1}\mathbb{E}\left[ \mathscr{W}b_{p,Q}^p(\gamma\nu_n,\lambda f) \right]\geqslant (1-\varepsilon)(1-o_{L}(1)) \beta^{\mathrm{low}}_{p,d}\int_{Q} g f^{-p/d} -C_\varepsilon o_L(1) |Q|,\qquad{(5)}\] where \(\lim_{L\to \infty } o_L(1)=0\).
Combining the results of both lemmas with 32 and summing over \(Q\) yields \[n^{p/d-1}\mathbb{E}\left[ \mathscr{W}_{p}^p(\mu_n,Z_ng) \right]\geqslant (1-\varepsilon)(1-o_{L}(1)) \beta^{\mathrm{low}}_{p,d}\int_{Q_0} g f^{-p/d} -C_\varepsilon\left( o_L(1) + C_L(n^{-p/d}+n^{-1/d} )\right).\] Sending first \(n\to \infty\) we get \[\liminf_{n\to \infty} n^{p/d-1}\mathbb{E}\left[ \mathscr{W}_{p}^p(\mu_n,Z_ng) \right]\geqslant (1-\varepsilon)(1-o_{L}(1)) \beta^{\mathrm{low}}_{p,d}\int_{Q_0} g f^{-p/d} -C_\varepsilon o_L(1).\] Sending then \(L\to \infty\) and finally \(\varepsilon\to 0\) concludes the proof of 30 . Once 30 is established, we can deduce that \[\label{zvocfqip} \limsup_{n \to \infty} n^{p/d} \mathbb{E}\mathscr{W}_p^p\left({Z_n}^{-1}\mu_n, g\right) \leqslant \beta_{p,d}\int_{(0,1)^d} g(x) f(x)^{-p/d} \mathrm{d} x\tag{34}\] using the same arguments as in the proof of 15 in Section 5.4.
We start by writing a multi-scale decomposition of \(\mathscr{W}_p^p(\mu_n, Z_n g)\).
Lemma 7. For any \(p\geqslant1\) and \(0< \varepsilon\leqslant 1\), there is a constant \(c_p\) such that \[\label{msdecomp}\mathscr{W}_p^p(\mu_n, Z_n g)\leqslant (1 + \varepsilon)\sum_{Q \in \mathscr{D}_K} \mathscr{W}_{p, Q}^p(\mu_n, \kappa_Q g)+ \underbrace{\frac{c_p K^p}{\varepsilon^{p-1}}\sum_{k=0}^{K-1} \mathscr{W}_p^p(\lambda^k,\lambda^{k+1})}_{=:E}.\qquad{(6)}\]
Proof. We use the triangle inequality and 7 : \[\begin{align} \mathscr{W}_{p}(\mu_n, Z_n g)&\leqslant \left(\mathscr{W}_{p}(\mu_n , \lambda^K)+ \sum_{k=0}^{K-1} \mathscr{W}_{p}(\lambda^k,\lambda^{k+1})\right)^p\\ &\leqslant (1+\varepsilon) \mathscr{W}_{p}^p(\mu_n , \lambda^K) + \frac{c_p}{\varepsilon^{p-1}} \left( \sum_{k=0}^{K-1} \mathscr{W}_{p}(\lambda^k,\lambda^{k+1})\right)^p. \end{align}\] By subadditivity of the Wasserstein cost, \(\mathscr{W}_{p}^p(\mu_n , \lambda^K)\le \sum_{Q \in \mathscr{D}_K} \mathscr{W}_{p,Q}^p(\mu_n , \kappa_{Q} g)\), which settles the first term. The second term comes from 8 . ◻
To prove Lemma 1, we only need to prove that the error term \(E\) in ?? is negligible, that is \[\label{eq:E} \limsup_{n \to \infty} n^{p/d - 1}E = 0.\tag{35}\]
The proof relies on the following estimate.
Lemma 8. For all \(k \in \{0, \ldots, K-1\}\), \[\begin{align} \mathscr{W}_{p}^p(\lambda^k,\lambda^{k+1}) \lesssim\ell_k^{p(1-d/2)} n^{1-\frac{p}{2}} \int_{Q_0} g^p. \end{align}\]
Proof. For every fixed \(k\), we have by subadditivity \[\label{eq:subadditivity95negligible95term} \mathscr{W}_{p}^p(\lambda^k,\lambda^{k+1}) \leqslant \sum_{Q \in \mathscr{D}_k} \mathscr{W}_{p, Q}^p\left(\kappa_Q g, \sum_{\substack{ R \in \mathscr{D}_{k+1} \\ R \subset Q}} \kappa_{R} g \right).\tag{36}\] We will simply write \(\sum_{R\subset Q}\) to denote the sum over all \(R \in \mathscr{D}_{k+1}\) such that \(R \subset Q\). For a fixed \(Q\), by taking the expectation in Proposition 11 and using that \(g\) is bounded from below, \[\begin{align} \mathbb{E}\left[\mathscr{W}_{Q}^p\left(\kappa_{Q} g,\sum_{R\subset Q} \kappa_R \mathbf{1}_R g\right)\right] &\lesssim\mathbb{E}\left[ \frac{\ell_k^p}{(\inf_{Q} \kappa_{Q} g)^{p-1}}\int_{Q} \left|\sum_{R\subset Q} \kappa_R \mathbf{1}_R g - \kappa_{Q} g\right|^p\right] \nonumber \\ &\lesssim\ell_k^p \int_{Q} \mathbb{E}\left[ \frac{1}{\kappa_{Q}^{p-1}}\left|\sum_{R\subset Q} \mathbf{1}_R\kappa_R - \kappa_{Q} \right|^p\right]|g|^p.\label{decomp95kappa95term} \end{align}\tag{37}\] Now, since \(\kappa_Q = \sum_{R \subset Q}\mathbf{1}_R \kappa_Q\), we decompose: \[\begin{align} \mathbb{E}\left[ \frac{1}{\kappa_{Q}^{p-1}}\left|\sum_{R\subset Q} \kappa_R \mathbf{1}_R - \kappa_{Q} \right|^p\right]&= \mathbb{E}\left[\kappa_{Q} \left|\sum_{R\subset Q} \mathbf{1}_R \left( \frac{\kappa_R}{\kappa_{Q}} - 1 \right)\right|^p\right] \nonumber \\ &\lesssim\sum_{R \subset Q} \mathbf{1}_R\mathbb{E}\left[\kappa_{Q}| \kappa_R /\kappa_{Q} -1|^p\right].\label{eq:decomp95kappa95term952} \end{align}\tag{38}\] Lemma 10 proves that2 \(\mathbb{E}[\kappa_Q |\kappa_R/\kappa_Q - 1|^p] \leqslant n^{1 - p/2} v_R^{p/2}\). Plugging this into 37 , we get \[\mathbb{E}\left[\mathscr{W}_{p,Q}^p\left(\kappa_{Q} g,\sum_{R\subset Q} \kappa_R g\right)\right]\lesssim\ell_k^p n^{1-\frac{p}{2}} \sum_{R\subset Q} \int_R v_R^{p/2} g^p.\] Summing over \(Q \in \mathscr{D}_k\) we find \[\mathbb{E}\left[ \mathscr{W}_{p,Q^0}^p(\lambda^k,\lambda^{k+1})\right]\lesssim\ell_k^p n^{1-\frac{p}{2}} \sum_{R \in \mathscr{D}_{k+1}}\int_{R} v_R^{p/2} g^p.\] Since \(v_R \lesssim|R|^{-1}\lesssim\ell_k^{-d}\), we can bound the right-hand side by \[\ell_k^{p(1-d/2)} n^{1-\frac{p}{2}} \int_{Q_0} g^p.\] ◻
Proof of 35 . We sum the terms \(\mathscr{W}_{p, Q^0}^p(\lambda^k,\lambda^{k+1})\) over all scales \(k \in \{0, \ldots, K-1\}\) and we absorb \(\int_{Q_0} g^p\) into the constant. We get \[\begin{align} \sum_{k=0}^{K-1} \mathbb{E}\left[ \mathscr{W}_{p, Q^0}^p(\lambda^k,\lambda^{k+1})\right]&\lesssim n^{1-\frac{p}{2}} \sum_{k=0}^{K-1} {\ell_k}^{p(1-\frac{d}{2})}\lesssim n^{1-\frac{p}{2}}\ell_K^{p(1-d/2)} \end{align}\] where the last estimate follows from \(\ell_k = 2^{-k}\). Plugging this into the definition of \(E\) in ?? then averaging, we find \[\label{mainestim} n^{\frac{p}{d}-1}E\lesssim K^p n^{p(\frac{1}{d}- \frac{1}{2})}\ell_K^{p(1-d/2)}.\tag{39}\] Using \(K \lesssim\log n\), \(d\geqslant 3\), and 22 , we see that \[n^{p/d-1}E \lesssim(\log n)^{\alpha p(1 - d/2)+p} \to 0\] provided that \(\alpha\) is large enough: \(\alpha > 2/(d-2)\) is sufficient and this is always satisfied by \(\alpha=3\) since \(d\geqslant 3\). ◻
By 9 , \((\mathrm{I})\) is equal to \(\mathbb{E}[\gamma \mathscr{W}_{p,Q} ( \nu_n, (\delta/\gamma) f)^p]\). We now define \[\begin{align} &\mathscr{A}_Q = \left\lbrace \gamma_Q > (1 + \varepsilon) \frac{\int_Q g}{\int_Q f} \right\rbrace &&\mathscr{A} = \bigcup_{Q \in \mathscr{D}_K} \mathscr{A}_Q \\ &\mathscr{B}_Q = \left\lbrace \left|\frac{\nu_n(Q)}{n\int_Q f} - 1\right| > \varepsilon \right\rbrace &&\mathscr{B} = \bigcup_{Q \in \mathscr{D}_K} \mathscr{B}_Q \end{align}\] and finally \(\mathscr{E} = \mathscr{A} \cup \mathscr{B}\). Then, \[\begin{align} \mathbb{E}[\gamma \mathscr{W}_{p,Q}^p ( \nu_n, (\delta/\gamma) f)] &= \mathbb{E}[\mathbf{1}_{\mathscr{E}^c} \gamma \mathscr{W}_{p,Q}^p ( \nu_n, (\delta/\gamma) f)] + \mathbb{E}[\mathbf{1}_{\mathscr{E}} \gamma \mathscr{W}_{p,Q}^p ( \nu_n, (\delta/\gamma) f)] \nonumber \\ &\leqslant (1+\varepsilon)\frac{\int_Q g}{\int_Q f} \mathbb{E}[\mathbf{1}_{\mathscr{E}^c}\mathscr{W}_{p,Q}^p ( \nu_n, (\delta/\gamma) f)] + \mathbb{E}[\mathbf{1}_{\mathscr{E}} \gamma \mathscr{W}_{p,Q}^p ( \nu_n, (\delta/\gamma) f)].\label{eq:I95bound} \end{align}\tag{40}\]
By the union bound and the fact that \(|\mathscr{D}_K|=2^{dK}\leqslant n\), we have \(\mathbb{P}(\mathscr{E}) \leqslant n \sup_{Q \in \mathscr{D}_K}(\mathbb{P}(\mathscr{A}_Q)+\mathbb{P}(\mathscr{B}_Q))\). Lemma 11 ensures that \(\mathbb{P}(\mathscr{A}_Q) \leqslant e^{-nC|Q|}\) for some constant \(C\) depending on \(\varepsilon\) only. Since \(n|Q|\sim \log(n)^{\alpha d}\) (see 23 ) we see that \(\mathbb{P}(\mathscr{A}_Q) \leqslant e^{-C \log(n)^{\alpha d}}\) which is itself smaller than \(n^{-p/d-10}\) for \(n\) large enough. Proposition 9 also ensures that \(\mathbb{P}(\mathscr{B}_Q) \leqslant n^{-p/d-10}\) for \(n\) large enough. By the union bound, we finally obtain \[\label{eq:prob95bad95event} \mathbb{P}(\mathscr{E}) \lesssim n^{-p/d-9}.\tag{41}\]
By 10 and the fact that \(\mathrm{diam}(Q)\leqslant 1\) we see that \(\mathscr{W}_{p,Q} ( \nu_n, (\delta/\gamma) f)^p \leqslant \nu_n(Q) \leqslant n\). Consequently, by the Cauchy-Schwarz inequality, \[\begin{align} \mathbb{E}[\mathbf{1}_{\mathscr{E}} \gamma \mathscr{W}_{p,Q} ( \nu_n, (\delta/\gamma) f)^p] &\leqslant n \mathbb{E}[\mathbf{1}_{\mathscr{E}} \gamma] \leqslant n \sqrt{\mathbb{P}(\mathscr{E})}\sqrt{\mathbb{E}[\gamma^2]}. \end{align}\]
Lemma 12 and 41 imply that when \(n\) is large enough, this is smaller than \(n^{-p/d-7}\).
We define \[F_p(k, \varrho) = \mathbb{E}[\mathscr{W}_{Q_0}^p(k\varrho, \eta_k)],\] where \(\varrho\) is any probability density on \(Q_0\), \(k\) is an integer and \(\eta_k\) is a point process with \(k\) independent points whose common probability density is \(\varrho\). We will then use the main result of [8].
Proposition 6. There is a constant \(\beta_{p,d} >0\) depending on \(p\) and \(d\) such that \[\limsup_{k\to\infty} k^{p/d - 1} F_p(k, 1) = \beta_{p,d}.\]
In particular, there is an integer \(N\) such that for all \(k \geqslant N\), \[\label{eq:F95p95bound95uniform} k^{p/d - 1} F_p(k, 1) \leqslant (1+\varepsilon) \beta_{p,d}.\tag{42}\]
The proof is analogous to [26], [34]. We note that \(\delta / \gamma = \nu_n(Q) / \int_Q f\). By scaling, we have \[\mathbb{E}[\mathscr{W}_{p,Q}^p( \delta/\gamma f, \nu_n) \mid \nu_n(Q) = k] = \ell^{p}F_p(k, f_Q)\] where \(f_Q\) is the restriction of \(f\) on \(Q\), rescaled to \(Q_0\): \[\label{eq:f95Q} \forall x \in Q_0, \quad f_Q(x) = \frac{\ell^d f(z + x\ell)}{\int_Q f}\tag{43}\] where \(z\) is the corner of \(Q\) with the smallest coordinates (in 2d, that would be the bottom left corner). The gradient of \(f_Q\) is \(\lesssim\ell\), and there is at least one \(x_0 \in (0,1)^d\) such that \(f_Q(x_0)=1\), hence for any \(x \in Q_0\), we have \(|f_Q(x) -1| \lesssim\ell |x - x_0| \lesssim\ell\). The density \(f_Q\) thus satisfies \(|f_Q - 1|_\alpha \leqslant c \ell\) when \(n\) is large enough (see 51 for the definition of the \(\alpha\)-Hölder norm). Lemma 13 ensures that there is a map \(T : (0,1)^d \to (0,1)^d\) preserving the boundary of \((0,1)^d\) and such that \(T_\# f_Q = 1\) and \(\mathrm{Lip}(T), \mathrm{Lip}(T^{-1}) \leqslant 1+ c_{\alpha,d}|f_Q - 1|_\alpha =: L\).
For any \((X,Y)\) a coupling of \(k f_Q\) and \(\eta_k\), we thus see that \((T(X), T(Y))\) is a coupling of \(k\times 1\) and a point process with \(k\) independent points whose common probability density is \(1\). Consequently, \[\mathbb{E}[|X-Y|^p] = \mathbb{E}[|T^{-1}T(X)-T^{-1}T(Y)|^p] \leqslant L^p \mathbb{E}[|T(X)-T(Y)|^p].\] We conclude that \[\label{eq:W95p95bound95uniform} \mathbb{E}[\mathscr{W}_{p,Q}^p(k f_Q, \eta_k) \mid \nu_n(Q) = k] \leqslant L^p F_p(k, 1).\tag{44}\]
On the event \(\mathscr{B}^c\), we know that for all \(Q \in \mathscr{D}_K\), \(\nu_n(Q)\geqslant (1-\varepsilon)n\int_Q f\), which by Hypothesis 1 is \(\gtrsim\log(n)^{\alpha d}\). In particular, when \(n\) is large enough, on the event \(\mathscr{B}^c\), we have \(\nu_n(Q)\geqslant N\) with \(N\) defined for 42 . Consequently, uniformly over all \(Q \in \mathscr{D}_K\), we have \[\begin{align} \mathbb{E}[\mathbf{1}_{\mathscr{E}^c}\mathscr{W}_{p,Q}^p( \delta/\gamma f, \nu_n)] &\leqslant \mathbb{E}[\mathbf{1}_{\mathscr{B}^c} \mathbb{E}[\mathscr{W}_{p,Q}^p( \delta/\gamma f, \nu_n) \mid \nu_n(Q)]] \\ & \leqslant \ell^p L^p \mathbb{E}[\mathbf{1}_{\mathscr{B}^c} F_p(\nu_n(Q), 1)] \\ & \leqslant \ell^p L^p \mathbb{E}\left[\mathbf{1}_{\mathscr{B}^c} (1+\varepsilon)\nu_n(Q)^{1 - p/d}\beta_{p,d}\right] \\ &\leqslant (1+\varepsilon)^{2 - p/d}\ell^p L^p \left(n \int_Q f\right)^{1 - p/d}\beta_{p,d}\\ & = (1+\varepsilon)^{p+1}\ell^p n^{1 - p/d}\beta_{p,d}\left(\int_Q f\right)^{1 - p/d} \end{align}\] where in the last line, we used that \(L-1 \lesssim\ell\), hence \(L \leqslant 1+\varepsilon\) when \(n\) is large enough.
Let us go back to 40 . If \(n\) is large enough, then for all \(Q \in \mathscr{D}_K\), we have \[\begin{align} \mathbb{E}[\mathscr{W}_{p,Q}^p ( \gamma \nu_n, \delta f)] &\leqslant (1+\varepsilon)\frac{\int_Q g}{\int_Q f} \mathbb{E}[\mathbf{1}_{\mathscr{E}^c}\mathscr{W}_{p,Q}^p ( \nu_n, (\delta/\gamma) f)] + n^{-p/d-7} \\ &\leqslant (1+\varepsilon)^{1+p} n^{1 - p/d} \beta_{p,d} \frac{\int_Q g}{\left(\int_Q f \right)^{p/d}} + n^{-p/d-7} \end{align}\] By the uniform continuity of \(f\) over \(Q_0\), for all \(x \in Q\) we have \[\frac{\int_Q g}{\left(\int_Q f\right)^{p/d}} \leqslant (1+\varepsilon)g(x)f(x)^{-p/d}.\] Plugging this into the preceding equation, we obtain that (uniformly over all \(Q \in \mathscr{D}_K\)), when \(n\) is large enough, we have \[\begin{align} \mathbb{E}[\mathscr{W}_{p,Q}^p ( \gamma \nu_n, \delta f)] &\leqslant (1+\varepsilon)^{2+p} n^{1 - p/d} \beta_{p,d} \int_Q gf^{-p/d} + n^{-p/d-7}\\ &\leqslant (1+\varepsilon)^{3+p} n^{1 - p/d} \beta_{p,d} \int_Q gf^{-p/d} \end{align}\] where in the last line we used the fact that \(\int_Q gf^{-p/d} \gtrsim\int_Q g \gtrsim n^{-1}\), and thus \(n^{-p/d-7}\) is negligible with respect to \(n^{1 - p/d} \int_Q gf^{-p/d}\).
We prove the following general bound: for any \(Q \subset (0,1)^d\), \[\label{eq:general95bound95II} \mathbb{E}[\mathscr{W}_{p,Q}^p(\delta f, \kappa g)] \lesssim n \ell^{2p} |Q|.\tag{45}\] Applying this first to \(\ell=\ell_K\) and observing that \(\ell_K = (\log n)^{\alpha} n^{-1/d}\), this would prove Lemma 3. Moreover, this proves also the first bound in Lemma 5.
Proof. By 9 , we have \(\mathscr{W}_{p,Q}^p(\delta f, \kappa g) = \kappa \mathscr{W}_{p,Q}^p((\delta/\kappa) f, g)\). By noting that \(\mathbb{E}[\kappa] = n\) and that \(\delta/\kappa = \int_Q g / \int_Q f\), we get \[\begin{align} \mathbb{E}[\mathscr{W}_{p,Q}^p(\delta f, \kappa g)] \leqslant \mathbb{E}[\kappa \mathscr{W}_{p,Q}^p((\delta/\kappa) f, g)] = n \mathscr{W}_{p,Q}^p((\delta/\kappa) f, g). \end{align}\] We now use the bound from Proposition 11: \[\begin{align} (\mathrm{III}) = \mathbb{E}[\mathscr{W}_{p,Q}^p(\delta f, \kappa g)] &\lesssim\frac{n\ell_K^p}{(\inf g)^{p-1}} \int_Q \left|g - (\delta/\kappa)f \right|^p \lesssim n\ell_K^{2p} \int_Q |\nabla (g - (\delta/\kappa)f)|^p, \end{align}\] where we used the fact that \((\inf g)^{1-p} \lesssim 1\) by Hypothesis 1. The Poincaré-Wirtinger inequality (Proposition 10) applied to \(g - (\delta/\kappa)f\), which has mean value 0 on \(Q\), yields \[(\mathrm{III}) \lesssim n\ell_K^{2p} \int_Q |\nabla (g - (\delta/\kappa)f)|^p.\] Since \(\nabla g\) and \(\nabla f\) are bounded and \(\delta/\kappa\) is also bounded due to Hypothesis 1, this whole term has order \(n\ell_K^{2p} |Q|\). ◻
We prove the more general bound: for any \(Q \subset (0,1)^d\), \[\label{eq:general95bound95III} \mathbb{E}[\mathscr{W}_{p,Q}^p(\mu_n, \gamma
\nu_n)] \lesssim n \ell^{p+1} |Q|.\tag{46}\] Applying this first to \(\ell=\ell_K\) this would conclude the proof of Lemma 4. Moreover,
this proves also the second bound in Lemma 5.
We start with the simple case where \(\gamma=1/n\) so that both \(\mu_n\) and \(\gamma \nu_n\) are probability measures. For any coupling \((X,Y)\) of \(\mu_n\) and \(\gamma\nu_n\), the cost of this coupling is equal to \[\sum_{x, y}\mathbb{P}(X=x, Y=y) |x-y|^p \leqslant
\mathrm{diam}(Q)^p \mathbb{P}(X\neq Y)\] which proves that \(\mathscr{W}_{p,Q}^p(\mu_n , \gamma \nu_n) \leqslant \mathrm{diam}(Q)^p \mathrm{d}_{\mathrm{TV}}(\mu_n, \gamma \nu_n)\). This remains true for any \(\gamma\) by scaling. Now, the measures \(\mu_n\) and \(\gamma \nu_n\) are supported on the same discrete set, so their total variation distance is equal to \[\mathrm{d}_{\mathrm{TV}}(\mu_n, \gamma \nu_n) = \frac{1}{2}\sum_{X_i \in Q}|W_i- \gamma|.\]
We also have \(W_i - \gamma = \nu_n(Q)^{-1}\sum_{X_j \in Q} (W_i - W_j)\), so that \[\begin{align} \mathrm{d}_{\mathrm{TV}}(\mu_n, \gamma \nu_n) &\leqslant \frac{\nu_n(Q)^{-1}}{2}\sum_{X_i, X_j \in Q} |W_i - W_j|. \end{align}\] Remember that \(W_i = g(X_i)/f(X_i)\); thanks to Hypothesis 1, the function \(g/f\) is Lipschitz. Indeed, \[\left|\nabla \frac{g}{f}\right| = \left|\frac{\nabla g}{f} - \frac{g}{f}\frac{\nabla f}{f}\right| \leqslant c^2 + c^4 \leqslant 2c^4.\] We thus have \[\begin{align} \mathbb{E}\mathrm{d}_{\mathrm{TV}}(\mu_n, \gamma \nu_n) &\lesssim\mathbb{E}\frac{\nu_n(Q)^{-1}}{2}\sum_{X_i, X_j \in Q} |X_i - X_j| \\ &\lesssim\mathbb{E}\nu_n(Q)\mathrm{diam}(Q)\\ &\lesssim n\ell |Q|. \end{align}\] This concludes the proof of 46 .
Lemma 13 gives a map \(T\) which is a \((1+\varepsilon)\)-bi-Lipschitz map on \(Q\) and transports \(f/\int_{Q} f\) to \(1/|Q|\). Let \(N=\nu_n(Q)\) and let \(\hat{\nu}_N=T\sharp \nu_n\) so that \[\hat{\nu}_N=\sum_{i=1}^N \delta_{Y_i}\] with \(Y_i=T(X_i)\) which are iid uniformly distributed in \(Q\). We then have \[\mathscr{W}b_{p,Q}^p(\gamma\nu_n,\lambda f)\geqslant (1-\varepsilon)^p \mathscr{W}b_{p,Q}^p\left(\gamma\hat{\nu}_N,\frac{Z_n}{ |Q|} \int_Q g\right).\] We set \(M=Z_n \gamma^{-1} \int_Q g\sim Z_n |Q|\). Using the homogeneity of \(\mathscr{W}b_{p,Q}\), the triangle inequality, and the Young inequality, we see that \[\begin{gather} \label{splitmainterm} \mathscr{W}b_{p,Q}^p\left(\gamma\hat{\nu}_N, \frac{Z_n}{ |Q|} \int_Q g\right)=\gamma \mathscr{W}b_{p,Q}^p\left(\hat{\nu}_N,M/|Q|\right)\\ \geqslant \gamma\left[(1-\varepsilon) \mathscr{W}b_{p,Q}^p(\hat{\nu}_N,N/|Q|)-\frac{C}{\varepsilon^{p-1}}\mathscr{W}b_{p,Q}^p(N/|Q|, M/|Q|)\right]. \end{gather}\tag{47}\] To estimate the last right-hand side term we appeal to [9] to obtain \[\mathscr{W}b_{p,Q}^p(N/|Q|, M/|Q|)\lesssim\ell^{p+d} \frac{|N/|Q|- M/|Q||^p}{(M/|Q|)^{p-1}}=\ell^{p} \frac{|N-M|^p}{M^{p-1}}.\] We now write that \[\begin{gather} |N-M|= \frac{N}{\mu_n(Q)}|\mu_n(Q)-Z_n\int_Q g|\le \frac{N}{\mu_n(Q)}|\mu_n(Q)-n\int_Q g| + \frac{N}{\mu_n(Q)} |n-Z_n|\int_Q g\\ \lesssim|\mu_n(Q)-n\int_Q g| + |n-Z_n||Q|=|\mu_n(Q)-\mathbb{E}\left[ \mu_n(Q) \right]| + |Z_n-\mathbb{E}\left[ Z_n \right]||Q| \end{gather}\] to obtain by Cauchy-Schwarz, \[\begin{gather} \mathbb{E}\left[ \frac{|N-M|^p}{M^{p-1}} \right]\\ \lesssim|Q|^{1-p} \mathbb{E}\left[ Z_n^{2(1-p)} \right]^{1/2}\left(\mathbb{E}\left[ |\mu_n(Q)-\mathbb{E}\left[ \mu_n(Q) \right]|^{2p} \right]^{1/2}+ |Q|^p\mathbb{E}\left[ |Z_n-\mathbb{E}\left[ Z_n \right]|^{2p} \right]^{1/2}\right)\\ \lesssim|Q|^{1-p} n^{1-p}\left( (n|Q|)^{p/2}+ |Q|^pn^{p/2}\right) \lesssim(|Q| n)^{1-p/2}. \end{gather}\] In conclusion, recalling that by definition \(n|Q|=L^d\), \[\begin{align} \mathbb{E}\left[ \mathscr{W}b_{p,Q}^p(N/|Q|, M/|Q|) \right]&\lesssim n^{1-p/d} (|Q|n)^{p(\frac{1}{d}-\frac{1}{2})} |Q|\label{estimchangemass}\\ &=n^{1-p/d} L^{-p(\frac{d}{2}-1)} |Q|\\ &=n^{1-p/d}o_L(1) |Q|. \end{align}\tag{48}\]
We now estimate the first right-hand side term of 47 . By the uniform continuity of \(f\) and \(g\), when \(n\) is large enough we have \(\gamma\geqslant (1-\varepsilon) g(x)/f(x)\). Recalling the definition 28 of \(Fb_p\), we thus have by scaling \[\gamma \mathbb{E}\left[ \mathscr{W}b_{p,Q}^p(\hat{\nu}_N,N/|Q|) \right]\geqslant (1-\varepsilon) \frac{g(x)}{ f(x)} \ell^p \mathbb{E}\left[ N^{1-p/d}Fb_p(N) \right].\] Since \(\mathbb{E}\left[ N \right]=n\int_Q f\geqslant (1-\varepsilon) f(x) n|Q|\) which tends to infinity as \(L\to \infty\) we have by definition of \(\beta^{\mathrm{low}}_{p,d}\) and the good concentration properties of \(N\) that \[\mathbb{E}\left[ N^{1-p/d}Fb_p(N) \right]\geqslant (1- o_L(1))\beta^{\mathrm{low}}_{p,d}\left(n\int_Q f\right)^{1-p/d}\] and thus \[\begin{align} \gamma \mathbb{E}\left[ \mathscr{W}b_{p,Q}^p(\hat{\nu}_N,N/|Q|) \right]&\geqslant (1-\varepsilon) (1- o_L(1))\beta^{\mathrm{low}}_{p,d}\frac{g(x)}{ f(x)} \ell^p (n|Q| f(x))^{1-p/d}\\ &=n^{1-p/d}(1-\varepsilon) (1- o_L(1))\beta^{\mathrm{low}}_{p,d}g(x) f(x)^{-p/d} |Q|. \end{align}\] Averaging over \(x\) we find \[\label{maintermlocDir} \gamma \mathbb{E}\left[ \mathscr{W}b_{p,Q}^p(\hat{\nu}_N,N/|Q|) \right]\geqslant n^{1-p/d}(1-\varepsilon) (1- o_L(1))\beta^{\mathrm{low}}_{p,d}\int_Q g f^{-p/d}.\tag{49}\] Combining 48 and 49 together yields ?? .
We need concentration results for sums of random variables, typically of the form \[\sum_{i=1}^n W_i \mathbf{1}_{X_i \in Q}\] where \(Q\) is a very small measurable set — in particular, most of the summands are zero, and the variance of the summands is small. In this context, Bennett-type inequalities are tighter than Hoeffding’s. For generality, we will formulate our results for any pair \((X,W)\) of random variables, even if in the main text we will only use the case where \(X\) is a random variable with density \(f\) and \(W = g(X)/f(X)\).
Let \(Z_1, \ldots, Z_n\) be a sequence of iid random variables and let \(Z = \sum_{i=1}^n Z_i\). Then, Bennett’s inequality states that for any \(t>0\), \[\mathbb{P}(Z > \mathbb{E}[Z] + t) \leqslant \exp\left(-n (\sigma/m)^2 \times h\left(\frac{mt}{n\sigma^2}\right)\right),\] where \(m = |Z_i|_\infty\) and \(\sigma\) is the standard deviation of \(Z_i\). The function \(h\) is defined by \[h(x) = (1+x)\ln(1+x) - x.\] For future reference, we state the elementary properties of \(h\) as a lemma.
Lemma 9. \(h\) is convex and increasing, \(h'(x) = \ln(1+x)\), and \(h(x) \geqslant \max\{0, (x^2 - x^3)/2\}\) for all \(x\geqslant 0\).
Let \((X_i)\) be iid random variables with density \(f\) and let \(W_i = g(X_i)/f(X_i)\). For any bounded measurable function \(\varphi\), we are interested in the concentration of the functionals \[I(\varphi) = \sum_{i=1}^n W_i \varphi(X_i).\] The expectation of \(I\) is given by \(\mathbb{E}[I(\varphi)] = n\mathbb{E}_{X\sim g}[\varphi(X)]= n\int g\varphi\). Directly applying Bennett’s inequality, we get the following concentration result.
Proposition 7. Let \(\varphi\) be a bounded measurable function. We suppose that \(W\varphi(X)\) is bounded by a constant \(m_\varphi:=|W\varphi(X)|_\infty\). Then, noting \(\sigma^2_\varphi = \mathrm{Var}(W \varphi(X))\), we have \[\label{ineq:concentration95sum95functional} \mathbb{P}\left(\sum_{i=1}^n W_i \varphi(X_i) > (1+\delta) n\int g(x)\varphi(x)\,dx\right) \leqslant \exp\left(-n \frac{\sigma^2_\varphi}{m_\varphi^2} h\left(\frac{\delta m_\varphi }{ \sigma^2_\varphi} \int g(x)\varphi(x)\,dx\right)\right).\qquad{(7)}\] where \(h(x) = (1+x)\ln(1+x) - x\). The same inequality holds for the lower deviation.
Proof. The result is a straightforward application of Bennett’s inequality, choosing \(\xi = \delta n\int g \varphi\). ◻
We will use the precedings bounds with \(\varphi = \mathbf{1}_{X \in Q}\) to get concentration bounds for \(\kappa_Q\). Recall that \[\kappa_Q = \frac{\sum W_i \mathbf{1}_{X_i \in Q}}{\int_Q g}\] so that \(\mathbb{E}[\kappa_Q] = n\). For simplicity we will note \(m,\sigma^2\) instead of \(m_Q,\sigma^2_Q\) and we will often use the notation \[b = \frac{m\mathbb{E}[W \mathbf{1}_{X \in Q}]}{\sigma^2}.\] The preceding concentration results thus yield that \[\label{i:kappa} \mathbb{P}\left(\left| \frac{\kappa_Q}{n} - 1 \right| > \delta\right) \leqslant 2e^{-n \sigma^2/m^2 h(\delta b)}\tag{50}\] and the same inequality holds for the lower deviation.
Proposition 8. For any \(Q \subset (0,1)^d\) and any fixed \(p>0\),
\[\label{ineq:bound95on95kappa952} \mathbb{E}\left[ \left| \frac{\kappa_Q}{n} - 1 \right|^p\right] \lesssim\mathrm{Var}\left(\frac{\kappa_Q}{n}\right)^{p/2}.\qquad{(8)}\]
Proof. Set \(V = \sigma^2/m^2\) to lighten the notation. Since \(\kappa_Q = \int_Q w\mu / \int_Q g\), by the union bound for upper and lower deviations in 50 we have \(\mathbb{P}(|\kappa_Q/n - 1| > \delta)\leqslant 2e^{-n V h(\delta b)}\). Then, for any \(p>0\), \[\begin{align} \mathbb{E}\left[ \left| \frac{\kappa_Q}{n} - 1 \right|^p\right] &= \int_0^\infty \mathbb{P}\left( \left| \frac{\kappa_Q}{n} - 1 \right|^p > t \right) dt \\ &\leqslant \int_0^\infty 2e^{-nV h(t^{1/p}b)} dt \\ &\leqslant 2pb^{-p}\int_0^\infty e^{-N h(u)}u^{p-1} du \end{align}\] where \(N = nV\). We split the integral in two parts, \(\int_0^\infty = \int_0^{1/2} + \int_{1/2}^\infty\). For the first term, we use the bound on \(h\) in Lemma 9. For \(x \leqslant 1/2\), we have \(h(x) \geqslant(x^2 - x^3)/2 \geqslant x^2/ 4\), hence \[\int_0^{1/2}e^{-Nh(u)}u^{p-1}du \leqslant \int_0^{1/2} e^{-Nu^2/4}u^{p-1}du \lesssim N^{-p/2}.\] For the second term, by convexity of \(h\) we have \(h(u)\geqslant h(1/2)+(u-1/2)h'(1/2) = u \ln(3/2) - \ln(\sqrt{3/2})\). Plugging this estimate, we get \[\int_{1/2}^{\infty} e^{-Nh(u)}u^{p-1}du \lesssim\int_{1/2}^\infty e^{-\ln(3/2)Nu}u^{p-1}du \lesssim N^{-p}.\] Gathering the two bounds yields \[\mathbb{E}\left[ \left| \frac{\kappa_Q}{n} - 1 \right|^p\right] \lesssim b^{-p}N^{-p/2} = (b^2 Vn )^{-p/2}.\] By the definition of \(b\) and \(V=\sigma^2/m^2\), we have \[b^2 V= \frac{\mathbb{E}[W \mathbf{1}_{X \in Q}]^2}{\mathrm{Var}(W \mathbf{1}_{X \in Q})}\] which concludes the proof. ◻
Lemma 10. Let \(A\subset B\) be two subsets of \((0,1)^d\) such that \(\int_A g \sim \int_B g\). Then, \[\mathbb{E}[\kappa_B |\kappa_A/\kappa_B - 1|^p]\lesssim n^{1 - p/2}\left(\frac{\mathrm{Var}(W \mathbf{1}_{X \in A})}{\mathbb{E}[W \mathbf{1}_{X \in A}]^2}\right)^{p/2},\] where it is understood that \(\kappa_A / \kappa_B=0\) if \(\kappa_B=0\).
Proof. We first emphasize that since \(A \subset B\), then \[\frac{\kappa_A}{\kappa_B} = \frac{\int_A w\mu}{\int_B w\mu}\frac{\int_B g}{\int_A g}\leqslant \frac{\int_B g}{\int_A g} \lesssim 1.\] Let us note \(\mathscr{E} = \{|\kappa_A - n\int_A g| > n\int_A g/2\}\), an event with probability smaller than \(e^{-n (\sigma^2/m^2)h(b/2)}\) thanks to 50 . Then, \[\begin{align} \mathbb{E}[\kappa_B |\kappa_A/\kappa_B - 1|^p]&\lesssim\mathbb{E}[\mathbf{1}_{\mathscr{E}}\kappa_A] + \mathbb{E}\left[\mathbf{1}_{\bar{\mathscr{E}}}\frac{|\kappa_B - \kappa_A|^p}{\kappa_B^{p-1}}\right] \\ &\lesssim b\mathbb{P}(\mathscr{E}) + n \mathbb{E}[|\kappa_B/n-\kappa_A/n|^p] \end{align}\] because \(\kappa_A\) is smaller than \(b\). The second term is smaller than \(n (\mathbb{E}[|\kappa_B/n - 1|^p] + \mathbb{E}[|\kappa_A/n - 1|^p])\) up to a constant. We now use ?? for both terms; since the variance of \(\kappa_A\) is smaller than the variance of \(\kappa_B\), we get an overall bound which is \(\lesssim n \mathrm{Var}(\kappa_A/n)^{p/2}\). ◻
We recall that \[\gamma_Q = \frac{\sum_{i=1}^n W_i \mathbf{1}_{X_i \in Q}}{\sum_{i=1}^n \mathbf{1}_{X_i \in Q}} .\]
Lemma 11. For any \(\varepsilon > 0\) and any \(Q \subset (0,1)^d\), there is a constant \(C(\varepsilon)\) such that \[\mathbb{P}\left(\gamma > (1 + \varepsilon)\frac{\int_Q g}{\int_Q f}\right) \leqslant 2e^{-n|Q|C(\varepsilon)}.\]
Proof. We note \(\mathscr{E} = \left\{\sum \mathbf{1}_{X_i \in Q} < (1 - \nu)n\int_Q f\right\}\) for some \(\nu > 0\). Then, \[\begin{align} \mathbb{P}\left(\gamma > (1 + \varepsilon)\frac{\int_Q g}{\int_Q f}\right) &\leqslant \mathbb{P}(\mathscr{E}) + \mathbb{P}\left(\sum_{i=1}^n W_i \mathbf{1}_{X_i \in Q} > (1 + \varepsilon) (1 - \nu)n\int_Q g \right)\\ &\leqslant \mathbb{P}(\mathscr{E}) + \mathbb{P}\left(\sum_{i=1}^n W_i \mathbf{1}_{X_i \in Q} > (1 + \varepsilon/2)n\int_Q g \right) \end{align}\] for some \(\nu > 0\) sufficiently small (\(\nu=\varepsilon/10\) is enough).
For the first term, we use our main results with weights \(W_i\) equal to \(1\). In this case, \(m=1\), \(\mathbb{E}[W \mathbf{1}_{X \in Q}] = \int_Q f=:q\) and \(\sigma^2 = q(1-q)\). Hence, we obtain a bound of \(e^{-n q(1-q) h(\delta /(1-q))}\). For the second term, we apply ?? with \(\varphi(x) = \mathbf{1}_{x \in Q}\). In this case \(\mathbb{E}[W\mathbf{1}_{X \in Q}] = \int_Q g = :p\) and we can use Hypothesis 1 to bound \(1/c \leqslant m \leqslant c\), hence we obtain a bound of \(e^{-n \sigma^2/c^2 h(\varepsilon \int_Q g/2c\sigma^2)}\). Again by Hypothesis 1, it is easily seen that \(\sigma^2 \leqslant p(c-p)\), and that \(p,q \leqslant c|Q|\). The result follows from elementary estimates on \(h\). ◻
We will also need the following very crude bound on \(\gamma\).
Lemma 12. \(\mathbb{E}[\gamma^2]\leqslant n c\).
Proof. It is clear that \(\gamma\) is smaller than \(\max \{W_i : X_i \in Q\}\), so \(\gamma^2\) is smaller than \(\sum_{i=1}^n W_i^2 \mathbf{1}_{X_i \in Q}\). Taking the expectation and using Hypothesis 1 we get the result. ◻
Finally, we will need a uniform control of the number of points \(X_i\) falling in each cube \(Q \in \mathscr{D}_K\). We recall that \(\nu_n(A) = \sum_{i=1}^n \delta_{X_i}(A)\) is the unweighted empirical measure of the \(X_i\). Of course, the \(n^{-p/d-10}\) here is somehow arbitrary; any term which is sufficiently small with respect to \(n^{-p/d}\) would work.
Proposition 9. With \(K\) as in 21 , then \(\forall \varepsilon > 0\), if \(n\) is large enough, \[\mathbb{P}\left(\forall Q \in \mathscr{D}_K, (1-\varepsilon)n\int_Q f \leqslant \nu_n(Q) \leqslant (1+\varepsilon)n\int_Q f\right) \geqslant 1 - n^{-p/d-10}.\]
Proof. For any fixed \(Q\), \(\nu_n(Q)\) has distribution \(\mathrm{Bin}(n, p_Q)\) where \(p_Q = \int_Q f\). The number of cubes in \(\mathscr{D}_K\) is \(2^{dK}\) which is smaller than \(n\). By the union bound and Chernoff’s inequality for Binomial random variables, for any \(0<\delta < 1\), \[\mathbb{P}\left(\exists Q \in \mathscr{D}_K, \left|\frac{\nu_n(Q)}{np_Q}-1\right|>\delta \right) \leqslant \sum_{Q \in \mathscr{D}_K}\mathbb{P}\left(\left|\frac{\nu_n(Q)}{np_Q}-1\right|>\delta \right) \leqslant n \times 2e^{-\delta^2 np_Q/3}.\] By Hypothesis 1, we have \(p_Q \geqslant c \log(n)^{\alpha d}/n\) for some \(c>0\) and all \(Q\). Hence, the probability bound above is smaller than \(2\exp\{\log (n) - \delta^2\log(n)^{\alpha d}/3\}\) which is smaller than \(n^{-p/d-10}\) for \(n\) large enough. ◻
We use the Poincaré-Wirtinger inequality in the following form.
Proposition 10. Let \(Q \subset \mathbb{R}^d\) be an open connected set with smooth boundary. For any \(p \in [1, \infty[\), there is a constant \(C\) depending only on \(p\) such that for any differentiable function \(h\) on \(Q\) such that \(\nabla h \in L^p(Q)\), \[\int_Q |h-m|^p \leqslant C \mathrm{diam}(Q)^p \int_Q |\nabla h|^p\] where \(m = \frac{1}{|Q|} \int_Q h\) is the mean value of \(h\) on \(Q\).
We also made repeated use of the following Proposition, which is proven in [8] (Lemma 3.4).
Proposition 11. Let \(h_1, h_2\) be probability densities on a dyadic cube \(Q\), with \(\inf_Q h_1 >0\). Then, \(\forall p\geqslant 1\), \[\mathscr{W}_{p,Q}(h_1, h_2)^p \leqslant \frac{\mathrm{diam}(Q)^p}{(\inf_Q h_1)^{p-1}} \int_Q |h_2 - h_1|^p.\]
We end this section by stating Proposition 2.4 from [26], a result on the existence of a (non-optimal) transport map between almost uniform measures. The \(\alpha\)-Hölder norm used in the lemma is defined by \[\label{def:alpha95holder95norm} |h|_\alpha = \sup_{x,y \in (0,1)^d, x\neq y} \frac{|h(x) - h(y)|}{|x-y|^\alpha} + \sup_{x \in (0,1)^d} |h(x)|\tag{51}\] and the Lipschitz constant of a function \(h\) is defined by \[\mathrm{Lip}(h) = \sup_{x,y \in (0,1)^d, x\neq y} \frac{|h(x) - h(y)|}{|x-y|}.\]
Lemma 13. For any \(d\geqslant 1\) and \(\alpha \in ]0,1]\), there exists a constant \(c_{\alpha,d} > 0\) such that for any density \(\rho\) on \((0,1)^d\) such that \(|\rho - 1|_\alpha \leqslant 1/2\), there is a map \(T : (0,1)^d \to (0,1)^d\) preserving the boundary of \((0,1)^d\) and such that \(T_\# \rho = 1\) and \[\mathrm{Lip}(T), \mathrm{Lip}(T^{-1}) \leqslant 1+ c_{\alpha,d}|\rho - 1|_\alpha.\]