<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://antoine-roche.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://antoine-roche.github.io/" rel="alternate" type="text/html" /><updated>2026-11-19T17:31:57+00:00</updated><id>https://antoine-roche.github.io/feed.xml</id><title type="html">Antoine Roche’s Homepage</title><subtitle>Antoine Roche academic website</subtitle><author><name>Antoine Roche</name><email>&amp;#97;&amp;#110;&amp;#116;&amp;#111;&amp;#105;&amp;#110;&amp;#101;&amp;#46;&amp;#114;&amp;#111;&amp;#99;&amp;#104;&amp;#101;&amp;#64;&amp;#101;&amp;#110;&amp;#115;&amp;#97;&amp;#101;&amp;#46;&amp;#102;&amp;#114;</email></author><entry><title type="html">The non-asymptotic central limit theorem: a gentle introduction to concentration inequalities</title><link href="https://antoine-roche.github.io/posts/2026/09/non-asymptotic-clt/" rel="alternate" type="text/html" title="The non-asymptotic central limit theorem: a gentle introduction to concentration inequalities" /><published>2026-09-20T00:00:00+00:00</published><updated>2026-09-20T00:00:00+00:00</updated><id>https://antoine-roche.github.io/posts/2026/09/non-asymptotic-clt</id><content type="html" xml:base="https://antoine-roche.github.io/posts/2026/09/non-asymptotic-clt/"><![CDATA[<h2 id="introduction-and-the-asymptotic-setting">Introduction and the asymptotic setting</h2>

<p>Consider the fundamental statistical problem of estimating a mean. In the simplest possible setting, we have at our disposal some i.i.d. random variables \((X_i)\) with mean \(\mu = \bdE \br{X_1}\) whose variance \(\sigma^2 &gt; 0\) is finite. A very natural estimator of \(\mu\) is the empirical mean of the \(X_i\)’s, that is</p>

\[\bar{X}_n = \frac{1}{n} \sumn X_i. \tag{1}\]

<p>The law of large numbers (LLN) tells us that \(\bar{X}_n \xrightarrow[n \to \infty]{a.s.} \mu\), i.e. \(\bar{X}_n\) correctly estimates the desired quantity asymptotically. However, the LLN alone does not give us much more information, namely</p>

<ol>
  <li>How fast is the convergence of \(\bar{X}_n\) towards \(\mu\)? This is a first question, the LLN only tells us that \(\bar{X}_n\) does converge towards \(\mu\), but the rate at which this happens is not provided.</li>
  <li>For finite sample sizes, how close is \(\bar{X}_n\) to \(\mu\)? This is strongly linked to the first question, if the convergence of \(\bar{X}_n\) towards \(\mu\) is very fast in the sample size, then we can expect that for a finite number of samples, the estimation of \(\mu\) by \(\bar{X}_n\) to be very good.</li>
</ol>

<p>In this setting, the variables have a finite variance, hence the CLT applies and yields</p>

\[\sqrt n (\bar{X}_n - \mu ) \xrightarrow[n \to \infty]{(\mathcal{L})} \bcN(0, \sigma^2).\]

<p>This result answers our question about the rate of convergence in part: on one hand \(\bar{X}_n - \mu \underbrace{=}_{n \to \infty} O_P(n^{-1/2})\), i.e. for any \(\eps &gt; 0\), we can find \(M \in \bdR\) (which is actually the quantile \(q_{1 - \eps/2}\) of \(\bcN(0, \sigma^2)\)) such that</p>

\[\limsup_{n \to \infty} \bdP \p{ \abs{ \sqrt n (\bar{X}_n - \mu ) } &gt; M} &lt; \eps.\]

<p>Moreover, the order is sharp, indeed, for any \(\eps &gt; 0\),</p>

\[\bdP \p{ \bar{X}_n - \mu &gt; \frac{\eps}{\sqrt{n}} } \xrightarrow[n \to \infty]{} \bdP ( \bcN(0, \sigma^2 ) &gt; \eps ) &gt; 0,\]

<p>so that \(\bar{X}_n - \mu \ne o_P(n^{-1/2})\). As a consequence, \(n^{-1/2}\) is exactly the right order of the convergence of \(\bar{X}_n\) to \(\mu\). This is a remarkable consequence of the CLT and it should be appreciated, intuitively, \(\bar{X}_n \to \mu\) and the size of the fluctuations of \(\bar{X}_n\) around \(\mu\) are roughly of size \(1/\sqrt n\) whenever \(n\) is large enough. The issue however, is that this is a result of purely asymptotic nature, and it does not tell us much about what happens for finite values of \(n\). This is the unfortunate part: the CLT will not help us in obtaining deviation bounds at finite sample sizes. There is a fortunate part however: this asymptotic result provides us with a benchmark regarding what we can hope for (and what we <em>cannot</em> hope for) in the finite sample setting.</p>

<p>Concretely, if we apply the CLT in our case with a confidence parameter \(z \ \ge \ 0\) we obtain</p>

\[\bdP \p{ \bar{X}_n - \mu \ \ge \ \sqrt{ \frac{2 \sigma^2 z}{n} } } \xrightarrow[n \to \infty]{} \bdP \p{ \bcN( 0,\sigma^2 ) \ \ge \ \sqrt{2 \sigma^2 z }} \ \le \ \exp(-z),\]

<p>so that the convergence in distribution provides us with the optimal rate \(n^{-1/2}\), as a consequence, if we manage to obtain a finite sample analogue of the form,</p>

\[\bdP \p{ \bar{X}_n - \mu \ \ge \ \sqrt{ \frac{2 \nu^2 z }{n} } } \ \le \ \exp(-z),\]

<p>which holds for any \(n \in \mathbb{N}\) (or at least for \(n\) large enough but finite) and with \(\nu^2 \ \ge \ \sigma^2\) that plays the role of a variance, we would have won, having obtained a deviation bound sharing the same structure as the limiting one given by the CLT which is known to be optimal.</p>

<p>The goal of this article is to show that we can, in fact, obtain similar bounds in finite sample settings in some cases, and to highlight some of the basic tools used to do so. In particular, Chernoff’s method, sub-Gaussian and sub-Gamma random variables will be discussed. The standard reference on all of this is the classic (and excellent) book by Boucheron, Lugosi and Massart <a href="#ref1">[1]</a>. If in the future I start writing some follow up articles on more specific topics in theoretical statistics, this first post on concentration will also serve as a gentle introduction to some tools that are ubiquitous in statistics.</p>

<h2 id="the-non-asymptotic-setting">The non-asymptotic setting</h2>

<p>To make our lives easier, before diving into more general ideas, let’s consider the specific setting in which we work with Gaussian random variables first. Precisely: we assume the \(X_i\)’s to be i.i.d. \(X_i \sim \bcN(0,\sigma^2)\).</p>

<p>Under this assumption, something surprising happens, first we obtain by the stability of the Gaussian distribution that for any \(n \in \mathbb{N}^*\),</p>

\[\bar{X}_n \sim \bcN \p{ 0, \frac{\sigma^2}{n} }.\]

<p>Thus, for any \(z \ \ge \ 0\)</p>

