<?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>PMLR</publisher>
				<date>07/23/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10508718</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings of Machine Learning Research</title>
<idno>2640-3498</idno>
<biblScope unit="volume">202</biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Aram-Alexandre Pooladian</author><author>Vincent Divol</author><author>Jonathan Niles-Weed</author><author>Andreas Krause</author><author>Emma Brunskill</author><author>Kyunghyun Cho</author><author>Barbara Engelhardt</author><author>Sivan Sabato</author><author>Jonathan Scarlett</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 R^d, 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 R^d. We study a computationally efficient estimator initially proposed by Pooladian & 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">(Santambrogio, 2015;</ref><ref type="bibr">Villani, 2009)</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</p><p>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 <ref type="bibr">(Carlier et al., 2016;</ref><ref type="bibr">Chernozhukov et al., 2017;</ref><ref type="bibr">Gunsilius &amp; Xu, 2021;</ref><ref type="bibr">Torous et al., 2021)</ref>, computational biology <ref type="bibr">(Bunne et al., 2021;</ref><ref type="bibr">2022;</ref><ref type="bibr">Demetc &#184;i et al., 2022;</ref><ref type="bibr">L&#252;beck et al., 2022;</ref><ref type="bibr">Moriel et al., 2021;</ref><ref type="bibr">Schiebinger et al., 2019;</ref><ref type="bibr">Yang et al., 2020)</ref>, and computer vision <ref type="bibr">(Feydy et al., 2017;</ref><ref type="bibr">Solomon et al., 2015;</ref><ref type="bibr">2016)</ref>, among many others.</p><p>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 <ref type="bibr">(Deb et al., 2021;</ref><ref type="bibr">Divol et al., 2022;</ref><ref type="bibr">Ghosal &amp; Sen, 2022;</ref><ref type="bibr">H&#252;tter &amp; Rigollet, 2021;</ref><ref type="bibr">Manole et al., 2021;</ref><ref type="bibr">Muzellec et al., 2021;</ref><ref type="bibr">Pooladian &amp; Niles-Weed, 2021)</ref>.</p><p>The first finite-sample analysis of this problem was performed by <ref type="bibr">H&#252;tter &amp; Rigollet (2021)</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</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">H&#252;tter &amp; Rigollet (2021)</ref>, none has eliminated the crucial assumption that &#966; 0 is smooth, i.e., that the transport map &#8711;&#966; 0 is Lipschitz.</p><p>We highlight two estimators proposed in this line of work that are particularly practical. <ref type="bibr">Manole et al. (2021)</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 <ref type="bibr">Peyr&#233; &amp; Cuturi, 2019, Chapter 3)</ref>, 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, Pooladian &amp; Niles-Weed (2021) conducted a statistical analysis of an estimator originally proposed by <ref type="bibr">Seguy et al. (2018)</ref> based on entropic optimal transport. The efficiency of Sinkhorn's algorithm for large-scale problems <ref type="bibr">(Cuturi, 2013;</ref><ref type="bibr">Peyr&#233; &amp; Cuturi, 2019)</ref> makes this estimator attractive from a computational perspective, and Pooladian &amp; Niles-Weed (2021) also give statistical guarantees, though these fall short of being minimax-optimal.</p><p>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 <ref type="bibr">(Brown et al., 2022)</ref>. 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; yj is discrete while the source measure P has full support, often called the semidiscrete 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. Semidiscrete optimal transport therefore provides a natural class of discontinuous transport maps. 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., <ref type="bibr">Altschuler et al., 2022;</ref><ref type="bibr">Chen et al., 2022;</ref><ref type="bibr">M&#233;rigot et al., 2021)</ref>, due in particular to its connection with the quantization problem <ref type="bibr">(Graf &amp; Luschgy, 2007)</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 (del <ref type="bibr">Barrio &amp; Loubes, 2019;</ref><ref type="bibr">del Barrio et al., 2022a;</ref><ref type="bibr">Forrow et al., 2019;</ref><ref type="bibr">Hundrieser et al., 2022)</ref>. For example, <ref type="bibr">Hundrieser et al. (2022, Theorem 3.2)</ref> 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 semidiscrete 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 <ref type="bibr">(Pooladian &amp; Niles-Weed, 2021;</ref><ref type="bibr">Seguy et al., 2018)</ref>, 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). </p><p>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</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="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">(Kantorovitch, 1942</ref>)</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">(Santambrogio, 2015;</ref><ref type="bibr">Villani, 2009)</ref> for more information on optimal transport under general costs.</p><p>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 <ref type="bibr">(Brenier's theorem;</ref><ref type="bibr">Brenier, 1991)</ref>. 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 <ref type="bibr">(Aurenhammer et al., 1998)</ref>. 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">Cuturi (2013)</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 ( <ref type="formula">4</ref>): 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 <ref type="bibr">(Peyr&#233; &amp; Cuturi, 2019, Chapter 4</ref>) 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., <ref type="bibr">Chizat et al., 2020;</ref><ref type="bibr">Genevay et al., 2019;</ref><ref type="bibr">Gonzalez-Sanz et al., 2022;</ref><ref type="bibr">Mena &amp; Niles-Weed, 2019;</ref><ref type="bibr">Rigollet &amp; Stromme, 2022)</ref>. Equation ( <ref type="formula">9</ref>) admits the following dual formulation, which is now an unconstrained optimization problem <ref type="bibr">(Genevay, 2019;</ref><ref type="bibr">Marino &amp; Gerolin, 2020</ref>)</p><p>where (&#966;, &#968;) &#8712; L 1 (P )&#215;L 1 (Q). When P and Q have finite second moments, Equation ( <ref type="formula">9</ref>) admits a unique minimizer, &#960; &#949; and we have the existence of minimizers to Equation ( <ref type="formula">10</ref>), 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.</p><p>The following optimality relation further relates these primal and dual solutions <ref type="bibr">(Csisz&#225;r, 1975)</ref>:</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 <ref type="bibr">Mena &amp; Niles-Weed, 2019;</ref><ref type="bibr">Nutz &amp; Wiesel, 2022</ref>) 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. <ref type="bibr">(del Barrio et al., 2022b;</ref><ref type="bibr">Goldfeld et al., 2022;</ref><ref type="bibr">Pooladian &amp; Niles-Weed, 2021;</ref><ref type="bibr">Rigollet &amp; Stromme, 2022)</ref>, 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 ( <ref type="formula">11</ref>) 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 <ref type="bibr">Seguy et al. (2018)</ref>, but analyzed statistically for the first time by <ref type="bibr">Pooladian &amp; Niles-Weed (2021)</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; . Proposition 2.3 (Pooladian &amp; Niles-Weed, 2021, 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: Proposition 2.4 <ref type="bibr">(Pooladian &amp; Niles-Weed, 2021, Theorem 3)</ref>. 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 d &#8242; = 2&#8968;d/2&#8969;.</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 <ref type="bibr">(Chizat et al., 2020;</ref><ref type="bibr">Conforti &amp; Tamanini, 2021;</ref><ref type="bibr">Pal, 2019)</ref>. The works <ref type="bibr">(Bernton et al., 2022;</ref><ref type="bibr">Carlier et al., 2017;</ref><ref type="bibr">Ghosal et al., 2022;</ref><ref type="bibr">L&#233;onard, 2012)</ref> 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">(Nutz &amp; Wiesel, 2022)</ref>, though without a rate of convergence in &#949;. In the semidiscrete case, this gap was closed in <ref type="bibr">(Altschuler et al., 2022)</ref> followed closely by <ref type="bibr">(Delalande, 2022)</ref>, which gave nonasymptotic rates. The Sinkhorn Divergence, a non-negative, symmetric version of S &#949; , was introduced in <ref type="bibr">(Genevay et al., 2018)</ref>, was statistically analysed in <ref type="bibr">(Goldfeld et al., 2022)</ref> and also in (del <ref type="bibr">Barrio et al., 2022b;</ref><ref type="bibr">Gonzalez-Sanz et al., 2022)</ref>, and was connected to the entropic Brenier map in <ref type="bibr">(Pooladian et al., 2022)</ref>. The recent pre-print by <ref type="bibr">(Rigollet &amp; Stromme, 2022)</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">(Chewi &amp; Pooladian, 2022)</ref>; this approach was recently generalized in <ref type="bibr">(Conforti, 2022)</ref>. Entropic optimal transport has also come into contact with the area of deep generative modelling through the following works <ref type="bibr">(De Bortoli et al., 2021;</ref><ref type="bibr">Finlay et al., 2020)</ref>, 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 Delalande (2022).</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; yj is such that q j &#8805; q min &gt; 0 and y j &#8712; B(0; R) for all j &#8712; [J].</p><p>The goal of this section is to prove the following theorem: Theorem 3.1. Let P satisfy (A) and let Q satisfy (B). Let T&#949; = T Pn&#8594;Qn &#949; . Then, for &#949; &#8781; n -1/2 and n large enough,</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. 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; :</p><p>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 continuous-to-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.</p><p>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 <ref type="bibr">(Altschuler et al., 2022,</ref> 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. 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">Altschuler et al. (2022)</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">(Rigollet &amp; Stromme, 2022)</ref>, the authors show that if P and Q are merely compactly supported with</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 <ref type="bibr">(Manole et al., 2021, Theorem 6)</ref>, which is of independent interest. We provide the proof in Appendix C.</p><p>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 <ref type="bibr">Manole et al. (2021, Theorem 6)</ref> and <ref type="bibr">Ghosal &amp; Sen (2022, Lemma 5.1)</ref>. 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 semidiscrete 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</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. 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</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="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</p><p>Therefore, by Le Cam's lemma (see, e.g., <ref type="bibr">Wainwright, 2019, Chapter 15)</ref>,</p><p>Let d H 2 (Q 0 , Q 1 ) denote the (squared) Hellinger distance between measures. We have </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">(Manole et al., 2021)</ref> as a computational surrogate for estimating optimal transport maps in the low smoothness regime. Written succinctly, their estimator is</p><p>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.</p><p>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 <ref type="bibr">Peyr&#233; &amp; Cuturi, 2019, Chapter 3)</ref>.</p><p>When &#966; 0 is smooth and strongly convex, <ref type="bibr">Manole et al. (2021)</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. 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. </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.</p><p>Lemma A.1 <ref type="bibr">(Genevay et al., 2019)</ref>. The entropic potential (&#966; &#181;&#8594;&#957; &#949; , &#968; &#181;&#8594;&#957; &#949; ) have a bounded amplitude, in the sense that</p><p>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; yj 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>e (&#10216;x,yi&#10217;-&#968;(yi))/&#949; J j=1 e (&#10216;x,yj &#10217;-&#968;(yj ))/&#949; = e (&#10216;x,yi&#10217;-&#934;&#949;(&#968;)(x)-&#968;(yi))/&#949; . (28)</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 &#957; &#968; = &#960; x &#949; [&#968;] d&#181;(x).</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</p><p>= 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">(Altschuler et al., 2022)</ref> that for every nonnegative measurable function</p><p>where</p><p>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; yi when x &#8712; L i . Lemma B.1. Let x &#8712; L i . For &#949; small enough, it holds that for every j &#8712; [J], |&#960; x &#949; (y j ) -&#960; x 0 (y j )| &#8804; ce -s(x)/&#949; , where c depends on J, the distances &#8741;y i -y j &#8741; and on the quantities w ij .</p><p>Such a result was already stated in <ref type="bibr">(Delalande, 2022, Corollary 2.</ref>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 <ref type="bibr">(Altschuler et al., 2022, Proposition 4.6)</ref>, 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 <ref type="bibr">(Delalande, 2022</ref>, Proof of Corollary 2.2) and ( <ref type="formula">28</ref>), we have for j &#824; = i</p><p>We can bound for any x &#8712; L i ,</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 ( <ref type="formula">35</ref>) 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.</p><p>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).</p><p>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 f on B(0; R) satisfies sup x f (x) -inf x f (x) &#8804; 2R, Hoeffding's lemma (see <ref type="bibr">Boucheron et al., 2013, Lemma 2.</ref>2) implies that if f is Lipschitz and f d&#961; x = 0, then</p><p>This implies <ref type="bibr">(Bobkov &amp; G&#246;tze, 1999, Theorem 3.1)</ref> 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,</p><p>Combining these facts, we obtain</p><p>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. 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>By definition, (&#966; &#181;&#8594;&#957; &#8242; , &#968; &#181;&#8594;&#957; &#8242; ) minimizes the expression &#966; d&#181; + &#968; d&#957; &#8242; + &#949; e (&#10216;x,y&#10217;-&#966;(x)-&#968;(y))/&#949; d&#181;(x) d&#957; &#8242; (y) -&#949;, 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; yj 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><p>where C = e 2R 2 pmax pmin + &#949; -1 pmin pmax .</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 F &#957; = F &#181;&#8594;&#957; &#949; . Recall the definition (25) of the shifted potential &#968;&#957; (y j ) = &#968; &#957; (y j ) -&#949; log &#957; j . According to <ref type="bibr">(Delalande, 2022, Theorem 3.2)</ref>, the functional F &#957; is minimized at the vector &#968;&#957; , with</p><p>For t &#8712; [0, 1], let &#968; t = &#968;&#957; + t(&#968; -&#968;&#957; ) and let &#957; t = &#960; x &#949; [&#968; t ] d&#181;(x). 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; yj . Then, for all t &#8712; [0, 1] and j &#8712; [J], we have &#957; t,j &#8805; pmin pmax &#957; 1-t 0,j &#957; t 1,j .</p><p>This lemma is enough to conclude the proof. Indeed, &#957; 1 = &#957; &#968; &#8805; &#955;&#957;, so that it implies that Var &#957;t (v) &#8805; pmin pmax &#955;Var &#957; (v).</p><p>Proof of Lemma D.2. According to <ref type="bibr">(Delalande, 2022, Proof of Proposition 4.1)</ref>,</p><p>Therefore, if we let h t (x) = e (&#10216;x,yj &#10217;-&#968;t(yj )-&#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; yj 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; yj and Q n = J j=1 qj &#948; yj , 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 -cqminn for some c &gt; 0.</p><p>Proof. By <ref type="bibr">(Vershynin, 2018, Exercise 2.3</ref>.2), we have P(E c ) &#8804; J j=1 P(q j &lt; q j /2) &#8804; Je -cqminn 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; yj 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. Then, for all j &#8712; [J],</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;</p><p>We start with the second inequality. Note that &#968; &#8594; &#934; &#949; (&#968;) is 1-Lipschitz continuous, and that the functional</p><p>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>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; yj 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 &lt; &#949; &#8804; 1 with log(1/&#949;) &#8818; n/ log(n), it holds that</p><p>Proof. To alleviate notation, we will write &#968; n = &#968; Pn&#8594;&#957; </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 Z j = &#960; x &#949; ( &#968;n ) j d(P -P n )(x) = (&#960; x &#949; ( &#968;n ) j -&#960; x &#949; ( &#968;0 ) j ) d(P -P n )(x).</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. </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; yj 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; y0 + 1 2 &#948; y1 . Following <ref type="bibr">Manole et al. (2021)</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 T 0 (x) = y 0 &#10216;e 1 , x&#10217; &#8804; &#957; 0 y 1 &#10216;e 1 , x&#10217; &gt; &#957; 0 ,</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 .</p><p>Proof. We can write Q n = J j=1 qj &#948; yj , where qj is a binomial random variable with parameters n and q j . We obtain</p><p>(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><p>for two positive absolute constants C 0 and C 1 . Furthermore, for all t &gt; 0,</p><p>for some positive absolute constant C 2 . Eventually, for all p &#8805; 2,</p><p>Proof. See <ref type="bibr">(Vaart &amp; Wellner, 1996, Theorem 2.14.2 and Theorem 2.14.5</ref>).</p></div></body>
		</text>
</TEI>
