Post · 6 min read· pp. 48–50

Minimax Theory Saves The World

Minimax theory is the best thing in statistical machine learning—or the worst— depending on your point of view.

1. The Basics of Minimaxity

Let P{{\cal P}} be a set of distributions. We observe Y1,…,Yn∼P∈P{Y_1,\ldots, Y_n \sim P \in {\cal P}}. Let θ=θ(P){\theta = \theta(P)} be a function of the distribution (like the mean of P{P}). The minimax risk is

Rn=inf⁡θ^sup⁡P∈PEP[d(θ^,θ(P))]\displaystyle R_n = \inf_{\hat \theta}\sup_{P\in {\cal P}} \mathbb{E}_P [ d(\hat\theta,\theta(P))]

where the infimum is over all estimators θ^{\hat\theta} (an estimator is any function of the observed data) and d(⋅,⋅){d(\cdot,\cdot)} is some distance (more generally, a loss function). In machine learning, one often reports the sample complexity instead of the minimax risk. The sample complexity is the smallest sample size needed to make Rn{R_n} less than some small number.

The challenge is to compute (or approximate) the minimax risk Rn{R_n} and to find an estimator θ^{\hat\theta} that achieves the minimax risk. An estimator θ^{\hat\theta} whose maximum risk

sup⁡P∈PEP[d(θ^,θ(P))]\displaystyle \sup_{P\in {\cal P}} \mathbb{E}_P [ d(\hat\theta,\theta(P))]

is equal to Rn{R_n}, is a minimax estimator. It has the smallest possible maximum (worst case) risk.

Here is a famous example. Let Y1,…,Yn∼Normal(θ,1){Y_1,\ldots, Y_n \sim {\rm Normal}(\theta,1)}. Suppose that d{d} has the form d(a,b)=g(a−b){d(a,b) = g(a-b)} where g{g} is any bowl-shaped function. This means that the sub-level sets {x: g(y)≤c}{\{ x:\ g(y) \leq c\}} are convex and symmetric about the origin. Then Wolfowitz (1950) proved that the unique estimator that is minimax for all bowl-shaped g{g} is the sample mean Y‾n{\overline{Y}_n}.

Here is a more sophisticated example: density estimation. Let Y1,…,Yn∼P{Y_1,\ldots, Y_n \sim P} be random variables where P{P} has density p{p}. We want to know the minimax risk

Rn=inf⁡p^sup⁡P∈PEP∫(p^(y)−p(y))2dy\displaystyle R_n = \inf_{\hat p}\sup_{P\in {\cal P}} \mathbb{E}_P \int (\hat p(y) - p(y))^2 dy

where P{{\cal P}} is the set of densities such that ∫(p′′(y))2dy≤L2{\int (p''(y))^2 dy \leq L^2}. It turns out that Rn=cn−45{R_n = c n^{-\frac{4}{5}}} for some constant c>0{c>0}. The kernel density estimator

p^(y)=1n∑i=1n1hK(∣y−Yi∣h)\displaystyle \hat p(y) = \frac{1}{n}\sum_{i=1}^n \frac{1}{h}K\left( \frac{|y-Y_i|}{h}\right)

achieves this rate of convergence (for appropriate K{K} and h{h}). Histograms, however, do not. They converge more slowly. So we have discovered that, for the class P{{\cal P}}, kernel density estimators are better than histograms and we cannot do much better than kernel estimators.

Now consider a set of spaces {Pα}{\{\cal P_\alpha\}} indexed by a parameter. Think of α{\alpha} as a measure of smoothness. These spaces could have different minimax rates. Sometimes it is possible to construct estimators that achieves the minimax rate of convergence without knowing the true value of α{\alpha}. In other words, these estimators automatically adapt to the right amount of smoothness and they are called adaptive estimators. A famous example is wavelet estimation (Donoho, Johnstone, Kerkyacharian and Picard 1995).

2. Technical Digresson

To find Rn{R_n}, we usually find an upper bound Rn∗{R_n^*} and a lower bound Rn∗{R_{n*}} and then, if we are lucky, Rn∗≈Rn∗{R_{n*} \approx R_n^*}.

