<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Minimax estimation of discontinuous optimal transport maps: The semi-discrete case</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>05/24/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10437733</idno>
					<idno type="doi"></idno>
					<title level='j'>Foundations of Computational Mathematics (FoCM), workshop on Computational Optimal Transport, Paris, France</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Aram-Alexandre Pooladian</author><author>Vincent Divol</author><author>Jonathan Niles-Weed</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We consider the problem of estimating the optimal transport map between two probability distributions, P and Q in Rd, on the basis of i.i.d. samples. All existing statistical analyses of this problem require the assumption that the transport map is Lipschitz, a strong requirement that, in particular, excludes any examples where the transport map is discontinuous. As a first step towards developing estimation procedures for discontinuous maps, we consider the important special case where the data distribution Q is a discrete measure supported on a finite number of points in Rd. We study a computationally efficient estimator initially proposed by Pooladian and Niles-Weed (2021), based on entropic optimal transport, and show in the semi-discrete setting that it converges at the minimax-optimal rate n−1/2, independent of dimension. Other standard map estimation techniques both lack finite-sample guarantees in this setting and provably suffer from the curse of dimensionality. We confirm these results in numerical experiments, and provide experiments for other settings, not covered by our theory, which indicate that the entropic estimator is a promising methodology for other discontinuous transport map estimation problems.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The theory of optimal transport (OT) defines a natural geometry on the space of probability measures <ref type="bibr">[San15,</ref><ref type="bibr">Vil09]</ref> and has become ubiquitous in modern data-driven tasks. In this area, optimal transport maps are a central object of study: suppose P and Q are two probability distributions with finite second moments, with P having a density with respect to the Lebesegue measure on R d . Then, Brenier's theorem (see Section 2.1) states that there exists a convex function &#966; 0 whose gradient defines a unique optimal transport map between P and Q. This map is optimal in the sense that it minimizes the following objective function:</p><p>where T (P, Q) := {T : R d &#8594; R d | X &#8764; P, T (X) &#8764; Q} is the set of transport maps between P and Q. The optimal value of the objective function in Equation ( <ref type="formula">1</ref>) is called the (squared) 2-Wasserstein distance, written explicitly as S 0 (P, Q) = 1 2 &#8741;x -&#8711;&#966; 0 (x)&#8741; 2 dP (x) , though a more general formulation is available (see Section 2.1). Computing or approximating S 0 (P, Q) as well as &#8711;&#966; 0 has found use in several academic communities, such as economics [CCG16, CGHH17, TGR21, GX21], computational biology [BSG + 21, BKC22, LBG + 22, SST + 19, MSF + 21, DSSS22, YDV + 20], and computer vision [SPKS16, SDGP + 15, FCVP17], among many others. Practitioners seldom have access to P or Q, but instead have access to i.i.d. samples X 1 , . . . , X n &#8764; P and Y 1 , . . . , Y n &#8764; Q. On the basis of these samples, practitioners face both computational and statistical challenges when estimating &#8711;&#966; 0 . From a theoretical perspective, the statistical task of estimating optimal transport maps has attracted much interest in the last few years [HR21, MVB + 21, MBNWW21, DGS21, PNW21, DNWP22, GS22].</p><p>The first finite-sample analysis of this problem was performed by <ref type="bibr">[HR21]</ref>, who proposed an estimator for &#8711;&#966; 0 under the assumption that &#966; 0 is s + 1-times continuously differentiable, for s &gt; 1. They showed that a wavelet-based estimator &#966;W satisfies E&#8741;&#8711; &#966;W -&#8711;&#966; 0 &#8741; 2 L 2 (P ) &#8818; n -2s 2s+d-2 log 2 (n) ,</p><p>and that this rate is minimax optimal up to logarithmic factors. Their analysis requires that P and Q have bounded densities with compact support &#8486; &#8838; R d , and that &#966; 0 be both strongly convex and smooth. Implementing the estimator &#966;W is computationally challenging even in moderate dimensions, and is practically infeasible for d &gt; 3. Follow up work has proposed alternative estimators which improve upon &#966;W either in computational efficiency or in the generality in which they apply. Though these subsequent works go significantly beyond the setting considered by <ref type="bibr">[HR21]</ref>, none has eliminated the crucial assumption that &#966; 0 is smooth, i.e., that the transport map &#8711;&#966; 0 is Lipschitz. We highlight two estimators proposed in this line of work that are particularly practical. <ref type="bibr">[MBNWW21]</ref> study the 1-Nearest Neighbor estimator T1NN . This estimator is obtained by solving the empirical optimal transport problem between the samples, which is then extended to a function defined on R d using a projection scheme; see Section 4 for more details. Given n samples from the source and target measures in R d , T1NN has a runtime of O(n 3 ) via the Hungarian Algorithm [see PC19, Chapter 3], and, for d &#8805; 5, achieves the rate</p><p>whenever the optimal Brenier potential &#966; 0 is smooth and strongly convex, and under mild regularity conditions on P . In another work, <ref type="bibr">[PNW21]</ref> conducted a statistical analysis of an estimator originally proposed by [SDF + 18] based on entropic optimal transport. The efficiency of Sinkhorn's algorithm for large-scale problems <ref type="bibr">[Cut13,</ref><ref type="bibr">PC19]</ref> makes this estimator attractive from a computational perspective, and [PNW21] also give statistical guarantees, though these fall short of being minimax-optimal. Despite this progress, none of the aforementioned results can be applied in situations where &#8711;&#966; 0 is not Lipschitz. And in practice, even requiring the continuity of the transport map can be far too stringent. It is indeed too much to hope for that an underlying data distribution (e.g. over the space of images) has one single connected component; this is supported by recent work that stipulates that the underlying data distribution is the union of disjoint manifolds of varying intrinsic dimension [BCR + 22]. In such a setting, the transport map &#8711;&#966; 0 will not be continuous, demonstrating the need of considering the problem of the statistical estimation of discontinuous transport maps to get closer to real-world situations.</p><p>As a first step, we choose to focus on the case where the target distribution Q = J j=1 q j &#948; y j is discrete while the source measure P has full support, often called the semi-discrete setting in the optimal transport literature. In this setting, the optimal transport map &#8711;&#966; 0 is constant over regions known as Laguerre cells (each cell corresponding to a different atom of the discrete measure), while displaying discontinuities on their boundaries (see Section 2.1.1 for more details). Figure <ref type="figure">1</ref> provides such an example. Semi-discrete optimal transport therefore provides a natural class of discontinuous transport maps.</p><p>Figure <ref type="figure">1</ref>: An illustration of a semi-discrete optimal transport map. The support of P , the whole rectangle, is partitioned into regions, each of which is transported to one of the atoms of the discrete target measure Q. The resulting map is discontinuous at the boundaries of each cell.</p><p>We focus on this setting for two reasons. First, it has garnered a lot of attention in recent years, in both computational and theoretical circles [see, e.g., MSS21, ANWS22, CAN22], due in particular to its connection with the quantization problem <ref type="bibr">[GL07]</ref>. Second, the semi-discrete setting is intriguing from a statistical perspective: existing results show that statistical estimation problems involving semi-discrete optimal transport can escape the curse of dimensionality [FHN + 19, dBL19, dBGSL22, HSM22]. For example, [HSM22, Theorem 3.2] show that if P n and Q n are empirical measures consisting of i.i.d. samples from P and Q, then the semi-discrete assumption implies</p><p>These results offer the tantalizing possibility that semi-discrete transport maps can be estimated at the rate n -1/2 , in sharp contrast to the dimension-dependent rates obtained in bounds such as (2). However, the optimal rates of estimation for semi-discrete transport maps are not known, and no estimators with finite-sample convergence guarantees exist.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Main Contributions</head><p>We show that the computationally efficient estimator T&#949; based on entropically regularized optimal transport, originally studied in [SDF + 18, PNW21], provably estimates discontinuous semi-discrete optimal transport maps at the optimal rate. More precisely, our contributions are the following:</p><p>1. For Q discrete and P with full support on a compact, convex set, we show that T&#949; achieves the following dimension-independent convergence rate to the optimal transport map (see Theorem 3.1)</p><p>when the regularization parameter &#949; &#8781; n -1/2 . We further show (Proposition 4.1) that this rate is minimax optimal.</p><p>2. As a by-product of our analysis, we give new parametric rates of convergence to the entropic Brenier map T &#949; , a result which improves exponentially on prior work in the dependence on &#949; (see Theorem 3.7 and Remark 3.8).</p><p>3. Our proof technique requires several new results, including a novel stability bound for the entropic Brenier maps (Proposition 3.9), and a new stability result for the entropic dual Brenier potentials in the semi-discrete case (Proposition 3.11).</p><p>4. We show that, unlike T&#949; , the 1-Nearest-Neighbor estimator is provably suboptimal in the semi-discrete setting (see Proposition 4.2) by exhibiting a discrete measure Q such that the risk suffers from the curse of dimensionality:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>5.</head><p>In Section 4, we verify our theoretical findings on synthetic experiments. We also show by simulation that the entropic estimator appears to perform well even outside the semi-discrete setting, suggesting it as a promising choice for estimating other types of discontinuous maps.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Notation</head><p>The Euclidean ball centered at a with radius r &gt; 0 is written as B(a; r). The symbols C and c denote positive constants whose value may change from line to line. Write a &#8818; b and a &#8781; b if there exist constants c, C &gt; 0 such that a &#8804; Cb and cb &#8804; a &#8804; Cb, respectively. For an integer N &#8712; N, we let [N ] := {1, . . . , N }. For a function f and a probability measure &#961;, we write &#8741;f &#8741; 2 L 2 (&#961;) := E X&#8764;&#961; &#8741;f (X)&#8741; 2 . Similarly, we write Var &#961; (f</p><p>) 2 ] for the variance of f with respect to &#961;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Background on optimal transport 2.1 Optimal transport</head><p>We define P(&#8486;) to be the space of probability measures whose support lies in a compact subset &#8486; &#8838; R d . If a probability measure P has a density with respect to the Lebesgue measure on R d with support &#8486; &#8838; R d , then we write P &#8712; P ac (&#8486;).</p><p>For two probability measures P, Q &#8712; P(&#8486;), we define the (squared) 2-Wasserstein distance to be <ref type="bibr">[Kan42]</ref> S 0 (P, Q) := min</p><p>where &#960; &#8712; &#915;(P, Q) &#8838; P(&#8486; &#215; &#8486;) such that for any event A,</p><p>We call &#915;(P, Q) the set of couplings between P and Q. In this work, we focus on the squared-Euclidean cost but Equation (4) is well-defined for convex, lower-semicontinuous costs; see <ref type="bibr">[Vil09,</ref><ref type="bibr">San15]</ref> for more information on optimal transport under general costs. Equation ( <ref type="formula">4</ref>) is a convex optimization problem on the space of joint measures, and a minimizer, denoted &#960; 0 , always exists; we call &#960; 0 an optimal plan from P to Q. Moreover, Equation (4) possesses the following dual formulation,</p><p>where M 2 (P ) := &#8741;x&#8741; 2 dP (x) (similarly for M 2 (Q)) and the functions (&#966;, &#968;)</p><p>As with the primal formulation, the infimum in Equation ( <ref type="formula">5</ref>) is attained at functions (&#966; 0 , &#968; 0 ). These minimizers are called (optimal) Brenier potentials. In particular, at optimality, we have that these Brenier potentials are convex conjugates of one another, i.e. the Legendre transform of one of the potentials gives the other:</p><p>and vice-versa.</p><p>Apart from these two formulations of optimal transport under the squared-Euclidean cost, there exists a third, known as the Monge problem:</p><p>where T (P, Q) is the set of admissible transport maps, i.e. for X &#8764; P , T (X) &#8764; Q. This optimization problem is non-convex in T , and a solution is not always guaranteed to exist for arbitrary P and Q.</p><p>The following theorem unifies these three formulations of optimal transport under the squared-Euclidean cost:</p><p>Theorem 2.1 (Brenier's theorem; Bre91). Let P &#8712; P ac (&#8486;) and let Q &#8712; P(&#8486;), then 1. the solution to Equation (7) exists and is of the form T 0 = &#8711;&#966; 0 , where &#966; 0 solves Equation (5)</p><p>2. &#960; 0 is also uniquely defined as</p><p>When we want to place emphasis on the underlying measures, we will write &#966; 0 = &#966; P &#8594;Q 0 , &#968; 0 = &#968; P &#8594;Q 0 and T 0 = T P &#8594;Q 0 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.1">OT in the semi-discrete case</head><p>In optimal transport, the semi-discrete setting refers to the case where P has as density with respect to the Lebesgue measure on R d , and Q is a discrete measure supported on points. The following theorem characterizes the optimal transport map in this situation, which exhibits a particular structure compared to the general results in the previous section. Let [J] = {1, . . . , J}.</p><p>Proposition 2.2 (AHA98). If P &#8712; P ac (&#8486;) and Q is a discrete measure supported on the points y 1 , . . . , y J , then the optimal transport map &#8711;&#966; 0 is given by</p><p>where &#968; 0 is the dual to &#966; 0 in the sense of Equation (6).</p><p>Here, the optimal dual Brenier potential &#968; 0 can be identified with a vector in R J , defined by the number of atoms, and the optimal Brenier potential is consequently given by</p><p>{&#10216;x, y j &#10217; -&#968; 0 (y j )} .</p><p>Although &#966; 0 is not differentiable, only subdifferentiable, we still use the gradient notation as &#8711;&#966; 0 is well-defined P -almost everywhere.</p><p>The map &#8711;&#966; 0 partitions the space into J convex polytopes L j := &#8711;&#966; -1 0 ({y j }) called Laguerre cells; recall Figure <ref type="figure">1</ref>. From this definition, it is clear that for a given x &#8712; L j , x &#8594; &#8711;&#966; 0 (x) = y j is the optimal transport mapping. The difficulty in finding this map lies in determining the cells L j , or equivalently the dual variables &#968; 0 (y j ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Entropic optimal transport</head><p>Entropic regularization was introduced to both optimal transport and machine learning communities in the seminal paper by <ref type="bibr">[Cut13]</ref>, allowing approximate optimal transport distances to be computed at unprecedented speeds. Entropic optimal transport (EOT) is defined as the following regularized version of Equation (4): for &#949; &gt; 0 S &#949; (P, Q) := min</p><p>where KL(&#181;&#8741;&#957;) = log d&#181; d&#957; d&#181; when &#181; &#8712; P(&#8486;) is absolutely continuous with respect to &#957; &#8712; P(&#8486;). This speedup is due to the elegant connection of (9) to Sinkhorn's algorithm; we refer the interested reader to [PC19, Chapter 4] for more information. The computational tractability of S &#949; compared to S 0 when dealing with many samples lends itself to being a central object of study in its own right [see, e.g., GCB + 19, MNW19, CRL + 20, RS22, GSLNW22].</p><p>Equation (9) admits the following dual formulation, which is now an unconstrained optimization problem [Gen19, MG20]</p><p>where (&#966;, &#968;) &#8712; L 1 (P ) &#215; L 1 (Q). When P and Q have finite second moments, Equation (9) admits a unique minimizer, &#960; &#949; and we have the existence of minimizers to Equation (10), which we denote as (&#966; &#949; , &#968; &#949; ). We call &#960; &#949; the entropic optimal plan and (&#966; &#949; , &#968; &#949; ) are called entropic Brenier potentials. The following optimality relation further relates these primal and dual solutions <ref type="bibr">[Csi75]</ref>: d&#960; &#949; (x, y) := e (&#10216;x,y&#10217;-&#966;&#949;(x)-&#968;&#949;(y))/&#949; dP (x) dQ(y) .</p><p>As a consequence, the following relationship holds at optimality:</p><p>and, moreover, we can define versions of &#966; &#949; and &#968; &#949; such that the following relationships hold [see MNW19, NW22] over all x &#8712; R d and y &#8712; R d , respectively:</p><p>which are smoothed version of the Legendre transform, see Appendix A for details. In what follows, we always assume that we have selected &#966; &#949; and &#968; &#949; so that these identities hold.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.1">Entropic Brenier Map</head><p>If (X, Y ) &#8764; &#960; &#949; , we may define the conditional probability</p><p>The barycentric projection of the optimal entropic coupling &#960; &#949; , or entropic Brenier map, is a central object of study in several works e.g. [GKRS22, PNW21, dBGSLNW22, RS22], defined as</p><p>where &#960; x &#949; is as in Equation ( <ref type="formula">13</ref>). Note that this quantity is well defined for all x &#8712; R d as long as the source and target measures have compact support; in particular, it applies to both discrete and continuous measures. The second equality follows from Equation (11) and the dominated convergence theorem. As in the unregularized case, we will write</p><p>when we want to emphasize on the dependency with respect to the underlying measures.</p><p>This particular barycentric projection was proposed as a tool for large-scale optimal transport by [SDF + 18], but analyzed statistically for the first time by <ref type="bibr">[PNW21]</ref> as an estimator for the optimal transport map. We mention some of their results to highlight the differences with our new results for the semi-discrete setting in Section 3. First, they prove the following approximation result for T &#949; .</p><p>Proposition 2.3 (PNW21, Corollary 1). Let P, Q be compactly supported absolutely continuous measures on a compact set &#8486; &#8838; R d with densities p and q, that are bounded away from 0 and &#8734;. Assume that &#966; 0 is smooth and strongly convex, and that &#966; * 0 is at least C 3 . Then,</p><p>Their main statistical result is the following theorem:</p><p>Proposition 2.4 (PNW21, Theorem 3). Suppose the same assumptions as Proposition 2.3, and let P n and Q n denote the empirical measures of P and Q constructed from i.i.d. samples. Let T&#949; = T Pn&#8594;Qn &#949; denote the entropic Brenier map from P n to Q n and let T 0 = &#8711;&#966; 0 be the optimal transport map from</p><p>where</p><p>Note that in particular the the rate of convergence of the entropic estimator critically depends on the ambient dimension d in the continuous-to-continuous case.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.2">Related work</head><p>Characterizing the convergence of entropic objects (e.g. potentials, cost, plans) to their unregularized counterparts in the &#949; &#8594; 0 regime has been a topic of several works in recent years. Convergence of the costs S &#949; to S 0 with precise rates was investigated in [Pal19, CRL + 20, CT21]. The works [CDPS17, L&#233;o12, BGN22, GNB22] study the convergence of the minimizers &#960; &#949; to &#960; 0 under varying assumptions. Convergence of the potentials in a very general setting was established in <ref type="bibr">[NW22]</ref>, though without a rate of convergence in &#949;. In the semi-discrete case, this gap was closed in <ref type="bibr">[ANWS22]</ref> followed closely by <ref type="bibr">[Del22]</ref>, which gave non-asymptotic rates. The Sinkhorn Divergence, a non-negative, symmetric version of S &#949; , was introduced in [GPC18], was statistically analysed in <ref type="bibr">[GKRS22]</ref> and also in <ref type="bibr">[GSLNW22,</ref><ref type="bibr">dBGSLNW22]</ref>, and was connected to the entropic Brenier map in <ref type="bibr">[PCNW22]</ref>. The recent pre-print by <ref type="bibr">[RS22]</ref> proved parametric rates of estimation between the empirical entropic Brenier map and its population counterpart, though with an exponentially poor dependence on the regularization parameter (see Remark 3.8). Using covariance inequalities, the entropic Brenier potentials were used give a new proof of Caffarelli's contraction theorem; see <ref type="bibr">[CP22]</ref>; this approach was recently generalized in <ref type="bibr">[Con22]</ref>. Entropic optimal transport has also come into contact with the area of deep generative modelling through the following works [FGOP20, DBTHD21], among others.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Statistical performance of the entropic estimator in the semi-discrete setting</head><p>Let P n and Q n be the empirical measures associated with two n-samples from P and Q. We make the following regularity assumptions on P , already introduced by <ref type="bibr">[Del22]</ref>.</p><p>(A) The measure P has a compact convex support &#8486; &#8838; B(0; R), with a density p satisfying 0 &lt; p min &#8804; p &#8804; p max &lt; &#8734; for positive constants p min , p max and R.</p><p>For example, P can be the uniform distribution over &#8486;, or a truncated Gaussian distribution. Furthermore, we will need the following assumption on Q.</p><p>(B) The discrete probability measure Q = J j=1 q j &#948; y j is such that q j &#8805; q min &gt; 0 and</p><p>The goal of this section is to prove the following theorem:</p><p>Remark 3.2. We remark that the hidden constants in Theorem 3.7 and related results depend on J, p min , p max , q min and R.</p><p>Remark 3.3 (Fixing the support via rounding). At present, the entropic map need not necessarily map exactly to one of {y 1 , . . . , y J }. In fact, T&#949; : R d &#8594; conv({Y 1 , . . . , Y n }), where conv(A) is the convex hull for some set A. In turn, the support of the entropic map does not in general match that of Q. However, this can be readily fixed with a rounding scheme. We can replace our estimator by T&#949; which is obtained by mapping the output of T&#949; to its nearest neighbor in the support of Q -this projection step is easy to compute, given that we essentially know the support of Q via samples. By viewing this as a projection onto an appropriate set (namely, the set of transport maps with codomain equal to the support of Q), and applying the triangle inequality, it holds that</p><p>but T&#949; matches the support of Q.</p><p>Let T &#949; = T P &#8594;Q &#949; denote the entropic Brenier map associated to P and Q. Our proof relies on the following bias-variance decomposition:</p><p>. Following the next two results (Theorem 3.4 and Theorem 3.7) and the preceding decomposition, the proof of Theorem 3.1 is merely a balancing act in the regularization parameter &#949;.</p><p>Theorem 3.4. Let P satisfy (A) and let Q satisfy (B). Then, for &#949; small enough,</p><p>The proof of Theorem 3.4 relies on the following qualitative picture: if a point x belongs to some Laguerre cell L j , and is far away from the boundary of L j , then the entropic optimal plan &#960; &#949; will send almost all of its mass towards the point y j = T 0 (x), sending an exponentially small amount of mass to the other points y j . Such a picture is correct as long as x is at distance at least &#949; from the boundary of the Laguerre cell L j , incurring a total error of order &#949;. A rigorous proof of Theorem 3.4 can be found in Appendix B.</p><p>Note that this rate is slower than the rate appearing in Proposition 2.3 in the continuousto-continuous case. The following example shows that the dependency in &#949; is optimal in Theorem 3.4, indicating that the presence of discontinuities necessarily affects the approximation properties of the entropic Brenier map. Example 3.5. Let P be a probability measure on R having a symmetric bounded density p continuous at 0, and let Q = 1 2 (&#948; -1 + &#948; 1 ). Following [ANWS22, Section 3], one can check that the entropic Brenier map in this setting is the following scaled sigmoidal function</p><p>whereas the optimal transport map T 0 (x) = sign(x). Then, performing a computation</p><p>where in the last step we invoked the dominated convergence theorem, and computed the limiting integral.</p><p>Remark 3.6. Assumption (A) can be relaxed for Theorem 3.4 to hold. More precisely, it can be replaced by Assumptions 2.2 and 2.9 of <ref type="bibr">[ANWS22]</ref>, that hold for unbounded measures such as the normal distribution.</p><p>Finally, we present the sample-complexity result:</p><p>Theorem 3.7. Let P satisfy (A) and let Q satisfy (B). Then, for 0</p><p>Remark 3.8. In <ref type="bibr">[RS22]</ref>, the authors show that if P and Q are merely compactly supported with supp(P ), supp(Q) &#8838; B(0; R), then</p><p>where c &gt; 0 is some absolute positive constant. Thus, under the additional structural assumptions of the semi-discrete formulation, we are able to significantly improve the rate of convergence between the empirical and population entropic Brenier maps.</p><p>The proof of Theorem 3.7 relies on a novel stability result, reminiscent of [MBNWW21, Theorem 6], which is of independent interest. We provide the proof in Appendix C. Proposition 3.9. Let &#181;, &#957;, &#181; &#8242; , &#957; &#8242; be four probability measures supported in B(0; R). Then the entropic maps T &#181;&#8594;&#957; &#949; and</p><p>Remark 3.10. The right side of the bound in Proposition 3.9 is equal to</p><p>where</p><p>. Proposition 3.9 is therefore the entropic analogue of the stability bounds of [MBNWW21, Theorem 6] and [GS22, Lemma 5.1]. Unlike those results, Proposition 3.9 allows both the source and target measure to be modified, and does not require any smoothness assumptions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proof sketch of Theorem 3.7</head><p>To prove Theorem 3.7, we first consider the one-sample setting, where we assume that we only have access to samples Y 1 , . . . , Y n &#8764; Q, but we have full access to P . We then consider the one-sample entropic estimator T P &#8594;Qn &#949; . We apply Proposition 3.9 with &#181; = &#181; &#8242; := P , &#957; := Q n and &#957; &#8242; := Q, yielding (see Corollary C.1 for details)</p><p>Let &#967; 2 (P &#8741;Q) denote the &#967; 2 -divergence between probability measure. Young's inequality (see Lemma H.1) and the inequality KL(Q n &#8741;Q) &#8804; &#967; 2 (Q n &#8741;Q) yield the following bound:</p><p>To complete our proof sketch, we use a new stability result on the entropic dual Brenier potentials, catered for the semi-discrete setting.</p><p>Proposition 3.11. Let &#181; be a measure that satisfies (A). Let &#957;, &#957; &#8242; be two discrete probability measures supported on {y 1 , . . . , y J }, with &#957; &#8242; &#8805; &#955;&#957; for some &#955; &gt; 0. Then, for 0 &lt; &#949; &#8804; 1,</p><p>where C depends on R, p min and p max .</p><p>Moreover, a computation provided in Lemma H.2 shows that E[&#967; 2 (Q n &#8741;Q)] = J-1 n , which is enough to conclude the proof of the one-sample case, see Appendix E for details.</p><p>The two-sample setting is tackled using similar reasoning, where we ultimately prove in Appendix F that the risk E&#8741; T&#949; -</p><p>Such a quantity can again be related to the estimation of the dual potentials &#968; P &#8594;Qn &#949; and &#968; Pn&#8594;Qn &#949; . Using the same reasoning as before, we expect a parametric rate of convergence for this term as well. Merging the two results completes the proof of Theorem 3.7. We refer to Appendix F for full details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Comparing against the 1NN estimator 4.1 Rate optimality of the entropic Brenier map</head><p>The upper bound of Theorem 3.7 shows that our estimator achieves the n -1/2 rate. In fact, the following simple proposition tells us that this rate is optimal in the semi-discrete case.</p><p>Proposition 4.1. Let P be the uniform distribution on [-1/2, 1/2] d and for any J &#8805; 2, let Q J denote the space of of probability measures with at most J atoms, supported on [-1/2, 1/2] d . Define the minimax rate of estimation</p><p>Then, it holds that R n (Q J ) &#8805; n -1/2 /64.</p><p>Proof. Let e be a vector of the canonical basis of R d , scaled by 1/2. Fix 0 &lt; r &lt; 1/2 and let Q 0 = 1 2 &#948; -e + 1 2 &#948; e and Q 1 = ( 1 2 -r)&#948; -e +( 1 2 +r)&#948; e . A computation gives &#8741;T P &#8594;Q 0 0 -T P &#8594;Q 1 0 &#8741; 2 L 2 (P ) = r. Therefore, by Le Cam's lemma [see, e.g., Wai19, Chapter 15],</p><p>Let d H 2 (Q 0 , Q 1 ) denote the (squared) Hellinger distance between measures. We have</p><p>Furthermore, a computation gives</p><p>We obtain the conclusion by picking r = n -1/2 /4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">The 1NN estimator is proveably suboptimal</head><p>The 1-Nearest-Neighbor estimator, henceforth denoted T1NN , was proposed by <ref type="bibr">[MBNWW21]</ref> as a computational surrogate for estimating optimal transport maps in the low smoothness regime. Written succinctly, their estimator is T1NN</p><p>, where (V i ) n i=1 are Voronoi regions i.e.</p><p>and &#960; is the optimal transport plan between the empirical measures P n and Q n , which amounts to a permutation. Computing the closest X i to a new sample x has runtime O(n log(n)), though the complexity of this estimator is determined by computing the plan &#960;, which takes O(n 3 ) time via, e.g., the Hungarian Algorithm [see PC19, Chapter 3].</p><p>When &#966; 0 is smooth and strongly convex, <ref type="bibr">[MBNWW21]</ref> showed that, for d &#8805; 5,</p><p>. In contrast to the rate optimality of the entropic Brenier map, we now show that T1NN is proveably suboptimal in the semi-discrete setting. Not only does it fail to recover the minimax rate obtained by the entropic Brenier map, but its performance in fact degrades in comparison to the smooth case. A proof appears in Appendix G.</p><p>Proposition 4.2. There exist a measure P satisfying (A) and a discrete measure Q satisfying (B) such that for d &#8805; 3 </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Experiments</head><p>We briefly verify our theoretical findings on synthetic experiments. To create the following plots, we draw two sets of n i.i.d. points from P , (X 1 , . . . , X n ) and (X &#8242; 1 , . . . , X &#8242; n ), and create target points</p><p>, where T 0 is known to us in advance in order to generate the data. Our estimators are computed on the data (X 1 , . . . , X n ) and (Y 1 , . . . , Y n ), and we evaluate the Mean-Squared error criterion</p><p>of a given map estimator T using Monte Carlo integration, using 50000 newly sampled points from P . We plot the means across 10 repeated trials, accompanied by their standard deviations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.1">Semi-discrete example #1</head><p>First consider P = Unif([0, 1] d ) and create atoms {y 1 , . . . , y J } by partitioning the points along the first coordinate for all j &#8712; [J]:</p><p>We choose uniform q j = 1/J for j &#8712; [J]. In this case, it is easy to see that the optimal transport map T 0 (x) is uniquely defined by the first coordinate of x 1 . Figure <ref type="figure">2</ref> illustrates the rate-optimal performance of the entropic Brenier map, and the proveably suboptimal performance of the 1-Nearest-Neighbor estimator.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.2">Semi-discrete example #2</head><p>We now consider a synthetic experiment with far less symmetry. Let P = Unif([0, 1] d ), and fix J &#8712; N. We randomly generate y 1 , . . . , Y J &#8712; [0, 1] d , and also randomly generate &#968; 0 &#8712; R J , and consider the optimal transport map T 0 (x) = argmin j&#8712;[J] {x &#8868; y j -(&#968; 0 ) j }. We define Q = (T 0 ) &#9839; P , leading to the same setup as before, but with a less structured optimal transport map. We consider J = 5 and d = 50, and repeat the procedure of the preceding section to generate our data, and the resulting estimator. Figure <ref type="figure">3</ref> contains plots the MSE as a function of n, where again we see a log-linear slope of around -0.5, which agrees with our theory. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.3">Discontinuous example</head><p>We turn our attention to a discontinuous transport map, where for x &#8712; R d , all the coordinates are fixed except for the first one</p><p>We choose P = Unif([-1, 1] d ) to exhibit a discontinuity in the data. Focusing on d = 10, we see in Figure <ref type="figure">4</ref> that the entropic map estimator avoids the curse of dimensionality and enjoys a faster convergence rate, with better constants.  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusion</head><p>Understanding optimal transport maps in the semi-discrete case is a natural stepping-stone to understanding the case for general discontinuous transport maps. In this work, we propose a tractable, minimax optimal estimator of the Brenier map in the semi-discrete setting, where the rate of estimation is dimension independent. To prove our result, we require several new results and techniques, and, as a by-product of our analysis, give the first parametric rates of estimation the entropic Brenier map, without exponential dependence in the regularization parameter. Our synthetic experiments indicate that the entropic Brenier map might be useful in estimating other variants of discontinuous transport maps, which constitutes an interesting direction for future research.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Reminders on semi-discrete entropic optimal transport</head><p>We recall in this section some known results on entropic optimal transport that will be needed later. Let &#181;, &#957; &#8712; P(&#8486;), where &#8486; &#8834; B(0; R) is a compact set. for some absolute constant c, and similarly for &#968; &#181;&#8594;&#957; &#949; .</p><p>Assume now that &#957; = J j=1 &#957; j &#948; y j is a discrete measure. In this situation, only the values of the dual potential &#968; &#181;&#8594;&#957; &#949; on the points y 1 , . . . , y J are relevant. We therefore consider &#968; &#181;&#8594;&#957; &#949; as a vector in R J . The potentials &#966; &#181;&#8594;&#957; &#949; and &#968; &#181;&#8594;&#957; &#949; are dual of one another, in the sense of the &#949;-Legendre transform. Given a finite measure &#961;, the &#949;-Legendre transform of a function h with respect to &#961; is given by</p><p>Relations ( <ref type="formula">11</ref>) and ( <ref type="formula">12</ref>) express that</p><p>) and vice-versa. In the semi-discrete setting, it is also convenient to introduce the &#949;-Legendre transform with respect to the counting measure &#963; on {y 1 , . . . , y J }. For a vector &#968; &#8712; R J , we have</p><p>The &#934; &#949; transform and the &#934; &#957; &#949; transform are linked through the relation</p><p>where we call &#968; a shifted potential. With this notation, the optimality condition on the potentials can be rephrased. Let</p><p>Then, the function F &#181;&#8594;&#957; &#949; is minimized at &#968;&#181;&#8594;&#957; &#949; . For &#968; &#8712; R J and x &#8712; R d , we introduce the probability measure supported on {y 1 , . . . , y J } given by &#8704;i &#8712;</p><p>A computation gives &#8711;F &#181;&#8594;&#957; &#949; (&#968;) = &#960; x &#949; [&#968;] d&#181;(x) -&#957;, so that at optimality, we have</p><p>In this case,</p><p>] is the conditional distribution of the second marginal of &#960; &#949; given that the first is equal to x, as in Section 2.2.1. More generally, for any potential &#968;, the first order condition implies that &#968; is equal to &#968;&#181;&#8594;&#957; &#968; &#949; , the optimal dual potential between &#181; an</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B Bound on the approximation error</head><p>Proof of Theorem 3.4. Let i, j &#8712; [J]. We define the jth slack at x &#8712; L i by</p><p>As &#966; 0 is the Legendre transform of &#968; 0 , we have &#8710; ij (x) &#8805; 0. If the cells L i and L j have a nonempty intersection, the set H ij (t) = {x &#8712; L i : &#8710; ij (x) = t} represents the trace on L i of the hyperplane spanned by the boundary between L i and L j , shifted by t. It is stated in <ref type="bibr">[ANWS22]</ref> that for every nonnegative measurable function f : R &#8594; R + ,</p><p>where</p><p>In particular, w ij = h ij (0) is the (weighted) surface of the boundary between the i th and j th Laguerre cells (should it exist). Given x &#8712; L i , let s(x) = min j&#824; =i 1 2 &#8710; ij (x). When the point x is sufficiently inside its Laguerre cell, the conditional probability &#960; x &#949; becomes extremely concentrated around the point y i , as the next lemma shows. Note that &#960; x 0 = &#948; y i when x &#8712; L i . Lemma B.1. Let x &#8712; L i . For &#949; small enough, it holds that for every j &#8712;</p><p>, where c depends on J, the distances &#8741;y i -y j &#8741; and on the quantities w ij . Such a result was already stated in [Del22, Corollary 2.2], although while requiring that the source measure P has a H&#246;lder continuous density. Only assumption (A) is needed here.</p><p>Proof. According to [ANWS22, Proposition 4.6], for &#949; small enough,</p><p>where &#968;&#949; is the shifted version of &#968; &#949; (see ( <ref type="formula">25</ref>)) and C depends on the distances &#8741;y i -y j &#8741; and on the w ij s. Following [Del22, Proof of Corollary 2.2] and (28), we have for j &#824; = i</p><p>e (&#10216;x,y j &#10217;-&#968;&#949;(yj ))/&#949; J j &#8242; =1 e (&#10216;x,y j &#8242; &#10217;-&#968;&#949;(y j &#8242; ))/&#949; &#8804; e 2C e (&#10216;x,y j &#10217;-&#968; 0 (y j ))/&#949; J j &#8242; =1 e (&#10216;x,y j &#8242; &#10217;-&#968; 0 (y j &#8242; ))/&#949; &#8804; e 2C e -s(x)/&#949; . A similar computation yields that</p><p>Therefore, letting C &#8242; denote a constant, which may depend on J, whose value may change from line to line, we obtain</p><p>where in the second equality, we used the definition of s(x). Assumption (A) ensures that the functions h ij s are bounded, which implies that the right-hand side in (35) is of order &#949;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C Stability of entropic transport plans</head><p>Proof of Proposition 3.9. Note that we may assume without loss of generality that &#957; &#8810; &#957; &#8242; and that KL(&#957;&#8741;&#957; &#8242; ) &lt; &#8734;, for otherwise the bound is vacuous. For notational convenience, we omit the dependence on &#949; in the subscripts. Write &#960; &#181;,&#957; = &#947; &#181;,&#957; (x, y)d&#181;(x)d&#957;(y) for the entropic optimal plan between &#181; and &#957;, where &#947; &#181;,&#957; = exp 1 &#949; (&#10216;x, y&#10217; -&#966; &#181;&#8594;&#957; (x) -&#968; &#181;&#8594;&#957; (y)) , and analogously define</p><p>) . Consider the measure &#947; &#181; &#8242; ,&#957; &#8242; (x, y) d&#181;(x) d&#957; &#8242; (y). The first-order optimality condition for (&#966; &#181; &#8242; &#8594;&#957; &#8242; , &#968; &#181; &#8242; &#8594;&#957; &#8242; ) implies that</p><p>so that &#947; &#181; &#8242; ,&#957; &#8242; (x, y) d&#957; &#8242; (y) is a probability measure. Let us write d&#960; x (y) = &#947; &#181;,&#957; (x, y) d&#957;(y) and d&#961; x (y) = &#947; &#181; &#8242; ,&#957; &#8242; (x, y) d&#957; &#8242; (y). We make the following observations: first, T &#181;&#8594;&#957; (x) = y d&#960; x (y) and T &#181; &#8242; &#8594;&#957; &#8242; (x) = y d&#961; x (y). Second, the support of &#961; x lies inside B(0; R); since any Lipschitz function</p><p>This implies [BG99, Theorem 3.1] that</p><p>Third, Jensen's inequality implies that for any coupling &#947; between &#960; x and &#961; x ,</p><p>so that in particular, &#8741;T &#181;&#8594;&#957; (x) -T &#181; &#8242; &#8594;&#957; &#8242; (x)&#8741; &#8804; W 1 (&#960; x , &#961; x ). Combining these facts, we obtain</p><p>(39) Integrating both sides of this equation with respect to &#181; yields</p><p>Expanding the definition of &#947; &#181;,&#957; and &#947; &#181; &#8242; ,&#957; &#8242; and using that log d&#957; d&#957; &#8242; (y) d&#960; &#181;,&#957; (x, y) = log d&#957; d&#957; &#8242; (y) d&#957;(y) = KL(&#957;&#8741;&#957; &#8242; ) yields the claim.</p><p>We now record two corollaries of this bound, which apply when either the source or the target measures of the entropic maps agree.</p><p>Corollary C.1. For any &#181;, &#957;, &#957; &#8242; supported in B(0; R),</p><p>Proof. We apply Proposition 3.9 with &#181; = &#181; &#8242; , which yields (once again omitting the dependency in &#949;)</p><p>(42) By definition, (&#966; &#181;&#8594;&#957; &#8242; , &#968; &#181;&#8594;&#957; &#8242; ) minimizes the expression</p><p>, so, recalling that e (&#10216;x,y&#10217;-&#966; &#181;&#8594;&#957; &#8242; (x)-&#968; &#181;&#8594;&#957; &#8242; (y))/&#949; d&#181;(x) d&#957; &#8242; (y) = 1, we have in particular</p><p>where we have used that the first-order optimality condition for (&#966; &#181;&#8594;&#957; , &#968; &#181;&#8594;&#957; ) implies that e (&#10216;x,y&#10217;-&#966; &#181;&#8594;&#957; (x)-&#968; &#181;&#8594;&#957; (y))/&#949; d&#181;(x) d&#957; &#8242; (y) = 1 as well (see ( <ref type="formula">11</ref>)). This implies</p><p>Applying this inequality to (42) yields</p><p>Corollary C.2. For any &#181;, &#181; &#8242; , &#957; supported in B(0; R),</p><p>Proof. We apply Proposition 3.9 with &#957; = &#957; &#8242; , yielding (dropping the dependency on &#949;)</p><p>An argument analogous to the one used in the proof of Corollary C.1 gives the inequality</p><p>or, equivalently,</p><p>and combining this inequality with (45) proves the claim. ). Let &#957; = J j=1 &#957; j &#948; y j be a measure supported on {y 1 , . . . , y J } &#8838; B(0; R) and let &#181; supported on a compact convex set &#8486; &#8838; B(0; R) with a density p satisfying p min &#8804; p &#8804; p max for some p max &#8805; p min &gt; 0. For &#968; &#8712; R J , define &#957; &#968; = &#960; x &#949; [&#968;] d&#181;(x) and assume that &#957; &#968; &#8805; &#955;&#957; for some 0 &lt; &#955; &#8804; 1. Then, we have for &#949; &#8712; (0, 1)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D Strong convexity of the entropic semi-dual problem</head><p>where</p><p>Proof. As &#181; and &#949; are fixed, we will simply write &#968; &#957; instead of &#968; &#181;&#8594;&#957; &#949; , and write similarly</p><p>Recall the definition (25) of the shifted potential &#968;&#957; (y j ) = &#968; &#957; (y j ) -&#949; log &#957; j . According to [Del22, Theorem 3.2], the functional F &#957; is minimized at the vector &#968;&#957; , with</p><p>The potential &#968; t is the (shifted) entropic Brenier potential between &#181; and &#957; t , so that it minimizes the functional F &#957;t (see Appendix A). Also, note that &#8711; 2 F &#957; does not depend on &#957;, so that</p><p>Lemma D.2. Write &#957; t = J j=1 &#957; t,j &#948; y j . Then, for all t &#8712; [0, 1] and j &#8712; [J], we have &#957; t,j &#8805; p min pmax &#957; 1-t 0,j &#957; t 1,j . This lemma is enough to conclude the proof. Indeed,</p><p>Therefore, if we let h t (x) = e (&#10216;x,y j &#10217;-&#968;t(y j )-&#934;&#949;(&#968;t)(x))/&#949; , then we have h t (tx + (1 -t)y) &#8805; h 0 (x) t h 1 (y) 1-t . By the Pr&#233;kopa-Leindler inequality,</p><p>Proof of Proposition 3.11. As in the previous proof, we drop the &#949; and &#181; dependency in our notation. Write &#957; k = J j=1 &#957; k,j &#948; y j for k = 0, 1, and define as before the shifted potentials &#968;&#957; k (y j ) = &#968; &#957; 1 (y j ) -&#949; log &#957; k,j . Let &#952; &gt; 0 be a parameter to fix. According to Proposition D.1, Lemma H.1, and using the inequality F &#957; 1 ( &#968;&#957; 1 ) &#8804; F &#957; 1 ( &#968;&#957; 0 ), we have</p><p>We pick &#952; = C&#955; to conclude that</p><p>Therefore, using the inequality | log(a/b)| &#8804; |a -b|/ min{a, b} for a, b &gt; 0,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E Control of the fluctuations in the one-sample case</head><p>Lemma E.1 (Sample complexity in the one-sample case). Assume that P satisfy (A) and that Q satisfy (B). Then, it holds that</p><p>Proof. To ease notation, we write T &#949;,n = T P &#8594;Qn &#949; and &#968; &#949;,n = &#968; P &#8594;Qn &#949; . As explained in Section 3, the stability result Proposition 3.9 implies that</p><p>Write Q = J j=1 q j &#948; y j and Q n = J j=1 qj &#948; y j , and introduce the event</p><p>If E is not satisfied, we use the fact that the entropic potentials have a bounded amplitude (see Lemma A.1), to obtain that</p><p>Lemma E.2. Let E be the event that Q n &#8805; Q/2. Then P(E c ) &#8804; Je -cq min n for some c &gt; 0.</p><p>Proof. By [Ver18, Exercise 2.3.2], we have P(E c ) &#8804; J j=1 P(q j &lt; q j /2) &#8804; Je -cq min n for some c &gt; 0.</p><p>We obtain</p><p>by Lemma H.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F Control of the fluctuations in the two-sample case</head><p>The goal of this section is to prove Theorem 3.7. We will actually prove a more general result, and show that for any discrete measure &#957; = J j=1 &#957; j &#948; y j supported on {y 1 , . . . , y J } with &#957; j &#8805; &#957; min &gt; 0 for all j &#8712; [J], we have for log(1/&#949;) &#8818; n/ log(n),</p><p>Theorem 3.7 follows from (58) by conditioning on Q n . Let E be the event that</p><p>We obtain Theorem 3.7 by combining this bound with Lemma E.1.</p><p>To prove (58), we first use Corollary C.2 which yields</p><p>where we recall that for a potential &#968;, the shifted potential &#968; is given by &#968;j = &#968; j -&#949; log &#957; j . The remainder of the proof consists in bounding this integral by using localization arguments and standard bounds on suprema of empirical processes. Our first goal is to show that the potential &#968; Pn&#8594;&#957; &#949; is close to to the potential &#968; P &#8594;&#957; &#949; for the &#8734;-norm. It will be convenient to work with the "L &#8734; -variance"</p><p>As the measure &#957; is lower bounded, it holds that</p><p>Lemma F.1 (Supremum of &#949;-Legendre transforms). Let &#968; 0 be a fixed potential and let &#964; &gt; 0.</p><p>Then, for all j &#8712; [J],</p><p>E sup</p><p>for some absolute constant C.</p><p>Proof. For a metric space (A, d) and u &gt; 0, we let N (u, A, d) be the covering number of A at scale u, that is the smallest number of balls of radius u needed to cover A. Let B be the L &#8734; -ball of radius &#964; in R J , centered at &#968; 0 , and let &#8741; &#8226; &#8741; &#8734; denote the &#8734;-norm. For 0 &lt; u &#8804; &#964; , we have log</p><p>We start with the second inequality. Note that &#968; &#8594; &#934; &#949; (&#968;) is 1-Lipschitz continuous, and that the functional &#934; &#949; satisfies &#934; &#949; (&#968; + c) = &#934; &#949; (&#968;) + c for all c &#8712; R. Then the set {&#968; : Var &#8734; (&#968; -&#968; 0 ) &#8804; &#964; 2 } is equal to the set {&#968; + c : &#968; &#8712; B, c &#8712; R}. As c d(P -P n ) = 0, we can therefore restrict the supremum to vectors &#968; &#8712; B. Furthermore, an envelope function of the class {&#934; &#949; (&#968;) -&#934; &#949; (&#968; 0 ) : &#968; &#8712; B} is the constant function equal to &#964; . Therefore, by Lemma H.3, we obtain</p><p>We repeat the same argument for the first inequality. The functional &#960; x &#949; is invariant by translation:</p><p>As the function &#968; &#8594; &#960; x &#949; (&#968;) j is &#949; -1 -Lipschitz continuous for every x &#8712; R d , we have for 0</p><p>Remarking furthermore that 0 &#8804; &#960; x &#949; (&#968;) j &#8804; 1 (so that the class of functions {x &#8594; &#960; x &#949; (&#968;) j : &#968; &#8712; B} admits the constant function 1 as an envelope function), we obtain the following control using Lemma H.3:</p><p>where c 0 , c 1 and c 2 are absolute constants, and the last line follows from arguing whether c 1 &lt; &#964; /&#949; or not.</p><p>Proposition F.2. Assume that P satisfies (A) and let &#957; = J j=1 &#957; j &#948; y j be a measure supported on {y 1 , . . . , y J } &#8834; B(0; R), with &#957; j &#8805; q min for all j &#8712; [J]. Then, for all 0</p><p>Proof. To alleviate notation, we will write &#968; n = &#968; Pn&#8594;&#957; &#949; and &#968; 0 = &#968; P &#8594;&#957; &#949; . Similarly, we write</p><p>) dP (x). Under the event E = {&#957; n &#8805; &#957;/2}, we have according to Proposition D.1 and the fact that &#968;n minimizes F n ,</p><p>Let us bound P(E c ). As &#968;n is the minimum of F n , we have &#957; = &#960; x &#949; ( &#968;n ) j dP n (x) (see Appendix A). Therefore, we may write &#957; n,j = &#960; x &#949; ( &#968;n ) j dP n (x) + &#960; x &#949; ( &#968;n ) j d(P -P n )(x) = &#957; j + Z j , where</p><p>Note that Var &#8734; ( &#968;n -&#968;0 ) &#8818; R 2 (see Lemma A.1), so that by Lemma F.1 and Lemma H.3,</p><p>under the condition log(1/&#949;) &#8818; n/ log(n).</p><p>For k &#8805; 0, let a k = 2 k / &#8730; n and fix some p &gt; 2. Let </p><p>Proposition F.3. Under the same assumptions than Proposition F.2, it holds that</p><p>Proof. Let Z = Var &#8734; ( &#968;n -&#968;0 ). Let once again a k = 2 k / &#8730; n for k &#8805; 1, with a 0 = 0. Fix some p &gt; 2, with q = p p-1 . For a &gt; 0, let D a = sup Var&#8734;(&#968;-&#968;0 )&#8804;a 2 (&#934; &#949; (&#968;) -&#934; &#949; ( &#968;0 )) d(P -P n ) . By H&#246;lder inequality and Markov inequality, we obtain,</p><p>where we use Proposition F.2, Lemma F.1 and Lemma H.3 at the last line. Equation (59) then gives the conclusion.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G A lower bound for the performance of the 1NN estimator</head><p>In this section, we prove Proposition 4.2. We let P be the Lebesgue measure on &#8486; = [0, 1] d , and let y 0 = (0, 1/2, . . . , 1/2) and y 1 = (1, 1/2, . . . , 1/2). We denote by P n an empirical measure consisting of i.i.d. samples from P . As in Appendix F, we work in a general setting of a generic discrete target measure &#957;, which may either be fixed or may be a random measure independent of P n . We let &#957; = j=0,1 &#957; j &#948; y j for &#957; 0 , &#957; 1 &#8805; 1 4 ; this latter condition will hold with overwhelming probability if &#957; is an empirical measure Q n corresponding to n i.i.d. samples from Q = 1 2 &#948; y 0 + 1 2 &#948; y 1 . Following <ref type="bibr">[MBNWW21]</ref>, we define the one-nearest neighbor estimator T1NN in this general context by</p><p>where &#960; is the empirical optimal coupling between P n and &#957;.</p><p>We first examine the structure of the Brenier map T 0 = &#8711;&#966; 0 . The considerations in Section 2.1.1 imply that</p><p>where e 1 is the first elementary basis vector. The potential &#966; 0 is not differentiable on the separating hyperplane &#10216;e 1 , x&#10217; = &#957; 0 , which has measure 0 under P , but we may arbitrarily assign points on this hyperplane to y 0 . Similar arguments imply that the empirical transport plan &#960; between P n and &#957; has the following property: there exists a (random) threshold &#964; &#8712; (0, 1) such that &#960;(x, y 0 ) = 1 &#10216;e 1 , x&#10217; &lt; &#964; 0 &#10216;e 1 , x&#10217; &gt; &#964; .</p><p>The set &#10216;e 1 , x&#10217; = &#964; may not have measure 0 under P n , and &#960;(x, y 0 ) may take values strictly between 0 and 1 on this set.</p><p>The following lemma that &#964; is close to &#957; 0 with high probability.</p><p>Lemma G.1. For any t &#8805; 0, Let us write H for the halfspace {x : &#10216;e 1 , x&#10217; &#8804; &#957; 0 }, and &#292; for the halfspace {x : &#10216;e 1 , x&#10217; &#8804; &#964; }. Let x be any point in &#8486; such that x &#8712; H. We are interested in the event that there exists an element X i &#8712; {X 1 , . . . , X n } such that a) x &#8712; V i and b) X i &#8712; &#292;c . Call this event E(x). On this event, T1NN (x) = y 1 and T 0 (x) = y 0 , so &#8741; T1NN (x) -T 0 (x)&#8741; 2 = 1.</p><p>We therefore obtain E&#8741; T1NN -T 0 &#8741; 2 L 2 (P ) = E &#8741; T1NN (x) -T 0 (x)&#8741; 2 dP (x)</p><p>where the final equality follows from the Fubini-Tonelli theorem. We now lower bound the probability of E(x). Let us write A t for the event that &#964; &lt; &#957; 0 + t, for t &gt; 0 to be specified, and write H t for the halfspace {x : &#10216;e 1 , x&#10217; &#8804; &#957; 0 + t}. Given any x &#8712; H, write &#8710; = d(x, H c t ), and let B be a ball of radius 2&#8710; around x, intersected with &#8486;. Denote by F (x) the event that there are no samples in V = B &#8745; H t but there is at least one point in B &#8745; H c t . Then F (x) &#8745; A t &#8838; E(x), since on F (x) the nearest neighbor to x must be a sample in H c t , and on A t we have H c t &#8838; &#292;c .</p><p>Lemma G.2.</p><p>P {F (x) &#8745; A t } &#8805; (1 -vol(V )) n -(1 -vol(B)) n -e -2nt 2 .</p><p>Proof. We first compute P {F (x)}. The probability that there are no samples in V is (1 -vol(V )) n , and this event may be written as the disjoint union of F (x) and the event that all of B is empty. The latter event has probability (1 -vol(B)) n . Therefore</p><p>(1 -vol(V )) n = P {F (x)} + (1 -vol(B)) n .</p><p>Since P {A c t } &#8804; e -2nt 2 , the claim follows. We need the following lemma. Proof. This is immediate from a scaling argument: since d(x, &#8706;&#8486;) &#8805; 2&#8710;, the set B is a Euclidean ball of radius 2&#8710;, and the set V is a Euclidean ball of radius 2&#8710; minus a spherical dome cut off by a hyperplane at distance &#8710; from the center. When &#8710; = 1, it is clear that the claimed inequalities hold, and the general case is obtained by dilation.</p><p>We assume in what follows that d(x, &#8706;&#8486;) &#8805; 2&#8710;. The inequalities (1 + x) n &#8805; 1 + nx and e x &#8804; 1 + x + x 2 , valid for all x &#8712; [-1, 0] and n &#8805; 1, imply that for any &#948; &gt; 0 there exists a constant c d,&#948; &gt; 0 such that if &#8710; &#8804; c d,&#948; n -1/d , then we will have Since t &#8781; n -1/2 , we will have that t &#8810; &#8710; n for n sufficiently large (as d &#8805; 3). Therefore, for n large enough, the set S contains the set S &#8242; = {x &#8712; &#8486; : &#957; 0 -&#8710; n +t &#8804; &#10216;e 1 , x&#10217; &#8804; &#957; 0 -&#8710; n /2+t, 2&#8710; n &#8804; &#10216;e j , x&#10217; &#8804; 1-2&#8710; n &#8704;j = 2, . . . , d} .</p><p>Since vol(S &#8242; ) &#8819; d &#8710; n &#8819; n -1/d , the claim follows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>H Auxiliary lemmas</head><p>Lemma H.1 (Young's inequality). Let Q 0 , Q 1 be probability measures with Q 1 &#8810; Q 0 and let f be a function. Then, for &#952; &gt; 0,</p><p>Proof. Recall Young's inequality: for a, b &#8712; R, ab &#8804; a 2 2 + b 2 2 . As the left-hand side is invariant by translation, we may assume without loss of generality that f dQ 0 = 0, so that Var Q 0 (f ) = f 2 dQ 0 . We write</p><p>Lemma H.2 (Expectation of empirical &#967; 2 -divergence). Let Q = J j=1 q j &#948; y j be a discrete measure supported on J atoms, and let Q n denote its empirical measure, consisting of n i.i.d. samples. Then,</p><p>Proof. We can write Q n = J j=1 qj &#948; y j , where qj is a binomial random variable with parameters n and q j . We obtain &#967; 2 (Q n &#8741;Q) = J j=1 (q j -q j ) 2 q j .</p><p>Taking expectations, our bound reads</p><p>Var(q j ) q j = J j=1 q j (1 -q j ) nq j = J -1 n .</p><p>Lemma H.3 (Control of suprema of empirical processes). Let X 1 , . . . , X n be an i.i.d. sample from some probability measure P on R d , with P n the associated empirical measure. Consider F a class of functions R d &#8594; R with &#8741;f &#8741; &#8734; &#8804; A for all f &#8712; F . For u &gt; 0, let N (u) be the u-covering numbers of F , that is the minimal number of balls of radius u for the &#8741; &#8226; &#8741; &#8734; -metric required to cover F . Then, </p></div></body>
		</text>
</TEI>
