Tutorials › Multivariate Statistics (Graduate) › Minimax Rates for Sparse PCA

High-Dimensional PCA and Factors · Tutorial 872 of 975

Minimax Rates for Sparse PCA

Learn when sparse principal-subspace estimation is possible, how its minimax rate depends on the spike and sparsity, and why the usual rate needs a nontrivial sparse direction class.

Advanced 12 min read

What You'll Learn

  • Define the rank-one sparse spiked covariance model and principal-subspace loss
  • Interpret the roles of sample size, ambient dimension, sparsity, and eigengap
  • Derive the Gaussian Kullback–Leibler divergence between two spike directions
  • Understand the controlled packing needed for a Fano lower bound
  • Identify why the usual sparse rate does not apply to one-sparse directions
  • Apply the minimax rate to concrete parameter choices

Why Sparse PCA Has a Minimax Rate

Sparse PCA estimates a leading direction while assuming that only a small number of its coordinates are nonzero. In high dimensions, estimating an unrestricted direction can be difficult even when the leading population eigenvalue is distinct. Sparsity reduces the effective set of possible directions, but it does not remove the cost of searching among many possible coordinate supports.

The central question here is how the best possible subspace error changes with sample size, ambient dimension, sparsity, and the population eigengap. The answer is a minimax rate: a lower bound that applies to every estimator, together with an upper bound attained, up to constants, by an estimator over sparse directions.

Model and loss: Observe independent vectors \(X_1,\ldots,X_n\sim N_p(0,\Sigma_v)\), where \(\Sigma_v=I_p+\lambda vv^\top\), \(\lambda>0\), \(\|v\|_2=1\), and \(\|v\|_0\le s\). The leading population eigenspace is the line spanned by \(v\); its eigengap is \(\lambda\). For an estimated unit direction \(\hat v\), use the sign-invariant loss \(L(\hat v,v)=1-(\hat v^\top v)^2\), the squared sine of the angle between their lines.

Write \(d_s=s\log(ep/s)\) for the effective complexity of the sparse direction class. The logarithm reflects the number of possible supports, while the factor \(s\) also accounts for continuous variation of direction within a support. The quantity \((1+\lambda)/\lambda^2\) expresses the difficulty of separating a direction with eigengap \(\lambda\) from sampling noise.

The Minimax Rate

Theorem (sparse PCA minimax rate): In the Gaussian model above, for \(p\ge2\) and \(2\le s\le p\), there are universal constants \(0<c<C<\infty\) such that $$ c\min\!\left\{1,\frac{1+\lambda}{\lambda^2}\frac{s\log(ep/s)}{n}\right\} \le \inf_{\hat v}\sup_{\substack{\|v\|_2=1\\\|v\|_0\le s}} E_v\!\left[1-(\hat v^\top v)^2\right] \le C\min\!\left\{1,\frac{1+\lambda}{\lambda^2}\frac{s\log(ep/s)}{n}\right\}. $$ The infimum is over estimators of a line based on the observations. Constants do not depend on \(n,p,s,\lambda\). The restriction \(s\ge2\) matters: for \(s=1\), the parameter space consists only of coordinate axes and the displayed equivalence need not hold.

The cap at one is necessary because the loss is between zero and one. When the uncapped expression is small, the rate decreases proportionally to \(1/n\). When the spike is weak, the factor \((1+\lambda)/\lambda^2\) is large and reliable recovery requires more observations. For a strong spike, this factor is approximately \(1/\lambda\), so increasing the eigengap improves estimation.

A Lower Bound: Divergence and a Controlled Packing

A lower bound compares several possible spike directions that are hard to distinguish from their observations. The divergence calculation is exact. Let \(P_v\) denote the distribution of one observation under direction \(v\), and let \(P_v^n\) denote the joint distribution of all \(n\) observations.

Result (Gaussian divergence): For unit vectors \(v,w\), $$ D(P_v^n\Vert P_w^n) = \frac{n\lambda^2}{2(1+\lambda)} \left[1-(v^\top w)^2\right]. $$

To verify this, both covariance matrices have determinant \(1+\lambda\), and \(\Sigma_w^{-1}=I_p-\frac{\lambda}{1+\lambda}ww^\top\). The Gaussian divergence formula gives $$ D(P_v\Vert P_w) =\frac12\left\{\operatorname{tr}(\Sigma_w^{-1}\Sigma_v)-p +\log\frac{\det\Sigma_w}{\det\Sigma_v}\right\}. $$ The log-determinant term is zero. Moreover, $$ \operatorname{tr}(\Sigma_w^{-1}\Sigma_v) =p+\lambda-\frac{\lambda}{1+\lambda}\{1+\lambda(v^\top w)^2\} =p+\frac{\lambda^2}{1+\lambda}\{1-(v^\top w)^2\}. $$ This proves the one-observation identity, and independence multiplies it by \(n\). \(\square\)

