<?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'>Estimating location parameters in sample-heterogeneous distributions</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>06/03/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10289004</idno>
					<idno type="doi">10.1093/imaiai/iaab013</idno>
					<title level='j'>Information and Inference: A Journal of the IMA</title>
<idno>2049-8772</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Ankit Pensia</author><author>Varun Jog</author><author>Po-Ling Loh</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Abstract            Estimating the mean of a probability distribution using i.i.d. samples is a classical problem in statistics, wherein finite-sample optimal estimators are sought under various distributional assumptions. In this paper, we consider the problem of mean estimation when independent samples are drawn from $d$-dimensional non-identical distributions possessing a common mean. When the distributions are radially symmetric and unimodal, we propose a novel estimator, which is a hybrid of the modal interval, shorth and median estimators and whose performance adapts to the level of heterogeneity in the data. We show that our estimator is near optimal when data are i.i.d. and when the fraction of ‘low-noise’ distributions is as small as $\varOmega \left (\frac{d \log n}{n}\right )$, where $n$ is the number of samples. We also derive minimax lower bounds on the expected error of any estimator that is agnostic to the scales of individual data points. Finally, we extend our theory to linear regression. In both the mean estimation and regression settings, we present computationally feasible versions of our estimators that run in time polynomial in the number of data points.]]></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>Heterogeneity is prevalent in many modern data sets, leading to new challenges in estimation and prediction. The i.i.d. assumption imposed in much of classical statistics is unlikely to hold in practice, creating a need to develop new theory under relaxed assumptions allowing for heterogeneous data <ref type="bibr">[12,</ref><ref type="bibr">15,</ref><ref type="bibr">32,</ref><ref type="bibr">40,</ref><ref type="bibr">49]</ref>. In this paper, we consider the problem of estimating a common mean when independent data are drawn from non-identical distributions.</p><p>A version of this problem for Gaussian distributions was recently studied in Chierichetti et al. <ref type="bibr">[8]</ref>, who motivated their work using the following crowdsourcing application: suppose the quality of an item is obtained by soliciting ratings from several agents, who are assumed to provide unbiased ratings. However, the rating distributions may vary across agents depending, e.g., on their expertise. In the Gaussian setting, this translates into data drawn from independent distributions with a common mean but possibly different variances. Chierichetti et al. <ref type="bibr">[8]</ref> proposed a mean estimator based on calculating the 'shortest gap' between samples and derived upper bounds on the estimation error of their algorithm. Naturally, one might ask whether the estimators proposed by Chierichetti et al. <ref type="bibr">[8]</ref> also perform provably well for non-Gaussian settings; furthermore, although Chierichetti et al. <ref type="bibr">[8]</ref> derived some lower bounds for the behavior of the best possible estimator in the unknown variance setting, the optimality of their proposed estimator was only partially addressed.</p><p>The work of this paper revisits the problem of common mean estimation and generalizes the case of Gaussian mixtures considered in Chierichetti et al. <ref type="bibr">[8]</ref> to settings where the component distributions are only assumed to be symmetric and unimodal about a common mean. Although the estimators studied in our paper resemble the estimators proposed by Chierichetti et al. <ref type="bibr">[8]</ref>, our method of analysis is substantially different and allows us to obtain bounds without assuming Gaussianity, sub-Gaussianity or even finite variances of individual distributions. In the multivariate mean estimation setting, this leads to sharper estimation error rates than those obtained in Chierichetti et al. <ref type="bibr">[8]</ref> for isotropic Gaussian data. The upper bounds we derive are stated in terms of percentiles of the overall mixture distribution and may be finite even in the case of heavy-tailed distributions.</p><p>The aforementioned model of non-i.i.d. data has even older roots in the statistics literature, under the name of sample heterogeneity. Initial research in sample heterogeneity focused on understanding the asymptotic distribution of order statistics and linear functions thereof <ref type="bibr">[18, 37-39, 41, 47]</ref>. More recent work has established necessary and sufficient conditions for consistency of the sample median <ref type="bibr">[16,</ref><ref type="bibr">17,</ref><ref type="bibr">34]</ref>. In particular, Hallin and Mizera <ref type="bibr">[17]</ref> established the optimality of the median over a certain class of M-estimators (having a bounded, non-decreasing, skew-symmetric score function). However, as explained in more detail later (cf. Section 3.2), certain cases exist where the median itself is not optimal in comparison to more complicated estimators. For example, redescending M-estimators do not lie in the class studied by Hallin and Mizera <ref type="bibr">[17]</ref>. We show that, under certain conditions, the modal interval estimator (Estimator 1)-which may be viewed as an extreme case of a redescending Mestimator-has smaller error than the median (cf. Table <ref type="table">1</ref>). Sample heterogeneity was also studied in the linear regression setting, where previous work focused on the least absolute deviation estimator <ref type="bibr">[13,</ref><ref type="bibr">24]</ref>. Inspired by the modal estimator, we propose and analyze a related estimator for linear regression (cf. <ref type="bibr">Section 8)</ref>. Note that we are chiefly interested in estimators which have minimal assumptions and allow the fraction of low-variance points to be as small as log n n , whereas the estimators studied in previous work required the fraction to be &#8486; &#8730; n n <ref type="bibr">[13,</ref><ref type="bibr">17,</ref><ref type="bibr">17,</ref><ref type="bibr">24,</ref><ref type="bibr">34]</ref>. We also briefly mention classical work on the modal interval estimator <ref type="bibr">[7]</ref> and shorth estimator <ref type="bibr">[4]</ref>, which are used as building blocks for our hybrid estimator. Notably, a previous analysis has focused on asymptotic results for i.i.d. data, where both the modal interval and shorth estimators were proven to have an n -1 3 convergence rate <ref type="bibr">[23]</ref>, in contrast to the faster n -1 2 convergence rate of the sample mean. The results of this paper show the benefit of these estimators when a substantial fraction of the component distributions have large (or even infinite) variances, underscoring the general fact that robustness may need to be traded off for efficiency in clean-data settings.</p><p>The main contributions of our paper may be summarized as follows:</p><p>&#8226; Provide a rigorous analysis of the modal interval (Theorems 3.1, 4.1 and 4.2), shorth (Theorems 3.2 and 4.3) and hybrid (Theorems 3.3 and 4.4) estimators for multivariate, radially symmetric distributions. We also show how to relax the symmetry conditions further (Theorem 7.1). These estimation error guarantees hold with high probability.</p><p>&#8226; Derive upper bounds on the expected error of the estimators (Theorem 5.3). Along the way, we demonstrate the need for additional conditions on the tails of the mixture components in order to derive expected error bounds of the same order as the high-probability results.</p><p>&#8226; Derive minimax lower bounds on the error rate of any estimator (Theorem 5.4), and prove that the hybrid estimator is nearly optimal in various regimes of interest (Theorem 5.5).</p><p>&#8226; Extend the methodology for multivariate mean estimation to linear regression (Theorem 8.2).</p><p>&#8226; Provide computationally efficient versions of the multivariate mean estimator (Theorem 6.1) and linear regression estimator (Theorem 8.3) in high dimensions.</p><p>We also note that while our work vastly generalizes the results of Chierichetti et al. <ref type="bibr">[8]</ref> for mean estimation in Gaussian mixtures, our derivations bypass some critical technical gaps in their proofs using a very different approach via empirical process theory. Finally, we comment that preliminary work on this topic appeared in our earlier conference paper <ref type="bibr">[35]</ref> but was limited to the univariate case (Theorems 3.1, 3.2, 3.3 and 4.2) and did not discuss optimality, regression or any computational aspects. <ref type="foot">1</ref> Furthermore, all examples and counterexamples illustrating various phenomena, including the detailed theoretical derivations (Propositions 3.7-5.2), are new to this paper. We end with a few remarks regarding parameter estimation in mixture models. The setting studied in our paper is markedly different from the canonical setting <ref type="bibr">[2,</ref><ref type="bibr">5,</ref><ref type="bibr">9,</ref><ref type="bibr">22,</ref><ref type="bibr">31]</ref>, since the number of components in the mixture distribution is allowed to be as large as the number of observations. Furthermore, the parameters of the component mixtures are 'entangled' in the sense that they share a common mean, which we wish to estimate. Notably, this allows us to obtain meaningful error guarantees without imposing strong distributional assumptions such as Gaussianity or log-concavity, which are prevalent in the literature on parameter estimation for mixture models.</p><p>The roadmap of the paper is as follows: in Section 2, we define notation and the basic estimators we will consider in the univariate case, which are subsequently analyzed in Section 3. In Section 4, we present results for the multivariate analog of these estimators. In Section 5, we derive expected error bounds on the performance of our estimators and also present minimax lower bounds on the estimation error of any estimator, thus providing settings in which our proposed estimators are provably optimal. In Section 6, we present computationally feasible variants of our estimators in higher dimensions and prove that the error rates of these estimators are of the same order as those derived earlier. In Section 7, we discuss various relaxations of the symmetry assumptions on the mixture components. In Section 8, we describe our results for linear regression. Simulation results reporting the relative performance of different estimators are contained in Section 9. All proofs are contained in the supplementary appendix.</p><p>Notation: we regularly use the standard big-O notation: for two real-valued non-negative functions f (n) and g(n), we write f = O(g), when there exists constants n 0 and C &gt; 0 such that for all n n 0 , f (n) Cg(n). We say f = &#8486;(g) if g = O(f ), and say f = &#920;(g) when f = O(g) and g = O(f ). We write f = &#969;(g) if for every real constant c &gt; 0, there exists n 0 1 such that f (n) &gt; c &#8226; g(n) for every integer n n 0 . We write f = o(g), when g = &#969;(f ). We use &#213; (&#8226;), &#937; (&#8226;) and &#969; (&#8226;) to hide polylogarithmic factors. We write w.h.p., or 'with high probability,' to mean with probability tending to 1 as the sample size increases. We use C, c, C and c to represent absolute positive constants which may vary from place to place, and their exact values can be found in the proofs. Similarly, we use C t to represent positive numbers that depend only on t. For a real-valued random variable X, we use VX to denote its variance.</p><p>We will use &#8226; 2 to denote the Euclidean norm. We use B(x, r) to denote the Euclidean ball of radius r centered around x, and we also write B r in place of B(0, r). We denote the d &#215; d identity matrix by I d . We use P(X, ) to denote the -packing number of a set X with respect to Euclidean distance, and we use N(X, ) to denote the -covering number. We write Diam(X) to denote the diameter of the set with respect to Euclidean distance, i.e., Diam(X) := sup x,y&#8712;X xy 2 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Problem setup</head><p>We begin by introducing the entangled mean estimation problem. Suppose we have n independent samples X i &#8764; P i , where each P i is a distribution in R d with a density. Furthermore, we assume that each density p i is radially symmetric and unimodal with a common mean (and median) &#181; * . Our goal is to estimate the location parameter &#181; * from the n samples, where the P i s are unknown a priori and may even come from different classes of (non-)parametric distributions. Since the estimators we consider are translation invariant, we can assume without loss of generality that &#181; * = 0, so the error of an estimator &#181; is measured by &#181; 2 .</p><p>A natural estimator to use is the empirical mean, which is certainly an unbiased estimator of &#181; * . However, it is a well-known fact that the mean is not 'robust', in the sense that one outlying observation can have a massive impact on the estimation error of the mean. In our setting, one P i with a very large variance can dramatically inflate the error of the mean, even if the remaining n -1 distributions are well behaved. Due to the symmetry assumption on the P i s, we could consider a (multivariate) median as a more robust alternative. Our theory in Section 3 below shows that using a median estimator can somewhat improve the estimation error so that it depends only on the spread of the &#8730; n log n distributions with the smallest quantiles; however, other more cleverly constructed estimators can reduce this dependence to O(d log n) distributions, meaning that the remaining mixture components may have arbitrarily large (or even infinite) variances, yet have a bounded effect on the behavior of the estimator.</p><p>Another potential estimator when the mixing components come from a sufficiently nice parametric family (e.g., Gaussians) is the maximum likelihood estimator. However, since we do not assume knowledge of which observations are drawn from which mixture components, the MLE calculation becomes considerably more complicated. Nonetheless, it is sometimes informative to compare the error rate of the MLE-assuming side information of which observations correspond to which mixture components-to the error rates obtained using various agnostic estimators. In particular, if the former error rate diverges with n, we know that a diverging error rate for a proposed estimator is reasonable.</p><p>We will focus on the simple setting where the overall mixture distribution is radially symmetric, e.g., we have multivariate Gaussian observations X i &#8764; N (0 d , &#963; 2 i I d ). Throughout this paper, we focus on the setting where d = O(log n); as shown in Chierichetti et al. <ref type="bibr">[8]</ref>, when d = &#8486;(log n), the problem reduces to the case of known variances, since these can be estimated accurately. We shall discuss how to replace the spherical symmetry assumption by log-concavity in Section 7. As the covariance matrix of a radially symmetric distribution is of the form &#963; 2 I d , we denote the covariance matrix of X i by &#963; 2 i I d . We now define the central objects in our analysis: Definition 2.1 (Order statistics). Let the covariance of X i be &#963; 2 i I d . Define &#963; (i) to be the corresponding order statistic. Let s i denote the interquartile range of X i , so that P(</p><p>Define s (i) to be the corresponding order statistic. Definition 2.2 (Indicator functions on balls). For x &#8712; R d and r &#8712; R, let f x,r (z) := 1 x-z 2 r denote the indicator function of the 2 -ball B(x, r). For s &#8712; R, we will also use f s,r (z) to denote the indicator of the ball of radius r centered at the vector with first coordinate s and all other coordinates equal to 0.</p><p>Note that when d = 1, the function f x,r is simply the indicator function of the interval [xr, x + r].  Note that H r has VC dimension d + 1 <ref type="bibr">[48]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 2.3 (Function class). Let</head><p>As in prior analysis of sample heterogeneous models <ref type="bibr">[37,</ref><ref type="bibr">39]</ref>, most of our arguments will be in terms of the mixture distribution P := 1 n n i=1 P i , which is again unimodal and symmetric. We will write P n to denote the empirical distribution of X 1 , . . . , X n .</p><p>Thus, R(f ) is the expectation of f with respect to P. Define</p><p>where the second equality follows by symmetry and unimodality.</p><p>Note that R(f 0,r ) also equals the probability of the ball B(0, r) under P. The spherical symmetry assumption readily gives R(f x,r ) = R(f s,r ) for all x such that x 2 = s.</p><p>We first state several useful properties of radially symmetric distributions. The proof of the following result is contained in Appendix A.1.</p><p>Lemma 2.1 Recall Definitions 2.1, 2.2 and 2.4 of &#963; (i) , s (i) , f x,r and R * r . Suppose the density of P is radially symmetric and unimodal. We have the following properties:</p><p>(i) For any r &gt; 0 and</p><p>where P(B r 2 -r 1 , r 1 ) denotes the packing number of B r 2 -r 1 with respect to B r 1 . In particular, if</p><p>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Estimators</head><p>We now proceed to define the estimators that will be studied in our paper.</p><p>Estimator 1 (r-modal interval). The r-modal interval estimator, introduced for the (univariate) i.i.d. setting by Chernoff <ref type="bibr">[7]</ref>, outputs the center of the most populated ball of radius r, with ties broken arbitrarily:</p><p>Estimator 2 (k-shortest gap/shorth estimator). For k 2, the k-shortest gap (k-shorth) estimator, &#181; S,k , outputs the center of the smallest ball containing at least k points. More precisely, we define</p><p>2 )</p><p>The traditional (univariate) shorth estimator <ref type="bibr">[4,</ref><ref type="bibr">23]</ref> corresponds to k = n 2 , whereas choosing k = 2 outputs the midpoint of the shortest interval between any two points. As we will see, the choice of k = C log n will be convenient for our setting and is more suitable than k = n 2 if data are not i.i.d. Note that a type of 'shortest interval' estimator has also been employed in the work on mean estimation for contaminated i.i.d. data <ref type="bibr">[25]</ref>, but was used as an outlier screening step in that context, rather than a mean estimator. Incidentally, our hybrid estimator to be introduced later will employ a different screening approach based on the median and then use the shorth estimator to return a more accurate mean estimate. Definition 2.5 Recall Definitions 2.2 and 2.4 for the quantity R(f x,r ). Define</p><p>where the second equality follows from unimodality and radial symmetry.</p><p>The quantity r k measures the spread of P, and r n/2 is the interquartile range of P. Furthermore, since P has a density, we have R * r k = k n . Note that r k is problem dependent, since its magnitude depends on the relative dispersion of the mixing components; in particular, we will be interested in r &#920;(d log n) . As the fraction of 'nice' points increases, r k becomes smaller. However, r k does not depend too strongly on the high-variance distributions (cf. Lemma 2.1(i) and Proposition 3.7).</p><p>The univariate k-median outputs an element from the centermost k points of the data. According to our definition, the k-median outputs a set rather than a point estimator, which will be used as a preprocessing step before applying the modal interval or shorth estimators to obtain a hybrid estimator with superior rates.</p><p>Estimator 3 (k-median). In the univariate setting, the k-median estimator outputs an arbitrary element &#181; med,k from the subset S k , defined as X i &#8712; S k if and only if &#952; med,-k X i &#952; med,k , where</p><p>and</p><p>The sample median corresponds to taking k = 0.  Various multivariate extensions of the median exist, with different robustness properties and computational complexity; for our purposes, it will suffice to consider the simplest version of the multivariate median, which simply operates componentwise on the data points. Definition 2.6 (Multivariate median). Define the set S k,i as follows: For each dimension i, consider the k median points in that dimension; i.e., S k,i := {X j (i) : X j (i) belongs to the k-median of (X j (i)) n j=1 }, where X j (i) denotes the ith coordinate of the vector X j . Define S &#8734; k to be the cuboid based on S k,i , for each dimension i:</p><p>Estimator 4 (Hybrid estimator). The hybrid algorithm consists of the following steps, summarized in Algorithm 1:</p><p>Algorithm 1 Hybrid mean estimator (d-dimensional)</p><p>Note that the projection in step (iii) is easy to accomplish, since 2 -projection onto the cuboid may be done componentwise, hence computed in O(d) time. Our theoretical results show that replacing the shorth estimator by the modal interval estimator produces similar statistical error rates.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Concentration inequality</head><p>The following concentration inequality will be a key technical ingredient for deriving results concerning our estimators. The proof is contained in Appendix A.2. Lemma 2.2 Recall the Definitions 2.3 and 2.4 of the terms R n (f ), R(f ), R * r and H r . For any fixed t &#8712; (0, 1] and n &gt; 1, we have This theorem is useful because the bounds rely on R * r ; i.e., they are adaptive to the problem, compared to the traditional O 1</p><p>&#8730; n distribution-independent bound. We also note that Lemma 2.2 requires the mass R * r lying around the true mode to be sufficiently large, and while the theorem requires R * r to increase with d, we will work in settings where d = O(log n).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Univariate mean estimation</head><p>We now state several theoretical guarantees for the aforementioned estimators in the univariate setting. Some of these results appeared in our preliminary work <ref type="bibr">[35]</ref>, but we provide complete proofs of all statements in Appendix B.</p><p>In the univariate setting, we assume that we have n independent samples X i &#8764; P i , where each P i is a univariate distribution with a density p i which is symmetric and decreasing around &#181; * . Let q i and &#963; i denote the interquartile range and standard deviation of P i , respectively, and recall that the interquartile range satisfies P(|X i&#181; * | q i ) = 1 2 . We use q (i) and &#963; (i) to denote the ith smallest interquartile range and standard deviation, respectively (cf. Definition 2.1). By Lemma B.1(v) below, we have r k q (2k) and r k 2&#963; (2k) , although these bounds may be loose (for instance, r k could be finite even if &#963; (1) is infinite). However, we are guaranteed that r k will be small if 2k points come from 'nice' (low-variance) distributions. </p><p>The proof of Theorem 3.1 is contained in Appendix B.1 and proceeds by using Lemma 2.2 to bound the ratio between R(f &#181; M,r ,r ) and R * r , and then using Lemma B. </p><p>with a similar inequality involving q (C log n) . Note that this bound holds regardless of the magnitude of the standard deviations of the latter n -C log n mixture components. At the same time, one might be wary of the fact that the bound in inequality (3.3) could increase with n if we fix &#963; (C log n) ; for i.i.d. data, R * r = &#920;(1), so even the first expression in the bound is of constant order. This is rather alarming, compared to the O(n -1/2 ) error rate of the median. However, it should be noted that if the variances of the mixture components increase sufficiently rapidly with n, even the error rate of the MLE in the Gaussian case (which knows the distribution of each sample) will have a diverging error rate. Thus, although the error bounds of the modal interval estimator in Theorem 3.1 may be rather unsatisfactory in the case of i.i.d. data, they can lead to more meaningful error bounds when the mixture distribution involves a sizable portion of high-variance points. We will explore the question of optimality in more detail in Section 5.2 below.</p><p>Guarantees for the shorth estimator are similar to the modal interval estimator. Further, note that as the proofs of the results in this section reveal, the technical machinery we have developed to derive guarantees for the error of the modal interval estimator may also be used to derive estimation error bounds for the shorth estimator.</p><p>The proof of the following result is provided in Appendix B.2.</p><p>Theorem 3.2 (Pensia et al. <ref type="bibr">[35,</ref><ref type="bibr">Theorem 4]</ref>). Recall Definitions 2.1 and 2.5 of the terms &#963; (i) , q (i) and r k . Suppose 2k C 0.25 log n. With probability at least 1 -2 exp(-c k), the shorth estimator (Estimator 2) satisfies</p><p>k .</p><p>Remark 2 Lemma A.1(iii) shows that the upper bound is actually tighter for small k: for k &gt; k, we have kr 2k &gt; k r 2k . The smallest value permissible from our theory would be k = &#920;(log n). Also note that the upper bound in Theorem 3.2 for the shorth estimator resembles the bound in Theorem 4.2, except for the fact that the bound for the modal interval estimator involves the quantity r C 0.25 log n rather than r 2C 0.25 log n , and the latter could be larger depending on the spread of P. Furthermore, both upper bounds in Theorem 3.2 may sometimes be loose: In particular, if the X i s were i.i.d., r 2k would be of order &#920; k n for small k, so the bound nr 2k k would be of constant order, whereas it is known <ref type="bibr">[23]</ref> that the shorth estimator is consistent for k = 0.5n.</p><p>We now turn to theoretical guarantees from the hybrid estimator, which combines the shorth and k-median in order to obtain superior performance for both fast and slow decay of P. Recall from Table <ref type="table">1</ref> that the median has superior performance when there is less heterogeneity in the data and P decays fast enough. However, the superior performance of the modal interval estimator is apparent in the presence of large number of high-variance points. It is then desirable to have an estimator that adapts to the problem and enjoys the best of both worlds without any prior information. Indeed, as outlined in Proposition 3.10, the hybrid estimator achieves this rate. The key point is that if the true mean lies inside a convex set (defined with respect to the k-median), then projecting any other point (e.g., the shorth) onto the set will only move the point closer to the mean, so the hybrid estimator can leverage the better of the two rates enjoyed by the median and shorth.</p><p>Algorithm 2 specializes the hybrid estimator of Algorithm 1 to the univariate setting. The algorithm proceeds by separately computing the k 1 -shorth estimator and k 2 -median. If the shorth estimator lies within the median interval, the algorithm outputs the shorth; otherwise, it outputs the closest endpoint of the median interval. Note that this estimator resembles the estimator proposed by Chierichetti et al. <ref type="bibr">[8]</ref> since it employs the median as a screening step for points with very large variance. However, the shorth estimator is computed separately and then projected onto an interval around the median. In contrast, the estimator proposed by Chierichetti et al. <ref type="bibr">[8]</ref> first computes the k 2 -median and then computes the shorth on the remaining points, leading to a delicate conditioning argument in the analysis and creating some technical gaps in the proofs.</p><p>Algorithm 2 Hybrid mean estimator 1: function hybridMeanEstimator(X 1:n , k 1 , k 2 )</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2:</head><p>S k 1 &#8592; kMedian(X 1:n , k 1 ). </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>3:</head><p>with probability at least 1 -2 exp(-c k 2 ) -4 exp(-c log 2 n).</p><p>The proof of Theorem 3.3 is provided in Appendix B.3. Importantly, the bound in Theorem 3.3 is finite even for heavy-tailed distributions with infinite variance. Finally, note that in Algorithm 2, we could replace the shorth estimator by the modal interval estimator with adaptively chosen interval width to obtain similar error guarantees.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Examples</head><p>We illustrate this below in several cases for r log n , assuming Gaussian distributions for simplicity. The following examples will reappear throughout the paper to illustrate the error of our proposed estimators in various regimes of interest: Example 3.4 (i.i.d. observations). P i = N (0, &#963; 2 ), so P is again N (0, &#963; 2 ).</p><p>Example 3.5 (quadratic variance). P i = N (0, c 2 i 2 ), for some small c &gt; 0.</p><p>Example 3.6 (&#945;-mixture distributions).</p><p>for some &#945; &gt; 0 and some large c &gt; 0.</p><p>Example 3.6 is similar to the 'contamination model' in prior work <ref type="bibr">[39,</ref><ref type="bibr">41]</ref>, but with a specific scaling of variances to highlight the difference between multiple estimators by varying &#945;. The following proposition, proved in Appendix C.1, will be useful in our development: Proposition 3.7 We have the following bounds for r log n when n = &#8486;(1):</p><p>1. For Example 3.4 (i.i.d. observations), we have r log n = &#920; &#963; log n n . 2. For Example 3.5 (quadratic variance) and sufficiently small c &gt; 0, we have r log n = &#920;(1).</p><p>3. For Example 3.6 (&#945;-mixture distributions) and sufficiently large c &gt; 0, we have</p><p>Note that these bounds are tighter than the ones provided by Lemma 2.1(v); the latter states that r k &#963; (2k) . This is because Lemma 2.1(v) is a worst-case bound which does not account for the contributions of high-variance points.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.1">Guarantees for individual estimators</head><p>We now revisit the examples above and calculate the bounds that follow from Theorem 3.1 by choosing r = r C log n for a large constant C &gt; 0. We also mention the cases where the bound (3.2) is weaker than the bound <ref type="bibr">(3.1)</ref> Remark 3 As discussed in Remark 1 above, the guarantees for the modal interval estimator are somewhat unsatisfactory for i.i.d. data, since Proposition 3.8(i) gives an error rate of &#920;(&#963; ), rather than the optimal rate &#920; &#963; &#8730; n achievable by the sample mean. On the other hand, Proposition 3.8 shows that for other problem settings with more widely varying variances-such as the &#945;-mixture with &#945; 1-the modal interval estimator results in constant error, whereas the sample mean would have &#920;(n &#945;-0.5 ) error. These differences are summarized in more detail in Table <ref type="table">1</ref> below.</p><p>The modal interval estimator is a 'local' estimator that only considers the value of P n in small windows. As we increase the variance of noisy points, the distribution P approaches 0 around &#181; * . The modal interval estimator makes mistakes when P is flat after normalization, meaning that the density at x + &#181; * is within a (1 -)-factor of its density at &#181; * , for = o <ref type="bibr">(1)</ref>. If this is the case, P n might assign higher mass at x + &#181; * than &#181; * due to stochasticity introduced by sampling, so a local method would mistakenly choose x + &#181; * over &#181; * .</p><p>More concretely, consider the setting of Example 3.6. If an adversary tried to alter the estimator by making the variance of the points very high (&#945; 1), then although P would approach 0, the normalized density would not be flat. An extreme example of this can be seen when variance of noisy points is '&#8734;': Near &#181; * , the distribution P would behave like N (&#181; * , 1) scaled by O log n n , which is not flat after normalization although P approaches 0 very rapidly, so that the mean or median would behave poorly. As Proposition 3.8 shows, the modal interval estimator would only suffer O <ref type="bibr">(1)</ref> error in this case.</p><p>Remark 4 Examining the bound in Proposition 3.8 for Example 3.6, we see the possible emergence of a 'phase transition' phenomenon: for &#945; &lt; 1, the modal interval estimator has error growing with n, Table <ref type="table">1</ref> The table below summarizes the performance of various estimators on our three running examples. We have ignored poly-logarithmic factors for simplicity, and we use n to denote O(n ) error for any &gt; 0 and c to denote an error bounded by a constant. The radius for the modal estimator and the k for the shorth estimator are adjusted to be optimal for each particular example; i.e., the estimators are assumed to know which example data are coming from. Observe that mean and median estimators outperform the modal and shorth estimators when the outliers have relatively small variances. On the other hand, the modal and shorth estimators are better when the outliers have large variances. Simulations in Section 9 show that the rates provided above are indeed observed in practice. Our hybrid estimator achieves the best performance in all cases without knowing which example is under consideration</p><p>n &#945;-0.5 n &#945;-0.5 n &#945; n &#945;-0.5 Example 3 (&#945; 1-mixture distributions) n &#945;-0.5 n &#945;-0.5 c c whereas for &#945; 1, the modal interval estimator only incurs constant error. This suggests that for &#945; &lt; 1, high-variance points are more effectively hidden within the mixture distribution, so the accuracy of the modal interval estimator is more severely compromised than in the case when &#945; 1, where the modal interval estimator can distinguish between low-variance and high-variance points. This phase transition phenomenon is established rigorously in Section 3.1.2 below, where we prove a lower bound of &#8486;(n &#945; ) in the case when &#945; &lt; 1.</p><p>The performance of the &#920;(log n)-shorth estimator is similar to the modal interval estimator with r = r &#920;(log n) (cf. inequality <ref type="bibr">(3.3)</ref>  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.2">Phase transition behavior</head><p>In this subsection, we focus on verifying the statement in Remark 4 above, namely the existence of a phase transition for the modal interval estimator depending on whether &#945; &lt; 1 or &#945; 1. This phenomenon is illustrated via simulations in the plots of Fig. <ref type="figure">1</ref>.</p><p>For ease of analysis, we tweak the setting of Example 3.6 slightly: instead of having different distributions for high variance and low variance points, we assume that the points are sampled i.i.d. from a mixture distribution, with weights resembling their original fraction in Example 3.6. Moreover, we assume that individual distributions are uniform rather than Gaussian.</p><p>Example 3.11 (Modified &#945;-mixture distributions). Let c &gt; 0 be a large enough constant. For each i, P i = Q n , where</p><p>and U[-a, a] is the uniform distribution on [-a, a]. Note that if we sample X 1 , . . . , X n i.i.d.</p><p>&#8764; Q n , the number of points with variance &#920;(1) is &#920;(log n), w.h.p. It is easy to see that the upper bounds for Example 3.11 are the same as that of Example 3.6 in Proposition 3.8, i.e.,</p><p>w.h.p. The following proposition, proved in Appendix C.4, establishes a lower bound of &#8486;(n &#945; ) on the error:</p><p>Proposition 3.12 For 1 3 &#945; &lt; 1 in Example 3.11, the 1-modal interval estimator (Estimator 1) incurs &#8486;(n &#945; ) error, with a constant non-zero probability. Proposition 3.12 proves rigorously that the apparent phase transition of the modal interval estimator is not simply an artifact of the argument used to prove Proposition 3.8. Indeed, the modal interval estimator experiences a sharp phase transition depending on the relative variance of the mixture component with the higher variance, which is governed by the parameter &#945;. Moreover, this phase transition is not specific to just modal interval estimator. As stated in Theorem 5.4, all agnostic estimators must have error &#8486;(n &#945;-0.5 ) for &#945; &lt; 1. Thus, Example 3.6 is indeed a difficult problem for &#945; &lt; 1, but a surprisingly easy one for &#945; &gt; 1.</p><p>As a final remark, note that in Examples 3.6 and 3.11, the sample median and even the mean would have an error of &#213;(n &#945;-0.5 ). When &#945; &lt; 1, this rate is much better than the O(n &#945; ) guarantee of the modal interval estimator. This motivates the hybrid estimator proposed above, which is able to combine the 'best of both worlds' for the modal interval and median estimators.  <ref type="table">1</ref>, both the mean and median have an n &#945;-0.5 error rate. The error rates of the &#945;-trimmed mean, with &#945; = 1 2 -</p><p>&#8730; n n and &#945; = 1 2 -log n n , are similar to the median. Note that the hybrid estimator has far superior performance. More simulations and details are available in Section 9.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Comparison to common estimators</head><p>We briefly mention some common univariate estimators and contrast their performance with the performance guarantees of our proposed estimators. For simplicity, we focus on mixtures of univariate Gaussian distributions in which &#920;(log n) of the samples are drawn from distributions with bounded variance. The primary reason why the estimators mentioned below have suboptimal guarantees is because they are designed to guard against a constant fraction of arbitrarily corrupted or heavy-tailed points. In such cases, the sample median is the optimal estimator; in contrast, the sample median can be shown to be suboptimal in our setting (see Table <ref type="table">1</ref> or Figure <ref type="figure">2</ref>). <ref type="bibr">[17]</ref> established necessary and sufficient conditions for the consistency of the median for sample heterogeneous distributions. Although the sample median is more robust than the sample mean, this result shows that sample median is consistent if and only if R * = &#969; 1 &#8730; n for every &gt; 0. In particular, it implies that if the median is consistent, then r &#8730; n &#8594; 0. Focusing on particular Example 3.6, the error rate of the median is O(n &#945;-0.5 ) (cf. Table <ref type="table">1</ref> and Fig. <ref type="figure">2</ref>). Moreover, Hallin and Mizera <ref type="bibr">[17]</ref> established the optimality of the median among all Mestimators with score functions &#968;(&#8226;) satisfying the following conditions:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Sample median: Hallin and Mizera</head><p>c. The set of discontinuity points of &#968;(&#8226;) is finite. Therefore, one must consider broader classes of estimators beyond this family of M-estimators in order to obtain better error guarantees than the median.</p><p>2. Huber's M-estimator: for any finite truncation parameter, Huber's M-estimator <ref type="bibr">[19,</ref><ref type="bibr">20]</ref> falls in the class of M-estimators considered by Hallin and Mizera <ref type="bibr">[17]</ref>, since normalizing the score function of a bounded score function does not change the final estimate. Thus, the error rate of Huber's M-estimator cannot be any better than the error rate of the median.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">k-median of means:</head><p>this estimator <ref type="bibr">[33]</ref> divides the n data points into k disjoint blocks (B 1 , . . . , B k ) of equal size (assuming n/k is an integer). For each i &#8712; {1, . . . , k}, we define Z i to be the mean of the samples in B i , and then define the estimator</p><p>The median of means is robust to a constant fraction of outliers and sub-Gaussian tails even for heavy-tailed i.i.d. distributions <ref type="bibr">[26,</ref><ref type="bibr">33]</ref>; however, we argue that the median of means estimator is also not robust to substantial sample heterogeneity. If each</p><p>. Therefore, the final estimator behaves like the median of independent Gaussian samples. Furthermore, a single 'high-variance' point in the set B i can increase the variance of Z i arbitrarily, hiding the signal from 'low-variance' samples. The best case would thus be when each block contains either all 'low-variance' samples or all 'high-variance' samples. However, in that case, &#181; behaves essentially like the median of a smaller set with rescaled standard deviations. As argued above, regimes exist where the median estimator is suboptimal.</p><p>4. &#945;-trimmed mean: let &#945; &#8712; [0, 0.5) be such that &#945;n is an integer. Given samples {X 1 , . . . , X n }, the &#945;-trimmed mean <ref type="bibr">[19,</ref><ref type="bibr">33]</ref> discards the largest and smallest &#945;n samples and returns the mean of the remaining (1 -2&#945;)n samples:</p><p>The trimmed means estimator is robust to a constant fraction of outliers and has sub-Gaussian tails even for heavy-tailed distributions <ref type="bibr">[33]</ref>. As the fraction of 'low-variance' points can be as small as log n n in our sample-heterogeneous setting, the estimator &#181; &#945; would have a large variance for any constant &#945; &gt; 0. Thus, our choice of &#945; should depend on n, going to 0.5 as n &#8594; &#8734;. Recall that in the definition of the k-median (cf. Estimator 3), S k was defined as the k centermost points of the data. Thus, &#181; &#945; is the mean of the set S k with k = n(1 -2&#945;). In the extreme case of &#945; = 0.5 -1 2n , the trimmed means estimator &#181; &#945; is the same as the median, which is not optimal. As Fig. <ref type="figure">2</ref> shows, the trimmed mean behaves like the median for large &#945;, and decreasing &#945; (i.e., increasing k) degrades the performance. Note that we bound the error of the k-median by bounding the range of S k (cf. Lemma B.4). Therefore, the bounds for the k-median also imply bounds for &#181; n-k 2n . However, the k-median primarily allows us to define a hybrid estimator by projecting onto the set S k , which performs better than the k-median alone.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Multivariate case</head><p>In the following sections, we derive the main results of our paper, which generalize the theorems in Section 3 to d dimensions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Modal interval estimator</head><p>The following result provides an error bound for the modal interval estimator. The proof is in Appendix D.1. . The multidimensional modal interval estimator satisfies the error bounds</p><p>with probability at least 1 -2 exp(-c d log n).</p><p>As the proof of Theorem 4.1 reveals, inequality (4.2) could also be stated using s (2k) in place of 2 &#8730; d&#963; (2k) , since it is obtained from inequality (4.1) simply by substituting the bounds of Lemma 2.1(v). Note that when d = 1, the bound (4.1) in Theorem 4.1 reduces to the bound (3.2) in Theorem 3.1, up to constant factors.</p><p>Remark 5 Our bound (4.2) may be compared with Theorem 5.1 in Chierichetti et al. <ref type="bibr">[8]</ref>: note that we have removed a factor of polylog(n), although their bound depends on &#963; (log n) rather than &#963; (d log n) . Nonetheless, we emphasize the fact that our results hold for general radially symmetric distributions, whereas the proofs in Chierichetti et al. <ref type="bibr">[8]</ref> are Gaussian specific.</p><p>Note that by Lemma 2.1(iii), the bound in Theorem 4.1 is tighter for smaller values of r. Thus, the choice of r which optimizes the bound satisfies R * r = C d log n n . As discussed in Pensia et al. <ref type="bibr">[35]</ref> for the univariate setting, an estimator with near-optimal performance may be obtained via Lepski's method <ref type="bibr">[28]</ref> even without knowledge of P: define r * to be the interval radius satisfying R * r * = C 0.5</p><p>, and suppose we have rough initial estimates r min and r max such that r min r * r max . Define r j := r min 2 j , and define</p><p>We then define the index j * to be Note that the cost of using Lepski's method is a factor of 6 in the estimation error. Finally, the following lemma shows that the shorth estimator can be used to obtain rough initial bounds on r * : Lemma 4.1 Recall Definition 2.5 of r k . For k C 0.5 d log n, with probability at least 1 -2 exp(-ck), we have r k/2 r k r 2k .</p><p>The proof of Lemma 4.1 is in Appendix D.3 and uses Lemma 2.2 to control the fluctuations of r k from its empirical counterpart. In particular, the lemma shows that we may use r min = r C 0.5 (d+1) log n/2 and r max = r C 0.5 (d+1) log n .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Shorth estimator</head><p>We now derive error bounds for the multidimensional shorth estimator. The proof is contained in Appendix D.4. As in the univariate case, the estimation error guarantees for the multidimensional modal interval and shorth estimators are similar. In particular, for the 'optimal' choice of r such that R * r = cd log n n , inequality </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Hybrid estimator</head><p>We now prove that the hybrid estimator produces an estimator with rates of O( &#8730; n 1/d ), rather than the rate O(n 1/d ) obtained in Theorems 4.1 and 4.3. Since the overall mixture distribution is radially symmetric, all the marginal distributions are identical and symmetric about 0. Accordingly, we denote the common marginal distribution by P 1 , and define r k,1 to be the smallest interval (centered at 0) that contains k n mass under P 1 . We then have the following result, proved in Appendix D.5: </p><p>Remark 6 Similar to the univariate case, the multivariate hybrid estimator achieves good error guarantees for both slow and fast decay of P. In particular, when data are i.i.d. Gaussian with distribution N (0, &#963;<ref type="foot">foot_4</ref> I d ), as in Example 3.4, the error of the hybrid estimator is of the order O &#963;</p><p>. This is within log factors of the optimal &#8730; d&#963; &#8730; n error rate. At the same time, the worst-case error guarantee is of</p><p>We also briefly comment on the error guarantees of the hybrid estimator on the multivariate analog of Example 3.6. We can show that r 2k 1 ,1 = &#213; n &#945;-0.5 and</p><p>) for the median estimator. On the other hand, Theorem 4.3 leads to a bound of &#213;( &#8730; dn &#945; ) for the shorth estimator. This bound can be improved for &#945; . This improves upon the error rates of both the median and shorth estimators.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Bounds in expectation</head><p>Thus far, we have focused on high-probability bounds. We now briefly discuss how to convert the upper bounds into bounds on the expected error of the estimator. We then derive lower bounds on the estimation error of any estimator, thus addressing the question of optimality in certain regimes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Imposing additional assumptions</head><p>We first show that unlike high-probability bounds, expected error bounds of a similar order cannot be derived for modal interval estimator without any assumptions on the high-variance mixture components. To illustrate this point, we provide a univariate example in which it is possible to derive high-probability bounds of O(1) for the modal interval estimator without further assumptions, whereas bounds in expectation of a similar order provably require additional tail assumptions, since</p><p>Example 5.1 For any n, let the densities of the P i s be defined as follows: for i C log n, let</p><p>For i &gt; C log n and &#945; &#8712; (0, 1), let</p><p>where the {h n } and {q n } are constrained such that the total area is 1, i.e., 2n -&#945; + 2(q n -1)h n = 1 and</p><p>The proof of the following statement is contained in Appendix E.1:</p><p>As seen by the example above, additional assumptions need to be imposed to prove the bounds in expectation. Suppose the variances {&#963; i } are all finite. We will consider two types of assumptions: either (i) 'high-noise' points do not have very large variances, or (ii) 'low-noise' points have small support.</p><p>We state a result for the modal interval estimator in d dimensions; similar proofs hold for the shorth, median and hybrid estimators. The following result is proved in Appendix E. </p><p>Remark 7 The condition (5.1) in Theorem 5.3(i) can be translated into the inequality &#963; (n) r exp(CnR * r ) and provides an upper bound on the variance of the worst mixture components. If we choose r = &#963; (d log n) , we obtain the requirement that &#963; (n) is at most a factor of O(n Cd ) larger than the variance &#963; (d log n) of the 'good' points. This can be compared to the assumption &#963; (n) = &#963; (1) poly(n) imposed by Chierichetti et al. <ref type="bibr">[8]</ref> when proving upper bounds on expected error in the univariate case. As the proof of Theorem 5.3 reveals, we could also convert the tighter version of the estimation error guarantee (cf. Theorem 3.1 in the univariate setting) into an expected error bound in a similar manner: if condition (5.1) holds in Theorem 5.3 and we additionally assume that r = &#8486;(r), then</p><p>Note that the condition in Theorem 5.3(ii) imposes no constraints on the behavior of the largevariance mixture components. The proof proceeds by integrating the tail probability of the modal interval estimator and showing that it must decay sufficiently quickly by considering the mass of intervals lying far from the true mean. An extension to the multivariate case is possible but would require somewhat more refined technical analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Minimax bounds</head><p>We are now ready to discuss the optimality of our hybrid estimator, which we will consider in the context of expected error bounds. We state our results in the case of a general dimension d 1. The goal of this section is to describe a general setting in which it is possible to show that the hybrid estimator is (nearly) minimax optimal.</p><p>We will consider the class of distributions P(&#963; 1 , &#963; 2 , p), containing symmetric, unimodal distributions {P i } n i=1 with common mean &#181;, such that at least np distributions have marginal variance bounded by &#963; 2 2 and the remaining distributions have marginal variance bounded by &#963; 2 1 . Note that &#963; 1 , &#963; 2 and p may all be functions of n, e.g., p = log n n . We call an algorithm agnostic if applying the algorithm does not require knowledge of the variance of individual points (e.g., the sample mean or median). We have the following minimax lower bound, proved in Appendix E.3: Theorem 5.4 Suppose p 1  3 , &#963; 2 &#963; 1 and p = &#8486; log n n .</p><p>(i) The minimax error of any agnostic algorithm is min</p><p>(ii) In the case d = 1, suppose in addition we have</p><p>Then the algorithm of any agnostic algorithm satisfies that min &#181; max</p><p>Remark 8 In the d = 1 case, the lower bound in Theorem 5.4 when condition (5.3) is satisfied matches the lower bound derived by Chierichetti et al. <ref type="bibr">[8]</ref>. On the other hand, our proof technique is somewhat more direct and proceeds via a straightforward (albeit lengthy) calculation.</p><p>We now state our general upper bound, achieved by the hybrid estimator. Under the specific regimes, we impose mild regularity conditions on the distributions to obtain cleaner expressions: (i) Let q i (x) denote the marginal distribution of P i , where q i : R &#8594; R (since P i is radially symmetric, all marginals are equal). Let &#957; 2 i denote the marginal variance of P i . Then</p><p>(ii) Let each density be written as p i (x) = f i ( x 2 ), where f i : R &#8594; R is a decreasing function on the positive reals. Then</p><p>(5.6) Condition (5.5) assumes that the marginal densities do not decrease too rapidly around the mean and implies the accuracy of the median filtering step. Condition (5.6) assumes that the joint densities do not have too much mass concentrated around any single point (e.g., the mean), from which we may derive tighter error bounds on the shorth estimator when we have sufficiently separated variances, i.e., We also define Q(&#963; 1 , &#963; 2 , p) to be the class of symmetric, unimodal distributions with {P i } n i=1 with common mean &#181;, such that at least np distributions have marginal variances bounded by &#963; 2 2 and remaining distributions have marginal variance at least &#8486;(&#963; 2  1 ) and at most &#963; 2 1 . Thus, Q(&#963; 1 , &#963; 2 , p) is the class of distributions with sufficient division between high-variance and low-variance points, and we clearly have Q(&#963; 1 , &#963; 2 , p) &#8838; P(&#963; 1 , &#963; 2 , p). Finally, in order to derive bounds in expectation, we impose the additional growth condition (5.1) on the variance of the mixture components.</p><p>The following result is proved in Appendix E.4. </p><p>( 5 . 7 )</p><p>We also have the following special cases if we impose additional assumptions:</p><p>, we have the tighter bound max</p><p>and condition (5.6) holds, then max</p><p>( 5 . 9 )</p><p>It is instructive to compare the upper bounds for the hybrid estimator in Theorem 5.5 with the lower bounds derived in Theorem 5.4. (Note that the same class of distributions used to obtain the minimax lower bounds over P falls into the class Q, so the upper bounds in Theorem 5.5 may be directly Table <ref type="table">2</ref> Comparison of upper and lower bounds for estimation error, given by Theorems 5.4 and 5.5, in three regimes of interest. In all of these cases, we assume p = &#8486; d log n n . For simplicity, we set &#963; 2 = 1 and ignore multiplicative factors which are logarithmic in n. We provide more details regarding these calculations in Appendix E.5</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Large heterogeneity</head><p>Mild heterogeneity Large p</p><p>Lower bound</p><p>compared with the lower bounds in inequality (5.9), as well.) In particular, we can see that the hybrid estimator is nearly minimax optimal in three somewhat different regimes of interest, which can be derived directly from the bounds in the theorems. The results are summarized in Table <ref type="table">2:</ref> 1. Large heterogeneity: when &#963; 1 is very large compared to &#963; 2 and p is very small (still satisfying p = &#8486;( d log n n )), a direct application of the median would lead to large error. However, the shorth estimator is able to focus on the low-variance points due to the sufficiently large separation in variances. As p becomes smaller, the gap between the upper and lower bounds reduces, reaching within log n factors when p = &#920; d log n n .</p><p>2. Mild heterogeneity: since &#963; 1 is relatively small, the median and even mean are minimax optimal.</p><p>The hybrid estimator is able to achieve these rates (including the i.i.d. case).</p><p>3. Large p: as p increases, the number of good points increase and we expect to obtain vanishing error for reasonable values of &#963; 1 (e.g., under condition (5.1)). Indeed, the hybrid estimator achieves vanishing error for large p = &#8486; &#8730; n log n n irrespective of the magnitude of &#963; 1 . Also, the gap between the upper bound and the lower bound decreases as either p &#8594; 1 or &#963; 1 &#8594; &#963; 2 .</p><p>Remark 9 Although we have shown that the hybrid estimator is indeed optimal in several diverse regimes, the preceding discussion leaves open the question of optimality in other settings. In particular, although our general upper bounds (e.g., inequality (5.7)) suggests the presence of a &#8730; n 1/d factor when using the hybrid estimator, our lower bound techniques do not show that such a factor is unavoidable for d 2. As argued by Chierichetti et al. <ref type="bibr">[8]</ref>, a factor of &#8730; n is unavoidable in d = 1 (cf. Theorem 5.4).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Computation in high dimensions</head><p>We now discuss how to make our estimators computationally feasible when d is large. The main idea is that both the modal interval and shorth estimators involve finding optimal balls in R d . To save on computation, we will show that restricting the search to balls centered at one of the n data points leads to estimators with similar performance guarantees. This is an idea previously introduced in the literature on mode estimation in i.i.d. scenarios <ref type="bibr">[1,</ref><ref type="bibr">10,</ref><ref type="bibr">21]</ref>. Concretely, the modal interval and shorth estimators are replaced by the following:</p><p>Estimator 5 The computationally efficient modal interval estimator is defined by</p><p>Estimator 6 The computationally efficient shorth estimator is defined by</p><p>In other words, we select the data point such that the smallest ball centered around that point containing at least k points has the minimum radius.</p><p>Note that both estimators (6.1) and (6.2) may be computed in O(n 2 d) time. In contrast, computing the modal interval or shorth estimators directly would correspond to solving the circle placement problem or smallest enclosing ball problem, for which the best-known exact algorithms are &#8486;(n d ) <ref type="bibr">[3,</ref><ref type="bibr">14,</ref><ref type="bibr">27]</ref>.</p><p>Using a peeling argument <ref type="bibr">[43]</ref>, we can obtain a more refined concentration result than Theorem 2.2. The proof of the following result is contained in Appendix A.3. Note that the proof critically leverages radial symmetry of R, whereas the concentration inequality in Lemma 2.2 does not require R to be radially symmetric. Lemma 6.1 Recall Definitions 2.2 and 2.4 for the terms f x,r , R n (&#8226;) and R(&#8226;). For any t &#8712; (0, 1], radii r, r &gt; 0, and n &gt; 1, we have the following inequalities:</p><p>P sup</p><p>provided r and r are such that R(f r,r ) C t d log n n .</p><p>Using Lemma 6.1, we can derive the following results for the computationally efficient modal interval and shorth estimators. The proof is contained in Appendix D.6. Of course, the quality of the guarantee in Theorem 6.1(i) worsens as r increases. As discussed in Section 4.1, we can use Lepski's method to calibrate the modal interval radius. Note that we can again use the shorth estimator to obtain rough upper and lower bounds. Using a similar argument as in the proof of Lemma 4.1, we are guaranteed that 1  2 r 3Cd log n r 6Cd log n r 6Cd log n , w.h.p. Essentially, the same argument as in Theorem 4. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.">Relaxing radial symmetry</head><p>We now consider the case when the population-level distribution P = 1 n n i=1 P i is not symmetric. In the case d = 1, we can obtain the same estimation error rates only assuming that density p i is logconcave with a unique mode at 0. In the case d &gt; We can relax the radial symmetry assumptions slightly. In particular, Theorem 2.2 only relies on the fact that R * r , the mass of the interval centered around the true mode 0, is &#8486; log n n (with no additional symmetry assumptions). We do need R(f x,r ) to satisfy some additional monotonicity assumptions along rays as x moves away from 0.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.1">General theory</head><p>In place of radial symmetry, we impose the following condition (stated with respect to a fixed radius r):</p><p>) is maximized at x = 0, and otherwise monotonically decreasing along rays from the origin.</p><p>Note that condition (C1) is satisfied if the same property holds for all components p i in the mixture. We now define the function g(a, r) := sup Finally, note that an analog of Theorem 7.1 holds when we use the computationally efficient modal interval and shorth estimators described in Section 6, with minor proof modifications.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.2">Sufficient conditions</head><p>Condition (C1) may be a bit difficult to interpret. We define two related conditions:</p><p>(C2) Each component density p i is log-concave with a unique mode at 0. Recall that a distribution with density p is log-concave if p(x) &#8733; e -&#966;(x) for a convex function &#966; : R d &#8594; R.</p><p>(C3) For all x &#8712; R d and all 1 i n, we have p i (x) = p i (-x).</p><p>Note that condition (C3) only requires symmetry of the density around 0, rather than radial symmetry; in particular, it holds for Gaussian distributions that are not necessarily isotropic.</p><p>We have the following result, proved in Appendix F.2:</p><p>Proposition 7.2 Suppose conditions (C2) and (C3) hold. Then condition (C1) also holds. Furthermore, g(a, r)</p><p>1 a/2r . In fact, we can even derive a result only assuming condition (C2) in the case d = 1. As argued in the proof of Theorem 7.1, we may establish that R(f &#181; M,r , r) R * r 2 , w.h.p. Thus, there exists some i such that R i (f &#181; M,r , r) R * r 2 . By properties of log-concave convolutions (cf. proof of Proposition 7.2), we know that R i (f x,r ) is decreasing along rays originating from some point x * i , and also &#181; M,rx * i 2 4r R * r , since we could otherwise pack too many intervals into the ray between x * i and &#181; M,r , thus contradicting the inequality R i (f &#181; M,r , r)</p><p>r. Altogether, we obtain the error bound</p><p>which is of the same order as the guarantees in Theorem 3.1. A similar conclusion could be reached if we replaced condition (C2) by the condition that each p i has a unique median and mode at 0, since R i (f x,r ) is decreasing along rays originating from r (-r) in the positive (negative) direction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.3">Examples</head><p>We now describe two examples to illustrate concrete use cases of our more general theory.</p><p>Example 7.3 (Elliptically symmetric distributions). We now consider the case where the components of the mixture are not spherical but have the same axes of symmetry. Concretely, suppose that for a fixed matrix &#931; 0, the density of each X i is of the form f i (x&#181;) T &#931; -1 (x&#181;) , where f i : R &#8594; R is a decreasing function defined on the positive reals. The goal is to estimate the common parameter &#181; &#8712; R d . As a specific example, we might have a mixture of non-isotropic Gaussian distributions where the covariance matrices are all scalar multiples of &#931;. This strictly generalizes the case of radially symmetric distributions, which corresponds to the case &#931; = I.</p><p>Suppose we employ the modal interval, shorth or hybrid estimators described above. Note that these estimators do not require knowledge of the matrix &#931;. We wish to analyze the behavior of the quantity g(a, r) defined in equation (7.1), which is relevant for Theorem 7.1. Indeed, we can derive an analog of Lemma 2.1 that applies in this setting. The main step is to understand bound the quantity g(r 2 , r 1 ) when r 1 &lt; r 2 . We have the following result, proved in Appendix F.3: Proposition 7.4 Let r 1 &lt; r 2 . For an elliptically symmetric distribution, we have</p><p>Clearly, taking C = 1 and &#931; = I in Proposition 7.4 recovers the result for radially symmetric distributions.</p><p>Remark 12 Similar arguments as in Example 7.3 could be applied in the case when the probability density functions of the distributions are proportional to exp(x&#181; /&#963; ), for a different norm &#8226; besides the squared 2 -norm or the Mahalanobis norm. Also note that if the matrix &#931; (accordingly, the norm &#8226; ) were known a priori, it might be possible to obtain better rates by using a modal interval/shorth estimator based on the level sets of the norm rather than spheres of varying radii.</p><p>Example 7.5 (Mixture of radially and centrally symmetric distributions). For another interesting special case, suppose we have s points drawn from radially symmetric distributions, and n-s points drawn from centrally symmetric distributions. Suppose we have f (n) points which are well behaved in the sense that the interquartile range of the corresponding distributions is small. (These distributions need not coincide with the radially symmetric distributions.) We have the following result, proved in Appendix F.4: Proposition 7.6 For r = q (f (n)) and r = 2rn 1/d , we have</p><p>Thus, as the proportion of well-behaved points increases, the required proportion of radially symmetric distributions required to obtain a specific error guarantee becomes smaller. In particular, if f (n) = &#8486;(n 1-1/d ), we do not need any radially symmetric distributions; recall, however, that the coordinatewise median already performs well on a mixture of centrally symmetric distributions if</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8.">Linear regression</head><p>We now shift our focus to the problem of linear regression and demonstrate how the methodology developed thus far may be adapted to parameter estimation in multivariate regression. Suppose we have observations {(x i , y i )} n i=1 from the linear model</p><p>where the pairs {(x i , i )} n i=1 are independent but not necessarily identically distributed and x i and i are independent for each i.</p><p>Following the theme of our paper, we assume that the probability density function of i s is symmetric and unimodal. We want to study the behavior of the modal interval regression estimator</p><p>for an appropriate choice of r &gt; 0.</p><p>A natural question is whether the true parameter &#946; * is the unique population-level maximizer in the regression setting. As the following proposition shows, this is indeed the case when the densities of the x i s are absolutely continuous with respect to Lebesgue measure. The proof is contained in Appendix G.1.</p><p>Proposition 8.1 Consider the linear model in equation <ref type="bibr">(8.1)</ref>, where the distributions of x i s and i s have Lebesgue density. Then the population-level maximizer is given by</p><p>Importantly, Proposition 8.1, and the ensuing theory, does not require specific assumptions on the form of the distribution of the x i s. However, in order to derive easily interpretable error bounds on the modal interval regression estimator, we will assume further distributional assumptions (cf. the statement of Theorem 8.2 below). . In particular, we want to show that for &#946;&#946; * 2 larger than a certain value, we will have</p><p>As before, the key ingredient for deriving error bounds is a uniform concentration result. This is proved in the following lemma: Lemma 8.1 Let t &#8712; (0, 1], and suppose r is large enough so that R &#946; * Cd log n n</p><p>. Then</p><p>Since the proof is directly analogous to the proof of Theorem 2.2, we only provide a sketch: the key point is to consider the VC dimension of the class of functions f (x, y) = 1{|yx T &#946;| r}, indexed by the pair (&#946;, r). Note that the subset of points in R d+1 associated with the indicator function f (x, y) is an intersection of two halfspaces. Using results on the VC dimension of an intersection of concept classes <ref type="bibr">[44]</ref>, we see that the VC dimension of the desired hypothesis class is bounded by C d. The concentration result then follows by the same arguments used to derive Theorem 2.2.</p><p>It is generally difficult to state general bounds on estimation error that depend only on order statistics of quantiles, since as in the case of mean regression, the error bounds one can derive will be largely problem-dependent. In order to simplify our presentation, we will only discuss the case where the i s and x i s are Gaussian: i &#8764; N(0, &#963; 2 i ) and x i &#8764; N(&#181; i , &#931; i ). We have the following result, proved in Appendix G.2: Theorem 8.2 Let &#955; min := min i &#955; min (&#931; i ), and suppose &#955; min &gt; 0. Suppose r &gt; 0 is chosen such that R &#946; * Cd log n n</p><p>. Then the regression estimator (8.2) satisfies</p><p>We conjecture that it is possible to decrease this upper bound to O( &#8730; n&#963; (c log n) ) by an appropriate hybrid screening procedure, but we leave this to future work. Also note that in order for the bound in Theorem 8.2 to be useful, the quantity &#955; min must either be a constant, or else not decrease too rapidly with n.</p><p>A. PENSIA ET AL.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8.2">Computation</head><p>A natural question is whether the modal interval regression estimator (8.2) is actually computationally feasible. We claim that an estimator may be obtained in O(n d ) time, using Algorithm ??. The proof is in Appendix G.3.</p><p>Algorithm 3 Modal interval regression estimator 1: function modalIntervalRegression(X 1:n , k 1 , k 2 , d)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2:</head><p>Construct the set of hyperplanes</p><p>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>3:</head><p>Let {S 1 , . . . , S N } denote the set of subsets of S r cardinality d.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:</head><p>for j = 1, . . . , N</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>5:</head><p>Solve the system of linear equations given by S j . Let B j be a solution (if one exists).</p><p>6: end for 7: Remark 13 Correct application of Algorithm 3 would assume that r is chosen appropriately. It is less clear how this parameter might be calibrated based on the data, perhaps using an appropriate variant of Lepski's method. We leave this important open question to future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="9.">Simulations</head><p>We now present the results of simulations on the recurring examples to validate our theoretical predictions (cf. Table <ref type="table">1</ref>). Although our theorem statements involve large constants, we empirically observe that smaller constants suffice to elicit the same behavior predicted by our theory. We run the k-shorth estimator with k = 5d log n and k-median with k = &#8730; n log n. We use these estimators for the hybrid estimator, i.e., the ( &#8730; n log n, 5d log n)-hybrid estimator. The mean estimator corresponds to the simple average, whereas the median estimator refers to the (coordinatewise) sample median.</p><p>For each n, we run T = 200 simulations for univariate data and T = 20 simulation for multivariate data and report the average error 1 T T i=1 | &#181;&#181; * | of various estimators. Both axes in all of the plots are in a log-scale. In particular, the slope of the curves indicates the power of n in the estimation error, and vertical shifts correspond to constant prefactors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="9.1">Univariate data</head><p>We first present simulation results when d = 1. We use r = 1 for the simulations involving r-modal interval estimators, since R * 1 = &#8486; log n n in each of the recurring examples, although the constant prefactors do not exactly align with our theory. ) error rate. The modal interval has errors of order n -1/3 . As suggested by our theoretical bounds, the (log n)-shorth has constant error. The hybrid estimator improves the rate of the shorth estimator, with a similar error decay as the median estimator as n increases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 4. Plot comparing average error of various estimators on Example 3.5. As mentioned in Table 1, both the mean and median have</head><p>&#8730; n error rate. The error rates of the modal interval, shorth (with k = 5d log n) and hybrid estimators are superior to the median in the univariate case, and the hybrid estimator is clearly superior when d = 3.</p><p>In the case of Example 3.4 (i.i.d. observations), we generate x i i.i.d.</p><p>&#8764; N (0, 1). As seen in Fig. <ref type="figure">3(a)</ref>, the mean and median estimators perform optimally in this setting, giving an error rate of O(n -0.5 ). In contrast, the shorth estimator (with k = 5 log n) has a flat trend line indicative of constant error, as suggested by Remark 2 and the phase transition arguments in Section 3.1.2. On the other hand, the error of the hybrid estimator decays at a rate more comparable to the mean and median. As discussed in Remark 6, the hybrid estimator is indeed optimal up to log factors. We see that the performance of the modal interval estimator is better than the shorth but worse than the hybrid estimator and exhibits the cube-root asymptotic decay encountered in classical statistics <ref type="bibr">[23]</ref>. Furthermore, the estimation error of the hybrid estimator behaves more like the error of the median estimator as n increases. Note that although our bounds for the shorth and modal interval estimators are tighter for smaller values of k and  As suggested by Proposition 3.9, the median and mean have superior performance to the modal interval and shorth estimators for &#945; &lt; 1. Moreover, the hybrid estimator exhibits similar behavior to the median when &#945; &lt; 1 and to the shorth when &#945; &gt; 1.</p><p>r, choosing larger values results in better performance when the data are homogeneous, which is not a valid assumption in our general use case.</p><p>For Example 3.5 (quadratic variance), we generate x i &#8764; N (0, i 2 ). In Fig. <ref type="figure">4</ref>(a), we see that the both the median and mean have similar slopes: Proposition 3.9 predicts that the median would have &#213;( &#8730; n)</p><p>error, compared to the &#920;</p><p>n error of the mean; indeed, the curves are roughly parallel. However, the error rate of the modal interval, shorth and hybrid estimators is significantly smaller. As stated in Propositions 3.8 and 3.10, the error of these estimators is upper bounded by O(n ), for &gt; 0.</p><p>For Example 3.6 (&#945;-mixture distributions), we generate 10 log n samples from a N (0, 4 &#215; 10 -4 ) distribution and the remaining samples from a N (0, n &#945; ) distribution, with &#945; = 0.9 and 1.3. The plots in Fig. <ref type="figure">5</ref> add additional curves to the phase transition plots in Fig. <ref type="figure">1</ref>. As suggested by Propositions 3.8 and 3.10, the modal, shorth and hybrid estimators have constant error for &#945; &gt; 1, whereas the error increases with n when &#945; &lt; 1. Furthermore, the hybrid estimator performs better than the shorth estimator when &#945; &lt; 1, with an error rate of O(n &#945;-0.5 ) rather than O(n &#945; ), while the modal interval estimator seems to perform comparably to the hybrid. Finally, note that the behavior of the hybrid estimator is similar to the behavior of the median estimator when &#945; &lt; 1 and to the modal interval/shorth estimator when &#945; &gt; 1, showing that it indeed enjoys the better of the two rates in different regimes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="9.2">Multivariate</head><p>We now present simulation results for multivariate data, using d = 3. The data for all three recurring examples are generated with the same parameters as in the univariate case, except with isotropic distributions. We run the computationally efficient versions of the shorth and modal interval estimators described in Section 6, with k = 5d log n and r = &#8730; d. The trends for i.i.d. data, shown in Fig. <ref type="figure">3(b)</ref>, are analogous to the univariate case. Similarly, the plots in Fig. <ref type="figure">4</ref>(b) for the quadratic variance example resemble the plots in Fig. <ref type="figure">4</ref>(a), with the hybrid, shorth and modal interval estimators performing noticeably better than the mean or median. Note that for these experiments, the modal interval estimator appears to behave better than either the shorth or hybrid estimators by a constant factor. For the multivariate version of the &#945;-mixture distribution, we run simulations with &#945; = 1 2d &lt; 1 and &#945; = 1.3, where we have chosen the first value of &#945; so that the upper bound in Theorem 5.5 gives O n &#945;-</p><p>2 ) error for the hybrid estimator, whereas the derived bounds for the modal interval and shorth are O(n &#945; ) = O(n 1 2d ) (cf. Remark 6). Indeed, we see in Fig. <ref type="figure">5(c</ref>) that the estimation error of the hybrid estimator decreases with n, like the mean and median estimators, whereas the shorth estimator has an increasing trend line. The curve for the modal interval estimator appears to be roughly constant (or possibly slightly increasing). The curves in Fig. <ref type="figure">5(d</ref>) are very similar to the curves in Fig. <ref type="figure">5</ref>(b), suggesting the existence of a phase transition for &#945; &#8712; 1 2d , 1 in the multivariate case, as well.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="10.">Conclusion</head><p>We have studied the problem of mean estimation of a heterogeneous mixture when the fraction of clean points tends to 0. We have shown that the modal interval and shorth estimators, which perform suboptimally in i.i.d. settings, are superior to the sample mean in such settings. We have also shown that these estimators and the k-median have complementary strengths that may be combined into a single hybrid estimator, which adapts to the given problem and is nearly optimal in certain settings. An important question for further study is whether the proposed hybrid estimator is always near-optimal, or optimal, for more general collections of variances.</p><p>Our discussion of linear regression estimators has been fairly brief. Some issues that we have not addressed include derivations for non-Gaussian error distributions and regression estimators in the case of a fixed design matrix. We leave these questions, and a derivation of optimal error rates in the linear regression setting, for future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Proofs of preliminaries</head><p>In this appendix, we provide proofs for the preliminary lemma concerning properties of radially symmetric distributions in Section 2, as well as the concentration results used in the paper.</p><p>A.1 Proof of Lemma 2.1 1. Note that R(f x,r ) can be written as convolution of P with indicator function of B r , both of which are unimodal and radially symmetric. The desired result then follows by Li et al. <ref type="bibr">[29,</ref><ref type="bibr">Proposition 8]</ref>, which implies that R(f x,r ) is also unimodal and radially symmetric.</p><p>2. This follows from the non-negativity of the density.</p><p>3. As P is radially symmetric, let the density of P at x be given by p( x ). R * r can be written as R * r = C r 0 p(s)s d-1 ds where C is a constant for a fixed dimension. Define g(r) :=</p><p>for r &gt; 0. Property (iii) is equivalent to showing that d dr g(r) &lt; 0. By unimodality of p(&#8226;), it follows that g(r) &gt; p(r) d . Differentiating g(&#8226;), we get</p><p>4. Note that any r 1 -packing of B(0, r 2r 1 ) has the property that all balls in the packing must be entirely contained within the larger ball B r 2 . Furthermore, by Lemma 2.1(i) above, we know that R(f x,r 1 ) R(f r 2 ,r 1 ) when x 2 r 2 . Hence, by summing up the densities of all balls in the packing, we obtain R(f 0,r 2 ) P(B r 2 -r 1 , r 1 )R(f r 2 ,r 1 ), from which the first inequality follows. To obtain the second inequality, we use the sphere-packing lower bound</p><p>where N(&#8226;, &#8226;) denotes the covering number (cf. Vershynin [45, Proposition 4.2.12]).</p><p>5. The proof of the first inequality is the same as the proof of the corresponding statement in Lemma B.1. The second inequality follows by noting that</p><p>for each i. Thus, B 2&#963; (2k) &#8730; d covers at least 3  4 of the mass of at least 2k distributions, implying the desired result.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.2 Proof of Lemma 2.2</head><p>Recall that Ri (f ) = E f (X i ). We define the random variables </p><p>We will apply Lemma H.2 to obtain a high-probability upper bound on Z. Here V = d + 1, the VC dimension of balls.</p><p>Since its application requires a bound on the expectation, we first derive the following lemma:</p><p>1300V log n with both n &gt; 1 and d 1, then</p><p>Proof. We will use Theorem H.1 from Appendix H, with &#963;<ref type="foot">foot_6</ref> = sup x,r r R(f x,r ) = R * r . In particular, note that since n&#963; 2 1300V log n, we have</p><p>Thus, Theorem H.1 is applicable and leads to the following bound: 2</p><p>We now apply Theorem 12.9 from Boucheron et al. <ref type="bibr">[6]</ref> (stated in Lemma H.2 in Appendix H) with W i,s = Y i,f and</p><p>where the inequality holds because the variance of a Bernoulli random variable is bounded by its expectation. Hence, using Lemma A. 1300V log n, so all the previous results are also valid. Moreover, we have</p><p>Now we have all the ingredients required for the application of Theorem 12.9:</p><p>where the last inequality follows by inequality (A1).</p><p>An identical argument can be used to upper bound the quantity sup</p><p>concluding the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.3 Proof of Lemma 6.1</head><p>We begin by proving inequality (6.3). First consider the following peeling lemma, an adaptation of Raskutti et al. <ref type="bibr">[36,</ref><ref type="bibr">Lemma 3]</ref>: holds for all s &#8712; range(h). Then</p><p>Proof. We define the sets</p><p>for m 1. By a union bound, we have</p><p>where</p><p>2 m &#181;, so the last probability is upperbounded by</p><p>It follows that</p><p>for all m 1, so summing up over m then gives</p><p>implying inequality (A2).</p><p>We apply Lemma A.2 with A = {x : x 2 r}, and</p><p>for fixed values of r, r &gt; 0 and t &#8712; (0, 1]. Clearly, g is monotonically increasing and satisfies inf x&#8712;A g(h( x 2 )) tR(f r,r ). Note that for any s &#8712; range(h), we have s = R(f x s ,r ) for some x s , and</p><p>assuming nR(f r,r ) C t d log n, where we use a slight modification of Lemma 2.2 where H r is the set of balls centered around points in { x 2</p><p>x s 2 }. Lemma A.2 then implies the desired concentration inequality.</p><p>To establish inequality (6.4), note that we can simply use a modification of Theorem 2.2, where H r is now the set of balls centered around points in { x 2 &gt; r}.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Proofs for univariate estimators</head><p>We begin with the following lemma, also appearing as Pensia et al. <ref type="bibr">[35,</ref><ref type="bibr">Lemma 1]</ref>.</p><p>Lemma B.1 We have the following properties:</p><p>Proof. The proofs proceed using simple calculus and algebraic manipulations, relying only on the properties of symmetry and unimodality. (i) Property (i) follows directly by unimodality and symmetry of P.</p><p>(ii) Property (ii) is true by the non-negativity of density. for x &gt; 0. By differentiation, we have</p><p>x &lt; 0, as wanted.</p><p>(iv) Note that r can be written as r = (K + &#945;)r, where K &#8712; N and &#945; &#8712; [0, 1). We need to show that R * r &gt; (K + &#945;)R(f r ,r ). We may write</p><p>The second term is 0 if K = 0. By (iii) above, we have R * &#945;r &gt; &#945;R * r . Therefore,</p><p>where the last inequality again uses unimodality of P and the second term is 0 if K = 0.</p><p>(v) Note that</p><p>Let Ri (f ) be the expectation of f under P i , i.e., Ri (f ) = E f (X i ). For the second inequality, note that by Chebyshev's inequality,</p><p>for all i. Therefore, an interval of length 4&#963; (2k) covers at least 3 4 mass of at least 2k distributions, implying that</p><p>Lemma B.1 shows that we can use P as a measure of distance between two intervals. In particular, if two intervals with the same center/radius are close under R, the respective radii/centers must also be close.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.1 Proof of Theorem 3.1</head><p>We begin with the following result, which follows from Lemma 2.2: . Then with probability at least</p><p>Proof. This will follow from Lemma 2.2 by choosing 0.5t instead of t. If R * r C 0.5t log n n , then with probability 1 -2 exp(-cnR * r t 2 /4), we have</p><p>uniformly over f &#8712; H r . Assume that this event happens. Note that R(f 0,r ) = R * r and R n (f &#181; M,r ,r ) R n (f 0,r ) by maximality of the modal interval estimator. Since f &#181; M,r ,r , f 0,r &#8712; H r , we have</p><p>Lemma B.2 states that if r is small, then R(f x,r ) behaves like a (scaled) density of the mixture distribution P. Indeed, the density of P at the empirical mode, &#181; M,r , is within a constant factor of the density at &#181; * .</p><p>Turning to the proof of the theorem, note that by Lemma B.1(i), we know that if R(f r ,r ) &lt; R(f &#181; M,r ,r ), </p><p>This establishes inequality (3.2).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.2 Proof of Theorem 3.2</head><p>The proof of Theorem 3.2 is similar in spirit to the proof of Theorem 3.1. We begin by proving a lemma, which replaces Lemma B.2:</p><p>Lemma B.3 For 2k C 0.5t log n and t &#8712; (0, 1], with probability at least 1 -2 exp(-c kt 2 ), we have</p><p>Proof. By assumption, we have nR * r 2k = 2k C 0.5t log n. Applying Lemma 2.2 with t = 0.5t and r = r 2k , we know that with probability at least 1exp(-c2kt 2 /4), we have sup</p><p>Combined with the guarantee of Lemma 4.1, we conclude that</p><p>with probability at least 1exp(-ckt 2 /2)exp(-k/8). Furthermore, since all the distributions have densities, all the X i s are distinct with probability 1, so</p><p>Again using the fact that r k r 2k , we can use Lemma B.1(ii) to conclude that R(f &#181; S,k , r k ) R(f &#181; S,k ,r 2k ), so the required statement holds.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Let r = 2nr 2k</head><p>k . Taking t = 1 2 in Lemma B.3 and using Lemma B.1(i), it suffices to show that R(f r ,r 2k ) &lt; k 2n , which follows by Lemma B.1(iv) and the fact that R * r 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.3 Proof of Theorem 3.3</head><p>We first prove the following result:</p><p>4 With probability at least 1 -4 exp(-ck 2 /n), both of the following statements hold:</p><p>1. S k contains the origin in the sense that 0 &#8712; [min(S k ), max(S k )].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Diam(S k ) 2r 2k</head><p>Proof. The k-median was defined using &#968; n . It is therefore instructive to study the properties of the population-level quantity &#968;(&#952;) := E &#968; n (&#952; ). For &#952; &gt; 0, we have</p><p>In particular,</p><p>Similarly, for &#952; &lt; 0, we have &#968;(&#952;) = -R * |&#952;| . 1. It suffices to show the events &#952; med,k r 2k and &#952; med,-k -r 2k hold with the required probability.</p><p>We will focus only on the error on the positive side, i.e., &#952; med,k &gt; r 2k . The analysis for &#952; med,-k &lt; -r 2k is similar by symmetry. Recall that &#968; n ( &#952; med,k ) = k n a.s., so by monotonicity of &#968; n , it follows that</p><p>Since &#968; n (&#8226;)&#968;(&#8226;) is a centered sum of independent bounded random variables, we may apply Hoeffding's inequality on its negative tail. Therefore,</p><p>2. We bound the probability that max(S k ) &lt; 0; the bound for min(S k ) &gt; 0 is analogous. If max(S k ) &lt; 0, then &#968; n (0) k n by monotonicity of &#968; n and the fact that max(S k ) = &#952; med,k and &#968; n ( &#952; med,k ) = k n . By Hoeffding's inequality, we then have</p><p>By Lemma B.4 and Theorem 3.2, with probability with probability at least 1 -4 exp(-c log 2 n), both of the following events happen simultaneously:</p><p>As the set [min(S k ), max(S k )] is convex and 0 belongs to the set,</p><p>is less than the diameter of S k . This proves the first inequality of the statement.</p><p>Let r := 4</p><p>To prove the second inequality, we break down the analysis in two cases:</p><p>&#8730; n . This implies that r 2k 1 r and thus desired holds. Since the final prediction is always within the set spanned by S k 1 , we must have | &#181; k 1 ,k 2 | r with probability at least 1 -4 exp(-c log 2 n).</p><p>Case 2: Suppose R * r &lt; 2 log n &#8730; n . We will first show that | &#181; S,k 2 | r . Similar to the proof of Theorem 3.2, it suffices to show that R(f r ,r 2k 2 ) &lt; k 2 2n . Indeed, we have by Lemma B.1(iv)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Proofs for examples</head><p>In this appendix, we provide the proofs for the propositions regarding the examples discussed in Section 3.1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.1 Proof of Proposition 3.7</head><p>Using the symmetry and unimodality of p, we have the following relation:</p><p>Using the first inequality above and choosing r = r k , we obtain r k k 2p(0) . The second inequality implies that if 2p(y)y k n , then r k y. In the remainder of the proof, we will show the bounds for each example using this approach:</p><p>1. The lower bound follows by noting that the density at 0 is 1</p><p>. The upper bound follows by noting that density at x = |&#963; | is within constant factor of the density at 0. Let r = (&#963; &#8730; 2&#960; e log n)/n. For large enough n, have that r &#963; . Thus,</p><p>2. The lower bound follows by noting that the density at x = 0 is</p><p>where we use that log n n i=1 i -1 (log n + 1). Thus, r log n log n 2np(0) = &#920;(1). The upper bound follows by noting that the density at x = 1 is</p><p>where the inequality uses that for all x &#8712; R, e x 1 + x. As n i=1 i 3 converges, we let</p><p>This last expression is greater than (log n)/n, when c is less than (say) &#8730; 1/2&#960; and n is large enough such that log n &gt; 2C/c 2 .</p><p>3. We first consider the case &#945; 1. The lower bound follows by noting that the density at 0 is</p><p>The upper bound follows from the fact that at least c log n distributions have variance 1. Thus, the interval [-1, 1] contains more than 0.6 probability of at least c log n distributions. As R(f 0,1 ) 0.6c(log n)/n, which is larger than (log n)/n for c 5/3, implying that r log n 1.</p><p>4. We now consider the case when &#945; &lt; 1. The density at 0 is</p><p>which implies the desired upper bound. For the desired lower bound, we note that the density at 3. Let Ri (f ) be the expectation of f under P i , i.e., Ri (f ) = E f (X i ). Fix an &gt; 0. Let r = n and r = 1. Then it suffices to show that R * r -R(f r ,r ) C R * r where C &gt; 0 might depend on but not on n.</p><p>4. We will show that </p><p>Ri (f 0,r ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Now it remains to show that</head><p>This follows by observing that the density of a Gaussian distribution decreases by more than half at a distance of &#963; from the mean. 7. For &#945; 1, let r = 10. Then R * r 0.5 C log n n , as a Gaussian distribution contains about 0.68 mass within 1 standard deviation of the mean. Moreover,</p><p>Inequality (3.1) then implies the result.</p><p>C.3 Proof of Proposition 3.9</p><p>In the following, we will show the bounds on r 2 &#8730; n log n , which gives us the result:</p><p>1. As in the proof of Proposition 3.7, we have</p><p>3. Note that for any fixed k, the value of r k for Example 3.6 is smaller than the value of r k for Example 3.4 with &#963; = n &#945; . Thus, we have r 2</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.4 Proof of Proposition 3.12</head><p>We first provide the main steps of the proof. Proofs of supporting lemmas are contained in further sub-sections.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.4.1 Main argument</head><p>Proof. (Proof of Proposition 3.12) Let W be a generic random variable with distribution Q n as defined Example 3.11. Let A = [-2, 2]. Consider two disjoint set of hypothesis classes K and J , with K = {f x,1 : x &#8712; A} and J = {f x,1 : x &#8712; A}. The hypothesis class J contains the intervals that are far from 0. Define the following random variables:</p><p>We would show that with constant non-zero probability: (i) Z 1 &lt; Z 2 and (ii) the maximum is achieved in Z 2 at intervals that are far from 0.</p><p>Note that supremum is achieved in both the cases and R * J &lt; R * 1 . Moreover, we have the following straightforward relations:</p><p>4. For every constant C , there exists another constant C &gt; 0 such that</p><p>These relations suffice for showing that Z 1 &lt; Z 2 with constant probability. To this end, we would show that with constant probability both (1)</p><p>, for any C &gt; 0. Note that these events are dependent and thus we had use the following lemma, which shows that conditioned on the inclusion of points in each of two disjoint intervals, the distributions of the histograms on each of the intervals behave independently:</p><p>Lemma C.1 Let {x 1 , . . . , x n } be i.i.d. draws from a distribution with density p i . Consider two disjoint intervals A and B. For any two disjoint subsets S, T &#8838; {1, . . . , n}, we use x S to denote the vector (x i : i &#8712; S), and we define x T similarly. Let E denote the event that x i &#8712; A for all i &#8712; S, and x i &#8712; B for all &#8712; T. Then for x S &#8838; A and x T &#8838; B, we have</p><p>Furthermore,</p><p>, and</p><p>are the joint densities of independent draws from the renormalized distributions of the points lying in each interval.</p><p>Let S &#8834; {1, . . . , n} be an index set. For a fixed index set S, let the event E S be S = {X S &#8834; A, X S c &#8834; A c }, where X S is the vector (X i : i &#8712; S) and A is defined above.</p><p>Conditioned on E S , Lemma C.1 states that X i s are independent. Thus, conditioned on E S , the random variables Z 1 and Z 2 are independent.</p><p>Lemma C.2 Consider the setting in Proposition 3.12. Let S &#8834; [n] be such that |S| nP(A). Conditioned on the event E S , we have that for some C &gt; 0,</p><p>with a constant non-zero probability.</p><p>Lemma C.3 Consider the setting in Proposition 3.12. Let S &#8834; [n] be such that |S c | nP(A c ). Conditioned on the event E S , we have that for all C &gt; 0,</p><p>with a constant, non-zero probability depending on the constant C.</p><p>Lemma C.4 Let X 1 , . . . , X n i.i.d.</p><p>&#8764; P, where P is a uniform distribution over [-b, -a] [a, b] for some 0 a &lt; b. For a r &gt; 0, let  Furthermore, note that since Z 1 is computed over the points lying in A and Z 2 and &#181; M,1,J is computed over the points lying in A c , Lemma C.1 implies that</p><p>Finally, note that conditioned on E S , the points in A c are certainly still uniformly distributed by the construction. Hence, we can apply Lemmas C.2, C.3 and C.4 to lower bound each of the three factors by a constant. We conclude that</p><p>where the final equality uses the fact that for X &#8764; Bin(n, p), we have P(X E X) = &#920;(1). This concludes the proof of Proposition 3.12.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.4.2 Proof of Lemma C.1</head><p>Proof. (Proof of Lemma C.1) Clearly, we have</p><p>Similarly, we may write</p><p>Using the fact that</p><p>implies the desired statements.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.4.3 Proof of Lemma C.2</head><p>Proof. (Proof of Lemma C.2) Throughout the whole proof, we will condition on the set E S . Conditioned on E S , Lemma C.1 states that X S is a vector of |S| i.i.d. points with distribution, say,</p><p>2 . </p><p>where the last step uses that 2R * 1 P(W &#8712; A). Thus, with constant positive probability,</p><p>where we use Markov's inequality and the assumption that |S| nP(A). </p><p>) . Y i s are centered i.i.d. Bernoulli random variables. We calculate the following quantities required for the Berry-Esseen theorem:</p><p>By the Berry-Esseen theorem <ref type="bibr">[45]</ref>, we have where &#966;(t) def = P(g t) and g &#8764; N (0, 1). Therefore,</p><p>where we use that for &#945; </p><p>Similarly, we can write p(x 1 + r, . . . , x n + r | E) = E p(x 1 + r, . . . , x n + r, y 1 , . . . , y n ) dy P(E) = E p(y 1 , . . . , y n ) dy P(E) .</p><p>This establishes the desired equality (C.2) and completes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Proofs for multivariate estimators</head><p>In this appendix, we provide proofs of the various theorems and lemmas for multivariate mean estimation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.1 Proof of Theorem 4.1</head><p>The initial steps in the proof parallel the proof of Theorem </p><p>To obtain inequality (4.2), note that using Lemma 2.1(v), we know that r = 2 &#8730; d&#963; (2Cd log n) satisfies the assumption on R * r . Plugging into inequality (4.1) then produces the desired bound.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.2 Proof of Theorem 4.2</head><p>Let j := min{j &#8712; J : r j r * }. Then</p><p>, using a union bound and the triangle inequality. We may use Theorem 4.1 to bound each individual term, so that the probability of the bad event </p><p>Finally, note that on the event E c , we have j * j (establishing that j * is finite), so &#181; M,r j *&#181; M,r j 2 8r j 2n C 0.5 (d + 1) log n </p><p>Therefore, with probability at least 1-exp(-k/8), a ball of radius r 2k contains at least k points, implying that the shortest gap, r k r 2k .</p><p>We now turn to verifying the lower bound. We will prove that with high probability, no ball of radius r k/2 contains at least k points, so that r k &gt; r k/2 . By definition, nR * r k/2 = k 2 . Thus, assuming k C 0.5 d log n, we may apply Lemma 2.2 to conclude that</p><p>with probability at least</p><p>This implies that sup</p><p>which is exactly what we want. Lemma D.1 will be critical in our analysis of the hybrid estimator proposed below. In particular, the estimator will consist of projecting the modal interval/shorth estimator onto the cuboid S &#8734; k , and Lemma D.1(i) guarantees that the estimation error of the projected estimator will be no larger than the estimation error of the initial estimator without projection. On the other hand, Lemma D.1(ii) bounds the error of an estimator based on the k-median alone.</p><p>We first derive an upper bound of &#8730; dr 2 &#8730; n log n,1 . We begin by deriving the following lemma, relating the statistics of marginal distributions to the statistics of the overall distribution: Since the output of the hybrid algorithm must lie within the cuboid S &#8734; &#8730; n log n , it is clear that we have the error bound</p><p>&#8730; n . In particular, since</p><p>w.h.p., by Lemma 2.2, we have</p><p>This implies that &#181; S,8d log n is within r of the origin. Finally, we need to show that projecting the shorth estimator on the cuboid does not increase its distance from the origin. Note that 2 -projection onto a cuboid is simply a componentwise operation of projection on each interval defining an edge of the cuboid. Furthermore, Lemma D.1 guarantees that the origin lies within the cuboid, w.h.p., in which case each interval contains 0. As argued in the proof of Theorem 3.3, the distance from the shorth estimator to the origin computed along any dimension will not increase after the projection. Therefore, the 2 -norm of the projected estimator is also upper bounded by r .</p><p>Hence, if we take C = max{C, 1}, we have the desired bound in both cases. This concludes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.6 Proof of Theorem 6.1</head><p>We begin by deriving the proof for the modal interval estimator. Let s 1 = r 2 , and define s 2 such that R(f s 2 ,r ) = 1  3 R(f s 1 ,r ). Note that</p><p>. Applying Lemma 6.1 with r = s 1 and t = 1 6 , we conclude that</p><p>uniformly over x 2 s 1 , with probability at least 1 -2 exp(-cnR(f s 1 ,r )/36)</p><p>1-exp(-cnR(f s 1 ,r )/36) , which is in turn lower bounded by 1 -4 exp(-c 1 d log n).</p><p>Furthermore, inequality (6.4) implies that</p><p>uniformly over x 2 &gt; s 2 , with probability at least 1 -2 exp(-cnR(f s 2 ,r )/9) 1 -2 exp(-c 2 d log n). Thus, combining inequalities (D.1) and (D.2), we conclude that sup</p><p>with probability at least 1 -6 exp(-c 3 d log n). Now note that by inequality (D.1), we also have R n (f 0,s 1 )</p><p>Together inequality (D.3), we conclude that &#181; M,r 2 &lt; s 2 .</p><p>Finally, we claim that s 2 4r</p><p>, and note that by Lemma 2.1(iv), we have</p><p>Since the last quantity is upper bounded by R(f s 2 ,r ), we conclude that s 2 s2 , as claimed.</p><p>Turning to the analysis of the computationally efficient shorth estimator, we adapt the argument in the proof of Theorem 3. </p><p>Let s be defined such that R(f s,2r 2k ) = k 2n . By inequality (6.4), we know that sup</p><p>with probability at least 1 -2 exp(-ck), implying that for x 2 s, we have</p><p>Since this is strictly smaller than R n (f &#181; . By Lemma 2.1(iv), we have</p><p>Applying Lemma 2.1(i), we conclude that &#181; S,k 2 r .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. Proofs for expected error bounds</head><p>In this appendix, we prove the results stated in Section 5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E.1 Proof of Proposition 5.2</head><p>The proof sketch is that we will show that with finite probability, no interval contains more than one low-variance point, and all the high-variance points lie far from origin. Conditioned on this event, the modal interval estimator incurs a high error.</p><p>Let E = A &#8745; B, where we define the events</p><p>Hence, on the event E, no interval overlapping with [-3C log n, 3C log n] contains two low-variance points or a single high-variance point. Then P(E) is lower bounded by</p><p>assuming h n log n n -&#945; , which happens for q n = &#8486;(n). However, conditioned on E, the points {X i } i&gt;C log n are i.i.d. with the following distribution:</p><p>We can now apply the symmetry arguments of Lemma C.4. Note that no interval lying inside [-3C log n, 3C log n] can contain more than one point. Thus, unless a tie occurs, the mode will be located outside the interval [-3C log n, 3C log n], and hence a distance of &#920;(q n ) away from the mean in expectation. Even if we were to break ties randomly, a large error would occur with probability at least 1 n , since at most n ties can occur. Thus,</p><p>The bounds in high probability follow from Lemma B.2, by noting that nR * r = &#8486; n -&#945; = &#8486;(log n). Moreover, the density drops by at least half at x &gt; 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E.2 Proof of Theorem 5.3</head><p>We begin by proving (i). By Theorem 4.1, we have</p><p>, with probability at least most 1 -O(exp -c nR * r ). In the worst case, the modal interval estimator returns the point which is furthest from the origin, which has expected value bounded as</p><p>Using the assumption that &#963; n r exp(CnR * r ), for some constant C &gt; 0, we then have</p><p>, where in the last inequality, we use the facts that exp</p><p>and nR * r = &#8486; (d log n), and choose C &lt; c . Turning to (ii), we first prove the following concentration result, which may be viewed as a refinement of Lemma 2.2 that is suitable for our settings. For example, note that if R * J = O </p><p>3 , then for any K 8, we have</p><p>Proof. For a given f &#8712; J , the desired bound follows from Chernoff's inequality. We want to upper bound the probability that any one interval in J has too many points. In general, the set J may be infinite, so a direct union bound is not feasible. We thus create a new finite set of intervals F , not necessarily a subset of J , satisfying the following properties:</p><p>1. For each f &#8712; F , we have</p><p>It follows that if any interval in J contains at least k points, then at least one interval in F contains at least k 2 points. We construct</p><p>(Such an x 1 exists because P is assumed to have a density.) Then iteratively, for each i 1, define x i such that R(1</p><p>For the final interval, add 1 [x i-1 ,&#8734;) to F and terminate the construction. Note that for each f &#8712; F , we have R(f ) = J under the assumptions. We are now ready to apply the union bound on F using Lemma H.1(ii):</p><p>For an s 0, let J s = {f x,r : x 2 s}, i.e., the set of intervals which incur large error. By assumption, the support of at least CnR * r points is contained in [-r, r], implying that R n (f 0,r ) CR * r , a.s. If &#181; M,r 2 s, then sup f &#8712;J s R n (f ) CR * r . However as s increases, the quantity R * J s := sup f &#8712;J s R(f ) = R(f s,r ) decreases. We can then use Lemma E.1 to control this probability of error.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>For s</head><p>where we have applied Lemma E.1 in the second inequality. Thus,</p><p>where the third inequality uses the fact that R * J s = R(f s,r ) r s and the last equality follows from an appropriately small choice of C.</p><p>By a straightforward calculation, we have</p><p>2&#963; </p><p>Hence,</p><p>using the fact that</p><p>since y, z &gt; 0. We now write</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Now, we may calculate</head><p>. Under the assumption (E3), we get that B y = O(1/n).</p><p>For ease of calculation, we now set</p><p>we have</p><p>In particular, using the fact that exp(-x) 1x for x 0, we have</p><p>We can use the simple fact that B z 0 to ensure that B y -</p><p>Combining the inequalities, we conclude that</p><p>Finally, we compute</p><p>using the fact that &#963; 2 &#963; 1 . Thus, using the assumption (E.3), we obtain</p><p>Finally, we take &#181; = &#963; 1 &#8730; n to obtain the desired bound (E.2). This completes the proof. In what follows, we will bound these expressions to obtain the desired results.</p><p>As shown in the proof of Lemma 2.1(v), a ball of radius C&#963; 2 &#8730; d around the origin will contain at least 1  2 of the mass of np distributions. Thus, if np 2k 2 , we will have r k 2 C&#963; 2 &#8730; d. We now claim that r 2k 1 ,1 C&#963; 1 log n &#8730; n := r , which we will show by integrating the marginal densities on the interval [-r , r ]. Note that &#957; i &#963; 1 for all i. consider two cases: if &#957; i r , then q i (r ) c &#957; i c &#963; 1 , using inequality (5.5), so [-r ,r ] q i (x) dx For large enough C , we can ensure that c 1 1. Altogether, we conclude that</p><p>which concludes the proof.</p><p>E.5 Details for Table <ref type="table">2</ref> 1. Large heterogeneity</p><p>&#8226; Upper bound: we have &#963; 1 &#963; 2 = &#8486;(n 1/d ). Since &#963; 2 = 1, Theorem 5.5(b) states that the error of the hybrid estimator is bounded as follows:</p><p>&#8226; Lower bound: as remarked after Theorem 5.5, the lower bounds for the class P(&#963; 1 , &#963; 2 , p) also hold for the class Q(&#963; 1 , &#963; 2 , p) because these families share the class of distributions used in the proof of Theorem 5.4. Using Theorem 5.4(a), the error of any estimator &#181; is bounded from below as follows:</p><p>where we use the fact that &#963; 1 &#8730; p = &#8486;(1) by assumption.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Mild heterogeneity</head><p>&#8226; Upper bound: since &#963; 2 = 1, inequality (5.7) in Theorem 5.5 states that the error of the hybrid estimator is bounded as follows:</p><p>&#8226; Lower bound: using Theorem 5.4(a), the error of any estimator &#181; is bounded from below as follows:</p><p>where we use the fact that &#963; 1 = O(1/ &#8730; p) by assumption.</p><p>For the second statement, it suffices to verify the inequality sup Thus, it remains to verify inequality (F.1). Focusing on a particular i, consider x &#8712; R d such that x 2 = a. We know that R i (f x,r ) is decreasing on the ray from 0 to x. Furthermore, we can a 2r balls of radius r on the ray, including the balls B(x * i , r) and B(x, r) at the endpoints. The total mass of these balls is clearly upper bounded by 1. Hence, a 2r</p><p>&#8226; R i (f x,r ) 1, implying the desired result.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F.3 Proof of Proposition 7.4</head><p>Let X have an elliptically symmetric density defined as p X (x) = f (x T &#931; -1 x) for a decreasing function f : R &#8594; R. Consider a point x 0 &#8712; R d such that x 0 2 = r 2 , and consider the ball B(x 0 , r 1 ) = {x &#8712; R d : xx 0 r 1 }. For analysis purposes, we first transform the elliptically symmetric density to a spherically symmetric, decreasing density. This may be achieved by applying the linear transformation &#931; -1/2 : R d &#8594; R d . Define Y := &#931; -1/2 X, let &#931; -1/2 x 0 = y 0 , and let B be the image of B(x 0 , r 1 ) under the transformation &#931; -1/2 . Note that B = y &#8712; R d : (yy 0 ) T &#931;(yy 0 ) r 1 , and further note that R(f x 0 ,r 1 ) is equal to the integral of p Y (&#8226;) over B; i.e., P(Y &#8712; B). It is easy to see that B &#8838; B y 0 , r 1 &#955; min (&#931;) . Hence, R(f x 0 ,r 1 ) = P(Y &#8712; B) P(Y &#8712; B y 0 , r 1 &#955; min (&#931;) .</p><p>We may now use the strategy from Lemma  </p><p>2n . Thus,</p><p>using the assumed lower bound on s.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G. Proofs for regression</head><p>In this appendix, we provide the proofs of the statements in Section 8. Note that conditioned on x i , each summand is maximized uniquely when x T i (&#946; *&#946;) = 0, since the distribution of i is symmetric and unimodal. Since we see that the right-hand expression in equation (G.1) is therefore maximized when &#946; = &#946; * . On the other hand, we can also argue that the maximizer is unique. Indeed, suppose &#946; &#8712; R were such that &#946; = &#946; * . The set S := {x i } n i=1 &#8838; (R d ) n : x T i (&#946;&#946;) = 0 &#8704;i has Lebesgue measure 0. We can write</p><p>Noting that</p><p>completes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G.2 Proof of Theorem 8.2</head><p>The proof follows the same approach used to prove estimation error bounds for the modal interval estimator throughout the paper (e.g., Theorem 3.1). By Lemma 8.1, we know that R &#946; R &#946; * 2 , w.h.p. We will be done if we can show that R &#946; &lt; Hence, as argued for mean estimation, we certainly have r C &#963; (Cd log n) . Also note that for any &#946; &#8712; R d , we have</p><p>Let J denote the set of indices of the smallest d log n of the &#963; i s. Note that</p><p>since the Gaussian pdf decreases by a factor of &#8776; 68% within one standard deviation of 0. </p><p>since by the choice of &#946;, we have</p><p>Thus, we conclude that</p><p>as wanted. This concludes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G.3 Proof of Theorem 8.3</head><p>For i &#8712; [n], consider the sets</p><p>The set U i is sandwiched between the two hyperplanes x T i &#946; = y ir and x T i &#946; = y i + r. Denote these hyperplanes by H -(U i ) and H + (U i ), respectively. These 2n hyperplanes partition R d into a finite number of (possibly unbounded) convex regions, which we denote by {R 1 , . . . , R M }. Define the function f (&#946;) := n i=1 1 U i (&#946;). Our goal is to find &#946; = argmax &#946;&#8712;R d f (&#946;), where 1 U i is the indicator function of U i . It is easy to see that f (&#8226;) is constant when restricted to the interior of any fixed region R j for j &#8712; [M]. Also, since 1 U i is an upper-semicontinuous function for each i &#8712; [n], so is f . Thus, the value of f (&#8226;) at the vertices R j is at least as large as the value of f in its interior. Thus, to find the maximum of f (&#8226;), we may only consider &#946; &#8712; R d that correspond to vertices of R j for j &#8712; [M]. All such vertices may be obtained by choosing any d (mutually non-parallel) hyperplanes from among {H -(U 1 ), . . . , H -(U n ), H + (U 1 ), . . . , H + (U M )} and considering their point of intersection. The total number of such points is bounded above by 2n d , and our algorithm may simply list such points and evaluate f at each point in the list. &#948; n 2 -j H(&#963; 2 -j-1 , T ).</p><p>Taking the expectation with respect to X 1 , . . . , X n and combining with inequality (H.1) we then obtain</p><p>From this step onward, the proof is identical to the proof of Boucheron et al. <ref type="bibr">[6,</ref><ref type="bibr">Theorem 13.7]</ref>.</p><p>Theorem H.2 (Vershynin <ref type="bibr">[45,</ref><ref type="bibr">Theorem 8.3.23]</ref>) Let F be a class of Boolean functions on a probability space (&#8486;, &#931;, &#181;) with finite VC dimension V 1. Let X, X 1 , X 2 , . . . , X n be independent random points in &#8486; distributed according to the law &#181;. Then</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>We also mention follow-up papers by Liang and Yuan<ref type="bibr">[30]</ref> and Devroye et al.<ref type="bibr">[11]</ref>, which appeared after the initial posting of our conference paper. Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="22" xml:id="foot_1"><p><ref type="bibr">August 2021</ref> </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_2"><p>Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on 22 August 2021</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_3"><p>Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on 22 August 2021 ESTIMATING LOCATION PARAMETERS</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_4"><p>. In particular, for an &#945; &gt; 0, we can still choose q n arbitrarily large; we will take q n = &#8486;(n). Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on 22 August 2021</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_5"><p>. Finally, note that due to the unimodality of p i at 0, we clearly have Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on 22 August 2021 ESTIMATING LOCATION PARAMETERS</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_6"><p>Note that the definition of Z in Theorem H.1 has a factor of 1/ &#8730; n as opposed to the factor of 1/n here. Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on 22 August 2021</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_7"><p>2 2&#963; 2 2 dx = p , Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on 22 August 2021</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_8"><p>Note that both Z and Z -are non-negative since &#966; &#8712; A . Downloaded from https://academic.oup.com/imaiai/advance-article/doi/10.1093/imaiai/iaab013/6291512 by University of Cambridge user on 22 August 2021</p></note>
		</body>
		</text>
</TEI>
