Empirical processes, complexities and Lipschitz functions

56 minute read

Published:

Introduction

Imagine that you are a ML engineer and you want to train a model to recognize images of cats (for instance). In this setting, you have some data at your disposition that consists of an image \(X\) and a label \(Y\) associated to the image; the label is equal to zero if the image is not a picture of a cat and is equal to one if the image is a picture of a cat. For instance, consider this very simple dataset containing 3 observations \(((X_1, Y_1), (X_2,Y_2), (X_3,Y_3))\).

A cat
(a) \(X_1\) is definitely a picture of a cat, hence \(Y_1 = 1\).
A cat in a peculiar situation
(b) \(X_2\) is also a picture of a cat in a peculiar situation, hence \(Y_2 = 1\).
A dog
(c) \(X_3\) is most definitely not the picture of a cat, hence \(Y_3 = 0\).
Figure 1. A simple potential dataset.

Naturally, one would want to use this readily available data to train the model to classify new images that it has never seen before. In practice, \(X_i\) is not really an image but is converted to a high dimensional vector that encodes exactly the same information. In this first blog post, I’d like to use this concrete example to discuss empirical processes and their importance in theoretical statistics and machine learning to obtain theoretical guarantees. Specifically, theoretical guarantees on the performance of a potential classification algorithm. This will be a nice buildup to then discuss concentration, complexities etc. The end goal being to talk about a really elegant and rich approach used in theoretical statistics to lower bound empirical processes, namely the small-ball method, introduced by Mendelson [1] and an application of this method to a research problem I am currently working on.

The aim of this post is to be as self contained as possible, particularly the first two sections. In consequence, we start by spending a little time presenting the key definitions of the objects we will need.

We first introduce empirical processes and motivate why they are very important (and interesting!) objects in theoretical statistics.

An introduction to empirical processes

Let \(\bcF\) be an arbitrary class of functions (i.e. simply a set that contains functions), to simplify, we may assume that the class \(\bcF\) is finite, convergence arguments being possible to use to extend the results to infinite classes under some assumptions. Assume that each function \(f\) takes an input from a measurable space \(\bcX\) and outputs values in \(\bdR\); let \(X_1, \dots, X_n\) be i.i.d. random variables that follow some common law \(P\). We assume that for any function \(f \in \bcF\), the expectation \(\bdE \br{f (X)}\) is well defined. In this case, we write

\[P_n f = \frac{1}{n} \sumn f(X_i), \quad Pf = \bdE \br{ f(X) }.\]

Note that \(P_n f\) is the empirical counterpart of \(Pf\). The centered empirical process \((P_n - P) f\) is then a random variable of the form,

\[\frac{1}{n} \sumn (f (X_i) - \bdE \br{ f(X_i )}),\]

i.e. for a fixed number \(n\) of samples, it takes as input a \(P\)-integrable function \(f\) and characterizes the deviation of the empirical mean from its expectation. Perhaps the most classical example of an empirical process is the empirical distribution function, \(F_n(x)\) defined for any \(x \in \bdR\) as

\[F_n(x) = \frac{1}{n} \sumn \ind{X_i \le x},\]

which is an unbiased estimator of the true cumulative distribution function (CDF) \(F\) of \(X\) (observe that it’s not centered in this case). In the case of the empirical (CDF), the class \(\bcF\) of functions is \(\set{t \mapsto \ind{ t \le x}, x \in \bdR}\).

Empirical processes are very interesting as they quantify deviations of quantities from their expectation as we mentioned. Indeed, if the variables \(f(X)\) have a finite second moment, the central limit theorem (CLT) applies and we know that

\[\sqrt n (P_n - P) f \ \cvdis \ \bcN(0, \sigma^2), \quad \sigma^2 = \Var(f(X)),\]

where \(\cvdis\) denotes the convergence in distribution. Hence, in this case, Slutsky’s theorem gives that \(P_n f\) converges in probability to \(Pf\) at the rate \(n^{-1/2}\), the issue however, is that this tells us nothing about the potential deviations at a finite sample size \(n\), as the CLT is of purely asymptotic nature. In consequence, controlling the deviations of an empirical process becomes very interesting in this finite sample size setting as this gives us real information about the behaviour of the empirical mean around the expectation. In particular, if we control the deviations of the supremum of the empirical process over the entire class of function (with an absolute value to control the deviations):

\[Z = \sup_{ f \in \bcF} \abs{ P_n f - Pf } = \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn f (X_i) - \bdE \br { f (X_i) } } \ \le \ r_*,\]

we know that for any function \(f \in \bcF\) we have \(\abs{P_n f - Pf} \ \le \ r_*\).

To futher exemplify why empirical processes are central in modern high dimensional statistics/theoretical machine learning, it is interesting to provide the very classical example of empirical risk minimisation in binary classification. Indeed, while this is a common example, it illustrates well the use of such processes in machine learning to obtain an estimate of the generalization properties of an empirical risk minimiser.

The toy model of empirical risk minimization in classification.

Let us define the setting first, assume that we observe \(n\) datapoints \(((X_1, Y_1), \dots, (X_n, Y_n))\) in \(\bcX \times \set{0,1}\) i.i.d. with common distribution \(P\). The goal is to use this data to predict the label \(y\) of a new unseen observation \(x\). In this setting, we want to use the data \(((X_1, Y_1), \dots, (X_n, Y_n))\) to output a function \(h\) such that its classification error

\[R(h) = \bdP_{(X,Y) \sim P} (h(X) \ne Y),\]

i.e. the probability that \(h\) is wrong when predicting \(Y\) from \(X\) is as small as possible. The objective emerges naturally, we want to find a function \(h : \bcX \to \set{0,1}\) that makes \(R(h)\) the smallest possible, i.e. find the function \(h\) that minimizes \(R\). An immediate question one can ask is then: what is the best that can be done theoretically?

The best that can be done theoretically is the case where one knows exactly the true underlying model and thus has access to an oracle (clearly this never happens in practice, this is a purely theoretical object). In this case, the orcale gives the exact value of \(\bdP_P( Y = 1 \mid X = x) = \eta(x)\) and it is straightforward to show that the map

\[h_\star \colon x \in \bcX \mapsto \ind{ \eta(x) \ \ge \ 1/2}\]

minimizes the classification error, in the sense that

\[R(h_\star) = \inf_{ h : \bcX \to \set{0,1} } R(h).\]

Thus, one may compare how good any candidate classifier \(h\) is by comparing its performance to the best possible theoretical performance by defining the excess risk \(\bcE\) by

\[\bcE(h) = R(h) - R(h_\star) \ \ge \ 0.\]

Indeed, if for some classifier \(h\), \(\bcE(h)\) is small, then \(R(h) \approx R(h_\star)\) and \(h\) is almost as good as the best possible classifier \(h_\star\), and in consequence, finding \(h\) whose classification error is as small as possible is the same as finding \(h\) whose excess risk \(\bcE(h)\) is as close as zero possible. Note however that \(\bcE\) is always greater or equal than zero due to \(h_\star\) being the true minimiser of the risk \(R\).

With these results at hand, the path to obtaining a classifier \(h\) that performs very well seems straightforward, without considering potential optimization difficulties, suppose we have at our disposal a finite class of potential candidate functions \(\bcH\). This class is often called the hypothesis class and may be constructed from domain knowledge, computational considerations, some combination of the two etc. The name hypothesis class comes from the fact that, implicitly, if we look for a good classifier \(h\) that belongs in \(\bcH\), then we assume that \(\bcH\) is a good description of the structure of the problem. Namely, that the functions in \(\bcH\) are good possible candidates for a classifier that works well.

Assuming we do have a hypothesis class at hand, a seemingly tempting approach is to simply try and minimise the excess risk \(\bcE\) over \(\bcH\) and pick the best candidate \(h \in \bcH\), i.e. the classifier in \(\bcH\) that minimizes the risk, that is

