Learning without Concentration for General Loss Functions
Shahar Mendelson
Introduction
Next, one may choose a procedure that uses the data to produce a (random) function .
The effectiveness of may be measured in several ways, and the two we will focus on here lead to the prediction/estimation problem.
Given a procedure , find the ‘smallest’ functions and possible for which the following holds. If is a class of functions and is the unknown target, then with probability at least over samples ,
Alternatively, with probability at least ,
The functions and may depend on the structure of , the sample size , the probability , some ‘global’ properties of (e.g., its norm), etc.
measures the ‘predictive capabilities’ of , that is, whether is likely to be almost as effective as the best possible in the class - . measures the distance between and , with respect to the underlying metric.
The amount of literature centred around the theory of prediction and estimation is extensive and goes well beyond what can be reasonably surveyed here. We refer the reader to the manuscripts , , , , , and as possible starting points for information on the history of the problem as well as for more recent progress.
The procedure we will focus on here is empirical risk minimization (ERM), in which is selected to be a function in that minimizes the empirical risk
where here, and throughout the article, denotes the empirical mean associated with the random sample.
Unfortunately, some of the assumptions that are commonly used in literature are highly restrictive, though seemingly benign. And, among the more harmful assumptions are that the loss is a Lipschitz function and that functions in and are uniformly bounded.
The origin of these assumptions is technical: they are an outcome of the ‘classical’ method of analysis used to tackle Problem 1.2. The method itself is based on tools from Empirical Processes Theory, most notably, on contraction and concentration arguments that are simply false without imposing the right assumptions on the class, the target and the loss. However, the assumptions leave a large number of natural problems out of reach.
We will present an example of the ‘classical’ method in Appendix A in some detail, but for the time being, let us present an outline of its main ideas and shortcomings.
To that end, consider the excess loss functional associated with ,
Naturally, concentration results come at a cost, and estimates such as
require strong assumptions on the random variables involved – for example, that functions in and are uniformly bounded (see the books for more details on concentration of measure phenomena).
The need for two-sided concentration estimates has been the driving force behind the assumption that functions in and are uniformly bounded. And, although one can relax the uniform boundedness assumption (see, e.g., ) and still obtain (1.1), a necessary condition for two-sided inequalities like (1.1) is that class members exhibit rapidly decaying tails (e.g. a subgaussian behaviour), still forcing one to impose strong tail assumptions.
Finally, and possibly the most costly step in the classical method is contraction, in which one combines the fact that class members and the target are uniformly bounded functions and that the loss is Lipschitz on the ranges of the functions . This combination allows one to bound the empirical process indexed by the excess loss class using an empirical process indexed by functions of the form (see Appendix A for more details).
One result that is based on the classical method and that uses the full strength of the two assumptions – that class members and the target are uniformly bounded and that the loss is Lipschitz, is Theorem 1.3 below, proved originally in . It will serve as a preliminary benchmark for our discussion.
Let be the ball of radius , centred in . Thus, . For every , let
where are independent, symmetric, -valued random variables that are independent of , and the expectation is taken with respect to both and . Finally, set
A version of (1.5) will be presented in Appendix A.
is not bounded (because of the gaussian noise).
An additional downside of Theorem 1.3 is that even in situations that do fall within its scope, resulting bounds are often less than satisfactory.
One example (out of many) indicating the suboptimal nature of Theorem 1.3 is the persistence problem, which will be presented in Appendix B.
The suboptimal behaviour of Theorem 1.3 goes well beyond an isolated example. It is endemic and is caused by the nature of the complexity parameter used to govern the rates and .
Indeed, when considering likely sources of error in prediction or estimation, two generic reasons spring to mind:
is merely a sample and two functions in can agree on that sample, but still be very different. This leads to the notion of the version space: a random subset of , defined by
and measures the way in which a random sample can be used to distinguish between class members. Clearly, the diameter of the version space is an intrinsic property of the class and has nothing to do with the noiseWe will refer to as the noise of the problem. This name makes perfect sense when for a symmetric random variable that is independent of , and we will use it even when the target does not have that particular form. . Standard arguments show (see, e.g. ) that even in noiseless problems, when for some , it is impossible to construct a procedure whose error rates constantly outperform the diameter of the version space.
Measurements are noisy: one does not observe , but rather . Since results in certain specific cases, as well as common sense, indicate that the ‘closer’ is to , the better the behaviour of and should be, and should depend, in one way or another, on the ‘noise level’ of the problem, as captured by a natural distance between the target and the class.
With this in mind, it is reasonable to conjecture that and should exhibit two regimes, captured by two different complexity parameters. Firstly, a ‘low noise’ regime, in which the ‘noise’ is sufficiently close to zero in the right sense, and the behaviour of ERM is similar to its behaviour in the noise-free problem – essentially the diameter of the version space. Secondly, a ‘high noise’ regime, in which mistakes occur because of the way the loss affects the interaction between class members and the noise.
Theorem 1.3 yields only one regime that is governed by a single complexity parameter. This parameter does not depend on the noise , except via a trivial bound, and depends solely on the correlation of the set (the so-called random coordinate projection of ) with a generic random noise model, represented by a random point in that may have nothing to do with the actual noise.
The main goal of this article is to address Problem 1.2 by showing that and indeed have two regimes. Each one of those regimes is captured by a different parameter: firstly, an ‘intrinsic parameter’ that depends only on the class and not on the target or on the loss, and which governs low-noise problems, in which is sufficiently close to ; secondly, an external parameter that captures the interaction of the class with the noise and with the loss, and dominates in high-noise situations, when is far from .
Moreover, a solution to Problem 1.2 has to hold without the restrictive assumptions of Theorem 1.3, namely:
The class need not be bounded in , but rather satisfies weaker tail conditions.
The target need not be bounded (in fact, suffices in most cases).
The two noise regimes and the fact that they are captured by an intrinsic parameter in low-noise situations, and an external parameter in high noise cases was first observed in for the problem of subgaussian learning relative to the squared loss. We will sketch that argument here, as it will serve as a more useful benchmark than Theorem 1.3 in what follows. Also, for the sake of brevity, we will only study the estimation problem, as the prediction problem requires an additional argument (see the presentation in for more details).
By the Giné-Zinn symmetrization theorem , the latter is essentially equivalent to the symmetrized multiplier process
Assume that on an event with high probability, one has:
If then
If then
(which is equivalent to a similar inequality for the symmetrized process in (1.8)).
Hence, on that event, if then and is not an empirical minimizer. Therefore,
This decomposition is at the heart of the argument used in , under the assumption that is a convex, -subgaussian class of functions:
and if .
A class of functions is -subgaussian if for every , .
To formulate the result from and, in particular, identify in the subgaussian case the parameters , and the high probability event, one requires several additional definitions.
It turns out that one may identify and using the gaussian parameters and defined below. For the sake of simplicity, we will assume that is centrally-symmetric (that is, if then ), though the modifications needed in the definition when it is not are minor – as the symmetry allows one to use a ball centred in rather than in .
Let be the unit ball in . For every , let
In both cases, if the set is empty, set (resp. ).
The key feature of the subgaussian setup is that the quadratic and multiplier processes exhibit a strong concentration phenomenon:
There exists absolute constants and , and a constant that depends only on for which the following holds.
Assume that is an -subgaussian class of functions and that . For any , with probability at least ,
The fixed point arises from the symmetrized multiplier process. Indeed, by the first part of Theorem 1.7, if is an -subgaussian class and , then with high probability,
Note that if is a convex, centrally symmetric class then
Thus, is chosen to ensure that with high probability,
In a similar way, the second part of Theorem 1.7 leads to the choice of .
Combining these observations, the following is a bound on the estimation problem for the squared loss in a subgaussian setup, and which achieves the minimax rates in rather general situations (see for more details).
For every there exist constants and that depend only on for which the following holds. Let be a convex, centrally symmetric, -subgaussian class of functions and assume that . Set and , and put and .
1. If then with probability at least , .
2. If then with probability at least , .
The multiplier process has a geometric interpretation: for every and (that need not be independent of the ’s), it measures the width (or correlation) of the set
relative to the weighted Bernoulli random vector . The width clearly increases with the length of the random vector, and so, with noise level of the problem, captured here by . Therefore, once enough noise is introduced to the problem, the impact of the multiplier process increases and becomes dominant.
Observe that there is a link between the two parameters and the structure of the excess loss. Not only are there two noise regimes, each captured by a different parameter, but also each regime originates from a different part of the excess loss functional: the intrinsic parameter from the quadratic part and the external parameter from the multiplier component. The transition between a low-noise problem and a high-noise one occurs based on the dominating component of the loss.
2 Towards a general theory - preliminary remarks
If one wishes, as we do, to extend the results from the subgaussian case outlined above to a more general scenario, one must overcome two main obstacles.
First, one has to modify the concentration-based argument used in Theorem 1.8, simply because versions of Theorem 1.7 are false in heavy-tailed situations; second, one must find a way of studying general loss functions, rather than the squared loss.
Bypassing concentration-based arguments is possible thanks to the small-ball condition.
A random variable satisfies a small-ball condition with constants and if
A class of functions defined on the probability space satisfies a small-ball condition with constants and if for every ,
This small-ball condition has been introduced in the context of estimation problems in , and is the most important feature of our presentation. Being a rather weak assumption that is almost universally satisfied (see for some examples), it serves as a replacement for concentration that comes almost free of charge.
As for more general loss functions, the need for a theory that can handle those extends beyond the obvious reason – that the square loss is not the only loss used in applications. A more subtle and interesting reason has to do with the existence of outliers.
The combination of the rapid growth of the squared loss with heavy-tailed sampling inevitably leads to outliers – sample points that are misleading (because of the heavy tails) and have a significant impact on ERM (because the loss grows quickly).
It is highly desirable to find a way of removing the ill-effects of outliers, and we will show that one possibility is choosing a loss that is calibrated to fit the noise level and the intrinsic structure of the underlying class.
If one wishes the loss to be convex, its growth from any point must be at least linear. Therefore, it seems natural to consider loss functions that are strongly convex in an interval around zero, thus mimicking the local behaviour of the squared loss; and, away from zero, exhibit a linear, or almost linear growth, hopefully limiting the negative effect of outliers.
Typical examples of such losses are the Huber loss with parameter , defined by
The general framework that will be developed here aims at going beyond the subgaussian theory and the squared loss:
We will extend the natural decomposition of the squared excess loss to more general losses, leading to a better understanding of the important features of the loss, and to the correct notions of ‘high-noise’ and ‘low-noise’ regimes.
We will develop suitable one-sided lower bounds that are based on a small-ball argument, replacing the restrictive concentration-based two-sided estimates.
We will explain how the choice of the loss may be used to address the outliers issue, with a particularly striking effect when the class is well behaved and the target is heavy tailed.
3 Some notation
Throughout the article, absolute constants are denoted by ; their value may change from line to line. We write if there is an absolute constant for which , and if for absolute constants and . or means that the constants depend on some parameter . , ,… etc, denote constants whose value remains fixed.
For , is the Orlicz space of all measurable functions, for which the norm, defined by
is finite. Some basic facts on Orlicz spaces may be found, for example, in .
A class of functions is star-shaped around if for every and every , . In other words, if then contains the entire interval connecting to .
It is straightforward to verify that if is convex and then is star-shaped around .
A class that is star-shaped around zero has some regularity. The star-shape property implies that if , then contains a ‘scaled-down’ version of . Indeed, if and since , it follows that . In particular, normalized ‘layers’ of a star-shaped class become richer the closer the layer is to zero.
Finally, if is a finite set, we denote by its cardinality.
4 The Organization of the article
The rest of the article is arranged as follows. In Section 2 we will present the new scheme for dealing with a general loss function. Then, in Section 3 and Section 4 we will define – the intrinsic complexity of the class, and use the small-ball condition to derive uniform lower bounds on the ‘quadratic component’ of a general loss function.
Next, in Section 5, we will identify the external parameter, , that captures the interaction of the class, the noise and the loss. This will be followed by proofs of the main results of this article – a solution of Problem 1.2 for a general loss, without any tail restrictions on the class, nor on the target, while satisfying the entire ‘wish-list’ outlined earlier.
Finally, in Section 6 we will show how the main results may be used for three loss functions (the squared loss, the logistic loss and the Huber loss). Moreover, we will show that a wise choice of the loss may be used to treat the issue of outliers in heavy-tailed scenarios.
As will be explained in Section 6, one of the outcomes of the general theory developed here is that (roughly and somewhat inaccurately put) by selecting a loss that grows linearly in the ray and that is strongly convex in the interval , one obtains the same error rates as if were a gaussian variable, independent of . In particular, this shows that the impact of outliers generated because of a heavy-tailed target can be negated using a well-calibrated loss that fits both the intrinsic complexity of the class (via ) and the level of the noise (via ).
The general scheme – beyond the squared loss
As explained earlier, the analysis of ERM is based on exclusion: showing that a large (random) part of the class cannot contain the empirical minimizer because the empirical risk is positive for functions that belong to it.
One may exclude by showing that the empirical mean of the quadratic term (2) is positive on , while the empirical mean of the multiplier component (1) cannot be very negative there.
Therefore, when applied to and a fixed , the quadratic component in the decomposition is
For every and , set
representing the multiplier component of the excess loss and the quadratic one, respectively.
A structural assumption that will be needed throughout this exposition is the following:
Assumption 2.1 is not really restrictive:
Under Assumption 2.1, given a sample and , there are mid-points that fall between and , for which
Assume that on a high-probability event , for every ,
for well chosen values and . Assume further that on a high probability event , for every with ,
If satisfies Assumption 2.1, then on the event , .
Hence, on the event , if then , and cannot be an empirical minimizer.
Therefore, to resolve the estimation problem it suffices to identify and for which the event is sufficiently large.
Assume that there is a constant for which, for every with , one has
In the following sections we will develop the necessary machinery leading to a uniform lower estimate on the quadratic term and to an upper estimate on the multiplier term . Combining the two, we will identify the values and , as well as the right choice of .
Preliminary estimates
Let be independent copies of a random variable and set to be a monotone non-increasing rearrangement of .
This section is devoted to the derivation of upper and lower estimates on various function of . All the bounds presented here are well-known and straightforward applications of either a concentration inequality for -valued random variables (selectors) with mean , or, alternatively, a rather crude binomial estimate.
for a suitable absolute constant . Hence, taking ,
with probability at least .
The binomial estimate is based on the fact that
Assume that one has information on for some and set . Applying Chebyshev’s inequality,
Hence, if it follows that one may take , which can be made arbitrarily close to by selecting that is large enough. This implies that with high probability, an arbitrary large proportion of are not very large.
There exists absolute constants and for which the following holds. Let . For every , with probability at least there exists a subset , , and for every ,
Proof. Fix as above and note that . Hence, by a binomial estimate,
Given a vector , the norm of , when considered as a function on the space endowed with the uniform probability measure, is
The weak- norm of the vector is
where .
The next observation is that sampling preserves the structure of , in the sense that if , then with high probability, .
Let . If , and , then
with probability at least .
In particular, with probability at least ,
Proof. Let , fix and set to be named later. The binomial estimate implies that
The second part of the claim follows by summing up the probabilities for , using that for and that is a geometric progression.
The upper estimates presented above are based on the fact that if and then can be made arbitrarily close to for a choice of that is independent of . Similar arguments are true if one simply assumes that , even without moment assumptions. Of course, under such an assumption one has no information whatsoever on the largest coordinates of , but rather, only on a certain proportion that is slightly smaller than of the coordinates.
Also, observe that with a probability estimate that improves exponentially in .
2 Lower estimates using a small-ball property
A similar line of reasoning to the one used above is true for lower estimates. Because the applications considered below require many of the ’s to be at least of the order of , that norm is used as a point of reference in the definition of the small-ball condition, that
for constants and .
Of course, the notion of ‘small-ball’ can be modified to fit other norms, as well as situations in which does not have any moments.
There exists an absolute constant for which the following holds. Assume that satisfies a small-ball condition with constants and and let be independent copies of . Then, with probability at least , there is a subset of of cardinality at least , and for every , .
Combining the upper estimate from Lemma 3.1 and lower one from Lemma 3.4 yields the following corollary:
There exist absolute constants and for which the following holds. Assume that and that it satisfies the small-ball condition for constants and . Then, with probability at least , there is , and for every ,
Corollary 3.5 allows one to control the behaviour of on a subset of of cardinality , and with exponentially high probability. Moreover, by modifying and , the cardinality of can be made arbitrarily close to .
Note that by the union bound, a version of Corollary 3.5 holds uniformly for a collection of random variables with probability at least – an observation that will be used extensively in what follows.
A uniform estimate on the quadratic process
The goal of this section is to study the structure of a typical coordinate projection of a class , , and show that with high probability, for every function in of sufficiently large norm, most of the coordinates of are of the order of . Such a result is an extension of the ‘lower part’ of Corollary 3.5 from a single function to a class of functions that is not very big in some sense. The class we will focus on later is .
Given a class of functions , a sample size and positive constants and set
where is, as always, the unit ball of .
When the class and sample size are obvious from the context, we will denote the fixed points by and respectively.
By a straightforward application of the Central Limit Theorem, one may show that if consists of mean-zero functions then
therefore, is larger than , at least asymptotically.
For a fixed , comparing the two parameters is more difficult. In one direction, one has the following lower bound:
Let be a class of functions and assume that for every , . Then
where the supremum is taken with respect to all subsets of of cardinality .
On the other hand, a standard chaining argument combined with the Majorizing Measures Theorem shows that if is an -subgaussian class then
(see, e.g. and the manuscript as a general reference for chaining methods).
Thus, the two complexity terms are not that far apart when is an -subgaussian class.
If is star-shaped around , it is straightforward to show that when , one has
A similar observation is true for .
The following is the main technical tool needed for the study of the quadratic component.
There exist absolute constants and for which the following holds. Let be a class of functions that is star-shaped around and that satisfies a small-ball condition with constants and . If , and , there is and an event of probability at least , with the following properties:
1. for .
2. On the event , for every there is a subset , and for every ,
3. On the event , for every there is some and a subset , consisting of at least of the coordinates of (and in particular, ), and for every ,
The idea of the proof is to find an appropriate net in (the set ), and show that each point in the net has many ‘well-behaved’ coordinates in the sense of (2). Also, if denotes the best approximation of in with respect to the norm, then
is not very big, showing that cannot have too many large coordinates. Since , the first term is dominant on a proportional number of coordinates, leading to (3).
Proof. Recall that by Corollary 3.5, if satisfies the small-ball condition with constants and then with probability at least , there is , and for every ,
Fix and to be named later, let and set to be a maximal -separated set whose cardinality is at most , for . Therefore, by Corollary 3.5 and the union bound, it follows that with probability at least for every there is a subset as above, i.e., and for every ,
By Sudakov’s inequality (see, e.g. ) and since ,
for .
Let and note that pointwise, for every , .
Applying the Giné-Zinn symmetrization theorem and recalling that , one has
provided that and .
Let . By the bounded differences inequality (see, for example, ), with probability at least ,
Thus, for , with probability at least , , implying that for every ,
Recall that and that . Let
and thus . Moreover, for every ,
which also shows that .
The upper estimate follows from a similar argument, using that .
Observe that by the star-shape property of , if , then
Therefore, certain features of are automatically transferred to , and in particular, a version of Theorem 4.3 holds uniformly for every level that is ‘larger’ than . Indeed, assume that one has chosen in Theorem 4.3 and fix . By applying Theorem 4.3 to it follows that on the event there is a subset of of cardinality at least on which
Next, let be a convex set, fix and put . Since is clearly star-shaped around and one has:
If is a convex class of functions, satisfies the small-ball condition with constants and , and , then with probability at least , the following holds. For every that satisfy , there is a subset of cardinality at least and for every ,
Theorem 4.6 generalizes a similar result from for the squared loss.
Turning to the more difficult problem of a loss that need not be strongly convex, we begin with the case of independent noise.
Assume that , for a fixed but unknown and a symmetric random variable that is independent of and for which
Clearly, (4.5) is a rather minimal assumption, as a small-ball condition for a single function and at one level holds when the function is absolutely continuous, by selecting the right value .
There exist absolute constants and for which the following holds. Let and be as above. With probability at least , for every that satisfies one has
The proof of Theorem 4.7 is based on several observations leading to accurate information on the ‘location’ of the midpoints in the lower bound on . For every , the corresponding mid-point belongs to interval whose end-points are and . If is the set of coordinates on which is of the order of , and since and are independent and is symmetric, then on roughly half of these coordinates the signs of coincide with the signs of . Thus,
Moreover, by excluding a further, sufficiently small proportion of the coordinates in it follows that , as long as is not highly concentrated around zero – which is the reason for (4.5).
The difficulty is in making this argument uniform, in the sense that it should hold for every , rather than for a specific choice of . The first step towards a uniform result is the following lemma.
Let and set of cardinality at most . For every put and assume that . If are independent, symmetric -valued random variables then with probability at least ,
Fix as in Theorem 4.3 for the class and let be the event on which its assertion holds. Using the notation of that theorem, consider and the set . For every and a sample , let and set
By Theorem 4.3, and on ,
Conditioned on , with probability at least with respect to the uniform measure on , the following holds. For every with , there is subset of cardinality at least , and for every ,
Proof. Fix with and let be as in Theorem 4.3. Recall that there is a subset consisting of at least of the coordinates of , on which
Applying Lemma 4.8 to the set for , and noting that for every , , it follows that with probability at least (relative to the uniform measure on ), for every , on at least of the coordinate of .
Since the set contains at least of the coordinates of and on at least a of the coordinates of it follows that on the coordinates that belong to the intersection of these two sets (at least of the coordinates in ), both conditions hold, as asserted.
Finally, the claim is positive homogeneous and because is star-shaped around , it holds on the same event when .
There exist absolute constants and for which the following holds. Let and be as above. With probability at least with respect to the product measure , for every with there is a subset of cardinality at least , and for every ,
1. ,
2. , and
3. .
Proof. Since is symmetric, it has the same distribution as , for a symmetric -valued random variable that is independent of and of .
If , a direct application of Lemma 4.9 shows that with probability at least , if , there is a subset of cardinality at least , and for every ,
The final component is that for many of the coordinates in , . Indeed, by excluding the largest and smallest coordinates of , one obtains a subset of cardinality at least , and for every ,
where is the non-increasing rearrangement of .
Observe that by Lemma 3.1 applied to , with probability at least ,
And, since , a simple application of a binomial estimate shows that with probability at least , there are at most ’s that satisfy . Therefore, on that event,
Moreover, if , and share the same sign, and without loss of generality one may assume that both are positive. Thus, the mid-point belongs to the interval whose end-points are and , implying that
Next, consider the general noise model, in which need not be independent of , nor does it necessarily satisfy a small-ball condition.
Observe that the only place in the proof above in which the assumption that and are independent has been used, was to find a large subset of on which and share the same sign. Also, the small-ball assumption on the noise is only used to show that many of the ’s are sufficiently large – of the order of . Both components are not needed if one wishes to show that for a proportional number of coordinates, .
Indeed, it is straightforward to verify that with high probability, if , there is a subset of of cardinality at least on which
There exist absolute constants and for which the following holds. Let be as above, set and put . Then, with probability at least , for every with ,
for .
Consider, for example, the Huber loss with parameter . If then , but as stated, for a smaller value of , – leading to a useless estimate on the quadratic component.
It turns out that one may improve Theorem 4.11 dramatically by ruling-out functions in for which is significantly larger than as potential empirical minimizers, implying that can be taken to be . We will present this preliminary exclusion argument in Section 5.2.
Error estimates and oracle inequalities
Let us define a complexity term that may be used to control the multiplier process, and which is similar to the one used in .
If is a convex class of functions and , then with probability at least , for every satisfying , one has
because .
Using, once again, that is star-shaped around , if then . Thus,
its conditional expectation – the so-called Rademacher average
and its expectation with respect to both . Those represent the width or average width relative to a generic noise model, given by for the coordinate projection
It is straightforward to verify that when consists of heavy-tailed random variables or if is a heavy-tailed random variable then the random sets
Combining the bounds on the quadratic and multiplier terms with Theorem 2.2 and Theorem 2.3, one has the following:
For every and there exist constants , , and that depend only on and , and an absolute constant for which the following holds. Let be a convex class of functions and assume that satisfies the small-ball condition with constants and . Set , , and . Put . Then,
With probability at least ,
Proof. By Theorem 4.11, there is an absolute constant and an event of probability at least , on which, if then
And, by Lemma 5.2, on an event of probability at least , if , then
Using the notation of Theorem 2.2 and of Theorem 2.3, the first event is and the second in , and the claim follow.
Theorem 5.4 is close to the estimates one would like to establish, with one significant step still missing: is not of the order of but can be much larger. This is of little significance in the strongly convex case, though for a more general loss it requires an additional argument, which is presented in the next section.
2 Proofs of the main results
Let us begin by showing that one may improve the choice of to the potentially much better . To that end, we will show that with high probability, the empirical minimizer does not belong to the set
Therefore, the study of ERM may be reduced to the set , and in which case, Theorem 5.4 may be used directly, as the diameter of the class in question is .
Using Theorem 4.11, there are absolute constants , and for which, with probability at least , if , then
where .
Let for and assume further that
On an event of probability at least ,
The proof of Theorem 5.5 is based on several observations.
Note that if and , there is some and for which and . Indeed, set and put ; by convexity, . Hence, for every ,
On the event on which (5.3) holds, if and then
When (5.5) is applied to (5.2), it follows that pointwise,
and by the lower bound on the claim follows.
Proof of Theorem 5.5. Recall that ; hence, with probability at least , if then
Since is linear in , it follows that for every ,
Combining this with the lower bound on shows that with probability at least , if and then
Thus, by (5.2), on that event the empirical minimizer belongs to the set
Now we are finally ready to formulate and prove the main results of the article.
For every and there exist constants , , and that depend only on and , and an absolute constant for which the following holds.
Let be a convex class of functions and assume that satisfies the small-ball condition with constants and . Set and , and . Put .
If , then with probability at least ,
.
If is independent of and satisfies a small-ball condition with constants and , one may take for a constant , and the two assertions described above hold as well.
Proof. By the preliminary exclusion argument of Theorem 5.5, with probability at least , . If then Theorem 5.5 suffices to prove the claim. Otherwise, the claim follows by Theorem 5.4, applied to the class .
For every and there exist constants , , and that depend only on and , and an absolute constant for which the following holds.
Assume further that is a convex class of functions and that satisfies the small-ball condition with constants and . Set , and .
If , then with probability at least ,
.
The proof of Theorem 5.8 is almost identical to that of Theorem 5.7, with one difference: instead of considering the preliminary exclusion argument of Theorem 5.5 at the level , one performs preliminary exclusion at the level , and with an identical proof. The rest of the argument remains unchanged and we shall omit its details.
At this point, let us return to the rather detailed ‘wish list’ that has been outlined in the introduction regarding the parameters governing prediction and estimation problems and see where we stand.
As for the complexity parameters involved, is indeed an intrinsic parameter of the class and has nothing to do with the choice of the loss or with the target. It does measure (with the very high probability of ), the diameter of the version space of associated with , and thus corresponds to the solution of the noise-free problem.
The noise and loss influence the problem in two places. In the quadratic component, the loss is calibrated to fit the noise level if it is strongly convex in the interval , or, when the noise is independent, it suffices that the loss is strongly convex in the smaller interval . The strict convexity constant in the interval also fixes the level appearing in the multiplier component.
The main impact of the loss and the noise is seen in the multiplier component, and thus in the external complexity parameter .
The one remaining issue still left open is that a wise choice of the loss may be used to negate the effects of outliers. This will be explored in the next section.
Loss functions and the removal of outliers
Having filled the list of properties one would like to see in a general prediction/estimation theory, it is interesting to note that as a byproduct, one is given a way of addressing the problem of outliers through the choice of the loss.
Damaging outliers appear when sample points are far from where one would like them to be, and the loss assigns a large value to those points. This combination means that outliers actually have a true impact on the empirical mean and therefore on the identity of the empirical minimizer.
The reason why outliers are of little concern in problems that feature a strong concentration phenomenon is obvious: no matter what the loss is (as long as it does not grow incredibly quickly) only an insignificant fraction of the sample points fall outside the ‘right area’, and thus their effect is negligible.
The situation is different when either the class consists of heavy-tailed functions or when the noise is heavy tailed. In such cases, a more significant fraction of a typical sample falls in a potentially misleading location. If the effect is amplified by a fast-growing loss, outliers become a problem that has to be contended with. This problem may be resolved only by ensuring that the impact of the loss is not overwhelming outside the ‘expected area’ of , which already hints towards the ‘right choice’ of a loss.
To better explain this observation, we will focus on the three losses mentioned earlier: the squared loss, the logistic loss and the Huber loss.
The squared loss is the canonical example of a strongly convex loss with a bounded second derivative; thus it fits both the estimation and the prediction schemes. However, it is susceptible to the problem of outliers because it continues to grow rather rapidly.
The logistic loss exhibits a strongly convex behaviour in any bounded interval, but with a constant that decreases exponentially quickly to zero with the length of the interval, because its growth becomes close to linear for large values.
The Huber loss with parameter is strongly convex in and grows linearly outside that interval.
We will show that all three losses exhibit the two regimes, but are affected in a different way by outliers.
We will first present estimates using the parameters and and then bound them for an arbitrary convex, -subgaussian class and a heavy-tailed targetIt should be noted that assuming that is an -subgaussian class is far from the only situation in which and may be controlled. However, obtaining the necessary bounds on empirical and multiplier processes using the ‘global’ structure of the indexing class is a nontrivial problem. To keep the length of this article within reason, results in that direction will be deferred to future work..
Let be a closed, convex class of functions and assume that satisfies a small-ball condition with constants and . And, as always, the target one wishes to estimate is for some . For the sake of simplicity, we will assume at times that , though this is not really needed in all the examples presented below.
The following is an upper estimate on multiplier and empirical processes indexed by a class that is -subgaussian – which is essentially sharp. It improves a similar result from and its proof may be found in .
There exists an absolute constant and for every there are constants and that depend only on and for which the following holds.
If then with probability at least ,
If then with probability at least ,
2 The squared loss
for constants , and that depend only on and .
When is, in addition, an -subgaussian class, one may identify the parameters and . Recall that and as noted earlier, this suffices to ensure that the small-ball condition holds for , and and can be taken to be constants that depend only on .
and setting , it follows from Theorem 6.1 that
Since , one has that
provided that .
As for the second term, by Theorem 6.1 for , it follows that with probability at least ,
Fix . If one may take and if the reverse inequality is satisfied, one may set , leading to a probability estimate of . Therefore, if
then with probability at least ,
Thus, dominates as long as is not very small.
As a point of reference, consider the case in which the infimum in (6.1) is attained for a value for which . Therefore,
The difference between (6.2) and the analogous estimate in the purely subgaussian case (Theorem 1.8) is the factor , which causes a slower rate when the desired confidence level is high. Indeed, if , then leading to a larger value of than in the subgaussian case.
The different rate is caused by the outliers one encounters – it is the price for using the squared loss in a heavy-tailed scenario ( rather than ) leading to a polynomial dependence on rather than the logarithmic one exhibited in a purely subgaussian problem.
3 The logistic loss
removing any dependence on the multipliers. This is a costly step when is very small, but a necessary one if the aim is to obtain a logarithmic dependence on .
Therefore, if is as defined above,
and if , then with probability at least ,
leading to a far better result than for the squared loss when .
The improved rates occur when simply because the logistic loss is calibrated to perform well at that noise level – but this is no more than a coincidence. The logistic loss is not calibrated to the true noise level of the problem, and indeed the rates deteriorate when is either very large or very small.
4 The Huber loss
Let be as above for suitable constants and . For one has
for a constant . Without loss of generality, one may assume that is smaller than any fixed constant – which, will be the constant defined below.
Regarding the multiplier component, note that if then
provided that . A contraction argument shows that
Therefore, if is as defined above, one has
if and for a well chosen . Hence, the assumption of Theorem 5.8 is verified.
Otherwise, , and in which case, belongs to the set in (6.3) implying that
By Theorem 5.8, with probability at least ,
Thanks to the right choice of in the Huber loss, giving one the optimal interval of strong convexity relative to the class and the noise, one obtains a far better estimate than for the squared loss. In fact, coincides with the purely subgaussian estimate of Theorem 1.8, with one obvious improvement – replaces .
5 Examples
Next, let us present two concrete examples in which the rates can be computed explicitly, and which show how they are affected by the choice of the loss.
The squared loss. It is straightforward to verify that if , then with probability at least , . Also,
Using the definition of , it is evident that with probability at least ,
exhibiting once again that the rate has a polynomial dependence in .
The logistic loss. Let and therefore, . One has to take to ensure a nontrivial bound on , and in which case, . Therefore, and in a similar way to the squared loss, with probability at least
which is better than (6.4) in terms of the dependence on when is of the order of a constant and , but does not scale correctly with when the norm is either very small or very large. This was to be expected from the ‘calibration’ of the logistic loss, which only fits a constant noise level.
This is the optimal estimate for any choice of and coincides with the optimal rate for the squared loss when is gaussian and independent of (see, e.g. ).
The optimal rate is obtained by this choice of the Huber loss because it is calibrated to fit the noise level of the problem and the intrinsic complexity of the class.
Finally, we will sketch, omitting most of the details, the bounds for the squared loss and for the Huber loss in the persistence problem (see Appendix B for some details on the problem). Roughly put, the question is to bound and for the class of linear functionals indexed by .
A sharp lower bound on and relative to the squared loss for these classes (at least for – though the modifications required for a general are minimal) and when the noise is a gaussian variable that is independent of , may be found in . We will show here that if one uses a well calibrated Huber loss, one may obtain the optimal bounds - as if were gaussian and independent of , even when is actually a heavy-tailed random variable.
Since is equivalent to – the convex hull of the union of all Euclidean balls of radius that are supported on coordinates, it is standard to verify that
Recall that for , which is a constant that depends only on . Therefore,
As for the multiplier component, a straightforward yet tedious computation shows that for the squared loss , and
leading once again to a polynomial dependence on .
In contrast, a similar estimate for the Huber loss with parameter , shows that
Combining the estimates on and , one may show that for the Huber loss, the estimate of that holds with probability at least is actually the minimax rate for the persistence problem (see, e.g., ), when is a gaussian variable that is independent of .
References
Appendix A The Classical method
Here, we will present a simple proof of Theorem 1.3 that illustrates the main ideas of the classical method.
2. The class consists of functions that are bounded by in and so is the target .
3. The excess loss satisfies a Bernstein-type condition: there is a constant such that for every ,
Without loss of generality, we will assume that .
Out of these three assumptions, it is straightforward to relax (2), by assuming that the class has a well behaved envelope function that belongs to or to . Having said that, it should be noted that such an assumption does not really go beyond the bounded case. An envelope condition restricts the ‘peaky’ part of each function to a fixed area (exactly where the envelope is large), and so it may be controlled by studying a single function, rather than a class of functions. Thus, by applying a simple truncation argument, one reverts to the bounded case.
As noted in the introduction, (1) and (2) are restrictive and somewhat unrealistic assumptions.
Observe that by combining (1) and (3), it follows that for every ,
which is the standard Bernstein condition (see, e.g., ).
Recall that and that is the unit ball. Put
where the expectation is taken with respect to both and .
The fact that is convex comes in handy not only for the Bernstein condition, but also to show that is star-shaped around , which leads to the following:
and note that if and with then . Given and , assume that is attained in and that . Therefore,
The proof of the second part follows an identical path and is omitted.
The proof of Theorem 1.3 relies heavily on Talagrand’s concentration inequality for bounded empirical processes, a version of which, due to Bousquet (see also ), is formulated below.
There exist an absolute constant for which the following holds. Let be a class of functions and set and . For every , with probability at least ,
The classes we will be interested in are level sets of , scaled according to the excess risk: let and put
Applying the Giné-Zinn symmetrization theorem,
provided that . Since one may choose
for the symmetrization argument to be valid, and which is a ‘legal’ choice if as has been assumed.
Clearly, and . The contraction theorem for Bernoulli processes shows that for every fixed , one has
Applying Theorem A.2 to the class , one has that with probability at least ,
provided that and . Hence, by the union bound, with probability at least
Thus, for , one has
implying that with probability at least ,
Appendix B The persistence problem via Theorem 1.3
Given a target taken from a reasonable family of targets, consider the prediction and estimation problems in with and with respect to the squared loss.
The goal is to identify the largest ‘radius’ and dimension , as a function of the sample size , for which and still tend to zero as tends to infinity.
Note that the solution of the persistence problem depends on obtaining sharp estimates on and for each one of the classes as a function of the radius and of the dimension .
One hierarchy that has been studied extensively in the context of persistence, possibly because of its connections with sparse recovery problems, is
Let be the uniform measure on (i.e., for independent, symmetric -valued random variables). Fix and , let be a symmetric -valued random variable that is independent of and set Y=\bigl{<}t_{0},\cdot\bigr{>}+\sigma\varepsilon_{n+1}.
To see how this framework fits Theorem 1.3, observe that f^{*}(X)=\bigl{<}t_{0},X\bigr{>} and that
The outcome of Theorem 1.3 is that with probability at least ,
However, the optimal rate for this problem (see, for example and ) is given by the following. Let
Then with probability at least ,
The two estimate are a clear indication that Theorem 1.3 is not only restricted in its scope, it is also suboptimal within it, as it scales incorrectly with the ‘radius’ (which corresponds to the bound on class members) and with the noise level .