\[\bdP \p{ \bar{X}_n \ \ge \ \sqrt{ \frac{2 \sigma^2 z }{n} } } = \bdP \p{ \frac{1}{\sqrt n } \bcN ( 0, \sigma^2 ) \ \ge \ \sqrt{ \frac{2 \sigma^2 z }{n} }} = \bdP \p{ \bcN(0,\sigma^2 ) \ \ge \ \sqrt{ 2 \sigma^2 z } } \ \le \ \exp(-z),\]

<p>due to the standard tail bound on the Gaussian: \(\bdP (\bcN(0, \sigma^2) \ \ge \ \sigma \sqrt{2 z} ) \ \le \ \exp(-z)\). In fact, even more can be said, by the symmetry of the Gaussian, we can also obtain</p>

\[\bdP \p{ \bar{X}_n \ \le \ - \sqrt{ \frac{2 \sigma^2 z }{n} } } \ \le \ \exp(-z),\]

<p>which, combined with a standard union bound gives us the following concentration inequality:</p>

\[\bdP \p{ \abs{ \bar{X}_n } \ \ge \ \sqrt{ \frac{2 \sigma^2 z }{n} } } \ \le \ 2\exp(-z) \tag{★}\]

<p>(★) is very interesting as the inequality holds for all integers \(n \ \ge \ 1\) and is sharp due to the central limit theorem, as per the discussion before. Indeed, applying (★) for any fixed \(z &gt; 0\) to (non-necessarily centered) i.i.d. Gaussians \(\bcN(\mu, \sigma^2)\) gives</p>

\[\abs{ \bar{X}_n - \mu } \ \le \ \sqrt{ \frac{2 \sigma^2 z }{n} } \quad \text{with probability at least } 1 - 2\exp(-z).\]

<p>This precisely yields, in the fully finite sample setting, the \(n^{-1/2}\) convergence rate of \(\bar{X}_n\) to \(\mu\) given by the CLT. This result can be seen, in a sense, as a quantitative version of the LLN: it quantifies how close the empirical mean is from the true mean with (controllable) high probability for any finite \(n \ \ge \ 1\).</p>

<p>While this is very nice, the main problem is that the argument relied heavily on the stability of the distribution under summation, which is a property that is clearly not satisfied by all distributions. As a consequence the result only holds for sums of Gaussian random variables for now, which is very restrictive.</p>

<p>This does not change that we could reasonably expect random variables that behave similarly to Gaussian random variables, particularly random variables that have similar tails; to satisfy similar concentration bounds. This is the motivation behind sub-Gaussian random variables i.e. random variables that are not necessarily Gaussian, but are sufficiently light tailed to satisfy similar concentration properties so that we can extend our result to them.</p>

<h3 id="sub-gaussian-random-variables">sub-Gaussian random variables</h3>

<p>In plain words, sub-Gaussian random variables are variables whose tails are light enough that we can expect them to behave “as if they were Gaussian” in terms of the deviations from their mean.</p>

<p>A simple, yet convenient definition of sub-Gaussian random variables uses their Laplace transform. Before giving this definition, it is instructive to consider the example of Gaussians once again, so that when sub-Gaussian random variables will be introduced, why we define them that way will seem obvious.</p>

<p>Let \(X \sim \bcN(0, \sigma^2)\), we define the (centered) Laplace transform of \(X\) for any \(t \in \bdR\) by \(F_X(t) = \bdE \br{ \exp(t (X - \bdE\br{X}))}\); since \(X\) is centered here, this is simply \(\bdE \br{ \exp(tX)}\). In our case, we have</p>

\[\begin{align*}
\bdE \br{ e^{tX} } &amp;= \frac{1}{\sqrt{2 \pi \sigma^2 }} \int_{-\infty}^{+\infty} e^{tx - \frac{x^2}{2 \sigma^2}} dx \\
&amp;= e^{\frac{\sigma^2 t^2}{2}} \cdot \underbrace{\frac{1}{\sqrt{2 \pi \sigma^2 }} \int_{-\infty}^{+\infty} e^{- \frac{\sigma^2 t^2}{2} + tx - \frac{x^2}{2 \sigma^2}} dx}_{\text{Gaussian integral} \, = \, 1} \\
&amp;= \exp \p{ \frac{\sigma^2 t^2}{2}}.
\end{align*}\]

<p>Hence, when \(X \sim \bcN(\mu, \sigma^2)\), \(F_X(t) = \bdE \br{ \exp(t (X - \mu))} = \exp \p{ \frac{\sigma^2 t^2}{2} }\) for any real \(t\). So why is this useful for our purposes? Let’s have a look at the tails of this Gaussian (assume \(\mu = 0\), otherwise center), for any \(z \ \ge \ 0\)</p>

\[\bdP ( X \ \ge \ z) \underbrace{=}_{\text{for any } t &gt; 0} \bdP \br{e^{tX} \ \ge \ e^{tz} } \underbrace{\le}_{\text{Markov}} e^{-zt} \bdE \br{ e^{tX} } = \exp \p{ - zt + \frac{\sigma^2 t^2}{2} }.\]

<p>And since this is true for any \(t &gt; 0\), we can minimize the right hand side in \(t\) over \((0, + \infty)\) to obtain the best possible bound; doing so, we pick \(t = z/\sigma^2\) and find</p>

\[\bdP ( X \ \ge \ z ) \ \le \ \exp \p{ - \frac{z^2}{2 \sigma^2} } \implies \bdP (X \ \ge \ \sigma \sqrt{2z}) \ \le \ \exp(-z).\]

<p>Clearly, for Gaussian random variables, we already knew that. What is interesting however, is that we just obtained this result by applying Markov’s inequality, using the form of the Laplace transform of the Gaussian random variable \(X\) and optimizing over \(t\). This method, which is one of the most fundamental and well known method in the theory of deviation inequalities is called Chernoff’s method, named after Herman Chernoff who introduced it in a 1952 paper <a href="#ref2">[2]</a>. In particular, Chernoff’s method applies whenever we have a control of the Laplace transform, regardless of the true distribution of \(X\).</p>

<p>This last observation motivates us to mimic the form of the Laplace transform of a Gaussian (2) to define sub-Gaussian random variables:</p>

<p><strong>Definition (sub-Gaussian random variables).</strong> <em>For a random variable \(X\) taking values in \(\bdR\) with \(\bdE \br{X} = 0\), we say that \(X\) is sub-Gaussian with variance proxy \(\sigma^2\) if</em></p>

\[\forall t \in \bdR, \ \bdE \br{ e^{tX} } \ \le \ \exp \p{ \frac{\sigma^2 t^2}{2} }. \tag{3}\]

<p>In particular a centered Gaussian random variable is sub-Gaussian with \(\sigma^2 = \Var(X)\). Note that if \(\bdE \br{X} \ne 0\), the definition applies to \(X - \bdE \br{X}\) which is centered.</p>

<p>From this definition, a sub-Gaussian random variable is a random variable whose Laplace transform is upper bounded by the Laplace transform of a Gaussian random variable.</p>

<p>Note that there are a lot of equivalent definitions/characterizations of sub-Gaussian random variables, all of which have their use case and their interpretations.</p>

<p>Two properties are immediate from this definition, first:</p>

<p><strong>The tails of sub-Gaussian random variables have Gaussian-like decay:</strong></p>

<p>This is why we did all this, this is immediate from Chernoff’s method, indeed, let \(X\) be sub-Gaussian with variance proxy \(\sigma^2 &gt; 0\), let \(t &gt; 0\):</p>