\[\bar{h} = \argmin_{ h \in \bcH } \bcE(h) = \argmin_{ h \in \bcH } R(h) - R(h_\star) = \argmin_{ h \in \bcH } R(h).\]

While this would be nice, this is unfortunately impossible to do in practice as the approach relies entirely on us knowing the value \(\bcE(h)\) for any function \(h \in \bcH\), however, knowing \(\bcE\) implies knowing the underlying distribution \(P\) generating the data, as we need to compute \(\bdP_P( Y = 1 \mid X = x)\). In practice, we never know \(P\), and the data that’s sampled from it is simply observed, for similar reasons, \(h_\star\) is unknown to us, it simply exists as a theoretical object that we can only aim to approximate for the best possible results.

So how can we circumvent that? The idea is that the excess risk is still the objective we want to minimize, however, we have to try and do that using another approach, which works even if we don’t know the distribution \(P\). The first step is to notice that, while we don’t have access to it, we can still define the minimizer of the risk \(R\) that belongs to the class \(\bcH\), i.e.

\[\bar h = \argmin_{ h \in \bcH} R(h).\]

Notice that \(\bar h \ne h_\star\) in most cases, even though both are minimiser of the risk \(R\), they do not minimise it under the same constraint. Indeed, \(\bar h\) is the function \(h\) that minimises the risk while belonging to the set \(\bcH\), while \(h_\star\) is the global minimiser of the risk, and, unless we are ‘lucky’, it has no reason to belong specifically to \(\bcH\), it can be a much more complicated function that does not belong to the hypothesis class \(\bcH\). In practice, \(\bcH\) is still often constructed so that \(\bar h\) is as close as possible to \(h_\star\) using potential information we have at our disposal.

The goal is then to find \(\hat h\), another function belonging to \(\bcH\) that is as close as possible to \(\bar h\), which itself is our best approximation of the true \(h_\star\) in our hypothesis class.

This is the occasion to introduce the empirical risk \(R_n\), indeed, recall that we do not have access to the true risk \(R\) since we do not have access to the true distribution \(P\), thus, to estimate \(\bar h\), we cannot simply minimise \(R\). The fundamental idea however is that, for any function \(h \in \bcH\), we can define the empirical risk \(R_n(h)\) by

\[R_n(h) = \frac{1}{n} \sumn \ind{h(X_i) \ne Y_i}.\]

Now the first key fact here is that we can compute this empirical risk, as for any function \(h \in \bcH\), this is just the proportion of observations that are incorrectly classified by the function \(h\). For a single data point \((X,Y) = (x,1)\), if \(h(x) = 0\) then \(\ind{h(X) \ne Y} = 1\) which adds to the loss, as this is a misclassification. On the other hand if \(h(x) = 1\), the point is correctly classified and adds \(0\) to the loss.

The second key fact is that this empirical risk \(R_n\) is a ‘good’ approximation of the true risk \(R\) as the law of large numbers gives

\[R_n(h) \xrightarrow[n \to \infty]{a.s.} R(h) = \bdE \br{R_n(h)}. \tag{1}\]

Which says that the empirical risk does converge to the true risk when the number of observed data points/samples \(n\) goes to infinity.

Why is this interesting?

This is the central fact here, (1) tells us that when \(n\) is large i.e. we have observed enough data points, then \(R_n \approx R\) so that minimising \(R_n\) is similar to minimising \(R\). But, crucially, we can minimise \(R_n\) in practice this time because we can calculate \(R_n\) this time! This leads to the definition of the final central object in this setting, the empirical risk minimiser (ERM) \(\hat h\):

\[\hat h = \argmin_{ h \in \bcH } R_n(h) = \argmin_{ h \in \bcH } \frac{1}{n} \sumn \ind{ h (X_i) \ne Y_i}.\]

If you are familiar with probability, you may notice that \(\hat h\) is a random function as it depends on the data \(((X_1, Y_1), \dots (X_n, Y_n))\) that is itself random. Now, because as we mentioned, when \(n\) is large enough, we have \(R_n \approx R\), we expect their minimiser, respectively \(\hat h\) and \(\bar h\) to be close too, so that when \(n\) is large enough,

\[\hat h \approx \bar h.\]

Before finally introducing empirical processes to the problem, recall first what our main objects are, as they will all intervene in the final section for this example.

  • \(h_\star\): This is the global minimiser of the risk and is the best possible classifier, however, this is a theoretical object as we do not have any access to the true underlying distribution \(P\) so we cannot plainly minimise the risk \(R\).
  • \(\bar h\): This is the function in the hypothesis class \(\bcH\) that minimises the risk, this is still a theoretical object as we do not have any access to the true underlying distribution \(P\), we stll czannot minimise the risk \(R\) over the class \(\bcH\).
  • \(\hat h\): This is what we are really working with, this is the minimiser of the empirical risk \(R_n\), when \(n\) is large enough, we expect it to be a good approximation of \(\bar h\).

When will empirical processes enter?

This is the question to ask, as this post was originally about them, and not classification theory. All this introduction was necessary to make their introduction seem inevitable rather than an artifact of the proofs.

Now that we have \(\hat h\) at our disposal, it is natural to ask about theoretical guarantees about its performance, i.e. an upper bound on the excess risk \(\bcE(\hat h)\). The first step in this direction is to notice the following elementary decomposition of the excess risk:

\[\bcE(\hat h) = R(\hat h) - R(h_\star) = \underbrace{R(\hat h) - R(\bar h)}_{\text{estimation error}} + \underbrace{R(\bar h) - R(h_\star)}_{\text{approximation error}}. \tag{2}\]

The term \(R(\bar h) - R(h_\star)\) is called the ‘approximation error’ as this measures the discrepancy between the best classifier in \(\bcH\) compared to the best classifier period. The smaller this term is, the more faithful \(\bcH\) is to the true underlying model. We won’t focus on this term here.

The term that is of interest to us is the ‘estimation error’ term, it measures how well \(\hat h\) approximates \(\bar h\). Indeed \(R_n\) approximates \(R\) but does so imperfectly, even though it gets more and more precise as the number of data points \(n\) grows. To control this estimation error term, we may use the same basic trick of adding and subtracting the same terms on both sides:

\[R ( \hat h ) - R (\bar h) = R ( \hat h ) - R_n (\hat h) + \underbrace{R_n ( \hat h ) - R_n (\bar h)}_{(\star)} + R_n(\bar h) - R (\bar h). \tag{3}\]

Notice what the \(\star\) term is: we subtract \(R_n(\bar h)\) from \(R_n(\hat h)\), but \(\hat h\) minimises \(R_n\) over \(\bcH\), thus \(R_n(\hat h)\) is smaller than any \(R_n(h)\) for \(h \in \bcH\). Hence, as \(\bar h\) also belongs to \(\bcH\), this term is negative. Consequently, we obtain the following inequality for the estimation error:

\[R ( \hat h ) - R (\bar h) \ \le \ R ( \hat h ) - R_n (\hat h) + R_n(\bar h) - R (\bar h).\]

But \(R(\hat h) - R_n (\hat h)\) and \(R_n(\bar h) - R(\bar h)\) are none other than two empirical processes indexed by \(\bcH\)! Indeed, if we write them out fully:

\[R(\hat h) - R_n(\hat h) = - \p{ \frac{1}{n} \sumn (\ind{ \hat h ( X_i ) \ne Y_i} - \bdE [\ind{\hat h(X_i) \ne Y_i}])},\]

and

\[R_n(\bar h) - R(\bar h) = \frac{1}{n} \sumn (\ind{ \bar h ( X_i ) \ne Y_i} - \bdE [\ind{\bar h(X_i) \ne Y_i}]),\]

