Topic: infinite real-valued function classes, covering numbers, Dudley's entropy integral, and pseudo-dimension Course: Theoretical Machine Learning Slides: Lecture 3, Fall 2026, Haipeng Luo
1. The problem this lecture solves
The previous lecture characterized learnability for finite function classes and binary classification. This lecture turns to regression:
The central goal is still to control Rademacher complexity, because the generalization error of empirical risk minimization (ERM) is bounded through the following chain:
where is the Lipschitz constant of the loss; for binary classification one can take .
For finite classes, Massart's lemma applies directly: if function values lie in , then
But in regression, is often an infinite class, and its sample projection
is usually still an infinite set, so cannot simply be plugged into the finite-class bound. The unifying strategy of this lecture is: first approximate the infinite set by a finite one, then apply Massart's lemma to the finite representative set.
2. First layer: cover the whole function class
2.1 Pointwise covering and covering numbers
A finite class is a pointwise -cover of if for every there exists such that
The size of the smallest representative set is the pointwise covering number:
The larger is, the looser the approximation requirement, so is non-increasing in .
2.2 Theorem 1: single-scale covering bound
This bound expresses a basic trade-off:
- Small : the approximation error is small, but more representative functions are needed, so the covering number grows;
- Large : the representative set is smaller, but the discretization error grows.
The skeleton of the proof writes each function as "approximation error + representative":
The first term is bounded by via the pointwise error guarantee; the second term is the Rademacher complexity of the finite class , controlled by Massart's lemma.
2.3 Example: linear functions
Consider
By Hölder's inequality, .
When , the parameter space is a hypercube with side length 2. Discretizing each coordinate uniformly gives
and for ,
For general , the slides give a more elegant volume argument. Take a maximal -packing of the parameter ball : points whose pairwise distances exceed . Maximality guarantees that the packing centers also form an -cover; placing a ball of radius around each center produces disjoint balls, all contained in . Comparing volumes gives
Hence again
The general technique to master here is: a maximal packing automatically yields a cover, and a volume ratio then controls the packing size.
2.4 Why pointwise covering can be too strong
Let be the class of all non-decreasing functions from to . For any ,
The proof only needs the infinite subclass
Two functions with different jump locations differ by 2 at some point, so no single representative can cover both of them with error below 1.
Yet this class is in fact learnable. So "approximating at every point of the entire input space" is too strong a requirement; the pointwise covering number is not a tight complexity characterization.
3. Second layer: cover only the sample projection
3.1 Sample-dependent covering numbers
Fix inputs . A set is an -cover of the projection in the sense if for every projected vector there exists such that
equivalently,
The corresponding minimal size is denoted . Under this normalization,
Projection covering is never worse than pointwise covering, because restricting a pointwise cover to the sample naturally gives an cover:
3.2 Theorem 2: projection covering bound
The conditional Rademacher complexity satisfies
The proof is again the decomposition "original vector = residual + finite representative." An cover is used here because
directly controls the approximation term by .
3.3 The monotone class becomes finite again
Sort the sample as . Discretize the output range at scale into a set with . All non-decreasing sequences taking values in form an cover of the projection.
Such a sequence is determined by how many times each discrete value appears. A crude count gives
Plugging into Theorem 2:
The conclusion is crucial: a function class may admit no finite cover over the whole domain while its behavior on a finite sample does. For generalization analysis, the latter is exactly what symmetrization leaves us to control.
Also, the cover only appears in the analysis; the algorithm itself can still be plain ERM. For isotonic regression, ERM can even be computed efficiently.
4. Third layer: Dudley's entropy integral
4.1 Why upgrade again
Theorem 2 picks a single scale . For the monotone class it yields a rate of about , slower than the common . The problem is not that the class is genuinely harder to learn, but that single-scale analysis throws away information.
Dudley's entropy integral exploits all covering scales from coarse to fine simultaneously:
is often called the metric entropy, which is why this bound is called the entropy integral.
4.2 Improvements on the two examples
For the -dimensional linear class, using
and taking gives
This removes the extra factor from the single-scale covering bound.
For the monotone class, using
we get
Therefore
This improves the single-scale rate of about to about .
4.3 Proof intuition for chaining
Take geometrically decreasing scales
and pick an cover at each scale. For each projected vector , select layer-by-layer representatives
Then decompose telescopically:
Here:
- The tail term at the finest scale contributes at most ;
- The candidate set of increments at each layer is finite, so Massart's lemma applies;
- The two representatives of the same function at adjacent scales are both close to it, hence
Summing the per-layer contributions yields a discrete sum over scales, and monotonicity of the covering number in the scale bounds that sum by an integral.
The reason for using covers is that the "radius" in Massart-type maximal inequalities is governed by the norm of the vectors.
Chaining in one sentence: instead of approximating a function to its final accuracy in one shot, express it as a sequence of increasingly fine corrections, each of which is small.
5. Comparing the three bounds
| Method | Information used | Linear class | Non-decreasing class |
|---|---|---|---|
| Pointwise function covering | Uniform approximation over the whole domain | ||
| Single-scale projection covering | One accuracy on a fixed sample | ||
| Dudley's entropy integral | All accuracies on a fixed sample |
This table should serve as the core memory framework of the lecture:
- Moving from "covering functions" to "covering projections" removes an unnecessary global requirement;
- Moving from "single scale" to "all scales" removes further slack;
- The analysis tools grow sharper, but the learning algorithm can remain ERM throughout.
6. Pseudo-dimension: binarizing real-valued functions
Covering numbers play the role in regression that the growth function plays in classification. In classification, VC dimension controls the growth function; correspondingly, a classical combinatorial parameter for real-valued classes is the pseudo-dimension.
For each , consider the binary classifier on
Define
Equivalently, is the largest integer for which there exist thresholded points such that for every sign pattern one can find with
Two examples:
- For the -dimensional linear class, ;
- The class of all non-decreasing functions has infinite pseudo-dimension.
Finite pseudo-dimension suffices for learnability. As the slides note, up to logarithmic factors, a Sauer-type result gives
which in turn implies
But finite pseudo-dimension is not necessary for learnability: the monotone class is learnable yet has infinite pseudo-dimension. So pseudo-dimension is still not the correct "if and only if" complexity characterization. That is precisely the question left for the next lecture.
7. Common confusions
- A cover is not a packing. A cover requires every point to be close to some center; a packing requires the centers to be pairwise separated. Proofs exploit that "a maximal packing is a cover."
- Pointwise covering is not projection covering. The former approximates simultaneously at all ; the latter only at the current sample points.
- Do not reverse . This ordering is determined by the normalized empirical norms used in the slides.
- Covering numbers appear in proofs, not necessarily in algorithms. Do not assume ERM must explicitly construct a cover first.
- Dudley does not change the function class; it changes the analysis scale. It turns a one-shot approximation into multi-layer increments.
- "Finite parameter dimension" and "finite pseudo-dimension" are not necessary for all nonparametric problems. The monotone class is the counterexample.
- The log covering number is the metric entropy. Dudley's integral contains , not the covering number itself.
8. Questions to bring to class
- At which step exactly does symmetrization allow us to move from the whole to ?
- In the proofs of Theorems 1 and 2, through which norms is the approximation error controlled?
- Why is a maximal -packing necessarily an -cover?
- Why can the size of the monotone-sequence cover be counted by "how many times each discrete value appears"?
- Why does single-scale optimization yield for the monotone class while the integral method yields ?
- In chaining, why connect representatives of adjacent layers instead of comparing every fine representative directly with the zero vector?
- Why does the pseudo-dimension of the linear class equal exactly , while the monotone class has infinite pseudo-dimension?
- If pseudo-dimension is not necessary, what more appropriate scale-sensitive combinatorial parameter will the next lecture introduce?
9. A 30-minute pre-lecture review order
First 5 minutes: review Rademacher complexity, Massart's lemma, symmetrization, and the Lecture 2 logic of controlling the growth function via VC dimension. Minutes 5-12: master the definition of pointwise -cover and the "residual + representative" proof of Theorem 1. Minutes 12-18: contrast the linear class with the monotone class to understand why pointwise covering fails. Minutes 18-23: learn the definition of projection covering, focusing on the normalization and Theorem 2. Minutes 23-28: read Dudley's bound and the telescoping decomposition of chaining; grasp only the multi-scale intuition for now. Final 2 minutes: memorize the comparison table and restate "finite pseudo-dimension is sufficient but not necessary."
10. One-sentence summary
The point of this lecture is not to memorize three formulas, but to understand three successive refinements of complexity analysis: discretize the infinite class; discretize only what is visible on the sample; then use chaining to exploit all discretization scales at once.