Fall 2026, Instructor: Haipeng Luo
This document presents the original English text of the Lecture 3 slides, restored against the source PDF. Mathematical notation, theorem numbering, proposition numbering, and proof structure are preserved as in the original.
1 Infinite Class: Regression
In this lecture, we continue to focus on characterizing the learnability of statistical learning. Recall that in the last lecture, by a sequence of upper-bounding steps we arrived at
where for a binary classification problem, or is the Lipschitz constant for the regression loss. For a finite class with function values bounded in , we apply the maximal inequality to show
Based on this result, we further discussed that for a binary classification problem (), all that really matters is the projection
Therefore, one can reduce the infinite case to the finite case by introducing the growth function and VC-dimension of a class. Specifically, we proved that with ,
In this lecture, we turn our focus to regression problems with a real-valued function class. Without loss of generality, we assume that the output is normalized so that
It is clear that the key is still to understand the Rademacher complexity . However, since is a real-valued class, the projection
is generally also an infinite set, and we cannot directly apply the finite case result.
A somewhat natural idea to fix this issue is to approximate the infinite class by a finite discretization. There are different possible ways to do this, and we discuss two below.
1.1 Covering functions
The first idea is to come up with a finite function class so that for any , there is a corresponding representative such that is close to . The closeness could be measured by, for example, the maximum pointwise difference between the two functions:
Based on this intuition, we define: if a finite class satisfies that for any , there exists such that for all ,
then is called a pointwise -cover of , and the pointwise -covering number of is defined as
(or infinity if there is no such finite cover). Clearly, is non-increasing in .
With this definition, we can once again reduce the infinite case to the finite case and immediately derive the following result.
Theorem 1. For any , we have
Proof. Fix any . Let be a pointwise -cover of with size . For each , let be the "representative" of such that
We then have
where the last step uses Massart's lemma. Since this holds for any , the theorem follows.
Naturally, the bound exhibits some trade-off between the approximation scale and the size of the cover. How large can the pointwise covering number be? Let us first consider a linear case, where
for some and such that
Here,
is the -dimensional -norm unit ball (and is defined similarly). The condition makes the dual norm of (and vice versa), and this ensures, by Hölder's inequality, that
This captures many common problems such as (regularized) linear regression. We first see how large the pointwise covering number is when (and thus ).
Proposition 1. Let
For any ,
Moreover, when ,
Proof. Note that is simply a -dimensional hypercube with edge length 2. Fix any . We discretize this hypercube "evenly" into
disjoint small hypercubes with edge length , and define as the set of linear functions parametrized by the centers of these small hypercubes.
Clearly, is a pointwise -cover of , since for any , if we let be the center of the small hypercube that lies in and be the corresponding linear function, then for any we have
This concludes the first statement. The second statement is by applying Theorem 1 and setting
Footnote 1. Technically, should be . We ignore this subtlety since it makes no real difference.
This implies that the linear class above is learnable (via ERM with rate roughly ).
For a general value of , it is easy to see that
So if we use the same class constructed in the proof of Proposition 1 as a pointwise cover, we can show that for any and its representative , and any ,
This means is a pointwise -cover, and consequently the pointwise covering number is bounded as
So the linear class is learnable for any value of .
However, when dealing with the -norm ball , intuitively we should also discretize it into small -norm balls instead of small hypercubes, and this might lead to a smaller cover. This is indeed true as shown in the next proposition, but explicitly constructing such a cover seems rather difficult. Fortunately, in the proof we show that sometimes it is possible to give a bound on the covering number without explicitly constructing the cover.
Proposition 2. If
for some and such that , we have, for any ,
Moreover, when ,
Proof. Fix any . Let be a -norm ball with radius . The key idea is to pack the ball with as many small balls of radius as possible.
Formally, let be the largest subset such that for any two points ,
This is called an -packing of .
We first claim that the corresponding function class
is a pointwise -cover of . Indeed, for any , there must exist such that
Otherwise, can be added to and is still an -packing, a contradiction to the definition of . It is then clear that for any ,
It remains to prove
To show this, imagine that for each point in , we put a -norm ball with radius centered at this point. By the definition of , all these balls are disjoint. On the other hand, all these balls are contained in the larger ball
Therefore, we must have that the sum of the volumes of all these small balls is bounded by the volume of the larger ball:
Using the fact
and rearranging then proves
The upper bound on is again obtained by applying Theorem 1 and setting
which completes the proof.
In HW1, you will also prove that this covering number of order
is tight for the linear class, using a similar volumetric argument.
Next, we consider a nonparametric example where and is the set of all non-decreasing functions. This function class is commonly used in the so-called isotonic regression problems, where it is very natural to assume that the output is monotonic in the input (for example, predicting the height of children as a function of age).
In this case, seems to be a very expressive class. Indeed, it has an infinite pointwise covering number, as shown below.
Proposition 3. If
and is the set of all non-decreasing functions, then for any ,
Proof. Consider an infinite subset of defined as
It is impossible to pointwise cover any two different functions and from this set with the same function , since
and thus cannot be simultaneously within distance of both and . This implies that there is no finite pointwise cover for .
Does this imply that this function class is not learnable? The answer is no as we show in the next section. Importantly, this implies that pointwise covering is in fact not the right, or at least not the tight, complexity measure.
1.2 Covering projections
Recall that just as in classification, symmetrization allows us to only care about the projection , instead of the entire function class . This motivates us to approximately discretize the -dimensional space instead of .
Formally, if satisfies: for any , there exists such that
then is called an -cover of with respect to the norm.
Note that here we slightly abuse the notation by using as an -dimensional vector (while previously it was also used as a function in ). The ( norm) -covering number is defined as the size of the smallest -norm -cover.
In fact, a more careful inspection of the proof of Theorem 1 reveals that an cover is not necessarily needed. To this end, for any , if satisfies: for any , there exists such that
or equivalently,
then is called an -cover of with respect to the norm.
Similarly, the corresponding -covering number is defined as the size of the smallest -norm -cover.
Note that there is a somewhat "strange" (but in fact conventional) normalization going on in this definition. This normalization ensures that
is an increasing function in (you can prove this via Hölder's inequality), and therefore
An argument similar to the proof of Theorem 1 shows the following.
Theorem 2. For any and inputs , we have
Proof. Fix any . Let be an -cover of with size . For each , let be its "representative", satisfying
We then have, with ,
The last step uses Massart's lemma. Since this holds for any , the theorem follows.
Now let us see how covering projections is better than covering functions.
First, since lies in , it is trivial to see that by discretizing into small hypercubes, similarly to what we did in the previous section, one can show that
always holds. This bound is useless though, since it leads to a constant upper bound on the Rademacher complexity if one plugs it into the bound of Theorem 2.
Second, note that if is a pointwise -cover of , then by definition, is also an -cover of with respect to the norm, which implies
That is, covering projections is never worse than covering functions. Therefore, for the linear class discussed earlier
one also has
In fact, it is not hard to see that more generally, as long as lies in some -dimensional subspace of , its covering number is roughly of order
(see HW1).
Finally, we come back to the non-decreasing function class and argue that while , is finite, which means covering projections is strictly better than covering functions.
Proposition 4. If
and is the set of all non-decreasing functions, then for any ,
Therefore,
Proof. Without loss of generality we assume
Let be a finite discretization at scale such that
and for any , there exists such that
Let
Clearly, by construction is an -cover of with respect to the norm. It remains to calculate the size of .
It is not hard to see that is exactly the number of solutions of the equation
for non-negative integers , where represents the number of appearances of the -th smallest element of . The exact number of solutions is
but a rough estimate can be obtained by simply realizing that each can only take possible values:
The bound on the Rademacher complexity is by a direct application of Theorem 2 and picking the optimal value of .
This shows that while the class of all non-decreasing functions is seemingly very expressive, it is in fact still learnable via ERM. This serves as another example to showcase the importance of the symmetrization trick, which allows us to focus only on the projections rather than on the functions themselves.
We finally remark that regardless of which type of covers we use, the covering argument appears only in the analysis, not in the algorithm itself — the algorithm is always just ERM, which could be very efficient even for problems like isotonic regression.
2 Dudley Entropy Integral
One might notice that the rate of convergence shown in Proposition 4 is roughly , which is slower than the typical rate we have seen for all other examples.
Does that really imply that learning non-decreasing functions requires more samples, or is our bound loose? It turns out that the latter is true, and to improve the bound, we need to apply a tighter analysis using the so-called Dudley entropy integral.
Theorem 3. For any and inputs , we have
The proof is deferred to the next section. The upper bound in the theorem above is called the Dudley entropy integral of the class (log covering number is often called the metric entropy; hence the name).
It is in terms of the covering number (the reason will be clear in the proof), and it looks at the covering number at different scales simultaneously.
Ignoring constants and the difference between and , this is never worse than the bound given by Theorem 2, since
is decreasing in , and thus
It could be strictly better though, as shown in the following two examples.
Proposition 5. If
for some and such that , we have
Proof. We use the bound
Therefore,
When , the right-hand side is , since
Plugging this into the Dudley entropy integral and taking thus finishes the proof.
Footnote 2. More generally, if the range of the functions is not , one only needs to replace the 1 in "" and "" with . You will need this more general version for HW1 Problem 1(b).
So using the Dudley entropy integral allows us to remove the extra term in Proposition 2 for the Rademacher complexity of linear functions. The improvement in the next example will be even more significant.
Proposition 6. If
and is the set of all non-decreasing functions, then
Proof. Again we directly plug in the bound
and calculate the Dudley entropy integral:
Setting finishes the proof.
This shows that the rate for learning non-decreasing functions is again roughly instead of , demonstrating the power of the Dudley entropy integral.
2.1 Chaining Technique
Proof of Theorem 3. The proof relies on an important chaining technique that looks at different covering scales simultaneously.
Specifically, for
(for some to be specified later) let
and let be an ( norm) -cover of with size
Additionally, let be the trivial -cover of that contains only the all-zero vector.
Now, for each , we can associate it with a chain of representatives
such that
Then, with , we have
where
The first term in the last bound is bounded by , since by the Cauchy-Schwarz inequality,
For the second term, we apply Massart's lemma again:
where
For any pair , there exists such that
and
Therefore, one has
This shows that
Thus,
The last step uses the fact that
is a non-increasing function in .
Finally, for any , let be such that
Then we have
Therefore,
For the case , the same bound follows by letting .
Note that the key reason that -norm covers are used is because the definition of is in terms of the norm (which is inherited from the maximal inequality).
Summary
To recap, we have shown three different upper bounds in terms of covering numbers for the Rademacher complexity of a real-valued class, along with two running examples to show how good each bound is; see the table below for a summary.
Table 1: Summary of Rademacher complexity upper bounds using covering numbers
| Upper bound on | Linear functions | Non-decreasing functions |
|---|---|---|
| | | | | | | |
3 Combinatorial Parameters: Pseudo-Dimension
Note that the role of covering number is very similar to the role of growth function for classification problems. For the latter, we also introduced VC dimension, a combinatorial parameter of a class that might be easier to figure out and that gives a direct upper bound on the growth function via Sauer's lemma.
This leads to a natural question: can we also come up with some combinatorial parameter for a real-valued function class that helps us bound the covering number directly?
Indeed, such combinatorial parameters exist. The first such one in the literature is the pseudo-dimension, and it is based on a pretty natural idea of reducing a real-valued function to a binary classifier by looking at its epigraph.
Specifically, a function
naturally separates the space
into two parts:
- the part where (which is called the epigraph of );
- the part where .
Therefore, we can see as a binary classifier for the space .
The pseudo-dimension of is simply defined as the VC dimension of this induced class of binary classifiers:
If we spell out the definition of VC dimension, then the pseudo-dimension is the largest number such that there exist input-output pairs
such that for any labeling
there exists such that for all ,
(Try drawing a picture for the case to help understand this.)
Take the linear class as an example again:
for some and such that
To see how large the pseudo-dimension is for this class, we need to look at the VC dimension of the class
This is very similar to the class of linear classifiers we discussed in Lecture 2 (and HW1), and it is not hard to verify that the VC dimension is exactly . Therefore,
A finite pseudo-dimension turns out to be sufficient for learning. Indeed, one can show an analogue of Sauer's lemma which says that, ignoring some log factors,
is of order
We will not prove this fact, but using this bound with Theorem 2 directly gives
Also note that for the linear class, this gives almost the same bound as those in Table 1.
However, it turns out that finite pseudo-dimension is not necessary for learning. To see this, we examine the class of all non-decreasing functions again.
The claim is that while this class is learnable (as we already proved), it actually has infinite pseudo-dimension, which implies that pseudo-dimension is not the "right" complexity measure.
Indeed, for any , consider the input-output pairs
For any labeling
as long as
we can always find a non-decreasing function that passes through these points in order:
Clearly, such a function satisfies, for all ,
This shows that the induced binary classifier class can shatter this kind of training set of any size, and thus the pseudo-dimension is infinite.
How do we fix this? Is there a better combinatorial parameter whose finiteness is necessary for learning? We will answer these questions in the next lecture.