And naturally, we can always upper bound both terms by the deviation of the absolute value of the process in the worst case possible, that is, in the adversarial case where we got unlucky and \(\hat h\) is currently estimating the worst possible candidate classifier. Namely:

\[R(\hat h) - R_n(\hat h) \ \le \ \sup_{h \in \bcH} \abs{ R_n(h) - R(h) } \quad R_n(\bar h) - R(\bar h) \ \le \ \sup_{h \in \bcH} \abs{ R_n(h) - R(h) }.\]

Finally, plugging all of those results in, we obtain the final upper bound on the estimation error of the problem:

\[0 \ \le \ R(\hat h) - R(\bar h) \ \le \ 2 \sup_{h \in \bcH } \abs{ \frac{1}{n} \sumn \ind{ h (X_i ) \ne Y_i } - \bdE \br{\ind{ h (X_i ) \ne Y_i }}}.\]

Hence, if we manage to control this supremum of an empirical process, we control the estimation error of \(\hat h\).

This example illustrates how naturally empirical processes and their supremum appear in theoretical statistics/learning theory. In this case they control the generalization properties of the estimated classifier \(\hat h\). Indeed, if we manage to control the supremum and show that it converges to zero as the number of samples goes to infinity, this tells us that \(R(\hat h) \to R(\bar h)\). So that \(\hat h\) eventually reaches optimal performance over the hypothesis class \(\bcH\): it ends up being as good in classification as \(\bar h\) which is the best in \(\bcH\). Even more interesting though, if we obtain an upper bound on the supremum of the empirical process with high probability for finite sample sizes \(n\), we have theoretical guarantees that with high probability, our classifier \(\hat h\) cannot behave ‘too poorly’, with the explicit definition of ‘not too poorly’ given by the upper bound we obtained on the supremum of the process. Moreover, this upper bound holds non-asymptotically (at finite values of \(n\)), which is what we want in practice as we never have an infinite amount of data.

Problems associated with such processes are ubiquitous in learning theory and many tools have been developed to solve them. The goal of the following is to present some of those tools and demonstrate a potential use case in a research problem.

Concentration and complexities

The goal of this section is to present some basic results regarding concentration of measure that we will later use to control empirical processes. We will focus on processes of bounded functions but many results can be extended, moreover, many problems can be reduced to the bounded case.

Setting and notations

We consider a finite class \(\bcF\) of bounded functions (the finite assumption can also be relaxed in many cases). We assume that there exists \(B \ \ge \ 0\) such that \(\abs f \ \le \ B\) for any \(f \in \bcF\). Finally, we denote \(P_n f\) and \(Pf\) the expectations with respect to \(P_n\) and \(P\), \(P_n\) being the empirical measure of \(P\), namely

\[P_n f = \frac{1}{n} \sumn f(X_i), \quad Pf = \bdE \br{ f(X) }\]

where \(X_1, \dots, X_n\) are i.i.d. with distribution \(P\).

Concentration

A remarkable result, attributed to Colin McDiarmid, is the bounded differences inequality (often also called McDiarmid’s inequality):

We say that a function \(f : \bcX^n \to \bdR\) satisfies the bounded differences property if its output does not ‘change too much’ when we only change a single input. Formally, if there exists \(c_1, \dots, c_n\) such that for any \(i \in \set{1, \dots, n}\)

\[\sup_{x_i' \in \bcX} \abs{ f (x_1, \dots, x_{i-1}, x_i, x_{i + 1}, \dots, x_n) - f (x_1, \dots, x_{i-1}, x_i', x_{i + 1}, \dots, x_n)} \ \le \ c_i.\]

In plain language, if we only change the i-th input, the value of \(f\) cannot change by more than \(c_i\) in absolute value. The bounded difference inequality is the following:

Theorem 1 (Bounded differences inequalities). Let \(f : \bcX^n \to \bdR\) satisfy the bounded differences property with values \(c_1, \dots, c_n\). Let \(X_1, \dots, X_n\) be independent random variables taking values in \(\bcX\). Then, for any \(t > 0\),

\[\begin{gather*} \bdP ( f(X_1, \dots, X_n) - \bdE \br{f(X_1, \dots, X_n)} > t) \ \le \ \exp \p{ - \frac{2t^2}{ \sigma^2 } }; \\ \bdP ( f(X_1, \dots, X_n) - \bdE \br{f(X_1, \dots, X_n)} < - t) \ \le \ \exp \p{ - \frac{2t^2}{ \sigma^2 } }, \end{gather*}\]

where

\[\sigma^2 = \sumn c_i^2.\]

This may not be clear why this result is extremely interesting in the study of empirical processes. To exemplify, consider such a process in our bounded function setting:

\[Z = \sup_{ f \in \bcF } \abs{ \frac{1}{n} \sum_{k = 1}^n (f(X_k) - \bdE \br{ f (X_k) } )} = f(X_1, \dots, X_n).\]

The function itself is taken to be the supremum. Now, for any \(i \in \set{1,\dots, n}\), we have