\[\bdP (X \ \ge \ z) = \bdP ( e^{tX} \ \ge \ e^{tz}) \ \le \ \exp \p{ - tz + \frac{\sigma^2 t^2}{2} } \underbrace{\implies}_{\text{optimize in } t &gt; 0} \bdP (X \ \ge \ z) \ \le \ \exp \p{ - \frac{z^2}{2 \sigma^2}}.\]

<p>In particular, applying the same process to \(-X\), the definition being symmetric in \(t\) and \(-t\), we obtain the same bound for the lower tail, for \(z \ \ge \ 0\):</p>

\[\bdP ( X \ \le \ - z ) \ \le \ \exp \p{ - \frac{z^2}{2 \sigma^2} }.\]

<p>Combining those results with a union bound, we get the following concentration result:</p>

\[\bdP \p{ \abs X \ \le \ \sigma \sqrt{2z} } \ \ge \ 1 - 2 \exp(-z).\]

<p>sub-Gaussian random variables concentrate like Gaussian random variables. This is a very nice fact.</p>

<p><strong>Why we call \(\sigma^2\) the variance proxy:</strong></p>

<p>Some justification for the expression “variance proxy” is in order. First, recall that in the case of a (truly) Gaussian random variable, \(\sigma^2\) is exactly the variance, as seen in equation (2). Now, if \(X\) is a sub-Gaussian random variable but is not Gaussian, note first that (3) makes \(t \mapsto \bdE \br{e^{tX}}\) finite on all of \(\bdR\), so that \(X\) has moments of all orders and the map is smooth at \(0\) with derivatives obtained by differentiating under the expectation; the expansion below is therefore legitimate. We get</p>

\[\begin{align*}
\bdE \br{ e^{tX} } &amp;\ \le \ \exp \p{ \frac{\sigma^2 t^2}{2} } \implies \bdE \br{ e^{tX} } - 1 \ \le \ \exp \p{ \frac{\sigma^2 t^2}{2} } - 1 \\
&amp; \underbrace{\implies}_{t \to 0 \text{ on both sides}} t \, \bdE \br{ X } + \frac{t^2}{2} \bdE \br{X^2} + o(t^2) \ \le \ \frac{\sigma^2 t^2}{2} + o(t^2) \\
&amp; \implies \bdE \br{X^2} = \Var(X) \ \le \ \sigma^2.
\end{align*}\]

<p>As \(\bdE \br{X} = 0\), by comparison in a neighborhood of \(0\). Thus, \(\sigma^2\) is an upper bound on the variance of the random variable which coincides with the true variance in the Gaussian case. This justifies (hopefully) the name “variance proxy”.</p>

<h4 id="examples-of-sub-gaussian-random-variables">Examples of sub-Gaussian random variables</h4>

<ul>
  <li><strong>From the definition:</strong> any random variable whose Laplace transform is upper bounded by the Laplace transform of a Gaussian random variable, as in (3), is sub-Gaussian. In particular, Gaussian random variables are sub-Gaussian.</li>
  <li><strong>Random variables with Gaussian tails:</strong> any centered random variable \(X\) satisfying \(\forall z \ \ge \ 0, \bdP ( \abs X \ \ge \ z) \ \le \ 2 \exp(-z^2/2\sigma^2)\) for some \(\sigma &gt; 0\) is sub-Gaussian.</li>
  <li><strong>Random variables satisfying \(\lVert X \rVert_p = O(\sqrt p)\):</strong> any random variable for which there exists \(\sigma &gt; 0\) such that \(\forall p \ \ge \ 1, \ \lVert X \rVert_p = \bdE \br{\abs{X}^p}^{1/p} \ \le \ \sigma \sqrt p\) is sub-Gaussian. Notice also that this is precisely the moment structure of centered Gaussian random variables.</li>
</ul>

<p>Those conditions turn out to be equivalent (up to constant rescalings of the variance proxy), and there exists other equivalent characterizations using Orlicz norms (among other things); see <a href="#ref1">[1]</a> and <a href="#ref3">[3]</a> for the details. The third characterization is very useful in practice, if we manage to upper bound the moments of a given random variable and show that they satisfy a growth controlled by \(\sqrt p\), we immediately obtain very nice concentration properties. More about the rate of growth of the moments will be discussed in the near future (hopefully).</p>

<h4 id="properties-of-sub-gaussian-random-variables">Properties of sub-Gaussian random variables</h4>

<p>The definition in terms of the Laplace transform is very convenient as it behaves in an ideal way when we sum independent sub-Gaussian random variables. Concretely, coming back to the example from the introduction, say we want to estimate the mean of a distribution and have at our disposal i.i.d. random variables with mean \(\mu\), we estimate \(\mu\) by the empirical mean as in (1) and want to estimate how good the estimation is for a finite \(n\). If all the random variables are sub-Gaussian with variance proxy \(\sigma^2\) then we have for any \(t \in \bdR\)</p>

\[\begin{align*}
\bdE \br{ \exp \p{t (\bar{X}_n - \mu) } } &amp;= \bdE \br{ \exp \p{ t \p{\frac{1}{n} \sumn X_i - \mu } } } \underbrace{=}_{\text{independence}} \prod_{i = 1}^n \bdE \br{ \exp \p{\frac{t}{n} (X_i - \mu) } } \\
&amp; \underbrace{\le}_{X_i \text{ sub-G}} \prod_{i = 1}^n \exp \p{ \frac{t^2 \sigma^2}{2 n^2} } = \exp \p{ \frac{t^2 \sigma^2}{2n} }.
\end{align*}\]

<p>Hence, an empirical mean of sub-Gaussian random variables with variance proxy \(\sigma^2\) is still sub-Gaussian with variance proxy \(\sigma^2 / n\). Notice also that we do not actually need the variables to be i.i.d., we just need the independence to obtain the sub-Gaussianity of the empirical mean, although the variance proxy does not necessarily simplify as nicely if the variables have different distributions.</p>

<p>Applying what we know so far, we can convert this to the following concentration bound</p>

\[\bdP \p{ \abs{ \bar{X}_n - \mu } \ \ge \ \sqrt{ \frac{2\sigma^2 z}{n} } } \ \le \ 2\exp(-z).\]

<p>At this point, we should be very happy. Indeed, we managed to obtain the optimal CLT rate \(n^{-1/2}\) for any finite value of \(n\) and for variables that are not necessarily Gaussian, just sub-Gaussian! A slight difference here that should be noted however is that \(\sigma^2\) is an upper bound on the variance, and not necessarily the true variance of the summands. In some cases, the variance and \(\sigma^2\) do not coincide, for instance, in the case of a Bernoulli random variable with parameter \(p \ne 1/2\), the optimal variance proxy \(\sigma^2\) is strictly greater than the variance.</p>

<p>While we had a lot of success with sub-Gaussian random variables, we should not rest too much on our laurels for now. Indeed, to define sub-Gaussian random variables, we need the random variables to have a finite Laplace transform for all \(t \in \bdR\), there are many examples of very common distributions for which this is not the case, for instance, if \(X\) has an exponential distribution, \(X\) does not have a finite Laplace transform for all real \(t\). The next section aims to close this gap (in part).</p>

<h3 id="sub-gamma-random-variables">sub-Gamma random variables</h3>

