Spiked models and principal components
Distinguish a population eigendirection from its noisy high-dimensional sample counterpart.
On this page
The question for today
What you’ll understand
- Define the rank-one spiked covariance model and its signal eigengap.
- Calculate sample eigenvalue and eigenvector limits in a stated Gaussian proportional regime.
- Distinguish detectable alignment from consistent direction recovery.
Principal components maximize sample variance, but the maximizing sample direction need not closely estimate a population direction when dimension grows with sample size. A rank-one spiked model separates an isotropic noise background from one preferred direction. It permits precise statements about a transition between no limiting alignment and positive alignment, while also showing that positive alignment need not become perfect recovery.
Specify the covariance and sampling regime
Take independent real Gaussian observations with known mean zero and covariance , where is a deterministic unit vector and is fixed. The population top eigenvalue is , its eigenvector is up to sign, and the other eigenvalues are one. Thus the population eigengap is theta. Estimate the covariance by the uncentered second-moment matrix divided by sample size, and let its largest eigenvalue and a unit top eigenvector define the ordinary sample principal component.
For the asymptotic formulas here, let both dimension and sample size tend to infinity with their ratio tending to a fixed . This restriction matches the cited real-Gaussian theorem and avoids silently importing a different aspect-ratio convention. The spike strength is the excess above the unit noise eigenvalue, not the full population eigenvalue. A theorem stated with threshold for the population eigenvalue is therefore equivalent to threshold for this excess parameter.
The proportional limit retains sample distortion
In this regime, the top sample eigenvalue converges to the upper noise edge when the spike is at or below the threshold. Above it, the eigenvalue separates and converges to the outlier expression in the display. The corresponding squared overlap with the true direction tends to zero below or at threshold and to the positive displayed fraction above threshold. These are almost-sure limits in the stated Gaussian spiked model, not finite-sample identities for every data matrix.
For any fixed supercritical spike and positive aspect ratio, the limiting overlap remains below one. The direction is informative but inconsistent in Euclidean angle, and the top sample eigenvalue is inflated relative to the population eigenvalue. Calling a component detected does not mean its direction or variance is estimated consistently. Eigenvectors also have an arbitrary sign, so squared overlap or an angle insensitive to sign is the appropriate comparison. Comparing signed coordinate vectors without resolving that ambiguity can create a spurious apparent error.
Perturbation bounds and structural improvements
In a regime with genuinely small operator covariance error relative to the population gap, a Davis–Kahan-type bound controls the sine of the leading angle by twice that error divided by the gap. This finite deterministic perturbation statement explains ordinary low-dimensional consistency. When dimension remains proportional to sample size, a generic covariance deviation need not shrink enough for that argument to yield a vanishing angle. The spiked-model limit describes more sharply what persists rather than merely declaring a perturbation bound inconclusive.
If the spike direction is itself sparse, one can restrict the variance maximization to sparse unit vectors. That changes the parameter class and can improve statistical sample requirements, but the resulting nonconvex search can be computationally difficult. Neither the ordinary-PCA threshold above nor its exact overlap formula automatically transfers to sparse PCA, unknown noise covariance, multiple interacting spikes, or non-Gaussian observations. Any extension needs its own assumptions and theorem. This distinction separates a clear baseline model from a universal claim about all dimension-reduction methods.
Work it through
An informative component that is not consistent
Use aspect ratio one quarter and excess spike one. Calculate the population eigenvalue, noise edge, limiting sample eigenvalue, and limiting squared alignment.
The threshold is , so excess spike one is supercritical. Its population top eigenvalue is two, while the upper noise edge is .
The outlier formula gives . This is above the noise edge and is not equal to the population value two.
The squared overlap tends to . Hence the sample direction retains nonzero information but does not approach the population direction perfectly. These values describe a sequence of growing Gaussian models, not the exact output for a single finite sample.
The limiting sample eigenvalue is 2.5 and squared alignment is 0.6, illustrating both detection and persistent estimation distortion.
The living notebook
Explore the model
Interactive lab · matrix
A spectral gap selects a direction
Pause/Reset, set diagonal scale 2 and shear 0. Predict singular values 2 and 1, so the associated Gram eigenvalues are 4 and 1 with gap 3. For a fresh comparison Pause/Reset, set both scale 1 and shear 0: equal eigenvalues leave no unique leading direction. Readouts describe the selected final transformation during playback.
- Area scale · det A
- 1.4
- Singular values · σmax, σmin
- 1.597, 0.876
- Condition number · κ₂(A)
- 1.823
The selected matrix is A = [[a,b],[0,1]]. Playback interpolates geometry between the identity and A; readouts always describe A. Its determinant is a and its singular values come from AᵀA. Positive a makes every supported matrix invertible. This two-dimensional family is not a general eigensolver or a learned network. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forAn eigengap matters for directional stability. This deterministic two-dimensional matrix is not a random spiked covariance sample and does not simulate the proportional-limit transition.
Pause & reason
Check your understanding
Your turn
Try it yourself
Keep aspect ratio one quarter but lower the excess spike to one quarter. Determine the population top eigenvalue and the two limiting sample-PCA quantities.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Compare the excess spike, not the full eigenvalue, with the square root of the aspect ratio.
Compare with the solution
The population top eigenvalue is . The excess spike is below threshold , so the largest sample eigenvalue tends to and the squared overlap tends to zero. Substituting this subcritical spike into the supercritical outlier branch would be an invalid use of the theorem. The population still has a preferred direction, but ordinary sample PCA has no nonzero limiting alignment with it in this particular asymptotic regime.
Keep the idea
Take it with you
- Specify the spike parameter, aspect-ratio convention, distribution, and covariance normalization.
- A supercritical sample component can be informative while its direction remains inconsistent.
- Sparse PCA and other variants change the statistical and computational problem.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.