Minimax Theory: the Limits of Estimation
How well can anyone estimate a function, with any method at all?
The part opens with Farrell (1972) and Stone (1980): with s derivatives in d dimensions no method of any kind estimates a function faster than n to the power -2s/(2s+d), which is the promise Part 29 took on trust when it found n^(-4/5). The Gaussian sequence model is set up and shown to stand for regression and density estimation (Brown and Low, Nussbaum). Over a Sobolev ellipsoid Pinsker finds the exact linear minimax risk, its tapered rule and its least favourable Gaussian prior, and a hard cut-off is shown to lose the factor 3^(2/3). Lower bounds are then built on a workbench of hypotheses: Le Cam's two points for a density at a point, Fano's packings with Varshamov-Gilbert for sparse vectors, Assouad's hypercube of bumps for Holder regression. Blockwise James-Stein and thresholding give upper bounds that match, and Lepski's method adapts to unknown smoothness at a price for pointwise loss. The part turns to testing, with Ingster's separation rates, the sparse-mixture detection boundary and higher criticism, and to planted clique and sparse PCA, where rates achievable in principle seem out of reach of efficient algorithms. It ends on the Board: an interval at Lepski's bandwidth covers 44% of the time at a peak, and only the bias-aware interval has a guarantee over the whole class.
What you need. Part 29's smoothing (bias, variance, bandwidths), Part 45's decision theory (Bayes and minimax risk), Part 47's local asymptotics, and Fourier series.
- Hook
- the speed limit of nonparametrics (Stone 1980)
- Mathematics
- the Gaussian sequence model and Le Cam equivalence, Pinsker's theorem, Le Cam/Fano/Assouad, adaptation (Lepski), minimax testing and higher criticism, statistical–computational gaps
- Built
- a lower-bound workbench
What you will be able to do
Bachelor's
- Explain what a minimax rate claims: a speed limit for every method over a class of functions, and why Part 29's rate n^(-4/5) is such a limit.
Master's
- Compute Pinsker's taper, its risk and its least favourable prior over a Sobolev ellipsoid, and compare them with the best projection estimator.
- Compute total variation, Hellinger and KL between two normals and use Le Cam's two-point bound on a pair of hypotheses.
PhD
- Prove a lower bound three ways (Le Cam's two points, Fano with a Varshamov-Gilbert packing, Assouad's hypercube) and say which loss and which class each suits.
- State the price of adaptation for pointwise loss and why no confidence interval can be both adaptive and honest over a union of smoothness classes.
- State the planted-clique conjecture and what low-degree evidence does and does not prove about statistical-computational gaps.
Practice
- Choose between an undersmoothed, a Lepski and a bias-aware interval for a curve at a point, and report which class of functions the stated coverage holds over.
- Calibrate higher criticism by simulation rather than by its leading null scale, and report its size.
Contents
Each chapter has a home level. Choose a track to see what to read and watch: Bachelor's 7 min · Master's 11 min · PhD 55 min · Practice 11 min.
- 0Farrell and Stone, 1972-1980Bachelor's5 min
- 1The Gaussian sequence modelPhD4 min
- 2Linear estimators and Pinsker's theoremPhD5 min
- 3Le Cam's two-point methodPhD6 min
- 4Fano's methodPhD5 min
- 5Assouad's lemmaPhD4 min
- 6Upper bounds that matchPhD5 min
- 7AdaptationPhD4 min
- 8Minimax testingPhD5 min
- 9Statistical-computational gapsPhD5 min
- 10The Board: adaptation and honest intervalsPractice4 min
- Recap, problems, and the road aheadAll tracks2 min
Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · Build the film.
Lecture
The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.
Farrell and Stone, 1972-1980Bachelor's5 min
In Part twenty-nine a kernel density estimate's squared error shrank like n to the minus four fifths for a density with two derivatives, slower than the one over n of a parametric model. The natural question is whether a cleverer method could do better. In 1972 Roger Farrell proved that it cannot: at a single point, no estimator, of any kind, beats that rate uniformly over the smoothness class. In 1980 Charles Stone found the general law: with s derivatives in d dimensions, over the specified bounded smoothness class, the minimax squared-error rate is n to the minus two s over two s plus d, for every method whatsoever. It is a speed limit, and it turns the curse of dimensionality from a slogan into a theorem. It also changed what statisticians try to prove about their methods: not just that an estimator converges, but that it converges as fast as anything possibly could.
Here are Stone's rates. The dashed line is the parametric one over n. With two derivatives in one dimension the rate is n to the minus four fifths, a little slower. In two, four and eight dimensions it gets steadily worse. In eight dimensions it is n to the minus a third: a million observations are worth about what a hundred are in a parametric problem. More smoothness helps: with four derivatives in eight dimensions the rate is back to n to the minus a half. The only ways around the curse are more smoothness or more structure.
A pointwise illustration of the rate, rather than a uniform upper-bound proof. A kernel estimate of a normal density at zero, with its simulated mean squared error from a hundred to six thousand four hundred observations. On log scales the slope is , close to minus four fifths and steepening towards it as n grows: this normal-density example has the same asymptotic exponent as the class-wide minimax rate. A result at one density does not establish a uniform upper bound; chapter three supplies a genuine class-wide KDE bound. When the two meet, the rate is settled. This part builds the tools for the lower half, which is the hard one.
The quantity of this part is the minimax risk: the best, over all estimators, of the worst risk over the parameter set. To bound it above, exhibit one method and control its worst case: that is what most of statistics does. To bound it below, show that every method has a bad case. The trick is to reduce estimation to testing: if two parameter values far apart produce nearly the same data, no estimator can tell which is true. The tools are Le Cam's method with two hypotheses, Fano's with many, and Assouad's with a hypercube of them. And there are surprises: exact constants, estimators that adapt to unknown smoothness, and rates that are possible in principle but seem out of reach for any efficient algorithm.
Minimax theory is Part forty-five's decision theory taken to infinite dimensions. The statistician picks an estimator; nature picks the parameter. For any prior on the parameter set, the worst-case risk of an estimator is at least its average risk under that prior, and so the minimax risk is at least the prior's Bayes risk. The lower-bound methods use prior-average testing or estimation risks for carefully chosen supported priors, and the best possible one comes from the least favourable prior. Le Cam's method puts the prior on two points, Fano's on a packing, Assouad's on the vertices of a cube, and the asymptotic Pinsker proof uses a Gaussian prior with slack and controlled truncation into the ellipsoid. The art is in the choice of prior.
Three promises are due. Part twenty-nine chose bandwidths and found the rate n to the minus four fifths, but took on trust that no smoother could do better; chapters three to five prove it. Part forty-seven's local minimax theorem lives at the root n scale; chapter two finds an exact minimax constant at nonparametric rates. And Part forty-nine's efficiency bound assumed root n was achievable; when it is not, this part finds the rate itself.
Numbers and scope: Normal KDE pointwise risk is an illustration; the 1.06 bandwidth is a normal-reference integrated-risk rule, not a pointwise optimum
1The Gaussian sequence modelPhD4 min
The Gaussian sequence model: one model that stands for almost every problem. Start from nonparametric regression: noisy observations of an unknown function at n points. Take inner products of the data with an orthonormal basis, such as cosines or wavelets. With a discretely orthonormal design transform, the finite coefficients have independent Gaussian errors. Continuous coefficients are approximated by quadrature; the white-noise model gives the exact infinite orthonormal sequence representation. That is the Gaussian sequence model: infinitely many unknown means, each observed once with noise of size epsilon. And by Parseval's identity, the squared error of the function is the sum of the squared errors of its coefficients. Estimating a function becomes estimating a long vector of means.
A function's coefficients in a cosine basis, on a log scale: they decay, faster for smoother functions. With a hundred observations the noise level is a tenth: with ten thousand, a hundredth. Coefficients well above the noise should be kept, those below it should be shrunk towards zero, and the question of how to shrink, coordinate by coordinate, is the whole of nonparametric estimation in this model. More data lowers the noise line and lets more coefficients through, which is where the rates come from.
The connection is more than an analogy. Le Cam defined when two statistical experiments are equivalent: when each can mimic the other's decisions with vanishing loss. In 1996 Lawrence Brown and Mark Low proved that nonparametric regression is asymptotically equivalent to the white-noise model, and so to the sequence model, on appropriate bounded smoothness classes above one half, with regular design and known Gaussian noise. The same year Michael Nussbaum proved it for density estimation, for sufficiently smooth densities bounded away from zero, with twice the square root of the density as the white-noise drift. Within the equivalence theorem's model classes and suitable loss conditions, decision bounds can transfer asymptotically. Density transformations and constants must be tracked; arbitrary unbounded losses do not transfer automatically. The sequence model plays the role here that the Gaussian shift played for local asymptotic normality in Part forty-seven: a useful clean experiment that these regular models approach as the data grow, so that one theorem proved there is many theorems proved at once.
The sequence model has appeared before, in other clothes. Part twenty-nine's many linear smoothers can be understood spectrally as shrinkage in a suitable basis. Boundary rules, irregular designs and nonlinear procedures require their own analysis. Part twenty-five's James–Stein estimator is the sequence model with a finite number of coordinates and one common shrinkage. Part thirty-two's sparse means are the sequence model with most coefficients zero. And inverse problems, such as deconvolution or estimating a spectral density, are sequence models whose noise level grows with k. One model, studied once, answers all of them.
Smoothness becomes a constraint on the coefficients: the sum of k to the two alpha times theta k squared is at most C squared, an ellipsoid. For the appropriate Sobolev domain and boundary conditions in a complete cosine expansion, including its constant term, it is a bound on the integral of the alpha-th derivative squared: a Sobolev ball. The minimax risk is the best worst-case squared error over the ellipsoid. With epsilon one over root n it is of order n to the minus two alpha over two alpha plus one, Stone's rate in one dimension. The next four chapters find its constant, prove it is a lower bound, and match it.
Numbers and scope: Discrete orthonormality versus continuous quadrature; Brown–Low/Nussbaum model, positivity and loss conditions
2Linear estimators and Pinsker's theoremPhD5 min
Consider linear estimators, each coefficient multiplied by a weight c k. Each coordinate's risk is a squared bias, one minus c k squared times theta k squared, plus a variance, c k squared times epsilon squared. Over the ellipsoid, the worst parameter puts its energy where the bias is largest relative to the ellipsoid's cost. Mark Pinsker solved the minimax problem in 1980. The best weights taper linearly in the ellipsoid's weights, one minus a k over mu, cut off at zero, with mu chosen so that a certain sum equals C squared. And then the surprise: this linear rule is not just the best linear rule. Its risk is asymptotically equal to the minimax risk over all estimators, linear or not. Pinsker found the exact constant, a rarity in nonparametric statistics.
Pinsker's weights for a Sobolev ball with one derivative. At noise level point oh three, the weights fall linearly from almost one to zero by coefficient . At point oh oh three, ten times less noise, the taper stretches to coefficient . The shape is a straight ramp, not the sharp cut-off of a projection estimator, and the difference is worth a constant factor in risk. Less noise lets more coefficients through, which is how the rate arises.
Pinsker's linear minimax risk, computed exactly, against his asymptotic formula: the constant P of alpha, times C to the two over two alpha plus one, times epsilon to the four alpha over two alpha plus one. The ratio is at noise point one and at point oh oh one, converging to one. With epsilon equal to one over root n this is Stone's rate, n to the minus two alpha over two alpha plus one, with the exact constant: for one derivative, .
Compare the simplest linear rule: keep the first N coefficients as they are and drop the rest, a projection. Its worst-case risk is N epsilon squared from the kept noise, plus the largest tail nature can hide beyond N, which is C squared times N plus one to the minus two alpha. Balancing the two gives the same rate as Pinsker's, with N growing like C over epsilon to the two over two alpha plus one: the projection's N plays the role of Part twenty-nine's bandwidth. But the worst-case asymptotic constant is larger by three to the power two thirds, about two point oh eight, for one derivative. This is distinct from comparing estimators at one selected truth.
Is a constant factor worth caring about? Invert the rate. If the risk falls like n to the minus two alpha over two alpha plus one, then a factor c in risk is a factor c to the two alpha plus one over two alpha in sample size. For one derivative, the worst-case projection constant is three to the power two thirds times Pinsker's. At the n to the minus two thirds rate, that means three times as much data for the same asymptotic risk. In a parametric problem the exchange rate is one to one. The slower the rate, the more data a constant factor is worth: in nonparametric problems, constants are not a detail.
Why are linear rules good enough? Put a Gaussian prior on the coefficients, with variances that vanish beyond the cut-off. Its Bayes rule is the posterior mean, which shrinks each coordinate by tau squared over tau squared plus epsilon squared: and that is exactly Pinsker's weight. Its Bayes risk equals the linear minimax risk, to every digit: at epsilon point oh three both are . That equality is exact for this Gaussian average-risk calculation and the linear minimax value. It is not a finite-noise saddle point for unrestricted estimation over a bounded ellipsoid, because this Gaussian prior is not supported there. The asymptotic proof uses a slightly smaller prior radius, with enough slack relative to its energy fluctuation, then conditions or truncates into the ellipsoid while controlling risk. Concentration around the boundary alone would not make the outside probability vanish.
Numbers and scope: Linear-risk / asymptotic-formula ratio 0.8861 → 0.9945; worst-case projection ratio 3^(2/3) = 2.0801, equivalent to 3× the data
3Le Cam's two-point methodPhD6 min
Le Cam's two-point method: if two answers look alike, no one can tell them apart.
Lucien Le Cam's method needs only two hypotheses, two parameter values in the set, a distance two delta apart. Any estimator defines a test: decide for whichever hypothesis it lands nearer. Whenever that test errs, the estimator is at least delta from the truth. And the best possible test between two laws errs with total probability one minus their total variation distance, by Part forty-six. So the worst-case risk of any estimator is at least delta squared over two times one minus the total variation between the two samples' laws. The game is to choose the two hypotheses as far apart as possible while keeping their data nearly indistinguishable.
The proof takes four lines. The worst of two risks is at least their average, which is its prior-average risk under equal masses on the two points. Minimizing over estimators gives the optimal Bayes risk. Whenever the induced test errs, the loss is at least delta squared, so the average risk is at least delta squared over two times the sum of the test's two error probabilities. The smallest possible sum of the two errors, over all tests, is one minus the total variation distance between the laws. It is attained by Part forty-six's likelihood-ratio test, rejecting when the second density is larger. The lower bound for estimation is the Neyman–Pearson lemma in disguise.
On the workbench: two hypotheses, two delta apart. Around each, a disc of radius delta; the discs do not overlap. Wherever an estimate lands, it is outside at least one disc, at least delta from one of the two candidates. If the data cannot reliably say which candidate is true, then with probability bounded away from zero the estimate is far from the truth. That is the whole idea.
Total variation is what the bound needs, but it is awkward for samples of n. Two other divergences behave well: the Kullback–Leibler divergence adds up over independent observations, and one minus the squared Hellinger distance multiplies. For two normals a distance d apart, the table compares them. Pinsker's inequality, total variation at most the root of half the Kullback–Leibler divergence, and Le Cam's inequalities between total variation and Hellinger, let us bound one through the other. In practice: keep n times the Kullback–Leibler divergence of order one, and the total variation stays bounded away from one.
Here is Farrell's lower bound by the two-point method. Take a smooth density and perturb it with a bump of height h and width w at the point of interest, removing the same mass elsewhere so it stays a density. For the perturbed density to stay in the Hölder class with s derivatives, a fixed normalized bump has height at most a suitable constant times w to the s, after checking derivative norms, positivity and support. The two densities differ by h at the point, while n times their chi-square distance, which controls the total variation of the samples, is of order n h squared w, that is n w to the two s plus one. Choose w so that this is of order one: w of order n to the minus one over two s plus one. Then the risk is at least h squared, of order n to the minus two s over two s plus one. For two derivatives, n to the minus four fifths: the kernel estimate's rate is the best possible.
The two-point method also explains root n. For a regular functional with a nonzero pathwise derivative along a suitable differentiable submodel, move the law a distance t along a submodel: the functional moves by about t times its pathwise derivative, while n times the Kullback–Leibler divergence grows like n t squared. With t of order one over root n the two laws are hard to tell apart, and the risk is at least of order one over n: root n is the best possible rate, the lower half of Part forty-nine's story. In general what matters is the modulus of continuity: how far the functional can move when the data's law moves by epsilon in Hellinger distance. David Donoho and Richard Liu showed in 1991 that in appropriate regular convex estimation models, the modulus can characterize a linear functional's minimax rate. A pairwise modulus is not automatically sharp for every model and functional. A density at a point has a modulus that grows faster than linearly in epsilon, which is exactly why it cannot be estimated at root n.
Both halves on one chart. In blue, a uniform Gaussian-kernel MSE upper bound over densities whose function and first two derivatives are bounded by one. In red, a two-point lower bound from explicitly normalized C-two density perturbations of a Gaussian baseline, optimized over a valid bump width. The lines are nearly parallel: both bounds have the n to the minus four fifths asymptotic order. Finite-range slopes need not equal that exponent exactly, but the two valid class-wide bounds pin down the rate. The gap between them is a constant factor, about ten to the . Two-point bounds are crude in their constants, and Pinsker's exact constant is the exception, not the rule.
Numbers and scope: Valid C2 norm-one density pair; at n=4,000 lower bound 0.0000034; uniform KDE upper bound 0.0005965
4Fano's methodPhD5 min
Fano's method: many hypotheses, and how many bits the data carry. Two points give rates for one-dimensional features. For a whole function, or a long vector, use many hypotheses: M of them, pairwise at least two delta apart, each with Kullback–Leibler divergence at most beta from a centre. Robert Fano's inequality from information theory says that identifying which of M hypotheses is true fails with probability at least one minus the information the data carry, plus log two, over log M. The data can carry at most beta nats about which hypothesis holds. So every estimator's worst risk is at least delta squared times one minus beta plus log two over log M. The game is now to find exponentially many hypotheses, far apart, each costing little information.
Why Fano's inequality holds. Let nature pick the hypothesis index J uniformly, and then draw the data. The mutual information between J and the data is the average Kullback–Leibler divergence of each P j from their mixture, which is at most the largest divergence from any fixed centre. So the uncertainty about J left after seeing the data is at least log M minus that information: the data can only remove as many nats as they carry. And Fano's inequality, from information theory, says that any guess of J leaves uncertainty at most log two plus the error probability times log M. Combining the two gives the bound. Statistics borrows a theorem about communication channels.
On the workbench: a packing, many hypotheses spread through the parameter set. Each has its own disc of radius delta, and the discs do not overlap. The data carry at most beta nats of information about which one is true, and when log M is much larger than beta, identification fails with high probability. In d dimensions a ball contains about R over delta to the d well-separated points, so log M grows linearly with the dimension, which is why Fano's method gives dimension-dependent rates.
The standard source of packings is the hypercube: binary strings of length d, with Hamming distance. The Varshamov–Gilbert bound, from coding theory, guarantees at least two to the d over eight strings that pairwise differ in at least d over eight places. For d equal to , the guarantee is strings; a greedy random search finds . The guarantee is loose, but its exponent is what matters. Log M is of the order of d: a packing with as many bits as there are coordinates.
The cleanest application: estimating a vector of p normal means of which at most s are non-zero, Part thirty-two's sparsity. Pack sign vectors with s non-zero coordinates: there are about p choose s supports, so log M is of order s log p over s. Fano's inequality then gives the minimax risk: of order s log of e p over s, the price of an unknown support; the e keeps the expression meaningful in the dense endpoint. And soft thresholding at the root of two log p over s attains it up to a constant, as do the lasso and SLOPE: Part thirty-two's estimators are minimax optimal.
Fano's method leads to a general recipe, due to Yuhong Yang and Andrew Barron in 1999. For density estimation in Hellinger distance, a global entropy balance can provide rate bounds when packing, covering and information conditions hold: the class's complexity balances the information in the sample. For Hölder classes, whose entropy is one over epsilon to the one over s, this gives the familiar n to the minus two s over two s plus one. For a d-parameter family, whose entropy is d log one over epsilon, this global calculation gives a generally loose d log n over n bound. Local entropy or local packings recover the sharp d over n rate in regular finite-dimensional models. So Part forty-eight's metric entropy, invented to make empirical processes behave, also decides how hard estimation is. The size of a class is its difficulty.
A thousand means, with s of them large. Using the data as they are costs a risk of p, a thousand. The minimax rate s log of e p over s is far smaller when the vector is sparse. Soft thresholding, simulated at the chosen large-signal vectors, rather than an independently verified supremum over all sparse vectors, tracks the rate at about times it, for every sparsity level: the selected simulation tracks the rate proxy. The minimax upper theorem requires separate uniform risk control.
Numbers and scope: Random 24-bit packing: 2,907 candidates retained; existence lower bound 8; s log(ep/s) is a rate scale, not an exact lower constant
5Assouad's lemmaPhD4 min
Assouad's lemma: a hypercube of bumps, one coin per coordinate. Patrice Assouad's lemma of 1983 indexes hypotheses by the vertices of a hypercube: one hypothesis for each binary string of length m. For a vertex-valued decision, Hamming loss adds over coordinates. For unrestricted estimates under squared loss, reducing the estimate to a vertex requires an additional separation constant. Then the worst-case risk of a vertex-valued decision is at least m delta over two, times one minus the largest total variation between neighbouring vertices. In effect the problem splits into m two-point problems, one per coordinate, each bounded by a two-point testing argument. They need not be independent experiments. Where Fano counts bits, Assouad counts coins.
With three coordinates, eight hypotheses at the vertices of a cube. Neighbours, joined by edges, differ in one coordinate. Each edge is a two-point problem. An estimator implicitly guesses every coordinate, and each guess fails with probability about half of one minus the total variation between neighbours. The losses add up, so the bound grows with m.
For regression with Hölder smoothness s, cut the interval into m cells and put a bump up or down in each: a binary string chooses the signs. With derivative-normalized bumps, heights of order m to the minus s keep the functions in the designated smoothness ball. The drawn heights are exaggerated schematically for visibility. Here are three of the two hundred and fifty-six functions with eight cells. Neighbours differ in one bump, and their samples have Kullback–Leibler divergence of order n times m to the minus two s plus one. Choosing m of order n to the one over two s plus one keeps that of order one, and Assouad gives an integrated risk of order m times m to the minus two s plus one: n to the minus two s over two s plus one, Stone's global rate.
A conservative Assouad bound for explicit smoothness-class constructions in fixed-design Gaussian regression, with the number of cells optimized at each n. For one derivative the slope is , against the theory's minus two thirds. For two, , against minus four fifths. For smoothness one the optimal cell count grows on the n to the one third scale asymptotically. The computation uses the exact design-point Gaussian KL divergence, rather than replacing it by a continuous integral. The asymptotic exponent improves with smoothness. In this finite range the tightly normalized C-two construction is not yet at its asymptotic slope; integer cell counts and finite-design effects are visible.
The same cube works for densities. Add or subtract a bump in each of m cells; bumps with zero integral keep each function a density. Neighbouring densities differ by one bump, and the Kullback–Leibler divergence between their samples is of order n h squared over m. Assouad then gives the integrated squared error rate n to the minus two s over two s plus one: Part twenty-nine's kernel estimator is rate-optimal, and its question closes. In d dimensions there are m to the d cells, and the same calculation gives n to the minus two s over two s plus d. The curse of dimensionality in the hook's chart is this calculation.
The three methods side by side. Le Cam's two points suit one-dimensional features, like a density at a point. Fano's packings suit high-dimensional problems and sparsity. Assouad's cubes suit whole functions with losses that add up. All three reduce estimation to testing and then bound how well any test can do; Bin Yu's 1997 essay, Assouad, Fano and Le Cam, set them out side by side.
Numbers and scope: Derivative-normalized Lipschitz/C2 bumps; exact finite-design Gaussian KL; conservative squared-loss reduction constant; finite C2 slopes are not yet asymptotic
6Upper bounds that matchPhD5 min
Pinsker's rule attains the exact linear minimax risk and the asymptotic unrestricted minimax constant, but only if we know the smoothness alpha and the radius C, which we never do. Blockwise James–Stein groups the coefficients into dyadic blocks and uses a positive-part block energy shrinker with numerator m epsilon squared. This moment-based rule differs from the classical m minus two James–Stein factor and includes small blocks where domination is not claimed, letting the data in the block decide how much to shrink. Soft thresholding, from Part twenty-nine's wavelets, kills every coefficient below a universal threshold and shrinks the rest. Neither needs to know the class, and appropriate block rules can be rate-adaptive, while universal thresholding may pay a logarithmic factor. They need the noise level and truncation dimension, even when smoothness is unknown. That property, adaptation, is the next chapter's subject.
Why does blockwise James–Stein adapt? On sufficiently narrow relative blocks, Pinsker's taper can be approximated by a constant. Dyadic blocks have fixed relative width, so this is not a proof of exact first-order adaptation for the simple rule shown. The best constant for the block is the block's signal energy over its energy plus m epsilon squared, an oracle shrinkage that depends on the unknown parameter. But James–Stein estimates exactly that ratio from the block's own data, with fluctuations whose size depends on the block dimension and signal energy. A uniform relative-error claim fails when the oracle shrinkage is zero. When the blocks grow, those errors vanish, and carefully refined blocks and appropriate regularization can inherit the oracle's risk to first order. The dyadic illustration is not itself that sharp theorem. It adapts by averaging within blocks, Part twenty-five's borrowing of strength put to work in infinite dimensions.
The Sobolev ball with one derivative, and one boundary parameter that is worst for Pinsker's linear rule. It need not be worst for every other estimator. In red, the exact linear minimax value as the noise shrinks, and in purple his estimator's simulated risk, on top of it. In teal, the best projection estimator, with the cut-off chosen knowing the truth: a constant factor worse than Pinsker's taper. In green, blockwise James–Stein, told nothing about the class: its simulated risk at this selected truth approaches the linear minimax benchmark across the shown noise levels. This does not measure its supremum risk over the ellipsoid. In blue, soft thresholding at the universal threshold, which pays a logarithmic factor for this kind of dense, smooth signal: it is built for sparsity, and over Sobolev balls it is not quite rate-optimal.
As ratios of selected-truth risk to the linear minimax benchmark, rather than unrestricted finite-noise minimax risks. Pinsker's rule is at one, as it should be. The best truncation, told the truth, is about one point four. Blockwise James–Stein starts at at the largest noise level and falls to at the smallest. It comes within about a fifth of the minimax risk without being told the smoothness or the radius. With slowly growing blocks instead of dyadic ones it is asymptotically exact, constant included, as Laurent Cavalier and Alexandre Tsybakov showed in 2002.
A different way to judge an estimator is against an oracle: someone who knows theta and for each coordinate decides whether to keep it or set it to zero, paying the smaller of theta k squared and the noise variance. Donoho and Johnstone proved that soft thresholding at the universal threshold comes within a factor of two log K plus one of that oracle, for every theta at once. Choosing the threshold by minimizing Stein's unbiased risk estimate, Part twenty-five's SURE, removes the log factor for many signals. Such oracle inequalities, within a constant or a log of the best rule in a whole family for every parameter, are how modern theory states that an estimator adapts.
Over the specified Sobolev ellipsoids, linear shrinkage is enough, and blockwise James–Stein adapts. Over Besov balls with p below two, functions that are smooth except for a few jumps or spikes, the wavelet coefficients are sparse. There, as David Donoho and Iain Johnstone showed in 1998, linear estimators can be rate-suboptimal in the relevant L-two-embedded Besov regimes. The precise smoothness, integrability and loss conditions matter. Wavelet thresholding is near-minimax over suitable Besov classes embedded in the specified loss space, with the theorem's wavelet and parameter restrictions. The moral: the shape of the class, round or spiky, decides which estimator can be optimal.
Numbers and scope: Selected-truth risks at ε=.003, divided by linear minimax risk: projection 1.41, block energy shrinker 1.21; not other estimators' worst-case risks
7AdaptationPhD4 min
Adaptation: Lepski's method lets the data choose the smoothing. Oleg Lepski's method, of 1990, chooses a bandwidth at a point without knowing the smoothness. Compute the estimate at a grid of bandwidths, from small to large. Small bandwidths have little bias and much noise; large ones the reverse. Choose the largest bandwidth whose estimate agrees with every smaller-bandwidth estimate to within a few of that estimate's standard deviations. The idea: keep smoothing more, until the estimate starts to disagree with a noisier but less biased one. The disagreement is the bias showing itself.
Lepski's rule is a sequence of tests. At each step it tests whether the current bandwidth's bias is still small, by comparing its estimate with every finer one. To obtain polynomially small failure probabilities for adaptive risk control, a threshold of order root log n is often used. A fixed-level Bonferroni correction over J comparisons instead depends on log J, Part thirty-three's multiplicity in a new place. Our numerical illustration uses a fixed kappa of two point two, so it is not an implementation of that full asymptotic calibration. A bandwidth whose bias exceeds kappa standard deviations is rejected with high probability, so the rule stops near the oracle. Alexander Goldenshluger and Lepski extended the idea in 2011 to whole functions in several dimensions, comparing estimators through a common smoother.
Two regression functions, four thousand observations, the value at one point. A smooth one, a sine at its peak, whose mean squared error is smallest at a large bandwidth. And a rough one, a square-root cusp, whose error is smallest at a small bandwidth. No single bandwidth is good for both. The dashed lines are Lepski's error, choosing its own bandwidth each time: in both cases a modest factor above the best possible, without being told which function it faces.
In numbers. A fixed bandwidth of point oh four is a useful fixed comparison for the smooth function but costs a factor of on the rough one. Lepski's choice costs a factor of and : these are two finite-sample examples, not a uniform performance guarantee over all functions. That uniformity across classes is what adaptation means.
The historical motorcycle-impact measurements from Part twenty-nine: head acceleration after simulated motorcycle impacts, a curve that is flat, then plunges, then rebounds. Lepski's method picks a window at each point separately. At fourteen and twenty-two milliseconds, where the curve moves fast, it picks half-widths of and milliseconds. At forty, where it has settled, . These windows illustrate local data-dependent smoothing. They use a crude global noise estimate from adjacent differences, despite heteroskedasticity; they do not establish calibrated uncertainty or a smoothness theorem for these measurements.
How much does not knowing the smoothness cost? With s known, the pointwise rate is n to the minus two s over two s plus one. With s unknown, Lepski showed the best rate any adaptive estimator can achieve at a point is the same with n replaced by n over log n. That log factor is a genuine price, and Lawrence Brown and Mark Low proved it cannot be avoided. For the global squared-error loss, by contrast, there is no price at all: properly designed refined block estimators can adapt without a loss in the global minimax order, and sharp constructions can recover the constant under their theorem conditions. Whether adaptation is free depends on the loss.
Numbers and scope: Largest admissible rule, κ=2.2; exact fixed-design oracle risk; observed rule/oracle ratios 1.96 and 2.41
8Minimax testingPhD5 min
Minimax testing: how faint a signal can anyone detect? Testing has its own minimax theory. Test whether the parameter is zero against the alternative that it is at least rho away, within a smoothness class. The minimax separation is the smallest rho at which some test keeps both its error probabilities below five percent. Yuri Ingster found it for Sobolev classes: epsilon to the four alpha over four alpha plus one, which is smaller than the estimation rate. Detecting that something is there is easier than saying what it is: the test can pool evidence over many coefficients that it could not estimate one by one.
Here is why. Ingster's test sums the first N squared observations, each corrected for the noise. Its mean is the signal's energy in those coordinates, and under the null its standard deviation is only root two N times epsilon squared. So the test detects when the energy exceeds root N epsilon squared, plus whatever the signal hides beyond N. Balancing the two gives the separation rate. An estimator pays N epsilon squared for N coordinates; a test pays only root N, because the noise in a sum of squares averages out. That square root is the whole difference between testing and estimation.
A cleaner case, important in genomics: n test statistics, almost all pure noise, a small fraction carrying a shift. Let the fraction be n to the minus beta and the shift the root of two r log n, so the signals are both rare and faint. Ingster and Jiashun Jin found the exact detection boundary: in the independent known-variance positive-shift model, consistent global detection is possible above the boundary for beta strictly between a half and one; namely when r exceeds a function rho star of beta, beta minus a half for moderately sparse signals and one minus the root of one minus beta, squared, for very sparse ones. Below the boundary, every test, of any kind, is asymptotically powerless.
Compare with estimation. Global detection differs from support recovery. In the independent rare-and-weak normal-means model, almost-full recovery has a different boundary, r exceeding beta; exact recovery and familywise thresholding have their own requirements. But to detect that some signals exist, strengths between the global detection boundary and the almost-full recovery boundary can suffice. Some individual signals may still be discovered; failure of almost-full recovery does not mean that no signal can ever be located. And when the signals are dense, beta below a half, a simple sum detects even tiny shifts. There is a wide region where we can know that something is there without being able to say where, which is the everyday situation of genome-wide studies, and of Part thirty-three's global null.
The phase diagram, with ten thousand statistics. The white curve is the detection boundary. Each dot is the simulated power of one test, higher criticism, at a combination of sparsity and strength: red for powerless, green for certain detection. Above the boundary the power climbs towards one; well below it, it stays near the five percent of a test that knows nothing. At finite n the transition is gradual, but its location follows the theory.
Higher criticism is John Tukey's idea, made precise by David Donoho and Jiashun Jin in 2004. Use one-sided normal p-values and take the positive supremum of the standardized empirical-CDF excess over levels between one over n and one half. The endpoint one over n is evaluated too, so extremely small p-values are retained through their count. Take the most surprising excess. It needs no knowledge of the sparsity or the strength, yet it is optimal along the whole detection boundary: an asymptotic result under this specific independent rare-and-weak model, not a finite-sample power guarantee. No test wins everywhere at finite n: in the very sparse corner, beta point nine and r point eight, the simple maximum statistic has power against higher criticism's , while in the moderately sparse region higher criticism is far ahead.
Numbers and scope: Truncated CDF HC supremum includes t=1/n; global detection differs from almost-full support recovery (r>β in the specified rare/weak model)
9Statistical-computational gapsPhD5 min
Statistical–computational gaps: possible in principle, out of reach in practice? The minimax theory so far asks what is possible with unlimited computation. A random graph in which each edge is present with probability one half, against the same graph with a clique of k vertices planted in it. Information-theoretically, a clique larger than about twice log base two of n can be detected: search every set of k vertices. For n of four hundred that is about . But the best polynomial-time methods, appropriate spectral methods, need k of order root n, here twenty. In between, detection is possible in principle and no efficient algorithm is known, after thirty years of trying.
Simulated, with four hundred vertices. The simplest efficient test counts edges. Its power is near five percent for small cliques and climbs past a half only when the clique is a good deal larger than root n. Exhaustive search would succeed from about vertices, but polynomial-time methods need about root n. The red band schematically marks the two asymptotic scales. It is not an established finite-n hardness interval. The general gap concerns problems that are statistically solvable but, as far as anyone knows, computationally out of reach.
The gap reaches statistics proper. In sparse principal components, a covariance matrix has one spike in a direction with only k non-zero coordinates. Statistically, about k log p over lambda squared observations suffice, by searching over supports. In important weak-spike Gaussian regimes, common tractable methods have requirements on a k-squared rather than k scale, up to logarithmic and signal-strength factors. That is not a universal bound on every efficient method in every parameter regime. Quentin Berthet and Philippe Rigollet showed in 2013 that a fast method working in the gap would give a fast method for planted clique. The gap is inherited, by reduction, from a problem believed hard.
Gaps appear even in regression. With a sparse coefficient vector, the minimax prediction rate is Fano's s log p over s, divided by n, and best-subset selection attains it. But best subset must search p choose s models, which is a combinatorial algorithm; for growing sparsity it can be superpolynomial, while fixed sparsity gives polynomial enumeration. This does not prove that every instance requires enumeration. The lasso attains the same rate in polynomial time, provided the design is well conditioned on sparse vectors, a condition Part fifty-two calls restricted eigenvalues. For certain hard-design families and specified complexity assumptions, Yuchen Zhang, Martin Wainwright and Michael Jordan found evidence in 2014 that no polynomial-time method can match best subset. Computation, not just information, can set the rate.
What this means in practice. A minimax rate promises what the best method could do, not what the method you can actually run will do. When the efficient methods need more data, as in sparse principal components, the computational rate is the honest number for planning a study. Convex relaxations have useful guarantees in many models and may match conjectured computational scalings in particular regimes, which is one reason they are so widely used. And a fast method that claims to reach the statistical limit inside a conjectured gap deserves suspicion: its assumptions, guarantees and computational complexity should be examined carefully. Additional structure can remove an apparent gap.
General average-case lower bounds beyond restricted algorithm classes remain out of reach in many of these models, so the field studies conditional reductions and restricted-model evidence. Reductions from planted clique, by Berthet and Rigollet and later by Matthew Brennan and Guy Bresler, transfer its presumed hardness to many problems. The low-degree method, developed by Samuel Hopkins in 2018, asks whether any polynomial of degree about log n in the data can tell the hypotheses apart; when none can, it predicts that no efficient test can either. Sum-of-squares and statistical-query bounds tell the same story. And so minimax theory has a new question alongside the old one: not only how well can anyone estimate, but how well can anyone estimate quickly.
Numbers and scope: Edge-count exact powers at k=30/40: 0.458/0.869; observed 0.513/0.860; conjectured asymptotic computational scales are not finite-n hardness thresholds
10The Board: adaptation and honest intervalsPractice4 min
The Board: adaptation and honest intervals, or what a minimax view does to confidence.
The usual pointwise interval for a smoother, the estimate plus or minus one point nine six standard deviations, ignores the bias. At the bandwidth that minimizes mean squared error, the bias is the same order as the standard deviation, so the interval is off-centre by a fixed fraction of its width, and generally undercovers if the limiting standardized bias is nonzero. The conclusion depends on the actual bias, not just the bandwidth label. An undersmoothing sequence can make bias negligible when its bandwidth shrinks sufficiently faster than the MSE-optimal one while the effective sample size diverges. A fixed division by four need not do that asymptotically. And Mark Low proved in 1997 that over suitable unrestricted nested smoothness classes, uniformly honest intervals generally cannot also attain the smoother-class adaptive lengths. Extra separation or self-similarity assumptions can change that conclusion. Adaptation, which is nearly free for estimation, is not free for inference.
The test case: a sine wave with a sharp peak added at the point of interest, two thousand observations. The mean squared error of the local average at the peak, by bandwidth. In red, the bandwidth that minimizes it, . In green, a quarter of that. And Lepski's method chooses from the grid on each sample.
What should an honest interval promise? Its coverage should hold uniformly over the whole class of functions, not just for one well-behaved truth. A bias-aware interval achieves this by widening the usual interval by the largest bias any function in the class could produce at the chosen bandwidth. Timothy Armstrong and Michal Kolesár showed in 2018 how to choose the bandwidth to optimize honest interval length using an appropriate bias-aware critical value. The simple additive worst-bias radius displayed here is valid but generally conservative, and used them for Part thirty-seven's regression discontinuities. The catch is that the worst bias depends on the class, so you must say how smooth the function is allowed to be. Low's theorem limits adaptation over unrestricted classes; additional structural assumptions can permit it, so honesty is always relative to an assumption.
A constructive comparison: fixed design and independent Gaussian errors with known variance one. State bounds on the first and second derivatives that contain our example. Taylor's theorem bounds the local-average bias using the actual window's first two design moments. Add that worst-case bias to a two-sided Gaussian radius, and choose the bandwidth deterministically to minimize this conservative radius. This gives at least ninety-five percent coverage uniformly over the stated class. An outcome-selected bandwidth would need an additional selection or simultaneous-coverage argument.
What the theory says about practice, now that its main tools are on the table. Rates tell you how much data a question needs before you collect it: a factor of two in accuracy costs four times the data parametrically, and much more nonparametrically. Adaptation is nearly free for estimation and not free for inference. Asymptotic critical values for maxima and suprema can be useless at realistic sizes; simulate them. And some problems may be solvable only slowly, by any algorithm at all.
Numbers and scope: h_opt=0.02, h_under=0.005; bias-aware h=0.02, bias bound 0.0546, radius 0.2751; HC leading scale 2.014, independently calibrated cutoff 3.193
Recap, problems, and the road aheadAll tracks2 min
Part fifty in eleven lines. Farrell's and Stone's speed limits. The Gaussian sequence model, which stands for regression and densities. Pinsker's exact minimax constant. Lower bounds by Le Cam's two points, Fano's packings and Assouad's hypercubes. Upper bounds that match, by blockwise James–Stein and thresholding. Lepski's adaptation and its price. Minimax testing and higher criticism. The gaps between what is possible and what is efficiently computable. And honest intervals on the Board.
A promise for the next parts. This one found the limits of estimation. Except for the sparse means, the dimension stayed fixed while n grew. Parts fifty-one and fifty-two let the dimension grow with the sample: the probability of high dimensions, with concentration of measure and random matrices, and then high-dimensional statistics, where Fano's s log p over s becomes the central rate.
Where it comes back. Part fifty-one develops concentration and chaining in high dimensions. Part fifty-two proves that the lasso attains Fano's s log p over s. Part fifty-three asks when Bayesian posteriors contract at the minimax rate. Part fifty-four gives the lower bounds of learning theory. And Part sixty-three finds the minimax price of privacy.
Six problems, with full solutions in the README. The worst parameter for a linear rule; the Gaussian prior's Bayes rule; Le Cam's two-point bound; the total variation between normals; Farrell's construction; and the maximum statistic's detection boundary. Pause here if you want to try them.
The books this part follows: Tsybakov's Introduction to Nonparametric Estimation, Johnstone's Gaussian Estimation, Giné and Nickl, and Polyanskiy and Wu on information theory; with Bin Yu's essay, and the papers from Farrell to Brennan and Bresler.
Fifty parts of sixty-five. Every rate has two halves: a method that achieves it, and an argument that nothing can do better, built by finding hypotheses the data cannot tell apart. When the two meet, the question is closed; when they do not, there is research to do, and the gap between them is often where the most interesting statistics lives. Next, Part fifty-one: high-dimensional probability.
Where it goes next. Part 51 supplies the concentration and chaining the bounds rest on; the lasso attains Fano's s log(p/s) in Part 52; posterior contraction rates match these minimax rates in Part 53; learning-theory lower bounds use VC dimension and Fano in Part 54; Problem 9 of the qualifying exam (Part 55) is a Fano bound; the minimax price of differential privacy is Part 63.
Key results
The part's results in one place, for revision.
Try it
Lab 50 · Pinsker's theorem in the Gaussian sequence model
Over a Sobolev ellipsoid (a_k = k, C = 1) compute Pinsker's linear minimax rule and risk, check by simulation that the rule's risk at a hard truth is that risk, that the least favourable Gaussian prior's Bayes risk equals it, and that the best projection estimator is worse by a factor tending to 3^(2/3).
python -m videos.stats.labs 50
needs numpy, scipy, matplotlib · download lab50.py ·
source on GitHubeps = 0.1: linear minimax / asymptotic formula 0.8861 best projection / Pinsker 2.0814
eps = 0.03: linear minimax / asymptotic formula 0.9478 best projection / Pinsker 2.0825
eps = 0.01: linear minimax / asymptotic formula 0.9747 best projection / Pinsker 2.0818
eps = 0.003: linear minimax / asymptotic formula 0.9886 best projection / Pinsker 2.0810
eps = 0.001: linear minimax / asymptotic formula 0.9945 best projection / Pinsker 2.0805
eps = 0.01: Pinsker's rule at the hard truth, simulated 0.001906 minimax linear risk 0.001908
the best cut-off at the same truth 0.002861 (1.50 x)
blockwise James-Stein, told neither alpha nor C 0.002885 (1.51 x)
The taper (1 - a_k/mu)+ is minimax among linear rules, a Gaussian prior makes it Bayes, and its risk approaches P(alpha) C^(2/(2 alpha+1)) eps^(4 alpha/(2 alpha+1)); a hard cut-off is rate optimal but loses a constant.
The code (83 lines; it asserts its own result)
"""Lab 50: Pinsker's taper against the best cut-off, its least favourable prior, and its exact constant."""
import numpy as np
from videos.coursekit import labs
from explainer.stats.kit import gsm
TITLE = "Pinsker's theorem in the Gaussian sequence model"
GOAL = ("Over a Sobolev ellipsoid (a_k = k, C = 1) compute Pinsker's linear minimax rule and risk, check by "
"simulation that the rule's risk at a hard truth is that risk, that the least favourable Gaussian prior's "
"Bayes risk equals it, and that the best projection estimator is worse by a factor tending to 3^(2/3).")
TASKS = [
"Change the smoothness alpha from 1 to 2. Derive the limit of the projection ratio and check it against the table.",
"Put all of C^2 on the first coordinate (theta_1 = C/a_1). Is the simulated risk of Pinsker's rule still the "
"minimax risk? Then put it on a coordinate beyond the taper's support.",
"Replace gsm.est_block_js by gsm.est_soft with the universal threshold eps*sqrt(2 log K) and compare its risk "
"at the hard truth.",
]
def projection_worst(eps, a, C):
"""The smallest worst-case risk of a projection estimator: min over N of C^2 / a_{N+1}^2 + eps^2 N."""
N = np.arange(1, len(a))
r = C ** 2 / a[N] ** 2 + eps ** 2 * N
return float(r.min()), int(N[r.argmin()])
def run(seed=0):
rng = np.random.default_rng(seed)
alpha, C, K = 1.0, 1.0, 4000
a = gsm.sobolev_weights(K, alpha)
lab = labs.Lab()
grid = [0.1, 0.03, 0.01, 0.003, 0.001]
ratio_asym, ratio_proj = [], []
for eps in grid:
p = gsm.pinsker(eps, a, C)
ratio_asym.append(p["risk"] / gsm.pinsker_asymptotic(eps, alpha, C))
ratio_proj.append(projection_worst(eps, a, C)[0] / p["risk"])
assert abs(p["bayes"] / p["risk"] - 1) < 1e-9, "the Gaussian prior's Bayes risk is the linear minimax risk"
for eps, ra, rp in zip(grid, ratio_asym, ratio_proj):
lab.row(f"eps = {eps}: linear minimax / asymptotic formula", f"{ra:.4f} best projection / Pinsker {rp:.4f}")
limit = 3 ** (2 / 3)
assert all(x < y for x, y in zip(ratio_asym, ratio_asym[1:])) and 0.99 < ratio_asym[-1] < 1.0, "Pinsker's constant"
assert abs(ratio_proj[-1] / limit - 1) < 0.02, "a cut-off loses the factor 3^(2/3) when alpha = 1"
# simulate at a truth on the ellipsoid's boundary, where the taper's risk is the minimax risk
eps = 0.01
p = gsm.pinsker(eps, a, C)
theta = gsm.hardest_theta(eps, a, C)
y = theta + eps * rng.standard_normal((2000, K))
risk = lambda est: float(np.mean(np.sum((est - theta) ** 2, axis=1))) # noqa: E731
r_pin = risk(gsm.est_linear(y, p["shrink"]))
r_proj = risk(gsm.est_truncation(y, projection_worst(eps, a, C)[1]))
r_bjs = risk(gsm.est_block_js(y, eps))
lab.row("eps = 0.01: Pinsker's rule at the hard truth, simulated", f"{r_pin:.6f} minimax linear risk {p['risk']:.6f}")
lab.row("the best cut-off at the same truth", f"{r_proj:.6f} ({r_proj / p['risk']:.2f} x)")
lab.row("blockwise James-Stein, told neither alpha nor C", f"{r_bjs:.6f} ({r_bjs / p['risk']:.2f} x)")
assert abs(np.sum(a ** 2 * theta ** 2) - C ** 2) < 1e-9, "the truth is on the boundary"
assert abs(r_pin / p["risk"] - 1) < 0.02, "the taper's risk on the boundary is the minimax risk"
assert r_pin < r_proj and r_pin < r_bjs < 2.5 * p["risk"], "the adaptive rule pays a bounded factor here"
lab.note = ("The taper (1 - a_k/mu)+ is minimax among linear rules, a Gaussian prior makes it Bayes, and its "
"risk approaches P(alpha) C^(2/(2 alpha+1)) eps^(4 alpha/(2 alpha+1)); a hard cut-off is rate "
"optimal but loses a constant.")
fig, ax = labs.figure(2, size=(11, 4.2))
k = np.arange(1, 121)
N = projection_worst(eps, a, C)[1]
ax[0].plot(k, p["shrink"][:120], color=labs.GOLD, label=f"Pinsker's taper (1 - k/mu)+, mu = {p['mu']:.1f}")
ax[0].step(k, (k <= N).astype(float), where="mid", color=labs.BLUE, label=f"the best cut-off, N = {N}")
ax[0].plot(k, p["prior_var"][:120] / p["prior_var"][0], color=labs.GREEN, ls="--",
label="least favourable prior variance (scaled)")
ax[0].set(title="Weights on coordinate k at eps = 0.01", xlabel="k", ylabel="weight")
ax[0].legend(loc="upper right")
ax[1].semilogx(grid, ratio_asym, "o-", color=labs.GOLD, label="linear minimax risk / Pinsker's asymptotic formula")
ax[1].semilogx(grid, ratio_proj, "o-", color=labs.BLUE, label="best projection / Pinsker")
ax[1].axhline(limit, color=labs.BLUE, ls=":", lw=1)
ax[1].axhline(1, color=labs.GOLD, ls=":", lw=1)
ax[1].text(grid[-1], limit + 0.05, "3^(2/3) = 2.08", color=labs.MUTED, ha="right")
ax[1].invert_xaxis()
ax[1].set(title="As the noise falls", xlabel="noise level eps (decreasing)", ylabel="ratio of risks", ylim=(0.7, 2.6))
ax[1].legend(loc="center right")
lab.fig = fig
return lab
Now change it
- Change the smoothness alpha from 1 to 2. Derive the limit of the projection ratio and check it against the table.
- Put all of C^2 on the first coordinate (theta_1 = C/a_1). Is the simulated risk of Pinsker's rule still the minimax risk? Then put it on a coordinate beyond the taper's support.
- Replace gsm.est_block_js by gsm.est_soft with the universal threshold eps*sqrt(2 log K) and compare its risk at the hard truth.
Problems, with solutions
Try each problem before opening its solution.
-
The worst θ for a linear rule. For \(y_k = \theta_k + \varepsilon z_k\) and \(\hat\theta_k = c_k y_k\), find the worst \(\theta\) on \(\sum a_k^2\theta_k^2 \le C^2\) for given \(c\).
Solution
- The risk of θ̂_k = c_k y_k is Σ(1 − c_k)²θ_k² + ε²Σc_k². Write u_k = a_kθ_k, so the constraint is Σu_k² ≤ C².
- The first sum is Σ((1 − c_k)²/a_k²) u_k², maximized by putting all of C² on the k with the largest (1 − c_k)²/a_k²: sup = C² max_k (1 − c_k)²/a_k² + ε²Σc_k².
- Minimizing over c gives Pinsker's taper: many boundary allocations over active coordinates are worst cases once c is optimal; a spread allocation is not unique. The exact finite-noise result is linear minimax, with unrestricted minimax equivalence asymptotic.
-
The Gaussian prior's Bayes rule. Show that the Bayes rule for \(\theta_k \sim N(0, \tau_k^2)\) is \(\tau_k^2 y_k/(\tau_k^2 + \varepsilon^2)\), and find its Bayes risk.
Solution
- With θ_k ~ N(0, τ_k²) and y_k | θ_k ~ N(θ_k, ε²), the posterior mean is τ_k²y_k/(τ_k² + ε²).
- Its Bayes risk is Σ τ_k²ε²/(τ_k² + ε²). This Gaussian law is not supported on the ellipsoid; a lower bound for that bounded parameter space needs prior-radius slack and controlled conditioning/truncation. With τ_k² = ε²(μ/a_k − 1)₊ the weights are (1 − a_k/μ)₊, Pinsker's.
-
Le Cam's bound. Prove Le Cam's bound: \(\max_j E_j(\hat\theta - \theta_j)^2 \ge \tfrac{\delta^2}{2}(1 - \mathrm{TV}(P_0, P_1))\).
Solution
- For |θ₁−θ₀|=2δ, max_j E_j(θ̂ − θ_j)² ≥ ½(E₀ + E₁); define ψ = 1{|θ̂ − θ₁| < |θ̂ − θ₀|}. If ψ errs, |θ̂ − θ_j| ≥ δ.
- So the average risk ≥ (δ²/2)(P₀(ψ = 1) + P₁(ψ = 0)) ≥ (δ²/2)(1 − TV(P₀, P₁)).
-
TV between normals. Show \(\mathrm{TV}(N(0,1), N(d,1)) = 2\Phi(|d|/2) - 1\), and check Pinsker's inequality for it.
Solution
- The densities cross at d/2, so For d≥0, TV = P_d(X > d/2) − P₀(X > d/2) = 2Φ(d/2) − 1.
- KL = d²/2, so √(KL/2) = d/2. With x = d/2, 2Φ(x) − 1 = 2∫₀ˣ φ ≤ 2xφ(0) = x√(2/π) ≤ x, which is Pinsker's inequality for this pair.
-
Farrell's construction. With a valid mass-preserving density perturbation \(f_1=f_0+h(b_0-b_1)\), \(h = Lw^s\), choose \(w\) to get the rate \(n^{-2s/(2s+1)}\) at \(x_0\).
Solution
- |f₁(x₀) − f₀(x₀)| = h = c_{b,f₀,L}w^s after checking support, positivity and derivative norms; use a compensating disjoint bump so ∫f₁=1; χ²(f₁, f₀) ≍ h²w, so the n-sample TV stays below 1/2 when n h² w ≍ 1.
- That is n w^{2s+1} ≍ 1, w ≍ n^{−1/(2s+1)}, and the risk ≳ h² = w^{2s} ≍ n^{−2s/(2s+1)}.
-
The maximum's boundary. For the sparse mixture, show that the maximum statistic detects iff \(r > (1 - \sqrt{1 - \beta})^2\).
Solution
- Under the null, max X_i ≈ √(2 log n). The n^{1−β} signals have maximum ≈ √(2r log n) + √(2(1 − β) log n).
- This exceeds √(2 log n) iff √r + √(1 − β) > 1, i.e. r > (1 − √(1 − β))², the boundary's very sparse branch.
Notes and sources
Where it comes back
- Part 51: concentration of measure and chaining in high dimensions.
- Part 52: the lasso attains Fano's s log(p/s); restricted eigenvalues.
- Part 53: posterior contraction rates match the minimax rates.
- Part 54: learning-theory lower bounds, with VC dimension and Fano.
- Part 63: the minimax price of differential privacy.
Glossary
- The setting.
- Minimax risk; least favourable prior; Bayes risk as a lower bound: the game.
- Gaussian sequence model; white noise model; Le Cam equivalence; Sobolev ellipsoid; Besov ball: the model.
- Lower bounds.
- Total variation; Hellinger distance; Kullback–Leibler divergence; Pinsker's inequality; χ² divergence: comparing laws.
- Le Cam's two-point method; modulus of continuity; Fano's inequality; packing; Varshamov–Gilbert bound; Assouad's lemma; hypercube; Yang–Barron: the methods.
- Upper bounds.
- Linear estimator; Pinsker's theorem; projection estimator; blockwise James–Stein; soft and hard thresholding; universal threshold; oracle inequality; SURE: matching methods.
- Adaptation; Lepski's method; the price of adaptation; honest interval; bias-aware interval: not knowing the class.
- Testing and computation.
- Separation rate; Ingster's χ² test; sparse mixture; detection boundary; higher criticism: minimax testing.
- Planted clique; sparse PCA; reduction; low-degree polynomials; statistical–computational gap: rates under a budget.
Sources
- Rates. R. Farrell, Ann. Math. Stat. 43 (1972); C. Stone, Ann. Stat. 8 (1980), 10 (1982).
- The sequence model and Pinsker.
- M. Pinsker, Probl. Inf. Transm. 16 (1980); L. Brown & M. Low, Ann. Stat. 24 (1996); M. Nussbaum, Ann. Stat. 24 (1996).
- S. Efromovich & M. Pinsker, Autom. Remote Control 45 (1984); T. Cai, Ann. Stat. 27 (1999); L. Cavalier & A. Tsybakov, Probab. Theory Relat. Fields 123 (2002).
- Lower bounds.
- L. Le Cam, Ann. Stat. 1 (1973); R. Fano, Transmission of Information (1961); P. Assouad, C. R. Acad. Sci. 296 (1983); B. Yu, in Festschrift for Lucien Le Cam (1997).
- Y. Yang & A. Barron, Ann. Stat. 27 (1999); D. Donoho & R. Liu, Ann. Stat. 19 (1991).
- Upper bounds and adaptation.
- D. Donoho & I. Johnstone, Biometrika 81 (1994); JASA 90 (1995); Ann. Stat. 26 (1998).
- O. Lepski, Theory Probab. Appl. 35 (1990); A. Goldenshluger & O. Lepski, Ann. Stat. 39 (2011).
- M. Low, Ann. Stat. 25 (1997); T. Armstrong & M. Kolesár, Econometrica 86 (2018).
- Testing. Yu. Ingster, Probl. Inf. Transm. 18 (1982); Math. Methods Stat. 6 (1997); J. Jin, PhD thesis (2003); D. Donoho & J. Jin, Ann. Stat. 32 (2004).
- Computation.
- M. Jerrum, Random Struct. Alg. 3 (1992); N. Alon, M. Krivelevich & B. Sudakov, Random Struct. Alg. 13 (1998).
- Q. Berthet & P. Rigollet, COLT (2013); Y. Zhang, M. Wainwright & M. Jordan, COLT (2014); S. Hopkins, PhD thesis (2018); M. Brennan & G. Bresler, COLT (2020).
- Books. A. Tsybakov, Introduction to Nonparametric Estimation (2009); I. Johnstone, Gaussian Estimation: Sequence and Wavelet Models (2019); E. Giné & R. Nickl (2016); Y. Polyanskiy & Y. Wu, Information Theory: From Coding to Learning (2024).
About this partfrom its README
Part 50 of a sixty-five-part course in statistics, from a first course to a PhD (see the series plan and the syllabus), and the eighth part of Stage IV, the PhD core.
It opens with Farrell (1972) and Stone (1980): with s derivatives in d dimensions, no method of any kind can estimate a function faster than n^{−2s/(2s+d)}. The part asks how well anyone can estimate, with any method, and builds both halves of the answer:
- the Gaussian sequence model, and why it stands for regression and density estimation (Brown & Low; Nussbaum);
- Pinsker's exact linear minimax risk over ellipsoids and asymptotic unrestricted constant, its linear rule and its least favourable Gaussian prior;
- lower bounds by Le Cam's two points, Fano's packings and Assouad's hypercubes, on a workbench of hypotheses;
- upper bounds that match: blockwise James–Stein, thresholding and oracle inequalities, Besov balls;
- adaptation by Lepski's method, and its price for pointwise loss;
- minimax testing: Ingster's separation rates, the sparse-mixture detection boundary, higher criticism;
- statistical–computational gaps: planted clique, sparse PCA, best subset, low-degree evidence;
- honest intervals, on the Board.
It keeps three promises:
- Part 29 chose bandwidths and found the rate n^{−4/5}, but took on trust that no smoother could do better. Chapters 3–5 prove it with Le Cam's, Fano's and Assouad's methods.
- Part 47's local minimax theorem lives at the root-n scale. Chapter 2 finds an exact minimax constant at a nonparametric rate (Pinsker).
- Part 49's efficiency bound assumed root-n was achievable. Chapter 3 shows when it is (the modulus of continuity) and, when it is not, the rest of the part finds the rate itself.
Built in this part:
statkit.gsm(explainer/stats/kit/gsm.py), tested intests/test_stats_kit_gsm.py:- the Gaussian sequence model on Sobolev ellipsoids; Pinsker's linear minimax rule and risk, its least favourable prior and Pinsker's constant; the hardest θ;
- projection, Pinsker, blockwise James–Stein, soft and hard thresholding;
- TV, Hellinger and KL for normals and Bernoullis;
- Le Cam's two-point bound for a density at a point, Fano's bound, a Varshamov–Gilbert packing, the sparse-means rate, Assouad's bound for Hölder regression;
- Lepski's bandwidth choice; the detection boundary, higher criticism and the sparse mixture; a planted-clique generator with degree tests.
- The lower-bound workbench (
LowerBoundPackinginexplainer/stats/viz.py), the part's instrument: hypotheses as points with their separation discs, confusion lines between pairs the data cannot tell apart, and Assouad's hypercube with its neighbour edges.
Data.
- From the Museum: the motorcycle crash (Schmidt, Mattern & Schüler 1981; Silverman 1985).
- The rest is exact arithmetic or seeded simulation.
The Coverage Board gains six rows. Empirical MCSE is measured across independent datasets:
| Method | Setting | Nominal / benchmark | Achieved ± MCSE | Verdict |
|---|---|---|---|---|
| pointwise CI, \ MSE-optimal bandwidth | a peak at \(x_0\), \ \(n = 2{,}000\) | 95% | 92.53% ± 0.68% | broken |
| pointwise CI, \ undersmoothed (bandwidth / 4) | a peak at \(x_0\), \ \(n = 2{,}000\) | 95% | 95.67% ± 0.53% | kept |
| pointwise CI, \ Lepski's bandwidth | a peak at \(x_0\), \ \(n = 2{,}000\) | 95% | 44.33% ± 1.28% | broken |
| pointwise CI, bias-aware fixed bandwidth | known Gaussian noise; derivative-bounded class | 95% | 96.47% ± 0.48% | conservative |
| higher criticism, \ leading null scale (not 5-percent calibrated) | null \(N(0,1)\), \ \(n = 2{,}000\) | 5% comparison benchmark | 35.60% ± 0.87% | broken |
| higher criticism, \ simulated critical value | null \(N(0,1)\), \ \(n = 2{,}000\) | 5% | 5.13% ± 0.40% | kept |
Interval rows use 1,500 independent datasets at one peak. Only the bias-aware row has a stated class-wide finite-Gaussian guarantee; near-95% coverage at one function does not prove honesty. The HC leading scale is not a level-5% critical value; the 5% column is a comparison benchmark. HC calibration and evaluation use separate 3,000-dataset samples. Calibration uncertainty is separate from the displayed evaluation MCSE.
Chapter notes
| # | Chapter | Numbers and scope |
|---|---|---|
| 0 | Farrell and Stone | Normal KDE pointwise risk is an illustration; the 1.06 bandwidth is a normal-reference integrated-risk rule, not a pointwise optimum |
| 1 | The Gaussian sequence model | Discrete orthonormality versus continuous quadrature; Brown–Low/Nussbaum model, positivity and loss conditions |
| 2 | Pinsker | Linear-risk / asymptotic-formula ratio 0.8861 → 0.9945; worst-case projection ratio 3^(2/3) = 2.0801, equivalent to 3× the data |
| 3 | Le Cam | Valid C2 norm-one density pair; at n=4,000 lower bound 0.0000034; uniform KDE upper bound 0.0005965 |
| 4 | Fano | Random 24-bit packing: 2,907 candidates retained; existence lower bound 8; s log(ep/s) is a rate scale, not an exact lower constant |
| 5 | Assouad | Derivative-normalized Lipschitz/C2 bumps; exact finite-design Gaussian KL; conservative squared-loss reduction constant; finite C2 slopes are not yet asymptotic |
| 6 | Upper bounds | Selected-truth risks at ε=.003, divided by linear minimax risk: projection 1.41, block energy shrinker 1.21; not other estimators' worst-case risks |
| 7 | Lepski | Largest admissible rule, κ=2.2; exact fixed-design oracle risk; observed rule/oracle ratios 1.96 and 2.41 |
| 8 | Testing | Truncated CDF HC supremum includes t=1/n; global detection differs from almost-full support recovery (r>β in the specified rare/weak model) |
| 9 | Computation | Edge-count exact powers at k=30/40: 0.458/0.869; observed 0.513/0.860; conjectured asymptotic computational scales are not finite-n hardness thresholds |
| 10 | Honest intervals | h_opt=0.02, h_under=0.005; bias-aware h=0.02, bias bound 0.0546, radius 0.2751; HC leading scale 2.014, independently calibrated cutoff 3.193 |
| 11 | Outro | Six solutions; assumptions and asymptotic versus finite-sample scope retained |
The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
- Hook: Farrell (1972) and Stone (1980). Upgrade card from Part 29.
- The Gaussian sequence model. Le Cam equivalence with nonparametric regression and density estimation (Brown & Low 1996; Nussbaum 1996).
- Linear estimators and Pinsker's theorem (1980). The exact minimax risk over ellipsoids.
- Le Cam's two-point method. TV, Hellinger and KL; a density at a point.
- Fano's method. Packings (
LowerBoundPacking); Varshamov–Gilbert; sparse vectors and s log(p/s). - Assouad's lemma. Hypercubes of bumps; Hölder regression.
- Upper bounds that match. Blockwise James–Stein; wavelet thresholding over Besov balls.
- Adaptation. Lepski's method (1990); the price of adaptation for pointwise loss.
- Minimax testing (Ingster). Separation rates; the sparse-mixture detection boundary and higher criticism (Donoho & Jin 2004).
- Statistical–computational gaps. Planted clique and sparse PCA (Berthet & Rigollet 2013); low-degree evidence (Hopkins 2018).
- Outro.
Built: statkit.gsm and a lower-bound workbench. Books: Tsybakov; Johnstone; Giné & Nickl; Polyanskiy & Wu.
Build the film
python -m videos.stats.stats50.compute # the part's numbers, into .cache/stats50
python tools/build.py stats50 # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py stats50 Hook # one chapter, silent, with a contact sheet
Scenes: videos/stats/stats50. Setup: see the course page. Source of these notes: the README and the scenes' narration.
Build it
OMP_NUM_THREADS=1 python -m videos.stats.stats50.compute # once (about a minute)
python tools/build.py stats50 -q l # fast 480p preview
python tools/build.py stats50 # 1080p30 -> renders/stats50.mp4
python tools/qa_scene.py stats50 Fano
python tools/lecture_length.py stats50 --floor 50