\[\begin{align*} f(&x_1, \dots, x_{i - 1 }, x_i, x_{i +1}, \dots, x_n) - f(x_1, \dots, x_{i - 1 }, x_i', x_{i +1}, \dots, x_n) \\ & = \sup_{f \in \bcF} \abs{ \frac{1}{n} \sum_{k = 1}^n f(x_k) - \bdE \br{ f (X) } } - \sup_{f \in \bcF} \abs{ \frac{1}{n} \sum_{\substack{k = 1 \\ k \ne i}}^n f(x_k) - \bdE \br{ f (X) } + \frac{f(x_i')}{n} } \\ & \le \sup_{f \in \bcF} \p{ \abs{ \frac{1}{n} \sum_{k = 1}^n f(x_k) - \bdE \br{ f (X) } } - \abs{ \frac{1}{n} \sum_{\substack{k = 1 \\ k \ne i}}^n f(x_k) - \bdE \br{ f (X) } + \frac{f(x_i')}{n} } } \\ & \le \sup_{f \in \bcF} \abs{ \frac{1}{n} \sum_{k = 1}^n f(x_k) - \bdE \br{ f (X) } - \frac{1}{n} \sum_{\substack{k = 1 \\ k \ne i}}^n f(x_k) + \bdE \br{ f (X) } - \frac{f(x_i')}{n} } \\ & = \sup_{f \in \bcF } \abs{ \frac{f(x_i) - f(x_i')}{n} } \ \le \ \frac{2B}{n}. \end{align*}\]

Where we used successively \(\sup a - \sup b \le \sup (a-b)\) and the reverse triangle inequality \(\abs a - \abs b \le \abs{ a -b}\) and that \(\abs f \le B\). The proofs works in exactly the same way in the reverse direction to yield:

\[\abs{f(x_1, \dots, x_{i - 1 }, x_i, x_{i +1}, \dots, x_n) - f(x_1, \dots, x_{i - 1 }, x_i', x_{i +1}, \dots, x_n)} \ \le \ \frac{2B}{n}.\]

Since this is true for all \(i\)’s with the constant \(2B/n\), we deduce that \(f\) satisfies the bounded differences properties with constants \(2B/n\) for each \(i\). We can then apply the bounded difference inequality (Theorem 1) to \(Z\) to obtain that for any \(t > 0\),

\[\bdP ( Z \ge \bdE \br{Z} + t) \ \le \ \exp \p{ - \frac{nt^2}{2B^2}}.\]

Hence, with overwhelming probability \(1 - \exp(-nt^2/(2B^2))\) we have that

\[Z = \sup_{ f \in \bcF } \abs{ \frac{1}{n} \sum_{k = 1}^n (f(X_k) - \bdE \br{ f (X_k) } )} \ \le \ \bdE \br{ \sup_{ f \in \bcF } \abs{ \frac{1}{n} \sum_{k = 1}^n (f(X_k) - \bdE \br{ f (X_k) } )} } + t.\]

If we pick \(t = B \sqrt{ \frac{2z}{n} }\), we have that with tunable probability \(1 - \exp(-z)\),

\[Z \ \le \ \bdE \br{ Z } + B \sqrt{ \frac{2z}{n} },\]

this is a step in the right direction, as we control with tunable high probability the supremum of the empirical process. However, there is still the term \(\bdE \br{Z}\) involved. Clearly, this is a complex term, as the supremum is inside the expectation, there is an absolute value, there is a sum etc… Often times, when controlling supremum of empirical processes, the more involved part of the process is the control of this expectation/complexity term, and not the obtention of high probability upper bounds themselves.

The goal of the next part will then be to show how we can obtain sharp upper bounds on the expectation term in some specific cases, this will involve a very fancy and elegant trick called symmetrization. In the specific case of binary classification that we discussed in the second section, symmetrization combined with Vapnik-Chervonenkis theory is used to control the complexity term, as a function of the VC dimension of the class of binary classifiers \(\bcH\). We can prove the following generalization upper bound

\[\sup_{ h \in \bcH } \abs { R_n (h ) - R(h) } \lesssim \sqrt{ \frac{\operatorname{VC} (\bcH) }{n} } + \sqrt{ \frac{ z }{n}} \quad \text{with probability at least } 1 - \exp(-z), \tag{4}\]

where \(\lesssim\) denotes inequality up to universal constants. In particular

\[R( \hat h) - R(\bar h) \lesssim \sqrt{ \frac{\operatorname{VC} (\bcH) }{n} } + \sqrt{ \frac{ z }{n}} \quad \text{with probability at least } 1 - \exp(-z),\]

which gives us the desired control of the estimation error for a finite sample size \(n\).

Interpretation of the result

In VC theory, for a set of classifiers \(\bcH\), \(\operatorname{VC}(\bcH)\) denotes the statistical complexity of the class of potential classifiers \(\bcH\). Under inclusion of hypothesis classes, this VC dimension is increasing, precisely:

\[\bcH_1 \subset \bcH_2 \implies \operatorname{VC}(\bcH_1) \ \le \ \operatorname{VC}( \bcH_2).\]

Hence, if we recall the excess risk decomposition (2) with an estimation error term and an approximation error term, enriching the class \(\bcH\) increases the statistical difficulty of the problem, as we need \(n \approx \operatorname{VC}(\bcH)\) data points to guarantee a small estimation error. However, it reduces the approximation error, as for \(\bcH_1 \subset \bcH_2\),

\[\inf_{ h \in \bcH_2 } R ( h) \ \le \ \inf_{ h \in \bcH_1} R(h).\]

One term increases while the other decreases, in terms of intuition, this tells us that we must choose the hypothesis class \(\bcH\) large enough so that the approximation error is not too big i.e. \(\bcH\) is sufficiently rich to contain good approximations of the true \(h_\star\) but must not be so big that the estimation problem becomes too hard.

Optimality

We conclude this discussion of the result by a remark on its optimality. For any particular function \(h_0 \in \bcH\) (with \(\Var(h_0) \ne 0\)), note that

\[\sup_{ h \in \bcH } \sqrt n \abs{ R_n (h ) - R ( h) } \ge \sup_{ h \in \bcH } \sqrt n ( R_n (h ) - R ( h ) ) \ge \sqrt n ( R_n (h_0) - R(h_0)) \cvdis \bcN( 0, \Var(h_0)).\]

As \(\Var(h_0) > 0\), the limit in distribution is a non-degenerate Gaussian random variable hence the rescaled variable \(\sqrt{ n } ( R_n ( h_0 ) - R( h_0 ) )\) is \(O_P(1)\) but not \(o_P(1)\) so that \(R_n ( h_0) - R ( h_0) \asymp n^{-1/2}\) and the upper bound gives the sharp rate of convergence \(n^{-1/2}\), matching the lower bound in order.

Complexity

Recall that in general, after applying a concentration bound, such as the bounded difference inequality from Theorem 1 we are left with a high probability upper bound on an empirical process \(Z\) of the form

\[Z \le \bdE \br{Z} + t.\]

The term we want to control is the expectation of the supremum of the process. That is,

\[\bdE \br{ Z } = \bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn f(X_i) - \bdE \br{ f(X) }}}.\]

As we discussed before, this seems quite hopeless at first. A naive approach would be to write something like:

\[\bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn f(X_i) - \bdE \br{ f(X) }}} \le \bdE \br{ \sup_{ f \in \bcF} \frac{1}{n} \sumn \abs{f(X_i) - \bdE \br{ f(X) }} } \le 2B,\]

using the triangle inequality. This is true, but not great, for instance, this does not converge to zero as the sample size goes to infinity, unlike in (4), so that one may hope to do better in our particular case. Symmetrization is a very elegant approach that is impressive in the way that it seems to make the problem even harder at first, however, this is the trick that will help us obtain a much better upper bound in the end. Before introducing this method, we first introduce Rademacher random variables as we will need them:

Definition. We say that \(\eps\) is a Rademacher random variable if it is equal to either \(-1\) or \(1\) with the same probability \(1/2\), i.e.

\[\bdP ( \eps = - 1 ) = \bdP (\eps = 1) = \frac{1}{2}.\]

Plainly said, Rademacher random variables are just random signs. They are at the center of the symmetrization lemma that we introduce now.

Lemma (Symmetrization lemma). Let \(\eps_1, \dots, \eps_n\) be i.i.d. Rademacher random variables independent of \(X_1, \dots X_n\), we have

\[\bdE \br{ \sup_{ f \in \bcF } \abs{ \frac{1}{n} \sumn f ( X_i ) - \bdE \br{ f (X_i ) } } } \le 2 \bdE \br{ \sup_{ f \in \bcF } \abs{ \frac{1}{n} \sumn \eps_i f ( X_i ) } }.\]

See [2], [3], the proof is very nice and we give it here.

Proof. Let \((X_1', \dots, X_n')\) be i.i.d. copies of \((X_1, \dots, X_n)\). By independence \(\bdE \br{ f (X) } = \bdE \br{ f (X_i') } = \bdE \br{ f(X_i') \mid X_i}\). Hence,

\[\begin{align*} \bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn f(X_i) - \bdE \br{ f(X) }}} &= \bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn \bdE \br{f(X_i) - f(X_i') \mid X_i}}} \\ & \le \bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn f(X_i) - f(X_i') }} \end{align*}\]

as \(\abs{\bdE \br{f(X_i) - f(X_i') \mid X_i}} \le \bdE \br{\abs{ f(X_i) - f(X_i') } \mid X_i}\) and the expectation outside integrates out the conditional expectation. Now, since \(X_i'\) is an exact copy of \(X_i\) that’s independent, the distribution of \(f(X_i) - f(X_i')\) is the same as the distribution of \(f(X_i') - f(X_i)\) hence for any independent Rademacher random variable (which is just a random sign), we have \(f(X_i) - f(X_i')\) equal in distribution to \(\eps_i (f(X_i) - f(X_i'))\). We deduce that

\[\begin{align*} \bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn f(X_i) - f(X_i') }} &= \bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn \eps_i( f(X_i) - f(X_i') ) }} \\ & \le 2 \bdE \br{ \sup_{ f \in \bcF} \abs{ \frac{1}{n} \sumn \eps_i f(X_i) }}, \end{align*}\]