<p>A second main class of random variables is the class of sub-Gamma random variables. They add to the entire concentration picture by dealing with random variables that are too heavy tailed to be sub-Gaussian, yet, are light tailed enough to be compared to Gamma random variables (a class that includes exponential random variables). Once again, before giving the definition, let us first take a look at exponential random variables. Hopefully the example is instructive and will make the definition look obvious a posteriori:</p>

<p>Let \(X \sim \bcE(\lambda)\) for some \(\lambda &gt; 0\), i.e. \(X\) follows an exponential distribution with parameter \(\lambda\), which is just the Gamma distribution with parameters \((1, \lambda)\). Then, since \(X\) has a trivial lower tail, we restrict ourselves to \(t \ \ge \ 0\) and obtain</p>

\[\bdE \br{ \exp (tX) } = \int_{0}^{+\infty} e^{tx} \lambda e^{- \lambda x } dx = \lambda \int_0^{+\infty} e^{-(\lambda - t) x } dx &lt; + \infty \quad \text{iff } 0 \ \le \ t &lt; \lambda.\]

<p>It turns out that for exponential random variables (and Gamma in consequence) the Laplace transform only exists in a finite region that depends on the parameter \(\lambda\). It is worth doing some calculations to upper bound the MGF once, as this will, once again, make the definition of sub-Gamma random variables appear natural.</p>

<p>Recall that we are working with \(X \sim \bcE(\lambda)\), for \(0 \ \le \ t &lt; \lambda\), we have</p>

\[\bdE \br{ \exp ( t ( X - \bdE \br{X} )) } = \bdE \br{ \exp ( t ( X - 1/\lambda )) } = \exp(-t/\lambda) \bdE \br{ \exp(tX) } = \exp(-t/\lambda) \frac{\lambda}{\lambda - t},\]

<p>by straightforward calculations. We now take the log on both sides to simplify our lives, writing \(F_X(t) = \bdE \br{ \exp ( t ( X - \bdE \br{X} )) }\) and \(u = t/\lambda \in [0,1)\):</p>

\[\log F_X(t) = - u - \log(1 - u) = \sum_{n = 2}^{+\infty} \frac{u^n}{n} \ \le \ \frac{1}{2}\sum_{n = 2}^{+\infty} u^{n} = \frac{u^2}{2(1-u)} = \frac{t^2/\lambda^2}{2(1 - t/\lambda)},\]

<p>where we used</p>

\[\frac{1}{n} \ \le \ \frac 1 2 \ \text{ for } n \ \ge \ 2, \quad \sum_{n = 2}^{+\infty} u^n = \frac{u^2}{1-u} \quad \text{for } 0 \ \le \ u &lt; 1.\]

<p>Note that the restriction \(u \ \ge \ 0\) matters here: for \(u &lt; 0\) the inequality above may fail (at \(u = -1\) the left hand side equals \(1 - \log 2 &gt; 1/4\)), the relevant bound on the negative side being \(-u - \log(1-u) \ \le \ u^2/2\). This is why the definition below is stated for the right tail only.</p>

<p>Keep in mind that this bound holds only for \(0 \ \le \ t &lt; \lambda\), this motivates us to mimic this idea for other random variables, that do not necessarily follow a Gamma distribution but have similar tails, much like what we did with Gaussians; this leads to our definition:</p>

<p><strong>Definition (sub-Gamma random variables).</strong> <em>For a random variable \(X\) taking values in \(\bdR\) with \(\bdE \br{X} = 0\), we say that \(X\) is sub-Gamma with parameters \((\sigma^2, b)\) if</em></p>

\[\forall t \in \left[0, \tfrac{1}{b}\right), \ \log \bdE \br{ e^{tX} } \ \le \ \frac{\sigma^2 t^2}{2(1 - bt)}. \tag{4}\]

<p><em>We say that \(X\) is sub-Gamma <strong>on both tails</strong> with parameters \((\sigma^2,b)\) if both \(X\) and \(-X\) satisfy (4).</em></p>

<p>Notice that this parametrization, in terms of \((\sigma^2,b)\) is convenient because in our case, \(\sigma^2 = 1/\lambda^2 = \Var(X)\) and \(b = 1/\lambda = \bdE \br{X}\).</p>

<p>The condition can also be read as a Gaussian-type control of the MGF near \(0\), up to constants: for \(0 \ \le \ t \ \le \ 1/(2b)\) we have \(1 - bt \ \ge \ 1/2\), hence \(\frac{\sigma^2 t^2}{2(1 - bt)} \ \le \ \sigma^2 t^2\), i.e. the MGF is bounded by that of a Gaussian with variance proxy \(2\sigma^2\) on a neighborhood of \(0\); conversely, such a control implies (4) up to a rescaling of the constants. Once again, the definition applies verbatim to \(X - \bdE \br{X}\) if \(X\) is not centered.</p>

<p>Notice also that if the MGF inequality holds for any possible \(b &gt; 0\), then if we let \(b \to 0\) we recover the sub-Gaussian behaviour, which is nice.</p>

<h4 id="examples-of-sub-gamma-random-variables">Examples of sub-Gamma random variables</h4>

<ul>
  <li><strong>From the definition:</strong> any centered random variable whose log-Laplace transform is upper bounded as in (4) near \(0\) is sub-Gamma. In particular, Gamma random variables are sub-Gamma.</li>
  <li><strong>Random variable with controlled moment growth:</strong> any random variables for which there exists \(\sigma,b &gt; 0\) such that \(\forall p \ \ge \ 2, \ \bdE \br{\abs{X}^p} \ \le \ \frac{p!}{2} \, \sigma^2 \, b^{p-2}\) is sub-Gamma on both tails (with parameters \(\asymp (\sigma^2, b)\)). Notice also that this is precisely the moment structure of centered Gamma random variables.</li>
  <li><strong>sub-Gaussian random variables:</strong> any random variable that is sub-Gaussian is sub-Gamma, the converse is not true.</li>
</ul>

<p>There are tail conditions that are heavier to write, so we will omit them here. The central concentration result for sub-Gamma random variables is the following:</p>

<p><strong>Theorem 1 (Bernstein’s inequality).</strong> <em>Let \(X\) be a centered random variable which is sub-Gamma with parameters \((\sigma^2, b)\). Then, for any \(z \ \ge \ 0\):</em></p>

\[\bdP (X \ \ge \ z) \ \le \ \exp \p{ - \frac{z^2}{2(\sigma^2 + bz)} }.\]

<p><em>In particular, if \(X\) is sub-Gamma on both tails with parameters \((\sigma^2,b)\), then for any \(z \ \ge \ 0\),</em></p>

\[\bdP (\abs{X} \ \ge \ z) \ \le \ 2 \exp \p{ - \frac{1}{4} \min \p{ \frac{z^2}{\sigma^2}, \frac{z}{b} } }.\]

<p>The theorem can be proven using Chernoff’s method, in a similar way as the sub-Gaussian result, although we need to be a bit more delicate since we cannot blindly optimize over \(\bdR\) here for instance. What is interesting is the interpretation of the result and to distinguish between the two possible concentration regimes.</p>

<p><strong>Small deviations:</strong></p>

