Near-optimal mean estimators with respect to general norms
Gábor Lugosi, Shahar Mendelson
Introduction
Formally, the problem studied in this note is as follows:
Given a norm , a confidence parameter and an i.i.d. sample of cardinality , find an estimator and the best possible accuracy for which Various versions of this question have been studied extensively in recent years, but it was far from resolved. In fact, even the correct order of the best accuracy was not clear, except in special situations. While there are some results for specific choices of norms, the only estimate that is known to be optimal was obtained in Lugosi and Mendelson for the Euclidean norm, see also Joly, Lugosi, and Oliveira and Catoni and Giulini . In addition, there are also several partial results (see Minsker , Catoni and Giulini ) for other special norms (mainly in the context of the matrix operator norm) and which are suboptimal, as we will see below.
We start by discussing what kind of accuracy one should be aiming for. To this end, first consider the case when is a real-valued random variable with finite mean and variance . Since the real-valued case is well-understood, it will eventually lead us to the possible identity of in the vector-valued scenario.
The first observation (see, e.g., Catoni ) is that if is a Gaussian random variable then the best mean estimate that one can hope for is such that, with probability ,
Here is an absolute constant. (In this article we focus on optimal orders of magnitude and ignore the–important–problem of optimizing constants.) If is indeed Gaussian, then the choice of is simple: the empirical mean
has the desired accuracy at all confidence levels .
Unfortunately, this is as far as the empirical mean takes us. As soon as one leaves the sub-Gaussian realm, the empirical mean becomes a poor choice and its performance deteriorates for ‘heavy-tailed’ distributions of . In fact, for all there are distributions in which the estimate that follows from Chebyshev’s inequality, that
is sharp. In other words, while the expected value
is of the right order of magnitude (), the empirical mean exhibits rather poor concentration around .
Thus, the empirical mean has a performance comparable to the Gaussian case only in two situations:
Perhaps surprisingly, the error one incurs in these two special and restrictive situations can be attained in full generality (though obviously the estimator one uses is not the empirical mean). One estimator that attains a “sub-Gaussian” performance (i.e., an accuracy bounded by for an absolute constant ) for any with finite mean and variance is the median-of-means estimator. To compute this estimator, first the sample is split into blocks , each one of the same cardinality (here we assume without loss of generality that divides ). For each block , let
and put to be a median of . Setting , it is straightforward to verify that this choice of satisfies (1.1). This estimator was introduced independently by Nemirovsky and Yudin ; Jerrum, Valiant, and Vazirani ; and Alon, Matias, and Szegedy . Another, quite different, sub-Gaussian estimator was constructed by Catoni .
Note that unlike the empirical mean, here the procedure changes with the desired confidence. This is indeed necessary. As it is shown by Devroye, Lerasle, Lugosi, and Oliveira , there is no single procedure that attains (1.1) for all confidence levels and for all distributions with finite second moment.
While the one-dimensional picture was well understood, in higher dimensions the situation was far less clear. Unfortunately, establishing the ’right’ notion of error in higher dimensions and with respect to a general norm can be difficult, as parameters that are totally different in the multi-dimensional setup may ‘collapse’ to the same object in dimension one. However, one may still learn a lesson from the real-valued case and conclude the following:
An estimator with accuracy of optimal order should depend on the prescribed confidence level and on the norm in question.
We put (1.3) in a form more convenient for us. To this end, set
where are independent, symmetric, -valued random variables that are also independent of . A standard symmetrization argument shows that
(Also observe that by the central limit theorem, tends, in distribution, to the centred Gaussian random vector that has the same covariance as ).
As for (1.4), if is -sub-Gaussian, then by a standard chaining argument combined with the majorizing measures theorem, one has that, with probability at least ,
Hence, if Question 1 has an affirmative answer, the resulting mean estimation error for the Euclidean norm would satisfy
and with probability . This coincides with the performance of the empirical mean if is Gaussian (see ).
As it happens, (1.7) was established in for an arbitrary random vector (that has a well-defined mean and covariance) using the notion of median-of-means tournaments.
In Section 4 we argue that (1.6) is not far from the best (uniform) estimate one can ever hope for. For now simply observe that the term is truly required. Indeed, let be a Gaussian random vector with mean . Observe that for any estimator and any ,
Our main result is an affirmative answer to Question 1, and the mean estimator that achieves the desired accuracy is defined as follows. The estimator depends on the desired confidence and also on an “accuracy parameter” . We show below that the procedure achieves accuracy whenever it is at least as large as the expression on the right-hand side on (1.6). For simplicity of presentation we assume that is an integer and that is divisible by . (Otherwise an obvious modification only effects the value of the unspecified constants so we do not lose any generality.)
Our main result is the following—formulated using the notation introduced previously.
There exist absolute constants such that the following holds. Given a norm , confidence parameter and sample size , if
There exist absolute constants such that the following holds. Given a norm, confidence parameter and sample size , if
then the estimator satisfies that, with probability at least ,
Theorem 1 is established using a general fact that is of independent interest: we construct an effective uniform median-of-means estimator in a class of real valued functions, as described in the next section.
The multivariate median-of-means estimators that behave well under heavy-tailed distributions have been the subject of intensive study. Minsker and Hsu and Sabato defined and analyzed multivariate extensions of the median-of-means estimator, see also Lerasle and Oliveira . The first truly sub-Gaussian estimator (under the Euclidean norm) was shown to exist by Lugosi and Mendelson . See Joly, Lugosi, and Oliveira for an earlier attempt and Catoni and Giulini for a different estimator.
Minsker and Catoni and Giulini consider estimating the mean of random matrices based on an i.i.d. sample under the spectral norm and the Hilbert-Schmidt norm. They both prove sub-Gaussian performance bounds but the bounds of these papers fall short, in various aspects, of the optimal order of magnitude achieved by the estimator of Theorem 1 above. As far as we know, estimators achieving the accuracy/tradeoff of Theorem 1 have only been known for the Euclidean norm.
Uniform median-of-means estimators
In this section we explore the next problem:
Recall that if one would like to ensure that the median-of-means estimator performs with an error of at most for a single function , then it suffices that
for some . Indeed, if (2.1) holds then with probability at least ,
for more than of the blocks , where is an absolute constant. However, a uniform result calls for a little more flexibility. Firstly, there is a need to have a larger number of ‘good’ blocks . It suffices that for any fixed function one controls of them. Clearly, that may be achieved if (2.1) holds for . With that in mind, let
From here on we write at times instead of . We set to be the unit ball in and let be the maximal cardinality of a subset of that is -separated with respect to the norm. We also denote .
Let us describe the performance of the uniform median-of-means estimator:
There exist absolute constants for which the following holds. Set and that satisfy the following:
;
Let . Then with probability at least , for any one has that
To put Theorem 2 in some perspective, note that captures the worst individual error caused by a function in . Moreover, as noted previously, the standard median-of-means estimator would perform with accuracy and confidence if
and by Chebyshev’s inequality, one may set
as one would expect from a sub-Gaussian estimate.
In contrast, the role of is to calibrate the impact of the ‘size’ of .
In particular, with probability at least .
The importance of the high-probability estimate is seen in the next step of the proof: one may control all the elements of an -net of (with respect to the norm) as long as its cardinality is at most . Indeed, by the union bound, with probability at least , for every in the net there are at least blocks such that
The final and crucial step in the proof is passing from the net to the entire class: for every set to be the best approximation to in the net. Thus, . We show that for every there are at most blocks such that
If that is indeed the case then for every there are at least blocks for which
To control , note that by the bounded differences inequality (see, e.g., ) there is an absolute constant such that
Hence, by standard methods of empirical processes, via an analogous argument to that in , one has
Note that if is a finite class and then performs with accuracy . The proof follows from the standard bound on the performance of the median-of-means estimator for each real random variable and a straightforward application of the union bound.
Estimation with respect to a general norm
In this section we establish Theorem 1 by invoking Theorem 2.
where denotes the set of extreme points in , and that the empirical average within block , for , is denoted by
Let be as in Theorem 2 for the class of functions and with the respect to the measure endowed by . Finally, let be the event for which the assertion of Theorem 2 holds.
and put to be any point that belongs to the set
for a majority of the indices , which means that for every .
because both conditions hold for more than half of the indices . Thus,
Finally, recalling that , one has that
To complete the proof of Theorem 1 let us bound and . To that end, recall that
is the centred Gaussian vector that has the same covariance as , and
We show that the three conditions of Theorem 2 can be controlled when and with respect to the measure endowed by .
To verify , fix and note that
where we have used the fact that . (Recall that we assume, without loss of generality, that is an integer that divides .) Thus, to ensure that it suffices that
In particular, this forces the constraint
where . Clearly, it suffices that
Note that the choices of and need not be optimal for each and as above. Indeed, was chosen via Sudakov’s inequality which is not always sharp, and was determined after the ‘localization’ was replaced by . Therefore, it stands to reason that there are cases in which the resulting estimate may be improved with more care. However, as we explain in the next section, Theorem 1 is likely to be the best uniform result that one can hope for.
Lower bounds
Here we show that the order of magnitude of the bound of Theorem 1 is essentially un-improvable even if one only considers isotropic Gaussian distributions, with one minor caveat. Recall that the proof of Theorem 1 uses Sudakov’s inequality to ensure that
and then the contribution to the error is . As noted previously, while it is convenient to use Sudakov’s inequality, its application may be loose. A more accurate upper estimate on the error is where is the smallest value for which (4.1) holds.
We show now that if is a Gaussian measure whose covariance is the identity matrix, then this more accurate upper estimate is actually a lower bound as well.
Proof. To define the set , observe that if then by the duality theorem of metric entropy , and since , it follows that . In other words, the set contains a subset that is -separated with respect to the norm and whose cardinality is . Set and . Clearly,
and let be the -separated set with respect to the norm .
Now, assume that there is a mean estimator that performs with confidence and accuracy for every one of the Gaussian random vector , , and let as reach a contradiction.
On the other hand, the sets are disjoint and thus
which is a contradiction to our choice of .