research32 min studyLesson 727 in Mathematics

Spiked models and principal components

Distinguish a population eigendirection from its noisy high-dimensional sample counterpart.

On this page

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 Σp=Ip+θvv⊤\Sigma_p=I_p+\theta vv^\top, where vv is a deterministic unit vector and θ>0\theta>0 is fixed. The population top eigenvalue is 1+θ1+\theta, its eigenvector is vv 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 γ∈(0,1)\gamma\in(0,1). 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 1+γ1+\sqrt\gamma for the population eigenvalue is therefore equivalent to threshold γ\sqrt\gamma for this excess parameter.

Xi∼iidNp(0,Ip+θvv⊤),∥v∥2=1,S=1n∑i=1nXiXi⊤,pn→γ∈(0,1).X_i\overset{\mathrm{iid}}\sim N_p(0,I_p+\theta vv^\top),\quad \|v\|_2=1,\quad S=\frac1n\sum_{i=1}^nX_iX_i^\top,\quad \frac pn\to\gamma\in(0,1).
The noise eigenvalue is one, theta is a fixed positive excess spike, and the mean is known rather than estimated.↔ Scroll wide equations horizontally.

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.

λ1(S)→{(1+γ)2,θ≤γ,(1+θ)(1+γ/θ),θ>γ,∣⟨v^,v⟩∣2→{0,θ≤γ,1−γ/θ21+γ/θ,θ>γ.\lambda_1(S)\to\begin{cases}(1+\sqrt\gamma)^2,&\theta\leq\sqrt\gamma,\\(1+\theta)(1+\gamma/\theta),&\theta>\sqrt\gamma,\end{cases}\qquad |\langle\widehat v,v\rangle|^2\to\begin{cases}0,&\theta\leq\sqrt\gamma,\\\dfrac{1-\gamma/\theta^2}{1+\gamma/\theta},&\theta>\sqrt\gamma.\end{cases}
The limits use excess spike theta. A separated sample eigenvalue and nonzero overlap do not imply overlap one.↔ Scroll wide equations horizontally.

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.

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.

  1. The threshold is 1/4=1/2\sqrt{1/4}=1/2, so excess spike one is supercritical. Its population top eigenvalue is two, while the upper noise edge is (1+1/2)2=9/4(1+1/2)^2=9/4.

  2. The outlier formula gives (1+1)(1+(1/4)/1)=5/2(1+1)(1+(1/4)/1)=5/2. This is above the noise edge and is not equal to the population value two.

  3. The squared overlap tends to (1−1/4)/(1+1/4)=3/5(1-1/4)/(1+1/4)=3/5. 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 result

The limiting sample eigenvalue is 2.5 and squared alignment is 0.6, illustrating both detection and persistent estimation distortion.

Explore the model

Interactive lab

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.

A spectral gap selects a directionThe 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. Current readings: Area scale · det A: 1.4; Singular values · σmax, σmin: 1.597, 0.876; Condition number · κ₂(A): 1.823. All parameters are adjustable with the labeled controls below.Matrix A with first row 1.4, 0.6 and second row zero, one; display interpolates between identity and A while final determinant remains 1.4.−4−2024−2−1012x · equal geometric scaleyA = [ 1.4 0.6 ; 0 1 ]Display blend: 0% · final values below
Interpolated geometryOriginal unit squareSelected final transform
Area scale · det A
1.4
Singular values · σmax, σmin
1.597, 0.876
Condition number · κ₂(A)
1.823
t = 0 s

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.

Check your understanding

In the stated proportional Gaussian regime, what does a fixed supercritical spike generally imply for ordinary sample PCA?

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 1+1/4=5/41+1/4=5/4. The excess spike is below threshold 1/21/2, so the largest sample eigenvalue tends to 9/49/4 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.

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.