<p>By small deviations, we mean that we are interested in deviations of order \(z\) such that \(z^2/\sigma^2 \ \le \ z/b\) i.e. \(z \lesssim \sigma^2/b\) so that we do get sub-Gaussian concentration with variance proxy \(\asymp \sigma^2\). In this regime, the small variations around the mean decay as if the variable were sub-Gaussian. This describes how concentrated \(X\) is near its mean.</p>

<p><strong>Large deviations:</strong></p>

<p>Past the threshold \(\asymp \sigma^2/b\), \(\bdP(\abs X \ \ge \ z)\) decays like \(\exp(-z/4b)\). The idea is that since \(X\) has heavier tails than in the Gaussian case, we cannot guarantee that the probability of observing very large values decays as fast as in the Gaussian case, hence tails are exponential-shaped instead of Gaussian-shaped.</p>

<p>We now put Bernstein’s inequality into perspective by comparing what it gives to the asymptotic optimality. The discussion that ensues is, I think, very interesting as, in a specific sense, it highlights an intermediate regime that happens for empirical means before the CLT kicks in.</p>

<h4 id="the-bridge-between-bernsteins-inequality-and-the-clt">The bridge between Bernstein’s inequality and the CLT</h4>

<p>We first need the following short result, which will help us greatly in obtaining concentration bounds for empirical means of sub-Gamma random variables. Roughly, the sum of independent sub-Gamma random variables behaves very nicely under summation, much like in the Gaussian case:</p>

<p><strong>Lemma (Tensorization for sub-Gamma random variables).</strong> <em>Let \(X_1, \dots, X_n\) be centered independent sub-Gamma random variables with parameters \((\sigma_i^2, b_i)\) each. Then,</em></p>

\[S_n = \sumn X_i \quad \text{is sub-Gamma with parameters } (\bar \sigma^2, b_*),\]

<p><em>where \(\bar \sigma^2 = \sumn \sigma_i^2\), \(b_* = \max_i b_i\).</em></p>

<p><em>Proof.</em> The proof uses the MGF method, let \(0 \ \le \ t &lt; 1/b_*\), we have</p>

\[\log \bdE \br{ \exp ( t S_n ) } = \log \prod_{i = 1}^n \bdE \br{ \exp ( t X_i ) } \ \le \ \sumn \frac{\sigma_i^2 t^2}{2(1 - b_i t)} \ \le \ \frac{\bar{\sigma}^2 t^2}{2(1 - b_* t)},\]

<p>where the last inequality uses \(b_i \ \le \ b_*\) together with \(t \ \ge \ 0\). \(\square\)</p>

<p>In particular, if we apply the lemma to an empirical mean of i.i.d. sub-Gamma random variables with mean \(\mu\) and with parameters \((\sigma^2, b)\). We find</p>

\[\bar{X}_n - \mu \quad \text{is sub-Gamma with parameters } (\sigma^2 / n, b/n).\]

<p>Note that the above result is applied to \(\bar{X}_n - \mu\) because we need our random variables to be centered. Assuming the summands are sub-Gamma on both tails, Bernstein’s inequality thus yields that for any \(z \ \ge \ 0\),</p>

\[\bdP ( \abs{\bar{X}_n - \mu } \ \ge \ z) \ \le \ 2 \exp \p{ - \frac 1 4 \min \p{ \frac{n z^2}{\sigma^2}, \frac{nz}{b} } },\]

<p>and now, something interesting happens if we plug in the CLT scale for the confidence level in (5), namely, up to constants,</p>

\[\bdP \p{ \abs{\bar{X}_n - \mu} \ \ge \ \sqrt{ \frac{2 \sigma^2 z}{n} } } \ \le \ 2 \exp \p{ - \frac{1}{2}\min \p{z, \frac{\sqrt{2n \sigma^2 z }}{b} } } \asymp 2 \exp(-z), \tag{6}\]

<p>whenever \(n \gtrsim \frac{b^2}{\sigma^2} z\).</p>

<p>We find that the deviations around the mean become Gaussian-like once \(n\) is large enough but finite! In a sense, this complements the CLT, as this gives the finite sample threshold the sample size has to cross for the Gaussian concentration regime to “kick in”.</p>

<p><strong>Interpretation of the result:</strong></p>

<p>A potential way to understand intuitively this phenomenon is to interpret the averaging process as something that smoothes out the potential outliers. Say that we have very few samples at our disposal, when we average them, we do not have a lot of terms in our empirical mean and the large deviations can dominate the mean if we got unlucky. Once we have many more samples however, the proportion of those outliers becomes small compared to the proportion of “usual samples” whose deviations are driven by the variance. The empirical mean thus concentrates around the mean sharply and its deviations are Gaussian like of order the variance, explaining why (6) gives Gaussian like concentration for the mean.</p>

<p>It makes sense to understand this phenomenon as two possible regimes:</p>

<ul>
  <li><strong>The small sample size regime:</strong> The mean is driven by the large deviations, there are not enough samples yet to smooth out the outliers present in the sum.</li>
  <li><strong>The large sample size regime:</strong> The sample size is now large enough to smooth out the outliers, and since the natural scale of the deviations is the variance, most of the observations deviate from the mean by \(\asymp \sqrt{\Var(X)}\).</li>
</ul>

<h2 id="hoeffding-vs-bernstein">Hoeffding vs Bernstein</h2>

<p>As a last section, I wanted to compare Hoeffding’s inequality with Bernstein’s inequality in the simple case of almost surely bounded random variables. Except for the fact that sub-Gaussian and sub-Gamma random variables are involved, this discussion is pretty much orthogonal to the previous one; however I found it interesting enough that I wanted to discuss it here.</p>

<p>In a few words, Hoeffding’s inequality tells us that bounded random variables are sub-Gaussian and gives the variance proxy as a function of the bounds, concretely:</p>

<p><strong>Theorem 2 (Hoeffding’s inequality).</strong> <em>Let \(X\) be a real valued random variable such that \(X \in [a,b]\) almost surely. Then, for any \(t \in \bdR\),</em></p>

\[\bdE \br{ \exp (t (X - \bdE \br{X} ) )} \ \le \ \exp \p{ \frac{t^2(b-a)^2}{8}},\]

<p><em>i.e. \(X\) is sub-Gaussian with variance proxy \(\sigma^2 = (b-a)^2/4\).</em></p>

<p>It is also convenient to rewrite Bernstein’s inequality in a slightly different form, which will simplify our lives a bit here,</p>

<p><strong>Corollary (Another form of Bernstein’s inequality).</strong> <em>Let \(X\) be a centered random variable, sub-Gamma on both tails with parameters \((\sigma^2, b)\). Then for any \(z \ \ge \ 0\),</em></p>

\[\bdP \p{ \abs X \ \ge \ \sqrt{2 \sigma^2 z } + bz } \ \le \ 2 \exp(-z).\]

<p>It turns out that if we want to obtain concentration on an empirical mean of bounded random variables, we can apply both theorems, and they do not necessarily yield the same result.</p>

<p>To simplify, assume that the summands \(X_i\) are i.i.d. with mean \(\mu &gt; 0\) and satisfy \(\abs{X_i} \ \le \ B\) for some \(B &gt; 0\) (i.e. we do not burden ourselves with distinct upper and lower bounds on the \(X_i\)’s).</p>

<p><strong>What Hoeffding’s inequality buys us:</strong></p>

