Nets, Covering Numbers and Metric Entropy
How to reduce a supremum over an infinite set to a maximum over a finite one, and what that reduction costs.
Definitions
Let be a metric space and .
- is an -net of if every has some with .
- The covering number is the smallest cardinality of an -net.
- is -separated if for all distinct ; the packing number is the largest cardinality of an -separated set.
- is the metric entropy of at scale .
For every ,
So the two notions are interchangeable up to a factor of in the scale, and since every bound we prove is stated up to constants and logarithms, they may be used interchangeably. The practical consequence: to upper bound a covering number, exhibit a net; to lower bound it, exhibit a separated set.
The volumetric argument
Let be the unit Euclidean ball in and . Then
The same bounds, with the same proof, hold for the sphere .
Key idea
Both bounds are up to the base of the exponent. So metric entropy of the ball is
linear in the dimension and only logarithmic in the accuracy. This single fact is why net arguments are useful: the union bound costs , which is paid against a concentration exponent that is typically of order or — so the argument succeeds precisely when the sample size beats the dimension.
Using a net: the operator norm
Let , let and let be an -net of . Then
In particular a -net gives .
Chaining and Dudley's integral
The net argument above is lossy. It approximates every point of at a single scale , paying the full union-bound price at that scale. Chaining approximates at a sequence of geometrically decreasing scales, paying a smaller price at each.
A stochastic process indexed by a metric space is sub-Gaussian if
For a mean-zero sub-Gaussian process ,
The proof is the chaining argument: write as a telescoping sum along a sequence of nets at scales , apply a union bound at each scale, and sum the resulting geometric series. It is a beautiful argument and it is given in full in the references; it is stated here because the shape of the conclusion is what gets used.
For a bounded set and , the Gaussian width is
Gaussian width is the single scalar that governs a remarkable range of high-dimensional estimates: the operator norm of a random matrix restricted to , the number of measurements needed for compressed sensing of signals in , the error of an estimator constrained to . Two reference values worth memorising:
The second is the reason sparse recovery needs measurements rather than : the complexity of the set of -sparse unit vectors, measured by Gaussian width, is , not . The sparse recovery page makes this quantitative.
What this does not say
Dudley's bound is not tight in general. There are sets for which , and the gap can be a factor of or worse. Talagrand's generic chaining replaces the entropy integral with the functional, which does characterise for Gaussian processes (the majorising measure theorem). For most applications on this site Dudley suffices; when it does not, the reference is the right place to go.
Problems
The volumetric lower bound on covering numbersProof · Intermediate · 30 min The operator norm on a netProof · Intermediate · 30 min Covering numbers of the set of sparse unit vectorsProof · Advanced · 1 hour Gaussian width of the sphere and of the sparse setProof · Advanced · 30 minReferences
- BookRoman Vershynin (2018). High-Dimensional Probability: An Introduction with Applications in Data ScienceChapters 4 and 7–8 for nets, chaining and Gaussian width, in far more depth than here.
- BookMichel Talagrand (2021). Upper and Lower Bounds for Stochastic Processes: Decomposition TheoremsThe definitive account of chaining and generic chaining, which supersedes Dudley's bound.
- BookMartin J. Wainwright (2019). High-Dimensional Statistics: A Non-Asymptotic ViewpointChapter 5 connects metric entropy to statistical rates.
These works are cited as sources to read, not reproduced. All exposition, examples and problems on this site are written independently; where an argument is standard, the citation points to a canonical treatment.
Results stated on this page
- DefinitionNets, covering and packing numbersThe three finite-approximation quantities and the notation used for them.
- LemmaPacking and covering numbers are equivalentproof includedThe two quantities sandwich each other at scales differing by a factor of two.
- TheoremVolumetric bound on covering numbersproof includedThe unit ball of R^d admits an epsilon-net of size at most (3/epsilon)^d, and needs at least (1/epsilon)^d points.
- LemmaOperator norm from a netproof includedThe spectral norm computed on a fine enough net is within a constant factor of the true spectral norm.
- TheoremDudley's entropy integralThe expected supremum of a sub-Gaussian process is bounded by an integral of the square root of the metric entropy.
- DefinitionGaussian widthA single scalar summary of a set's complexity that controls many high-dimensional estimates.