this concludes for the first inequality (triangle inequality on the terms \(\sumn \eps_i f(X_i)\) and \(\sumn \eps_i f(X_i')\) and \(\sup ( a + b) \le \sup a + \sup b\)). \(\square\)

It might not be obvious as to why this symmetrization lemma is very interesting. At first glance, it even seems that it adds difficulty to our problem, as we now also have to deal with random signs in front of the random variables. There are several reasons why symmetrization can be useful, for instance one can condition on the data to obtain a process with sub-Gaussian increments and then use VC-dimension/Dudley bounds. The focus here will be the Ledoux-Talagrand contraction principle instead, which is the final element we need for our purposes.

The result is the following:

Theorem 2 (Ledoux-Talagrand contraction principle, [2]). Let \(F : \bdR_+ \to \bdR_+\) be convex and increasing. Let further \(\varphi_i : \bdR \to \bdR\) \((i \le n)\) be contractions such that \(\varphi_i(0) = 0\). Then, for any bounded subset \(T \subset \bdR^n\),

\[\bdE \br{ F \p{ \sup_{t \in T} \abs{ \sumn \eps_i \varphi_i(t_i) } } } \le 2 \bdE \br{ F \p{ \sup_{t \in T} \abs{ \sumn \eps_i t_i } } }.\]

Basically, the theorem says that if the functions we apply to the data are Lipschitz with constant \(L\), then, up to a universal constant, we can upper bound the complexity term by simply removing the \(\varphi_i\), as they ‘contract’ the values of \(t_i\).

While at a first glance this may seem abstract, what makes the result very interesting is that in many cases of interest, the right hand side of the theorem can be upper bounded or even computed explicitly, solving the problem of controlling the complexity term. We now have all the tools needed at our disposal to present the small-ball method, which applies those results to empirical processes of indicator functions indexed by the unit ball in our particular case. This will yield very nice lower bounds on empirical processes of interest.

An application of the small-ball method

The small ball method is an approach introduced by Mendelson [1] that has since been developed by several authors, such as Lecué and Tropp to only mention a few. It can be used to obtain lower bounds on empirical processes. Originally, it was developed to obtain a lower bound on the smallest singular value of a random \(m \times n\) matrix. However, the method has since been applied to a large variety of problems, for instance, empirical risk minimisation [4] and signal reconstruction [5] to also name a few.

Everything we have done so far goes in one direction: we took a quantity of the form \(\sup_{f\in\mathcal F}\abs{P_nf-Pf}\) and we bounded it from above, first by its expectation plus a fluctuation term (bounded differences), then by a complexity term (symmetrization and contraction). This is the natural direction for the machinery of the previous section, and it is the direction that controls estimation errors.

There are however many situations where what we really need is a lower bound: we want to know that a random quantity is not too small, uniformly over some index set. The archetypal example, and the one we will follow here, is a lower bound on a random quadratic form

\[\frac1n\sum_{i=1}^n f(X_i)^2 \;\geqslant\; \text{something positive},\qquad \text{uniformly over } f\in\mathcal F .\]

This example is very common as such quadratic forms occur almost all the time when we want to obtain theoretical guarantees for empirical risk minimisers. Those familiar with this idea may recognize that indeed, the empirical Hessian, which is the Hessian of the empirical loss does define such a random quadratic form. Notably, we often seek to lower bound it with high probability by its expectation so that we can localise the estimator with high probability.

The small-ball method is a remarkably economical way of doing this. What is very nice about it is that it does not fight the problem head on, in a few words: it converts a hard one-sided problem about an unbounded class into an easier problem about a class of indicator functions, which is exactly the setting where the tools of the previous section are at their best (we didn’t do all this in vain!).

In this last section I want to isolate that conversion, and then show that it is flexible enough to accommodate constraints: one can intersect the samples used in the lower bound with an arbitrary data-dependent set, as long as one can show that this set does not throw away too many samples (more on that later).

This will be illustrated by a problem I am currently working on, a Ridge-penalized regression in a Poisson-like model, where the object to be lower bounded is the empirical Hessian of the model. The analysis of that Hessian is part of ongoing work, so I will describe the mechanism and the shape of the estimates rather than reproduce the proofs.

Why lower bounds are not upper bounds

It is tempting to think that a lower bound is just an upper bound with a sign flipped. After all, if we control

\[\sup_{f\in\mathcal F}\left|\frac1n\sum_{i=1}^n f(X_i)^2-\mathbb E\left[f(X)^2\right]\right|\leqslant \varepsilon,\]

then we immediately get \(\frac1n\sum_i f(X_i)^2\geqslant \mathbb E[f(X)^2]-\varepsilon\), which is a lower bound as soon as the second moment is bounded away from zero. This is true, but the catch is that this two-sided control can be expensive, and sometimes may not hold at all. To concentrate \(P_n f^2\) around \(Pf^2\) uniformly, one needs the squares \(f(X)^2\) to have light enough tails uniformly over the class. However, in the application we are heading towards, the class contains functions that are so heavy tailed that they do not admit any Laplace transform due to log-normal weights.

In this case, obtaining a lower bound via an upper bound on the absolute value of the process would make us pay for the size of the upper tail of the process, which is very heavy. There has to be a better way to proceed for this one sided bound.

The small-ball method removes this asymmetry. The intuition underlying the method is deceptively simple: to know that a sum of nonnegative terms is large, it is enough to know that many of the terms are not small. The size of the largest terms is irrelevant, as for a lower bound we simply need many terms to be above a given fixed threshold. It is this observation that makes it so that the upper tail never enters the argument.

The mechanism

In the following, we assume that the \(X_i\) are i.i.d. Gaussian vectors with covariance matrix \(\Sigma\) non-degenerate.

Let \(\mathcal F\) be a class of real-valued functions and suppose that there are \(\kappa>0\) and \(p\in(0,1)\) such that

\[\inf_{f\in\mathcal F}\;\mathbb P\bigl(|f(X)|\geqslant \kappa\bigr)\;\geqslant\; p . \tag{5}\]

This is the small-ball condition: no function of the class puts too much mass near zero. It is a statement about the lower tail only, and it is typically quite cheap to verify, for a Gaussian design for instance it is a two-dimensional Gaussian computation, and it holds for heavy-tailed designs where no moment assumption whatsoever is available.

The whole method is contained in the following chain of inequalities. Introduce, for \(f\in\mathcal F\), the random set of indices

\[S_f=\Bigl\{i\in\{1,\dots,n\}\;:\;|f(X_i)|\geqslant \kappa/2 \Bigr\},\]

and simply throw away every sample outside of \(S_f\):

\[\frac1n\sum_{i=1}^n f(X_i)^2\;\geqslant\;\frac1n\sum_{i\in S_f} f(X_i)^2\;\geqslant\;\frac{\kappa^2}{4}\cdot\frac{|S_f|}{n}. \tag{6}\]

This is the point of the method: the analytic question “how large is this quadratic form?” has become the new question “how many samples are large enough?”, equivalently, “is the random set \(S_f\) large enough with high probability”. Notice that if we show that \(\abs{S_f}/n \ge \ c > 0\) with high probability we have won, as we obtain \(\kappa^2\) as the lower bound (up to constants).

Moreover, a cardinality is a sum of indicator functions, thus

\[\frac{|S_f|}{n}=\frac1n\sum_{i=1}^n \mathbf 1_{\{|f(X_i)|\geqslant \kappa/2\}},\]

once again, we recognize an empirical process, this time indexed by a class of functions with values in \([0,1]\). We are exactly in the bounded setting of the previous section, where bounded differences, symmetrization and contraction all apply, and this is true regardless of how wild the original class \(\mathcal F\) was.

One technical detail that I want to mention because I find the trick very fancy: indicators are not Lipschitz, so the contraction principle (Theorem 2) cannot be applied to them directly. The standard fix is to upper bound the indicator using a ramp function that is itself sandwiched between two indicator functions, concretely:

\[\varphi(t)= \begin{cases} 0 & \text{if } t\leqslant \kappa/2,\\[2pt] \frac2\kappa\bigl(t-\kappa/2\bigr) & \text{if } t\in[\kappa/2,\kappa],\\[2pt] 1 & \text{if } t\geqslant \kappa, \end{cases} \qquad\text{so that}\qquad \mathbf 1_{\{t\geqslant \kappa\}}\leqslant \varphi(t)\leqslant \mathbf 1_{\{t\geqslant \kappa/2\}} .\]
The ramp function interpolating between two indicators
Figure 2. The ramp interpolates between the two indicator functions.

The function \(\varphi\) is \(2/\kappa\)-Lipschitz and satisfies \(\varphi(0)=0\), which is precisely what Theorem 2 asks for. The left inequality turns the small-ball condition (5) into a lower bound on \(\mathbb E[\varphi(\lvert f(X) \rvert)]\), and the right inequality turns \(\varphi\) back into a lower bound on \(\lvert S_f \rvert/n\). Putting the three ingredients together gives the following statement, which is the small-ball method in its plain form.

Proposition 1 (Small-ball lower bound). Assume (5) and let

\[Z=\sup_{f\in\mathcal F}\left(\mathbb E\left[\varphi(\lvert f(X) \rvert)\right]-\frac1n\sum_{i=1}^n \varphi(\lvert f(X_i) \rvert)\right).\]

Then for any \(t>0\), with probability at least \(1-\exp(-2nt^2)\), simultaneously for every \(f\in\mathcal F\),

\[\frac{\lvert S_f \rvert}{n}\;\geqslant\; p-\mathbb E[Z]-t \qquad\text{and}\qquad \frac1n\sum_{i=1}^n f(X_i)^2\;\geqslant\;\frac{\kappa^2}{4}\bigl(p-\mathbb E[Z]-t\bigr).\]

Proof (sketch). By the left-hand inequality of the sandwich, \(\mathbb E[\varphi(\lvert f(X) \rvert)]\geqslant \mathbb P(\lvert f(X) \rvert \geqslant \kappa)\geqslant p\), hence \(\frac1n\sum_i\varphi(\lvert f(X_i) \rvert)\geqslant p-Z\) for every \(f\). By the right-hand inequality, \(\frac1n\sum_i\varphi(\lvert f(X_i) \rvert)\leqslant \lvert S_f \rvert/n\). Finally \(\varphi\) takes values in \([0,1]\), so changing a single \(X_i\) changes \(Z\) by at most \(1/n\) and Theorem 1 gives \(Z\leqslant \mathbb E[Z]+t\) with probability at least \(1-\exp(-2nt^2)\). Conclude with (6). \(\square\)

The remaining term \(\mathbb E[Z]\) is the complexity term of the previous section, and it is handled by symmetrization followed by the contraction principle. In the typical case where the class is indexed by a set \(T\) of vectors, \(f_u(x)=g\bigl(\langle u,\Gamma x\rangle,x\bigr)\) with \(u\mapsto f_u(x)\) being \(L\)-Lipschitz in \(\langle u,\Gamma x\rangle\) and vanishing at \(u=0\), two applications of the contraction principle (Theorem 2) first to \(\varphi\), which is \(2/\kappa\)-Lipschitz, then to \(u\mapsto \lvert f_u(x) \rvert\), which is \(L\)-Lipschitz give

\[\mathbb E[Z]\;\lesssim\; \frac{L}{\kappa}\;\mathbb E\left[\sup_{u\in T}\frac1n\sum_{i=1}^n\varepsilon_i\langle u,\Gamma X_i\rangle\right], \tag{7}\]

and the right-hand side is a supremum of a linear process, which is often explicitly computable: for \(T\) the unit sphere it is just the expected norm of \(\frac1n\sum_i\varepsilon_i\Gamma X_i\), of order \(\sqrt{\operatorname{Tr}(\Gamma \Sigma\Gamma^\top)/n}\).

Note that this last fact is also very nice, as we get an effective dimension in regularization settings and not an ambient dimension. This often makes the sample size condition to obtain the lower bound much better and even sharp in some cases.

Why is this interesting?

Notice what the method has and has not used. It has used a lower-tail estimate on a single function at a time (the small-ball condition, which is one-dimensional and elementary), and a complexity estimate for a class of bounded functions. It has never used a moment assumption on \(f(X)\), never tried to concentrate \(P_nf^2\), and never looked at the upper tail.

Two things to get right: truncation and the choice of κ

In practice the class \(\mathcal F\) one starts with is neither bounded nor Lipschitz, and one has to produce a class that is. Here the one-sidedness of the problem becomes an advantage rather than a nuisance: for a lower bound, we may replace each \(f\) by any smaller nonnegative function we like. If \(\lvert \bar f \rvert \leqslant \lvert f \rvert\) pointwise, then

\[\frac1n\sum_{i=1}^n f(X_i)^2\;\geqslant\;\frac1n\sum_{i=1}^n \bar f(X_i)^2,\]

and it suffices to run the whole argument on the truncated class \(\bar{\mathcal F}\). There is no analogue of this freedom for upper bounds, where every truncation has to be paid for by a bias term. Concretely, in the Poisson-like model one replaces

\[f_u(x)=e^{\langle\beta_\lambda,\,x\rangle/2}\,\langle u,H_*^{-1/2}x\rangle \qquad\text{by}\qquad \bar f_u(x)=\psi_\alpha\bigl(\langle\beta_\lambda,x\rangle\bigr)\,\tau\bigl(\langle u,H_*^{-1/2}x\rangle\bigr),\]

where \(\psi_\alpha(t)=\exp\bigl((t\wedge \alpha )/2\bigr)\) caps the exponential weight and \(\tau(t)=\operatorname{sign}(t)( \lvert t \rvert\wedge 1)\) caps the linear part. \(\alpha\) is a parameter that has to be tuned optimally and \(H_*\) is a renormalization matrix.

In consequence, the truncated class is bounded by \(e^{\alpha}\) and is \(e^{\alpha}\)-Lipschitz in \(\langle u,H_*^{-1/2}x\rangle\), which is what (7) needs, with \(L=e^{\alpha}\).

The second thing to get right is the pair \((\kappa,p)\), and this is where the trade-off of the method lives. For the truncated class above, on the event \(\{\langle\beta_\lambda,X\rangle\geqslant \alpha \}\) the weight \(\psi_\alpha\) saturates at \(e^{\alpha }\), and one has to control the linear part \(\langle u,H_*^{-1/2}X\rangle\) from below conditionally on that event, Gaussian computations that are not the main focus here yield (5) with

\[\kappa\;\asymp\;e^{\alpha}\,\sigma_u,\qquad p_\alpha\;\asymp\;\mathbb P\bigl(\mathcal N(0,1)\geqslant\alpha\bigr)\;\asymp\;\frac{e^{-\alpha^2/2}}{\alpha},\]

where \(\sigma\) is a lower bound on the standard deviation of \(\langle u,H_*^{-1/2}X\rangle\) over the index set. The parameter \(\alpha\) arbitrates: raising it makes the surviving weight \(\kappa\) larger, but makes the proportion \(p_\alpha\) of samples on which we can rely exponentially smaller. Since Proposition 1 requires \(\mathbb E[Z]\lesssim p_\alpha\), and since \(\mathbb E[Z]\asymp \sqrt{\mathrm{complexity}/n}\) by (7), the sample size requirement is of the form

\[n\;\gtrsim\;\mathrm{complexity}\times p_\alpha^{-2},\]

and the constant one gets out is of order \(\kappa^2 p_\alpha\). Optimizing this in \(\alpha\) is a one-dimensional exercise; the result will vary between models in consequence. In the Poisson-like model the optimum directly depends on the magnitude of the norm of the global minimizer of the penalized loss.

A cancellation worth pointing at.

In (7) the complexity enters through the ratio \(L/\kappa\), not through \(L\) and \(\kappa\) separately. In the example above \(L=e^{\alpha}\) and \(\kappa\asymp e^{\alpha} \sigma_u\), so the exponential weight cancels completely and \(L/\kappa\asymp 1/\sigma\). This is the reason the method survives an exponential loss at all: the truncation level appears both in the Lipschitz constant and in the small-ball radius, and only the ratio is visible in the complexity term. All that is then needed is a uniform lower bound on the variance \(\sigma_u^2\) over the index set.

Restricting the index set.

That last requirement is not always satisfiable over the whole sphere, and this is the first place where a constraint enters. In the Ridge problem, \(H_*\) is the population penalized Hessian and \(\sigma_u^2=\|H_*^{-1/2}u\|_\Sigma^2\) degenerates for directions \(u\) living in the eigen-directions where the penalty \(\lambda\) dominates. The fix is to only ask for the lower bound on the set of head-heavy vectors,

\[\mathcal H^2=\Bigl\{u\in\mathbb S^{d-1}\;:\;\ \| u_{\mathcal H} \| >\|u_{\mathcal T}\|\Bigr\},\]

where \(\mathcal H\) collects the eigen-directions with \(\mu_j>\lambda\) and \(\mathcal T\) the others. On the tail directions the penalty \(\lambda \mathrm{Id}\) already provides the lower bound for free, so nothing is lost, and on \(\mathcal H^2\) one has a non-vacuous uniform lower bound on \(\sigma_u^2\). This restriction also improves the complexity term: the relevant dimension becomes \(\lvert \mathcal H \rvert \lesssim d_\lambda=\sum_j \mu_j/(\mu_j+\lambda)\), the effective dimension of the problem, rather than the ambient dimension \(d\).

The setting: a Hessian lower bound

Regarding what we actually want. We observe \((X_i,Y_i)_{i\leqslant n}\) i.i.d. with \(X\sim\mathcal N(0,\Sigma)\) and a conditional mean \(\mathbb E[Y\mid X]=e^{\langle\beta_*,X\rangle}\), and we minimize the Ridge-penalized loss

\[\widehat{\mathcal L}^\lambda_n(\beta)=\frac1n\sum_{i=1}^n\Bigl[e^{\langle\beta,X_i\rangle}-Y_i\langle\beta,X_i\rangle\Bigr]+\frac{\lambda}{2}\|\beta\|^2, \qquad \nabla^2\widehat{\mathcal L}^\lambda_n(\beta)=\frac1n\sum_{i=1}^ne^{\langle\beta,X_i\rangle}X_iX_i^\top+\lambda \mathrm{Id}.\]

The estimator is \(\widehat\beta_\lambda\) and the natural target is \(\beta_\lambda\), the minimizer of the population penalized risk. The way one localizes \(\widehat\beta_\lambda\) around \(\beta_\lambda\) is by a convexity argument: if the gradient at \(\beta_\lambda\) is small in the dual norm, \(\|\nabla\widehat{\mathcal L}^\lambda_n(\beta_\lambda)\|_{H_*^{-1}}\leqslant \nu\), and if the Hessian is uniformly lower bounded, \(\nabla^2\widehat{\mathcal L}^\lambda_n(\beta)\succcurlyeq c_0H_*\) for every \(\beta\) in a ball \(B_{H_*}(\beta_\lambda,r_0)\), then for \(\beta\) on the corresponding sphere

\[\widehat{\mathcal L}^\lambda_n(\beta)-\widehat{\mathcal L}^\lambda_n(\beta_\lambda)\;\geqslant\;-\nu r_0+\frac{c_0}{2}r_0^2\;>\;0 \qquad\text{as soon as }\nu<c_0r_0/2,\]

and the minimizer \(\widehat\beta_\lambda\) is trapped inside the ball. The Hessian bound is a lower bound on a random quadratic form: we renormalize to compare to the expectation

\[u^\top H_*^{-1/2}\nabla^2\widehat{\mathcal L}^\lambda_n(\beta) H_*^{-1/2} \,u \;\geqslant\; \frac1n\sum_{i=1}^n\Bigl(e^{\langle\beta,X_i\rangle/2}\langle u,H_*^{-1/2}X_i\rangle\Bigr)^2,\]

which is exactly the object of Proposition 1. Note that the empirical Hessian is a sum of rank one terms weighted by exponentials: individual terms can be enormous, which is precisely the regime where trying to concentrate it would be wasteful, and where a counting argument is comfortable.

There is however a mismatch. The small-ball estimate of the previous subsection is available at \(\beta_\lambda\): it is at \(\beta_\lambda\) that we know the joint law of the weight and of the linear part well enough to compute \((\kappa,p_\alpha)\). What localization needs is the bound at every \(\beta\) in a ball around \(\beta_\lambda\), and re-running the small-ball computation at every such \(\beta\), uniformly, is not something we want to do.

Adding constraints: the budget principle

This is where the counting nature of the method pays off a second time, and it is the last point I really want to make in this post.

Look again at what Proposition 1 produces. Its real output is not the inequality on the quadratic form; it is the high probability combinatorial statement

\[|S_f|\;\geqslant\;n\bigl(p-\mathbb E[Z]-t\bigr)\;\geqslant\;\frac{np}{2} \qquad\text{simultaneously for all }f\in\mathcal F,\]

once \(n\) is large enough for \(\mathbb E[Z]+t\leqslant p/2\). The bound on the quadratic form was obtained by keeping the samples in \(S_f\) and discarding all the others. But there is no reason to keep all of \(S_f\). If we are given an additional data-dependent set of “usable” samples \(A\subset\{1,\dots,n\}\), we may keep only \(S_f\cap A\), and (6) becomes

\[\frac1n\sum_{i\in A} f(X_i)^2\;\geqslant\;\frac{\kappa^2}{4}\cdot\frac{|S_f\cap A|}{n} \;\geqslant\;\frac{\kappa^2}{4}\cdot\frac{|S_f|-|A^c|}{n}.\]

The small-ball method has handed us a budget of roughly \(np/2\) good samples; any constraint that destroys fewer than a constant fraction of that budget is free, and costs us nothing for the bound up to universal constants (which we do not care about anyways). Reformulating this idea in a generic form gives

Proposition 2 (Constrained small-ball lower bound). Assume (5), and let \(\{A(\theta)\}_{\theta\in\Theta}\) be an arbitrary family of random subsets of \(\{1,\dots,n\}\). Suppose that

\[\mathbb P\left(\;\sup_{\theta\in\Theta}\frac{|A(\theta)^c|}{n}\;\leqslant\;\frac{p}{4}\;\right)\;\geqslant\;1-q,\]

and that \(n\) is large enough and \(t\) small enough that \(\mathbb E[Z]+t\leqslant p/2\). Then, with probability at least \(1-q-\exp(-2nt^2)\), simultaneously for every \(f\in\mathcal F\) and every \(\theta\in\Theta\),

\[\frac1n\sum_{i\in A(\theta)}f(X_i)^2\;\geqslant\;\frac{\kappa^2 p}{16}.\]

Proof. On the event of Proposition 1 we have \(\lvert S_f \rvert \geqslant np/2\) for every \(f\), and on the event of the assumption we have \(\lvert A(\theta)^c \rvert \leqslant np/4\) for every \(\theta\). On the intersection, \(\lvert S_f\cap A(\theta) \rvert \geqslant np/2-np/4=np/4\) for every pair \((f,\theta)\), and every index in \(S_f\) contributes at least \(\kappa^2/4\). \(\square\)

Two structural remarks about this statement. First, the two suprema are decoupled: \(S_f\) does not depend on \(\theta\) and \(A(\theta)\) does not depend on \(f\), so the two uniformity problems are solved separately and only ever meet at the level of cardinalities, through \(\lvert S_f\cap A \rvert \geqslant \lvert S_f \rvert - \lvert A^c \rvert\). This independence is satisfied if the set \(A\) concerns solely the design for instance. Second, the constraint is only ever bounded from above, in cardinality: the family \(\{A(\theta)\}\) is arbitrary, and controlling \(\sup_\theta \lvert A(\theta)^c \rvert /n\) is a supremum of an empirical process of indicators, which is again exactly the bounded setting of the concentration section. We are using the same machinery twice, once to lower bound \(\lvert S_f \rvert\) and once to upper bound \(\lvert A(\theta)^c \rvert\), and the second use is in the “easy” direction.

What the constraint is used for.

Back to the Hessian, but this principle is of course much more widely applicable. We know how to lower bound things at \(\beta_\lambda\), and we want the bound at a nearby \(\beta\); write \(\delta=\beta-\beta_\lambda\). The only discrepancy between the two Hessians is the ratio of the weights, \(e^{\langle\beta,X_i\rangle}/e^{\langle\beta_\lambda,X_i\rangle}=e^{\langle\delta,X_i\rangle}\), and this ratio is harmless precisely on the samples where \(\langle\delta,X_i\rangle\) is not very negative. So we take as constraint

\[A(\beta)=\bigl\{i\leqslant n\;:\;\langle\delta,X_i\rangle\geqslant -1\bigr\},\]

on which \(e^{\langle\beta,X_i\rangle}\geqslant e^{-1}e^{\langle\beta_\lambda,X_i\rangle}\), so that the Hessian at \(\beta\) dominates \(e^{-1}\) times the Hessian at \(\beta_\lambda\) restricted to those samples. The samples where the exponential weight collapses are simply thrown away; we make no attempt to say anything about them, and we do not need to, because Proposition 2 only asks that there are few of them.

Controlling the discarded samples.

It remains to bound \(\sup_{\beta} \lvert A(\beta)^c \rvert /n\) over the localization ball \(B_{H_*}(\beta_\lambda,R)\), and this is now a routine application of the concentration section, with the same ramp trick as before (notice how nice this straightforward idea is!). Introduce a \(2\)-Lipschitz ramp \(\xi\) with \(\xi(0)=0\) and \(\mathbf 1_{\{s<-1\}}\leqslant \xi(s)\leqslant \mathbf 1_{\{s<-1/2\}}\); then

\[\sup_{\beta\in B_{H_*}(\beta_\lambda,R)}\frac{|A(\beta)^c|}{n} \;\leqslant\;\sup_{\|\delta\|_{H_*}\leqslant R}\frac1n\sum_{i=1}^n\xi\bigl(\langle\delta,X_i\rangle\bigr),\]

and the right-hand side is bounded by its expectation plus a centered empirical process of \([0,1]\)-valued functions. The expectation is a plain Gaussian quantity: \(\langle\delta,X\rangle\sim\mathcal N(0,\|\delta\|_\Sigma^2)\) with \(\|\delta\|_\Sigma\leqslant r\) on the ball, so

\[\mathbb E\bigl[\xi(\langle\delta,X\rangle)\bigr]\;\leqslant\;\mathbb P\Bigl(\mathcal N(0,1)>\tfrac{1}{2r}\Bigr),\]

and the centered process is handled by bounded differences, symmetrization and contraction (\(\xi\) is \(2\)-Lipschitz and vanishes at \(0\)), giving a term of order \(r\sqrt{d_\lambda/n}\). Altogether, with probability at least \(1-e^{-2nt^2}\),

\[\sup_{\beta\in B_{H_*}(\beta_\lambda,R)}\frac{|A(\beta)^c|}{n}\;\lesssim\;\mathbb P\Bigl(\mathcal N(0,1)>\frac{1}{2r}\Bigr)+r\sqrt{\frac{d_\lambda}{n}}+t .\]

Each of the three terms must be kept below the budget \(p_\alpha/4\) of Proposition 2. The last one is a matter of choosing \(t\asymp p_\alpha\), and the second one is implied by the same sample size condition \(n\gtrsim d_\lambda p_\alpha^{-2}\) that the small-ball step already required. The first one is the interesting one: since \(p_\alpha\asymp e^{-\alpha^2/2}/\alpha\) and \(\mathbb P(\mathcal N(0,1)>1/2r)\approx e^{-1/8r^2}\), it forces

\[r\;\asymp\;\frac{1}{\alpha}.\]

In other words, the radius of the localization ball is not a free parameter that we tune at the end: it is dictated by the small-ball budget. The more we push \(\alpha\) to make the surviving weights large, the thinner the budget becomes, and the smaller the neighbourhood on which the lower bound can be propagated.

The outcome.

Combining the two steps gives, with probability at least \(1-2e^{-cnp_\alpha^2}\) and as soon as \(n\gtrsim d_\lambda p_\alpha^{-2}\) up to the relevant factors, a lower bound

\[\nabla^2\widehat{\mathcal L}^\lambda_n(\beta)\;\succcurlyeq\;c_0H_*\qquad\text{simultaneously for all }\beta\in B_{H_*}(\beta_\lambda,r), \qquad c_0\asymp \kappa^2p_\alpha,\]

which is exactly the uniform curvature input the localization argument was asking for. Two features of this conclusion are worth underlining, and both come from the mechanism rather than from the model: the sample size is governed by the effective dimension \(d_\lambda\) and not by the ambient dimension \(d\), because the complexity term (7) only ever sees a linear process restricted to head-heavy vectors; and no upper bound on the empirical Hessian, and no moment assumption on the exponential weights, was used anywhere.

The recipe

To summarize, when one needs a lower bound on a random quadratic form, uniformly over an index set and possibly under constraints, the small-ball method proceeds as follows.

  1. Truncate for free. Replace each \(f\) by a pointwise smaller \(\bar f\) that is bounded and Lipschitz. This is legitimate because the inequality goes only one way, and it is what makes the tools of the concentration section applicable.
  2. Establish the small-ball condition. Find \(\kappa\) and \(p\) with \(\mathbb P( \lvert \bar f(X) \rvert \geqslant \kappa)\geqslant p\) for every \(f\) in the class. This is a one-dimensional lower-tail computation, and it involves no moments.
  3. Count, do not concentrate. Bound the quadratic form from below by \(\frac{\kappa^2}{4}\lvert S_f \rvert /n\), and bound \(\lvert S_f \rvert /n\) from below using a ramp function, bounded differences, symmetrization and contraction. The complexity enters only through the ratio \(L/\kappa\).
  4. Spend the budget. The method leaves a surplus of about \(np/2\) good samples. Any constraint \(A\) — for instance, comparison of two Hessians, restriction to a favourable event, or removal of outliers — may be imposed on top of the argument provided \(\sup \lvert A^c \rvert \leqslant np/4\); and controlling \(\lvert A^c \rvert\) is itself an upper bound on an empirical process of indicators, i.e. the same machinery in its easy direction.
  5. Read off the constraints on the parameters. The budget is what ties together the truncation level, the sample size and the radius on which the bound propagates.

References

[1] S. Mendelson. Learning without Concentration. Journal of the ACM, 62(3), Article 21, 1–25, 2015. doi:10.1145/2699439

[2] M. Ledoux and M. Talagrand. Probability in Banach Spaces: Isoperimetry and Processes. Ergebnisse der Mathematik und ihrer Grenzgebiete (3), vol. 23, Springer-Verlag, Berlin, 1991.

[3] O. Bousquet, S. Boucheron and G. Lugosi. Introduction to Statistical Learning Theory. In Advanced Lectures on Machine Learning, Lecture Notes in Computer Science, vol. 3176, pp. 169–207, Springer, Berlin, Heidelberg, 2004. doi:10.1007/978-3-540-28650-9_8

[4] G. Lecué and S. Mendelson. Performance of empirical risk minimization in linear aggregation. Bernoulli, 22(3), 1520–1534, 2016. doi:10.3150/15-BEJ701

[5] J. A. Tropp. Convex Recovery of a Structured Signal from Independent Random Linear Measurements. In Sampling Theory, a Renaissance, Applied and Numerical Harmonic Analysis, pp. 67–101, Birkhäuser, Cham, 2015. doi:10.1007/978-3-319-19749-4_2