<p>Ignoring constants, Hoeffding’s inequality tells us that the variance proxy of each \(X_i\) is upper bounded by \(B^2\), so that tensorization on the empirical mean and sub-Gaussian concentration gives:</p>

\[\bdP \p{ \abs{\bar{X}_n - \mu} \ \ge \ \sqrt{\frac{2 B^2 z}{n} } } \ \le \ 2\exp(-z).\]

<p>We obtain sub-Gaussian concentration directly with \(B^2\) playing the role of the variance of the summands. Let us keep that in mind and look at what Bernstein’s inequality buys us now.</p>

<p><strong>What Bernstein’s inequality buys us:</strong></p>

<p>The idea is to apply the moment definition (second point of <a href="#examples-of-sub-gamma-random-variables">Examples of sub-Gamma random variables</a>) to find our sub-Gamma parameters. Let \(p \ \ge \ 2\) and \(X\) be an i.i.d. copy of the \(X_i\)’s; the condition has to be applied to the centered variable \(X - \mu\), which satisfies \(\abs{X - \mu} \ \le \ 2B\) almost surely, so that</p>

\[\bdE \br{ \abs{X - \mu}^p } \ \le \ (2B)^{p-2} \bdE \br{ (X-\mu)^2 } \ \le \ \frac{p!}{2} \, \sigma^2 \, (2B)^{p-2},\]

<p>writing \(\sigma^2 = \Var(X) = \bdE \br{(X - \mu)^2}\). Thus, we find that \(X - \mu\) is also sub-Gamma with parameters \(\asymp (\sigma^2, B)\), tensorization gives that \(\bar{X}_n - \mu\) is sub-Gamma with parameters \(\asymp (\sigma^2/n, B/n)\) and Bernstein’s inequality in the second form (Corollary above) gives, up to constants,</p>

\[\bdP \p{ \abs{\bar{X}_n - \mu} \ \ge \ \sqrt{ \frac{2 \sigma^2 z }{n} } + \frac{Bz}{n} } \ \le \ 2 \exp(-z). \tag{7}\]

<p>Using those two guarantees, a natural question is to ask for which value of \(n\), our estimate of \(\mu\) is reliable with (controllable) high probability. For that purpose, because we have inequalities of the form \(\abs{\bar{X}_n - \mu } \ \le \ T_n\), we want to determine the value of \(n\) that makes \(T_n \asymp \mu\), for instance \(T_n \ \le \ \mu/2\) so that</p>

\[\frac{\mu}{2} \ \le \ \bar{X}_n \ \le \ \frac{3}{2} \mu \quad \text{with high probability}.\]

<p><strong>Sample size condition, Hoeffding’s:</strong></p>

<p>We solve</p>

\[\sqrt{ \frac{2B^2 z }{n} } \lesssim \mu \iff n_H \gtrsim \frac{B^2}{\mu^2} z. \tag{8}\]

<p><strong>Sample size condition, Bernstein’s:</strong></p>

\[\sqrt{ \frac{2 \sigma^2 z }{n} } \lesssim \mu \iff n \gtrsim \frac{\sigma^2}{\mu^2} z,\]

<p>and</p>

\[\frac{Bz}{n} \lesssim \mu \iff n \gtrsim \frac{B}{\mu} z,\]

<p>which yields</p>

\[n_B \gtrsim \max \p{ \frac{\sigma^2}{\mu^2} z, \frac{B}{\mu} z }. \tag{9}\]

<p>We obtain, by dividing thresholds (8) and (9):</p>

\[\frac{n_H}{n_B} = \frac{B^2}{\mu^2} \min \p{\frac{\mu^2}{\sigma^2}, \frac{\mu}{B} } = \min \p{ \frac{B^2}{\sigma^2}, \frac{B}{\mu}} \ \ge \ 1.\]

<p>Thus \(n_H \ \ \ge \ \ n_B\) in all cases, as clearly \(0 &lt; \mu = \bdE \br{X} \ \le \ \bdE \br{ \abs{X}} \ \le \ B\). For the first term in the minimum, Popoviciu’s inequality on variances gives \(\sigma^2 \ \le \ B^2\), which makes both terms in the minimum greater than one.</p>

<p><strong>Conclusion:</strong> It turns out that Bernstein’s inequality is never worse than Hoeffding’s inequality when controlling empirical means. The reason is that Hoeffding’s uses the upper bound \(B\) as the proxy for the variance, which, as shown by Popoviciu’s inequality is the worst case in a sense. On the other hand, the leading term in Bernstein’s inequality (7) captures the correct order of the deviations by using the variance in our case.</p>

<p>In our case, Bernstein’s inequality and Hoeffding’s inequality would have given similar results if the variance of \(X\) was comparable to the upper bound on \(X\). For instance, if \(X\) is Bernoulli \(X \sim \mathcal{B}(1/2)\) then \(B = 1\) and \(\Var(X) = 1/4 \asymp B\) (both of constant order). On the other hand, consider the case where \(p\) is very small and we want to estimate it by</p>

\[\bar{X}_n = \frac{1}{n} \sumn \ind{X_i = 1}\]

<p>as in the previous setting, we want to determine the threshold of \(n\) for which our estimation is precise with high probability (given a specified confidence interval). In this case then, the variance is \(p(1-p)\) which is truly of order \(p \ll 1 = B\) so that using Hoeffding’s inequality, which gives \(B\) for the variance proxy, leads to the condition \(n \gtrsim p^{-2}\) which is much much larger than the \(n \gtrsim p^{-1}\) condition that Bernstein’s gives us in this setting.</p>

<h2 id="references">References</h2>

<p><span id="ref1">[1]</span> S. Boucheron, G. Lugosi and P. Massart. <em>Concentration Inequalities: A Nonasymptotic Theory of Independence.</em> Oxford University Press, 2013. <a href="https://doi.org/10.1093/acprof:oso/9780199535255.001.0001">doi:10.1093/acprof:oso/9780199535255.001.0001</a></p>

<p><span id="ref2">[2]</span> H. Chernoff. <em>A Measure of Asymptotic Efficiency for Tests of a Hypothesis Based on the Sum of Observations.</em> The Annals of Mathematical Statistics, 23(4), 493–507, 1952. <a href="https://doi.org/10.1214/aoms/1177729330">doi:10.1214/aoms/1177729330</a></p>

<p><span id="ref3">[3]</span> M. Lerasle. <em>High dimensional statistics - Lecture notes.</em> Unpublished.</p>]]></content><author><name>Antoine Roche</name><email>&amp;#97;&amp;#110;&amp;#116;&amp;#111;&amp;#105;&amp;#110;&amp;#101;&amp;#46;&amp;#114;&amp;#111;&amp;#99;&amp;#104;&amp;#101;&amp;#64;&amp;#101;&amp;#110;&amp;#115;&amp;#97;&amp;#101;&amp;#46;&amp;#102;&amp;#114;</email></author><category term="concentration inequalities" /><category term="sub-Gaussian" /><category term="sub-Gamma" /><summary type="html"><![CDATA[A friendly introduction to concentration inequalities, and some insights into their structure, from an asymptotic comparison.]]></summary></entry><entry><title type="html">Empirical processes, complexities and Lipschitz functions</title><link href="https://antoine-roche.github.io/posts/2026/08/empirical-processes/" rel="alternate" type="text/html" title="Empirical processes, complexities and Lipschitz functions" /><published>2026-08-26T00:00:00+00:00</published><updated>2026-08-26T00:00:00+00:00</updated><id>https://antoine-roche.github.io/posts/2026/08/empirical-processes</id><content type="html" xml:base="https://antoine-roche.github.io/posts/2026/08/empirical-processes/"><![CDATA[<h2 id="introduction">Introduction</h2>

