High-Dimensional Probability
Nine modules, one per chapter: tail bounds, concentration of sums, random vectors and matrices, Johnson–Lindenstrauss, quadratic forms, Gaussian width, VC dimension and sparse recovery. Run a simulation, move a slider, place points, work through an example one step at a time, then check yourself with concept questions and practice problems.
Follows the chapter order of R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, 2nd ed. (Cambridge University Press; pre-publication version of November 2025). Chapters 1–9 are covered, one module each; the short opening "Appetizer" is not. A final shared module, on minimax lower bounds, shows how to prove that a rate (such as the covariance-estimation rate of Chapter 4) cannot be improved. Chapter and exercise numbers refer to that edition; the questions and examples here are written for this page. Exercises from the book appear at the end of each module, with their numbers from the book and their statements restated in our own words.
Tail bounds from moments
Almost every estimate in high-dimensional probability starts from a few blunt tools: Jensen, Markov, Chebyshev and the union bound. They are crude, but in a way you can control. Here you can see how much each one gives away, and why the next chapter wants exponential moments.
The idea
Explore
Worked example
You average
What does Chebyshev guarantee for one experiment?
, so . This is at most once .What does the CLT suggest instead?
Treat
as standard normal. A two-sided normal tail of needs , so , i.e. . That is 15 times fewer, but it is a heuristic, not a guarantee.Now 1000 experiments must all succeed with total failure probability
. Use the union bound. What failure probability can each experiment have, and what does each method ask for?Each may fail with probability
. Chebyshev needs , so : a thousand times more. The normal heuristic needs , so : only three times more.Can you trust the 1952?
Not from the CLT alone. The normal approximation to the distribution function has error of order
here, two thousand times bigger than the we are estimating. Chebyshev is rigorous but only polynomial in . What we want is a rigorous bound with Gaussian-like decay at every finite . That is the next module.
Check your understanding
All you know about
A bound needs a second moment, and you don't know . It could be huge. Exponential decay needs exponential moments. A nonnegative variable with mean 1 can have a heavy tail.- There is no bound without more information.Markov's inequality uses exactly these two facts.
Which inequality holds for every random variable (with the expectations finite)?
is convex, so Jensen goes the other way. for is concave, so Jensen gives . for is concave; try with equal probability.
You have
That makes a single event unlikely. With a million of them you need each to have probability . The number of events enters only through a logarithm, not through itself.- The union bound is useless for a million events.It loses a factor
, but a Gaussian tail absorbs that easily.
Practice
Markov is sharp at every thresholdExtremal examples
Fix
Hint
Write
Solution
Take
When is the union bound nearly exact?Independent rare events
Let
Hint
Solution
The upper bound is the union bound. For the lower,
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 1.11 norms increase with
(a) Show that
Hint
(a) Jensen with the convex function
Solution
(a) For
(b) If
Exercise 1.16Paley–Zygmund
For a nonnegative
Hint
Split
Solution
So
Concentration of sums
A sum of
The idea
All of these come from one move: apply Markov to
a Gaussian tail for moderate
Key terms in plain words
The ideas above without the symbols. Switch to Quiz me to test yourself: you see an explanation and pick the term it describes.
- Hoeffding's inequality
- A sum of independent bounded variables rarely strays far from its mean: the chance of straying by
falls off like , scaled by the ranges of the variables. - Chernoff bound
- A sharper tail bound for sums of independent yes-or-no variables, especially when successes are rare: it behaves like a Poisson tail.
- Subgaussian
- Describes a random variable whose tails die off at least as fast as a normal distribution's. Bounded variables and normal ones are examples.
- ψ₂ norm
- A single number measuring the spread of a variable with normal-like tails: the scale at which its tails look like a normal's.
- Subexponential
- Describes a variable whose tails may be heavier than a normal's but still fall off exponentially, like the square of a normal variable.
- Bernstein's inequality
- A tail bound for sums of independent variables with exponential tails: it looks like a normal tail for moderate deviations and only exponential far out.
Explore
Worked example
An A/B test estimates a click rate
Use Chebyshev, knowing only
. . Setting this to gives .Use Hoeffding (each click indicator lies in
).Two-sided:
. We need , i.e. . Sixty-five times fewer users.Suppose you also know
. Bernstein's inequality for variables with reads . What does it give?Here
and , so the exponent is . We need it to be at least :Another factor of 11. Hoeffding pays for the worst-case variance
; Bernstein pays only for the actual variance.How does each answer scale with the failure probability
?Chebyshev needs
; Hoeffding and Bernstein need . Asking for instead of multiplies the Chebyshev answer by 1000, but the Hoeffding answer by less than 2.
Check your understanding
Which of these random variables is not subgaussian?
- A random variable with
almost surelyBounded variables are subgaussian: , which is at most 2 for large . The Gaussian is the model subgaussian variable, with a constant times .- An exponential random variable
- A sum of 100 independent random signsThat sum is bounded by 100, and better, it has
norm of order .
- It only uses that each term lies in
, not that each term is almost always 0. - Hoeffding needs identically distributed terms.It doesn't, and these terms are identically distributed anyway.
- Hoeffding needs symmetric terms.The version for bounded variables needs only independence and the ranges.
- Hoeffding only holds for large
.It holds for every . It is a true bound here, just a useless one.
Let
- For
- For
Compare with : which is smaller when is large? - For all
Then would be subgaussian, but alone already decays like . - Only for
is the typical size of the sum, but the Gaussian regime extends much further.
Practice
Two subgaussian normsComputing ψ₂ from the definition
(a) Show that if
Hint
For (b),
Solution
(a)
From MGFs to a tail boundThe exponential moment method
Suppose
Solution
For
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 2.13Chernoff for Poisson
Let
Hint
Solution
(a) For
(b) For
(c) At
(d)
Exercise 2.25Distributions that aren't subgaussian
Explain why the exponential, Poisson, geometric, chi-squared, Gamma, Cauchy and Pareto distributions are not subgaussian.
Hint
Subgaussian means
Solution
For each, find a lower bound on the tail that decays slower than any
- Exponential:
. - Geometric:
, again exponential. - Poisson:
, which is . - Chi-squared with
degrees of freedom: , and . - Gamma
: density , tail of order . - Cauchy:
; it doesn't even have a mean. - Pareto: polynomial tail
.
Since
Random vectors in high dimensions
A standard Gaussian vector in
The idea
So
Explore
Worked example
Run Goemans–Williamson by hand on the 5-cycle
What is the maximum cut of
?4. A cut of all 5 edges would 2-colour an odd cycle, which is impossible; alternating labels around the cycle cut 4 edges.
Try planar vectors
. What SDP value do they give?Neighbours are at angle
, so each edge contributes , and the total is . The relaxation beats every actual cut.Show no unit vectors do better. (Write the objective with the graph Laplacian
and the Gram matrix .) , since with unit diagonal. For , , so the bound is . The planar vectors are optimal.Round with a random hyperplane through the origin: vertex
goes to the side given by the sign of . What is the expected cut, and how does it compare with the guarantee?An edge is cut when the hyperplane separates its two vectors, which happens with probability (angle)
. So the expected cut is : the rounding finds a maximum cut on average. The ratio to the SDP value is , just above the guarantee; is close to the worst case.
Check your understanding
- About
, give or take about - About
, give or take about fluctuates by about around , but taking a square root divides that by . - About
, give or take about That describes , not . - Anywhere between
and with comparable probabilityThe density of peaks at the origin, but the volume near the origin is tiny. Look at the left histogram.
- Of order
- Of order
That is the size of , not of . - Of order 1In the plane, yes. In high dimension, almost all of the sphere is near the "equator" orthogonal to
. - Exactly 0Orthogonality is approximate;
has a continuous distribution.
In
- Exponentially many in
- At most
That is the limit for exactly orthogonal vectors. A little slack changes everything. - At most
Count with random vectors and the union bound: the failure probability per pair is exponentially small. - At most
Try the union bound on random vectors: for which does it still work?
Practice
Volume lives near the surfaceThe uniform distribution on a ball
Solution
By scaling,
Norm concentration with only two momentsA Chebyshev version
For
Solution
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 3.12Distance between isotropic vectors
Let
Hint
Expand the square, and use
Solution
Exercise 3.41Exponentially many almost orthogonal vectors
Show there are
Hint
Condition on
Solution
(a) Fix
(b) Draw
Singular values of random matrices
A tall
The idea
For Gaussian entries the constant is sharp:
Explore
Worked example
Bound the number of points needed for an
Take a maximal
-separated subset of (pairwise distances , and no point can be added). Why is it an -net?If some
were at distance from all of , we could add it and stay separated, contradicting maximality.Bound
by comparing volumes.Balls of radius
around the points of are disjoint and all lie in the ball of radius . Comparing volumes,For
, at most points.For a fixed unit
, is a sum of independent terms with mean 1. What does Bernstein give?Each
is mean-zero subexponential with norm . Bernstein gives , with depending only on .Union bound over a
-net. When does it work?The probability that some net point fails is at most
, which is small once . Then on the whole net, and an approximation argument (any is within of a net point) extends the bounds to the whole sphere. The net has exponentially many points, but exponential concentration pays for them. That is why the number of rows needs to be only proportional to .
Check your understanding
- Roughly in
- Roughly in
The matrix is very tall, so it is far from singular: is close to , not to 0. - Roughly in
Those would be eigenvalues of if they concentrated to within ; singular values are their square roots. - All within
of The spread is of order , not .
For a square
- It is typically of order
: much smaller than the rest, but not zero. - It is typically of order
, like the others.Take in the explorer and look at the left end of the histogram. - It is 0 with positive probability.The set of singular matrices has measure zero, so a Gaussian matrix is invertible almost surely.
To show
- Much smaller than
- Smaller than
The net has about points, not . - Smaller than
That controls one direction. The norm is a maximum over all directions at once. - It doesn't matter, the net handles it.The net only makes the set of directions finite. The union bound still costs its size.
Practice
All 2×2 sign matricesAn exact computation
Let
Hint
The second row is either
Solution
With probability
Approximate isometriesFrom AᵀA to singular values
Show that if
Solution
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 4.35Computing a norm on a net
Let
Hint
For the right inequality, approximate the direction
Solution
Left: Cauchy–Schwarz, since
Right: assume
Exercise 4.47Intermediate singular values
From the two-sided bound
Hint
Courant–Fischer:
Solution
Let
The rows of
Lipschitz concentration and Johnson–Lindenstrauss
Any Lipschitz function of a high-dimensional Gaussian (or of a uniform point on the sphere) is nearly constant, whether or not it is a sum. One consequence:
The idea
The target dimension depends on
The dimension enters only as the factor
Key terms in plain words
The ideas above without the symbols. Switch to Quiz me to test yourself: you see an explanation and pick the term it describes.
- Lipschitz function
- A function that can't change faster than a fixed rate: moving the input by a distance
moves the output by at most a fixed multiple of . - Gaussian concentration
- Any gently varying function of many independent normal variables is almost constant: it stays near its average with very high probability.
- Concentration on the sphere
- For a random point on a high-dimensional sphere, every gently varying function is almost constant, even though the coordinates are not independent. The cause is the sphere's geometry.
- Random projection
- Multiplying data by a random matrix to get a shorter version of each point. Done right, it keeps distances nearly the same without looking at the data first.
- Johnson–Lindenstrauss lemma
- Any set of points can be squashed by a random linear map into a number of dimensions that grows only like the logarithm of the number of points, with every distance nearly preserved.
- Matrix Bernstein inequality
- A tail bound for sums of independent random matrices: the size of the total concentrates, and the dimension costs only a logarithmic factor.
Explore
Worked example
Let
Bound
. (Hint: .)By Jensen,
. So , and gives . For that is about 5.26.Show that
is 1-Lipschitz for the Euclidean norm.If the max of
is at , then . Swap the roles of and for the other direction.What does Gaussian concentration give?
for every . The maximum of a million Gaussians grows like , but it fluctuates by regardless of . (Its true fluctuations are even smaller, but the theorem needs no work to give .) Independence was never used in step 3; only the Lipschitz property was.The same reasoning applies to
as a function of the Gaussian entries of . Compute its Lipschitz constant and explain why JL needs .With
a unit vector and , , and is 1-Lipschitz in the Frobenius norm of . So deviates from its mean (which is close to 1) by more than with probability , roughly. For all pairs to succeed we need , i.e. .
Check your understanding
In the Johnson–Lindenstrauss lemma, what does the target dimension
- Only on the number of points
and the accuracy - On the ambient dimension
The proof handles one difference vector at a time, and the law of is the same in every dimension. - On how the points are arrangedThe projection is chosen without looking at the data. Switch data sets in the explorer.
- Only on
More points mean more pairs that could fail; the union bound charges .
stays within of with high probability. is approximately Gaussian.Concentration controls the size of fluctuations, not their shape. Think of . is bounded independently of . is 1-Lipschitz and . .The variance is at most of order 1 (in fact at most 1), but it can be much smaller, e.g. 0 for a constant .
Fix the target dimension
- Like
- It stays the same.Each new pair is another chance for an unlucky ratio.
- Like
That would follow from Chebyshev-type tails. The per-pair tail is Gaussian. - Like
The number of pairs grows like , but the distortion only like the square root of its logarithm.
Practice
Sizing a projectionUnion bound arithmetic
Suppose that for each fixed difference vector, a random projection to
Solution
There are fewer than
The norm of a Gaussian imageLipschitz constant of x ↦ ‖Ax‖
Let
Hint
Solution
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 5.9The maximum of Gaussians concentrates
(a) For independent
Hint
Gaussian concentration for Lipschitz functions. Write jointly normal variables as
Solution
(a)
(b) Write
Exercise 5.14Johnson–Lindenstrauss with subgaussian matrices
Let
Hint
For a fixed unit vector
Solution
Fix a unit vector
Apply this to
A matrix with i.i.d.
Quadratic forms and symmetrization
A quadratic form
The idea
The right side is linear in
Explore
Worked example
Let
Compute
for any isotropic . .For Gaussian
and symmetric , show .Write
. Then by rotation invariance, and , a sum of independent terms with . So the variance is .Apply it to this
, and check directly.The eigenvalues are
, so (also ), and the variance is 12. Directly: , , and . Total 12.What are
and , and where does the tail switch from Gaussian to exponential? and . The two terms in the minimum cross at , less than one standard deviation ( ). So this form has essentially no Gaussian regime: it is dominated by the single large eigenvalue, like . In the explorer this is stable rank .
Check your understanding
- No: Hanson–Wright is an upper bound, and here the diagonal terms
don't fluctuate at all. - Yes: Hanson–Wright requires Gaussian coordinates.It holds for any independent mean-zero subgaussian coordinates, signs included.
- Yes: the fluctuation must be exactly of order
.The theorem bounds the tail from above. Nothing forces the form to fluctuate that much.
with Then is a single : stable rank 1, the most skewed case. One eigenvalue dominates: , so the stable rank is about 1.
The symmetrization inequality
- Independent with mean zero
- SymmetricIf they were symmetric,
and would have the same law. Symmetrization is how you avoid assuming that. - BoundedOnly integrability is needed.
- Identically distributedThe proof treats each
separately; no common distribution is needed.
Practice
Estimating a trace with random signsHutchinson's estimator
You can only access a symmetric matrix
Solution
Symmetrization on the lineThe basic argument
Prove
Hint
Let
Solution
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 6.7Hanson–Wright for Gaussians, the short way
Give a proof of the Hanson–Wright inequality for
Hint
Replace
Solution
The
Exercise 6.20Symmetrization through a convex function
Let
Hint
Repeat the proof of the symmetrization lemma with an independent copy
Solution
Let
Upper bound. Since
and both terms have the same expectation.
Lower bound. Conditionally on
Gaussian processes and Gaussian width
How big is a set in
The idea
Explore
Worked example
Compute, or bound, the Gaussian width of the cross-polytope
Express
in terms of .A linear function on a polytope is maximised at a vertex, and the vertices are
. So the sup is , and .Bound
using the moment generating function.The maximum is over the
variables . For , Jensen gives , so . With : .Put in
. How good is the bound?The bound is
. The exact value (an integral of the normal distribution function, which the explorer computes) is about 3.44. For comparison, .What does this mean for a random projection of
?Its effective dimension is
for . A random projection to dimensions with well above 14 shrinks it to diameter about times the original, and for smaller to about . The ball, by contrast, has effective dimension . This gap is what makes sparse recovery possible in Chapter 9.
Check your understanding
A contraction can only shrink the increments .- They are equal.Take
: then . - No general relation.Compare the increments of the two processes and use Sudakov–Fernique.
How does the Gaussian width of
- They are equal.
can be much larger.For a fixed , a linear function's sup over the convex hull is attained at a point of . is larger by a factor for finite .That factor appears when you compare a finite set's width with its diameter, not with its hull.
Only the component of inside the subspace matters.- 1That is the radius. The width also counts how many directions the set extends in.
The width is the expected length of a -dimensional Gaussian vector, not its squared length.
Practice
Width of the cubeAn exact computation
Compute
Solution
Linear images and widthUsing Sudakov–Fernique
Show
Solution
Compare
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 7.17Gaussian width of balls
For
Hint
By duality,
Solution
Write
Case
Case
Lower bound. Let
The two regimes agree at
Exercise 7.22Effective dimension of a finite set
For a finite set
Hint
Solution
Each
Divide by
Chaining and VC dimension
To bound the supremum of a process, chaining runs a union bound at every scale and adds up the costs. For classes of sets the relevant size is combinatorial: how many points the class can label in every possible way. Place points below and try to beat the VC dimension.
The idea
Chaining: approximate each
The proof symmetrizes, bounds covering numbers of
Explore
Worked example
Find the VC dimension of the class of closed intervals
Show that two points
are shattered. : an interval far away. , : tiny intervals around each. : . All four subsets are cut out.Why can no three points
be shattered?An interval containing
and contains everything between them, including . So is never cut out. Hence .How many subsets of
points on the line do intervals cut out?Exactly the empty set and the runs of consecutive points:
. (A run is determined by its first and last point, possibly equal.)Compare with the Sauer–Shelah bound for
. : exactly equal. So the lemma cannot be improved in general. For , intervals realise 56 of the 1024 subsets.
Check your understanding
What is the VC dimension of half-planes in
- 2Three points in a triangle are shattered: check it in the explorer.
- 3
- 4Try four points. In convex position, the two diagonals can't be separated; otherwise one point is inside the triangle of the others.
- InfiniteHalf-planes are described by 3 parameters, and indeed no 4 points can be shattered.
A class has VC dimension 3. At most how many different subsets can it cut out of 10 points?
- 176
- 1024That is every subset, which would mean 10 points are shattered.
- 120That is
alone. Add the subsets of size 0, 1 and 2 in the Sauer–Shelah sum. The style bound is of this order, but the exact Sauer–Shelah sum is much smaller here.
Empirical risk minimisation over a class of VC dimension
That faster rate needs extra assumptions (for example, a target in the class with no noise). , independent of The complexity of the class must enter: with infinite VC dimension, no rate is possible. Sauer–Shelah replaces the exponential count by a polynomial, so only appears, not .
Practice
Discs centred at the originA one-parameter class
Find the VC dimension of the class
Solution
One point
Finite classesA simple bound
Show that a finite class
Solution
Shattering
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 8.12VC dimension of pairs of intervals
Let
Hint
A subset of points on a line can be cut out by two intervals iff it consists of at most two runs of consecutive points.
Solution
Four points are shattered. Take
No five points are shattered. For
Exercise 8.14VC dimension of rectangles
Let
Hint
For shattering, use four points in a diamond. For the upper bound, look at the leftmost, rightmost, highest and lowest of five points.
Solution
Four points are shattered. Take
No five points are shattered. Among five points pick one with smallest
Random matrices on sets and sparse recovery
A random
The idea
Taking
Why:
Explore
Worked example
The smallest case:
Take
, so . Find the minimum -norm solution.It is the point of the line
closest to the origin, . Not sparse, and not .Now minimise
on the same line.On the line
, so minimise . This is piecewise linear with value 2 at and 1 at , and grows outside . The minimum is at : recovered. Geometrically, the smallest diamond that touches the line touches it at a corner.Repeat with
, so .On
, minimise : value 1 at but at . The minimiser is : sparse, but the wrong vector.Explain both outcomes with the kernel and the descent cone
.Near
, , so , a cone of half-angle 45° around . For the kernel is spanned by , which is steeper than 45° and misses : success. For it is spanned by , and : failure. In high dimension the descent cone is a small fraction of directions, and the escape theorem says a random kernel misses it once .
Check your understanding
- 1
has points of length 1 (the vertices), but a random subspace avoids those directions. That is what the bound gives for the Euclidean ball, whose width is about . Use instead.- 0
is a subspace of dimension , so contains nonzero points.
How many Gaussian measurements suffice for
- On the order of
- On the order of
measurements would let you invert , sparse or not. Sparsity is what saves you. - Exactly
Even knowing the support you need ; not knowing it costs a logarithmic factor for . - On the order of
Some deterministic constructions need that many; random matrices do much better.
In the matrix deviation inequality, take
- All singular values of
lie in , on average. for every unit vector .The inequality allows a deviation of order , not zero. is invertible.If , has a kernel, and the bound becomes negative, so it says nothing about . .The scale of must appear; only the deviation is of order .
Practice
ℓ₁ minimisation is a linear programWhat the explorer solves
Show that
Solution
Given feasible
Too few measurementsA lower bound for any method
Show that if
Hint
Look for two different
Solution
Any
From Vershynin, High-Dimensional Probability (2nd ed., Cambridge, pre-publication version, 2025)
Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.
Exercise 9.30The geometry of exact sparse recovery
Give a geometric reading of the proof of exact recovery by
Hint
The error
Solution
The feasible set is the affine subspace
The first lemma (
The escape theorem then says a random subspace of codimension
Exercise 9.32The nullspace property
Hint
(a) For one direction expand
Solution
(a) NSP ⇒ recovery. Let
Recovery ⇒ NSP. Take
(b) If the property fails, some nonzero
Minimax lower bounds: how well can anyone estimate?
Proving that an estimator's error is at most something is an upper bound: it describes one method. To know whether a better method could exist, you need a lower bound that holds for every method at once. The standard way to get one is to turn estimation into a guessing game between a few candidate truths and then show, with KL divergence, that the data can't tell them apart.
The idea
A rate is optimal when an upper bound for some estimator matches a lower bound on
The art is in the choice of the
Two points give the right dependence on the sample size. They can't see dimension, because a two-point problem is one-dimensional. To capture dimension you need many hypotheses.
The recipe. (1) Choose a packing
Explore
Estimate the mean
Worked example
Observe
Build the packing. What are
, the separation, and the largest distance?Take a Gilbert–Varshamov set
, , and put . Then , which lies between and . So and the separation is .Bound the KL between the laws of the whole sample under
and .One draw gives
, and independent draws give times that: at most .Choose
so that Fano gives error probability at least .Require
, i.e. . Fano gives for .Conclude.
. The sample mean achieves , so the minimax rate is . The constant is poor, but the dependence on , and is exactly right. Dimension enters through : there are exponentially many well-separated candidates, and the data carry only enough information to rule out a few.
Check your understanding
In the figure, raise the separation δ well past
- The two laws barely overlap, so a test tells them apart almost surely and
. - Because the loss is smaller when δ is large.The separation
grows with δ; what collapses is the chance of a wrong guess. - Because the sample mean is not the best test.Thresholding the sample mean at δ/2 is the optimal test between these two Gaussians.
Why does the dimension
- Fano's bound depends on
, and a packing can contain well-separated points; two points only probe one direction. - Because Fano uses TV and Le Cam uses KL.Both can be phrased with KL; the difference is the number of hypotheses.
- Because the two-point method only applies in one dimension.It applies in any dimension, but it can only capture the difficulty along the single direction joining the two points.
Experiment B is obtained from experiment A by passing the data through a known noisy channel. You prove a lower bound
- The minimax risk in B is also at least
. - Nothing: the experiments are different.B can be simulated from A, so any estimator for B is also an estimator for A; B can't be easier.
- The minimax risk in B is at most
.That reverses the direction: losing information can only make estimation harder.
Why is the supremum over
- Otherwise a constant estimator
would have zero risk at , and "best estimator" would be meaningless. - To make the risk finite.It can only make the risk larger; it's there to rule out estimators that are lucky at one parameter.
- Because the true θ is random.In the minimax framework θ is fixed and unknown; averaging over a prior gives Bayes risk instead.
Practice
How fast can a coin be learned?Two points for a Bernoulli
From
Outline
- The KL between the
-flip laws is at most .Why?
KL adds over independent flips. The single-flip bound follows from
, and . - With
, Pinsker gives .Why?
. - Le Cam with
gives .Why?
.
The empirical frequency has risk
A KL bound without small perturbationsGaussians with different covariances
For positive definite
Outline
- With
the eigenvalues of , .Why?
This is the formula in the text:
and . for .Why?
, which is applied to . .Why?
Expand
, and use . for symmetric .Why?
for , and . Here is the operator norm, and .
Unlike a second-order Taylor expansion, this holds however far apart
Estimating a covariance matrixWhy is unavoidable
Observe
Outline
- Pack the
off-diagonal positions: , where is symmetric with zero diagonal and entries , and .Why?
, so and stays in the class. Gilbert–Varshamov gives and . - The pairwise KL of the
-sample laws is at most .Why?
. The previous problem with for both matrices bounds one sample's KL by , and samples give times that. (Constants are not optimized.) - Take
and apply Fano.Why?
Then KL
, so the error probability is at least . The risk is at least , which is of order because .
In operator norm the rate is different: when
Simulation gives lower bounds for freeProve the comparison of experiments
Suppose
Outline
- Every estimator
for experiment B defines an estimator for A: .Why?
It uses only
, the known and the auxiliary randomness (randomized estimators are allowed; if you prefer, average over and use convexity of the loss). - For every
, has the same risk as .Why?
has exactly the law of under , so the two estimates have the same distribution. - Take the supremum over
, then the infimum over .Why?
The infimum over all A-estimators is at most the infimum over this subfamily.
Example: noisy linear measurements
Key terms in plain words
The ideas above without the symbols. Switch to Quiz me to test yourself: you see an explanation and pick the term it describes.
- Minimax risk
- The smallest worst-case error any estimator can guarantee, over every possible truth in the model.
- Upper bound
- A guarantee about one particular method: this estimator's error is at most so much.
- Lower bound
- A limit on every method at once: no estimator can have worst-case error below so much.
- Optimal rate
- An error rate achieved by some method and matched by a lower bound, up to constant factors.
- Two-point method
- Showing estimation is hard by finding two possible truths that are far apart but whose data look nearly the same.
- Fano's inequality
- If the data carry little information compared with the logarithm of the number of options, any guess among the options is often wrong.
- Packing
- A large collection of candidate truths that are all pairwise far apart.
- Tensorization of KL
- For independent observations, the divergences simply add, so n samples give n times the divergence of one.
- More informative experiment
- One whose data could be used to fake the data of another; it can never have a larger minimax risk.