To find an upper bound, pick any estimator θ^{\hat\theta}. The maximum risk of any estimator is an upper bound:

Rn≤sup⁡P∈PEP[d(θ^,θ(P))]≡Rn∗.\displaystyle R_n \leq \sup_{P\in {\cal P}} \mathbb{E}_P [ d(\hat\theta,\theta(P))] \equiv R_n^*.

Finding a lower bound is trickier. Typically one uses an information-theoretic inequality like Fano’s inequality. In particular, we pick a finite set of distributions P1,…,PN∈P{P_1,\ldots, P_N \in {\cal P}}. Then

Rn≥α2(1−nβ+log⁡2log⁡N)≡Rn∗\displaystyle R_n \geq \frac{\alpha}{2} \left( 1 - \frac{ n \beta + \log 2}{\log N}\right) \equiv R_{n*}

where

α=min⁡j≠kd(θ(Pj),θ(Pk)),\displaystyle \alpha = \min_{j\neq k}d(\theta(P_j),\theta(P_k)),

β=max⁡j≠kKL(Pj,Pk)\displaystyle \beta = \max_{j\neq k} {\sf KL}(P_j,P_k)

and KL(Pj,Pk){{\sf KL}(P_j,P_k)} is the Kullback-Leibler distance between Pj{P_j} and Pk{P_k}. (Sometimes you need to prune the original finite set of distributions using the Varshamov-Gilbert lemma. See Tsybakov 2009).

Choosing θ^{\hat\theta} and the finite set P1,…,PN{P_1,\ldots, P_N} is an art. If you don’t choose wisely, the bounds will not be tight.

3. In Favor Of Minimaxity

The purpose of minimax analysis is to understand the difficulty of a problem. Here is a small sample of the types of questions that minimax theory has cast light on recently:

  1. How hard is it to find the non-zero variables in a high-dimensional regression?
  2. How hard is it to estimate an undirected graph?
  3. How hard is it to estimate the homology of a manifold?
  4. How hard is it to test a hypothesis about a high-dimensional Normal mean?
  5. How hard is it to estimate a sparse signal from compressed measurements?

The virtue of minimax theory is that it gives a precise notion of the intrinsic difficulty of a problem. And it allows you to evaluate an estimator against a benchmark: if your estimator is not minimax then you can search for a better estimator.

4. Against Minimaxity

There are some valid criticisms of minimax theory. You have to specify a loss function. You have to specify a class of distributions P{{\cal P}}. And you are using the worst case to define the value of a procedure.

Having to specify a loss and a class P{{\cal P}} does not seem like a real problem to me. Minimax theory—or for that matter, all decision theory— is relative to some loss and some class. When we say that a problem is hard, we mean it is hard under certain assumptions. A problem may be easier or harder relative to different assumptions.

The claim that minimax theory is driven by the worst case is a more substantial criticism. I happen to think worst case analysis is a good thing. I want an estimator that does reasonably well under any circumstances.

And for nonparametric problems, where P{{\cal P}} is a complicated infinite dimensional object, I would be skeptical of anything other than worst case analysis.

Think of it this way: if I buy a car, and I know that the car was tested and found to perform well even under extremely difficult circumstances, then I’ll feel better about buying the car.

Having said that, there are plenty of people who are uncomfortable with the worst case nature of minimax theory.

5. Minimaxity Gets the Last Word?

Minimax theory was important in statistics for a while then it sort of faded. But it had a revival, partly due to the work of Donoho et al.

But what is really interesting is that I see more and more minimax analyses in ML outlets such as NIPS, JMLR etc. So perhaps the marketplace of ideas is telling us that minimax theory is gaining in importance?

6. References

Donoho, D.L., Johnstone, I.M., Kerkyacharian, G. and Picard, D. (1995). Wavelet shrinkage: asymptopia?. Journal of the Royal Statistical Society. Series B. 301–369.

Tsybakov, A.B. (2009). Introduction to Nonparametric Estimation.

Wasserman, L. (2006). All of Nonparametric Statistics.

Wolfowitz, J. (1950). Minimax estimates of the mean of a normal distribution with known variance. The Annals of Mathematical Statistics, 21, 218-230.

—Larry Wasserman