<p>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 <em>is</em> 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))\).</p>

<figure>
<div style="display: flex; gap: 1em; align-items: flex-start;">
<div style="flex: 1;">
<img src="/images/catto.jpg" alt="A cat" style="width: 100%;" />
<figcaption style="font-size: 0.8em;">(a) \(X_1\) is definitely a picture of a cat, hence \(Y_1 = 1\).</figcaption>
</div>
<div style="flex: 1;">
<img src="/images/cat.jpg" alt="A cat in a peculiar situation" style="width: 100%;" />
<figcaption style="font-size: 0.8em;">(b) \(X_2\) is also a picture of a cat in a peculiar situation, hence \(Y_2 = 1\).</figcaption>
</div>
<div style="flex: 1;">
<img src="/images/doggo.jpg" alt="A dog" style="width: 100%;" />
<figcaption style="font-size: 0.8em;">(c) \(X_3\) is most definitely not the picture of a cat, hence \(Y_3 = 0\).</figcaption>
</div>
</div>
<figcaption style="font-size: 0.85em; margin-top: 0.5em; text-align: center; display: block; width: 100%;">
    <strong>Figure 1.</strong> A simple potential dataset.
</figcaption>
</figure>

<p>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 <a href="#ref1">[1]</a> and an application of this method to a research problem I am currently working on.</p>

<p>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.</p>

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

<h2 id="an-introduction-to-empirical-processes">An introduction to empirical processes</h2>

<p>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>

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

<p>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,</p>

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

<p>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</p>

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

<p>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}\).</p>

<p>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</p>

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

<p>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):</p>

\[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_*,\]

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

<p>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.</p>

<p><strong>The toy model of empirical risk minimization in classification.</strong></p>

<p>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 <em>classification error</em></p>

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

<p>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: <em>what is the best that can be done theoretically?</em></p>

<p>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</p>

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

<p>minimizes the <em>classification error</em>, in the sense that</p>

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

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

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

<p>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 <em>excess risk</em> \(\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\).</p>

<p>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 <em>hypothesis class</em> and may be constructed from domain knowledge, computational considerations, some combination of the two etc. The name <em>hypothesis class</em> 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.</p>

<p>Assuming we do have a <em>hypothesis class</em> 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</p>

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

<p>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.</p>

<p>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.</p>

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

<p>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 <em>while</em> 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.</p>

<p>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 <em>hypothesis class</em>.</p>

<p>This is the occasion to introduce the <em>empirical risk</em> \(R_n\), indeed, recall that we <em>do not</em> 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</p>

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

<p>Now the first key fact here is that we <em>can</em> 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.</p>

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

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

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

<p><strong>Why is this interesting?</strong></p>

<p>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 <em>can</em> 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 <em>empirical risk minimiser</em> (ERM) \(\hat h\):</p>

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

<p>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,</p>

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

<p>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.</p>

<ul>
  <li>\(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\).</li>
  <li>\(\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\).</li>
  <li>\(\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\).</li>
</ul>

<p><strong>When will empirical processes enter?</strong></p>

<p>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.</p>

<p>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:</p>

\[\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}\]

<p>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.</p>

<p>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:</p>

\[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}\]

<p>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:</p>

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

<p>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:</p>

\[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}])},\]

<p>and</p>

\[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}]),\]

<p>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:</p>

\[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) }.\]

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

\[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 }}}.\]

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

<p>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.</p>

<p>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.</p>

<h2 id="concentration-and-complexities">Concentration and complexities</h2>

<p>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.</p>

<h3 id="setting-and-notations">Setting and notations</h3>

<p>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>

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

<p>where \(X_1, \dots, X_n\) are i.i.d. with distribution \(P\).</p>

<h3 id="concentration">Concentration</h3>

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

<p>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}\)</p>

\[\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.\]

<p>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:</p>

<p><strong>Theorem 1 (Bounded differences inequalities).</strong> <em>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 &gt; 0\),</em></p>

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

<p><em>where</em></p>

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

<p>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:</p>

\[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).\]

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

\[\begin{align*}
f(&amp;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) \\
&amp; = \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} } \\
&amp; \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} } } \\
&amp; \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} } \\
&amp; = \sup_{f \in \bcF } \abs{ \frac{f(x_i) - f(x_i')}{n} } \ \le \ \frac{2B}{n}.
\end{align*}\]

<p>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:</p>

\[\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}.\]

<p>Since this is true for all \(i\)’s with the constant \(2B/n\), we deduce that \(f\) satisfies the <em>bounded differences properties</em> 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 &gt; 0\),</p>

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

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

\[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.\]

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

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

<p>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.</p>

<p>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</p>

\[\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}\]

<p>where \(\lesssim\) denotes inequality up to universal constants. In particular</p>

\[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),\]

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

<p><strong>Interpretation of the result</strong></p>

<p>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:</p>

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

<p>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\),</p>

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

<p>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.</p>

<p><strong>Optimality</strong></p>

<p>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</p>

\[\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)).\]

<p>As \(\Var(h_0) &gt; 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.</p>

<h3 id="complexity">Complexity</h3>

<p>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</p>

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

<p>The term we want to control is the expectation of the supremum of the process. That is,</p>

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

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

\[\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,\]

<p>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:</p>

<p><strong>Definition.</strong> <em>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.</em></p>

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

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

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

\[\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 ) } }.\]

<p>See <a href="#ref2">[2]</a>, <a href="#ref3">[3]</a>, the proof is very nice and we give it here.</p>

<p><em>Proof.</em> 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,</p>

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

<p>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</p>

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

<p>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\)</p>

<p>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.</p>

<p>The result is the following:</p>

<p><strong>Theorem 2 (Ledoux-Talagrand contraction principle, <a href="#ref2">[2]</a>).</strong> <em>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\),</em></p>

\[\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 } } }.\]

<p>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\).</p>

<p>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.</p>

<h2 id="an-application-of-the-small-ball-method">An application of the small-ball method</h2>

<p>The small ball method is an approach introduced by Mendelson <a href="#ref1">[1]</a> 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 <a href="#ref4">[4]</a> and signal reconstruction <a href="#ref5">[5]</a> to also name a few.</p>

<p>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 <em>from above</em>, 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.</p>

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

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

<p>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.</p>

<p>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!).</p>

<p>In this last section I want to isolate that conversion, and then show that it is flexible enough to accommodate <em>constraints</em>: 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).</p>

<p>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.</p>

<h3 id="why-lower-bounds-are-not-upper-bounds">Why lower bounds are not upper bounds</h3>

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

\[\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,\]

<p>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.</p>

<p>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 <em>upper</em> tail of the process, which is very heavy. There has to be a better way to proceed for this one sided bound.</p>

<p>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 <em>many of the terms are not small</em>. 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.</p>

<h3 id="the-mechanism">The mechanism</h3>

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

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

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

<p>This is the <em>small-ball condition</em>: no function of the class puts too much mass near zero. It is a statement about the <em>lower</em> 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.</p>

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

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