The divergence formula alone is not a lower bound. We also need many directions that are separated from one another, yet each remains close to a reference direction in the divergence sense. The following packing property supplies both conditions for \(s\ge2\).

Packing property: There are constants \(a,b,\delta_0>0\) such that, for \(2\le s\le p\) and \(0<\delta\le\delta_0\), one can choose \(M\) unit \(s\)-sparse vectors \(v_1,\ldots,v_M\), and a unit reference vector \(v_0\), with $$ \log M\ge a\,d_s,\qquad 1-(v_j^\top v_k)^2\ge b\delta^2\ (j\ne k),\qquad 1-(v_j^\top v_0)^2\le \delta^2. $$

Here is why such families exist. When \(p\ge2s\), take \(v_0=e_1\) and form candidates $$ v_A=\sqrt{1-\delta^2}\,e_1+ \frac{\delta}{\sqrt{s-1}}\sum_{j\in A}e_j, \qquad |A|=s-1, $$ where \(A\) ranges over subsets of \(\{2,\ldots,p\}\). A constant-rate selection of subsets can be made with pairwise symmetric differences of order \(s-1\), and with logarithm of its size at least a constant times \((s-1)\log(e(p-1)/(s-1))\). For these candidates, \(v_A^\top v_0=\sqrt{1-\delta^2}\). Their pairwise inner products are \(1-\delta^2+\delta^2|A\cap B|/(s-1)\); the selected differences therefore give squared sine separation at least a constant times \(\delta^2\).

When \(p<2s\), \(d_s\) is of order \(s\). Use a fixed \(s\)-coordinate subspace and take \(v_0=e_1\). The vectors \(\sqrt{1-\|z\|_2^2}e_1+z\), for \(z\) in a small-radius ball in the other \(s-1\) coordinates, form a local patch of the unit sphere. A Euclidean packing of that ball at spacing proportional to its radius has logarithmic size of order \(s\), while all its elements remain within squared sine distance of order \(\delta^2\) of \(e_1\). This gives the stated property, including the one-dimensional patch when \(s=2\).

Set \(\delta^2\) equal to a sufficiently small constant times \(\min\{1,(1+\lambda)d_s/(n\lambda^2)\}\), reducing the constant if needed so that \(\delta\le\delta_0\). The packing property and the divergence identity give, for every packed direction, $$ D(P_{v_j}^n\Vert P_{v_0}^n) \le \frac{n\lambda^2}{2(1+\lambda)}\delta^2 \le \frac{a}{8}d_s \le \frac18\log M, $$ after choosing the constant in \(\delta\) small enough. Thus each candidate has controlled divergence to the reference, not merely pairwise separation from the other candidates.

Fano's inequality now implies that no estimator can identify the packing index with probability tending uniformly to one: the average probability of classification error is bounded below by a positive constant. To connect classification to subspace loss, assign an estimator to its nearest packed line. If it is closer in squared sine distance than half the minimum packing separation, this assignment is correct, by the triangle inequality for the angle between lines. Consequently, a classification error forces squared sine loss at least a constant times \(\delta^2\). The maximum risk is at least the average risk over the packing, which is therefore bounded below by a constant times \(\min\{1,(1+\lambda)d_s/(n\lambda^2)\}\). This proves the theorem's lower bound.

Why the Upper Bound Has the Same Scale

For an upper bound, consider a measurable maximizer of \(u^\top S u\) over unit vectors with at most \(s\) nonzero coordinates, where \(S=n^{-1}\sum_{i=1}^nX_iX_i^\top\). The feasible set is a finite union of compact spheres, so a maximizer exists. This estimator compares empirical variance only along sparse directions.