<p>and simply throw away every sample outside of \(S_f\):</p>

\[\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}\]

<p>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 &gt; 0\) with high probability we have won, as we obtain \(\kappa^2\) as the lower bound (up to constants).</p>

<p>Moreover, a cardinality is a sum of indicator functions, thus</p>

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

<p>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.</p>

<p>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:</p>

\[\varphi(t)=
\begin{cases}
0 &amp; \text{if } t\leqslant \kappa/2,\\[2pt]
\frac2\kappa\bigl(t-\kappa/2\bigr) &amp; \text{if } t\in[\kappa/2,\kappa],\\[2pt]
1 &amp; \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\}} .\]

<figure>
<img src="/images/ramp.png" alt="The ramp function interpolating between two indicators" style="width: 60%; display: block; margin: 0 auto;" />
<figcaption style="font-size: 0.85em; text-align: center; display: block; width: 100%;">
    <strong>Figure 2.</strong> The ramp interpolates between the two indicator functions.
</figcaption>
</figure>
<p>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.</p>

<p><strong>Proposition 1 (Small-ball lower bound).</strong> <em>Assume (5) and let</em></p>

\[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).\]

<p><em>Then for any \(t&gt;0\), with probability at least \(1-\exp(-2nt^2)\), simultaneously for every \(f\in\mathcal F\),</em></p>

\[\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).\]

<p><em>Proof (sketch).</em> 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\)</p>

<p>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</p>

\[\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}\]

<p>and the right-hand side is a supremum of a <em>linear</em> 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}\).</p>

<p>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.</p>

<p><strong>Why is this interesting?</strong></p>

<p>Notice what the method has and has not used. It has used a lower-tail estimate on a <em>single</em> function at a time (the small-ball condition, which is one-dimensional and elementary), and a complexity estimate for a class of <em>bounded</em> 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.</p>

<h3 id="two-things-to-get-right-truncation-and-the-choice-of-κ">Two things to get right: truncation and the choice of κ</h3>

<p>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: <em>for a lower bound, we may replace each \(f\) by any smaller nonnegative function we like.</em> If \(\lvert \bar f \rvert \leqslant \lvert f \rvert\) pointwise, then</p>

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

<p>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</p>

\[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),\]

<p>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.</p>

<p>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}\).</p>

<p>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</p>

\[\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},\]

<p>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</p>

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

<p>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.</p>

<p><strong>A cancellation worth pointing at.</strong></p>

<p>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 <em>uniform lower bound on the variance</em> \(\sigma_u^2\) over the index set.</p>

<p><strong>Restricting the index set.</strong></p>

<p>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 <em>head-heavy</em> vectors,</p>

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

<p>where \(\mathcal H\) collects the eigen-directions with \(\mu_j&gt;\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\).</p>

<h3 id="the-setting-a-hessian-lower-bound">The setting: a Hessian lower bound</h3>

<p>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</p>

\[\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}.\]

<p>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</p>

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

<p>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</p>

\[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,\]

<p>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.</p>

<p>There is however a mismatch. The small-ball estimate of the previous subsection is available <em>at \(\beta_\lambda\)</em>: 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.</p>

<h3 id="adding-constraints-the-budget-principle">Adding constraints: the budget principle</h3>

<p>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.</p>

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

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

<p>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 <em>all</em> 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</p>

\[\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}.\]

<p>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</p>

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

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

<p><em>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\),</em></p>

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

<p><em>Proof.</em> 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\)</p>

<p>Two structural remarks about this statement. First, the two suprema are <em>decoupled</em>: \(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 <em>above</em>, 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.</p>

<p><strong>What the constraint is used for.</strong></p>

<p>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</p>

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

<p>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\) <em>restricted to those samples</em>. 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.</p>

<p><strong>Controlling the discarded samples.</strong></p>

<p>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&lt;-1\}}\leqslant \xi(s)\leqslant \mathbf 1_{\{s&lt;-1/2\}}\); then</p>

\[\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),\]

<p>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</p>

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

<p>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}\),</p>

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

<p>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)&gt;1/2r)\approx e^{-1/8r^2}\), it forces</p>

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

<p>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.</p>

<p><strong>The outcome.</strong></p>

<p>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</p>

\[\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,\]

<p>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 <em>effective</em> 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.</p>

<h3 id="the-recipe">The recipe</h3>

<p>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.</p>

<ol>
  <li><strong>Truncate for free.</strong> 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.</li>
  <li><strong>Establish the small-ball condition.</strong> 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.</li>
  <li><strong>Count, do not concentrate.</strong> 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\).</li>
  <li><strong>Spend the budget.</strong> 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.</li>
  <li><strong>Read off the constraints on the parameters.</strong> The budget is what ties together the truncation level, the sample size and the radius on which the bound propagates.</li>
</ol>

<h2 id="references">References</h2>

<p><span id="ref1">[1]</span> S. Mendelson. <em>Learning without Concentration.</em> Journal of the ACM, 62(3), Article 21, 1–25, 2015. <a href="https://doi.org/10.1145/2699439">doi:10.1145/2699439</a></p>

<p><span id="ref2">[2]</span> M. Ledoux and M. Talagrand. <em>Probability in Banach Spaces: Isoperimetry and Processes.</em> Ergebnisse der Mathematik und ihrer Grenzgebiete (3), vol. 23, Springer-Verlag, Berlin, 1991.</p>

<p><span id="ref3">[3]</span> O. Bousquet, S. Boucheron and G. Lugosi. <em>Introduction to Statistical Learning Theory.</em> In Advanced Lectures on Machine Learning, Lecture Notes in Computer Science, vol. 3176, pp. 169–207, Springer, Berlin, Heidelberg, 2004. <a href="https://doi.org/10.1007/978-3-540-28650-9_8">doi:10.1007/978-3-540-28650-9_8</a></p>

<p><span id="ref4">[4]</span> G. Lecué and S. Mendelson. <em>Performance of empirical risk minimization in linear aggregation.</em> Bernoulli, 22(3), 1520–1534, 2016. <a href="https://doi.org/10.3150/15-BEJ701">doi:10.3150/15-BEJ701</a></p>

<p><span id="ref5">[5]</span> J. A. Tropp. <em>Convex Recovery of a Structured Signal from Independent Random Linear Measurements.</em> In Sampling Theory, a Renaissance, Applied and Numerical Harmonic Analysis, pp. 67–101, Birkhäuser, Cham, 2015. <a href="https://doi.org/10.1007/978-3-319-19749-4_2">doi:10.1007/978-3-319-19749-4_2</a></p>]]></content><author><name>Antoine Roche</name><email>&amp;#97;&amp;#110;&amp;#116;&amp;#111;&amp;#105;&amp;#110;&amp;#101;&amp;#46;&amp;#114;&amp;#111;&amp;#99;&amp;#104;&amp;#101;&amp;#64;&amp;#101;&amp;#110;&amp;#115;&amp;#97;&amp;#101;&amp;#46;&amp;#102;&amp;#114;</email></author><category term="empirical processes" /><category term="high dimensional statistics" /><category term="learning theory" /><summary type="html"><![CDATA[Why empirical processes control generalization, how concentration and complexity bound them from above, and how the small-ball method bounds them from below.]]></summary></entry></feed>