The key upper-bound argument is a localized empirical-process bound. For the Gaussian spiked model, the variance of empirical changes in directions near \(v\) is proportional to \(1+\lambda\). A net over each possible union of two supports has logarithmic complexity bounded by a constant times \(d_s\). Applying Gaussian-product concentration on these nets and grouping candidate directions by their angle from \(v\) gives the following consequence: the sparse variance maximizer has expected squared sine error at most $$ C\min\!\left\{1,\frac{1+\lambda}{\lambda^2}\frac{d_s}{n}\right\}. $$ To see how the scale arises, a direction at sine distance \(r\) loses population variance \(\lambda r^2\), since \(v^\top\Sigma_vv-u^\top\Sigma_vu=\lambda\{1-(u^\top v)^2\}\). The localized empirical fluctuation at that distance has scale proportional to \(r\sqrt{(1+\lambda)d_s/n}\). Balancing the two gives \(r^2\) of order \((1+\lambda)d_s/(n\lambda^2)\). Concentration on successive angular shells controls the tail beyond this balance; the loss cap gives the bound by one when the balance is not small. This establishes the upper bound and matches the lower bound up to universal constants.

Worked Examples

Worked Example: A Moderately Sparse Direction

Let \(p=1000\), \(s=10\), \(n=500\), and \(\lambda=1\). Then $$ d_s=10\log(1000e/10)=10\log(100e)\approx 56.05. $$ The uncapped rate factor is $$ \frac{1+\lambda}{\lambda^2}\frac{d_s}{n} =2\frac{56.05}{500}\approx0.224. $$ Thus the minimax expected squared sine error is bounded above and below by universal constant multiples of \(0.224\). This is a rate statement, not a claim that the risk equals \(0.224\) exactly.

Worked Example: A Stronger Spike and More Data

Keep \(p=1000\) and \(s=10\), but take \(n=2000\) and \(\lambda=3\). The effective complexity remains about \(56.05\), while $$ \frac{1+\lambda}{\lambda^2}\frac{d_s}{n} =\frac{4}{9}\frac{56.05}{2000}\approx0.0125. $$ Both more observations and a larger eigengap reduce the risk scale. The eigengap contribution changes from \(2\) in the first example to \(4/9\) here.

Worked Example: Why One-Sparse Signals Are Different

Take \(p=2\), \(s=1\), and \(\lambda=1\). The only possible signal lines are the two coordinate axes. Under the first axis, the sample sums of squares in the two coordinates have distributions \(2U\) and \(V\), where \(U,V\) are independent chi-square random variables with \(n\) degrees of freedom. Choosing the coordinate with the larger sample variance makes an error only if \(V\ge2U\).

For \(t=1/8\), Markov's inequality and the chi-square moment generating function give $$ P(V\ge2U) \le E[\exp\{t(V-2U)\}] =(1-2t)^{-n/2}(1+4t)^{-n/2} =(9/8)^{-n/2}. $$ The error probability is exponentially small in \(n\). Yet substituting \(s=1,p=2,\lambda=1\) into the formula in the theorem would give a quantity proportional to \(1/n\). It cannot be a matching lower bound for this discrete parameter space. This is why the theorem explicitly excludes \(s=1\).

Common Pitfall and Interpretation

A tempting but invalid lower-bound argument is to take a packing whose members are pairwise separated and immediately bound each member's divergence from a fixed reference by the pairwise separation scale. Pairwise separation gives a lower bound on distances between distinct candidates; it says nothing by itself about their distances to a chosen reference. The packing used above is constructed to satisfy both properties. In particular, the reference-direction condition is what justifies the displayed Kullback–Leibler bound.

The sparse minimax rate is useful for judging whether a proposed method is near the information limit, rather than merely whether it computes a sparse component. It also clarifies which improvements can matter: more observations, a stronger eigengap, or a smaller effective sparse class. It is not a universal formula for every sparse parameter space. In the one-sparse case, the direction is a discrete support label, and exact support recovery can have qualitatively different error behavior.

Key takeaway: For \(s\ge2\), sparse rank-one PCA has risk scale \(\min\{1,(1+\lambda)s\log(ep/s)/(n\lambda^2)\}\) in the Gaussian spiked model. A valid matching lower bound requires a family that is both separated internally and close to a reference in divergence; the one-sparse case does not satisfy the same rate conclusion.

Check Your Understanding

Use the model, loss, and rate established above.

  1. What does the eigengap \(\lambda\) measure in \(\Sigma_v=I_p+\lambda vv^\top\), and why does it affect estimation difficulty?
  2. For fixed \(s\) and \(\lambda\), how does the stated rate change as \(n\) grows?
  3. Why does a pairwise-separated packing alone not justify an upper bound on divergence to a reference direction?
  4. Explain why the theorem states \(s\ge2\), and describe the feature of the \(s=1\) example that causes trouble.
  5. If \(p,s,\lambda\) are fixed and \(n\) is multiplied by four, how does the uncapped minimax rate change?
Clinical Biostats