High-Dimensional Statistics VII: Eigenvector Perturbation for High-Dimensional PCATextbook
Motivation
Principal component analysis (PCA) is one of the oldest and most widely used tools in multivariate statistics: given data with covariance matrix , project onto the top eigenvector(s) of to find the directions of maximal variance. In practice one never observes itself, only a perturbed version — a sample covariance matrix , with the (random) estimation error. The natural question, asked since at least Davis and Kahan (1970) and Wedin (1972), is: how close is the top eigenvector of to that of ? Wainwright's High-Dimensional Statistics: A Non-Asymptotic Viewpoint (Cambridge University Press, 2019), Chapter 8, gives a self-contained, sharp, non-asymptotic answer, phrased entirely in terms of two deterministic quantities: the eigengap of , and a single scalar summarizing how the perturbation couples to the top eigendirection.
Unlike most of the results in this book series, this one is a statement of pure linear algebra: no probability, no concentration inequality, no sample size is needed to state or prove it. Randomness enters only afterward, when is instantiated as an actual sampling error and bounded using the machinery of earlier chapters (Corollary 8.7, out of this mission's scope).
Setting
Let be a symmetric positive semidefinite matrix. Say is a maximal unit eigenvector of if and maximizes the Rayleigh quotient over the whole unit sphere — the variational characterization of the top eigenvector/eigenvalue pair, matching Eq. (8.14) of the book. Write for the corresponding top eigenvalue. Say has eigengap at if every unit vector orthogonal to satisfies — the Courant-Fischer variational form of the book's .
For a symmetric perturbation matrix , write for its -operator norm, and
for the component of orthogonal to — the piece of the perturbation that actually couples the top eigendirection to the rest of the space (Eq. (8.11)). Note can be far smaller than : a perturbation can be large in every direction yet barely move the top eigenvector, if its interaction with specifically is small.
Formalization targets
Goal (Theorem 8.5)
Let be symmetric positive semidefinite with maximal unit eigenvector and eigengap . For any symmetric with , and any maximal unit eigenvector of with ,
Milestone (Lemma 8.6, the PCA basic inequality)
Under the same eigengap hypothesis, with $\Psi(\Delta;P) := \langle\Delta,P\Delta\rangle
- 2\langle\Delta,P\theta^\rangle\Delta := \hat\theta-\theta^$,
Significance
The bound isolates exactly what drives eigenvector instability: not the raw size of the perturbation but its projection onto the top eigendirection, rescaled by the inverse eigengap. This explains, in one inequality, the qualitative phenomenon Example 8.4 illustrates numerically (a tiny perturbation can move the eigenvector far when the eigengap is small) and quantifies exactly how far. It is the deterministic engine behind every consistency result for PCA in the rest of the chapter: Corollary 8.7 (rates for the spiked covariance model) and the sparse-PCA guarantee (Theorem 8.10) both specialize this same bound, after bounding and using concentration for a specific random design. It is also a sharp instance of the general Davis-Kahan-type perturbation theory for symmetric matrices, phrased with an explicit, non-asymptotic constant rather than an .
The theorem is already proved in the source; this mission's contribution is a machine-checked formal statement (and, eventually, proof) of the bound and its supporting basic inequality, composing with any future formalization of the chapter's probabilistic corollaries.
Difficulty
The proof is genuinely variational, not spectral: it never diagonalizes or , only uses that and are optimal for their respective Rayleigh-quotient maximizations. The one place a naive argument fails is in bounding itself (the proof of Lemma 8.6): a direct Cauchy-Schwarz bound on using alone would produce a bound in terms of throughout, not the sharper the theorem actually delivers; getting the sharper dependence requires decomposing along and its orthogonal complement and tracking the two pieces separately (the , decomposition on p. 244). The sharpness of the threshold is also not a proof artifact: the book's own example (, ) shows the perturbed matrix can lose a unique maximal eigenvector exactly at .
Formalization scope
, , are Matrix (Fin d) (Fin d) ℝ; "symmetric" is
M.transpose = M; "positive semidefinite" is the quadratic-form condition
for all , stated directly rather than via a
Mathlib PosSemidef typeclass. "Maximal unit eigenvector" and "eigengap" are both
given their variational (Rayleigh-quotient) characterizations rather than defined
through Mathlib's enumerated matrix-eigenvalue API — mathematically equivalent to the
book's spectral definitions by the Courant-Fischer theorem, and the same
characterization the book's own proof works with throughout (Eq. (8.14)). The operator
norm is likewise realized variationally, valid because this
mission only ever applies it to symmetric matrices, exactly as the book does in this
chapter. is realized as a basis-independent vector in (the
component of orthogonal to ) rather than the book's
basis-dependent representative; its -norm — the only quantity
the theorem's conclusion uses — is identical either way.
Deliberate scope decision, disclosed here rather than silently: the book's own
Theorem 8.5 concludes that "has a unique maximal eigenvector
" satisfying the bound — asserting both existence and uniqueness as part
of the theorem, on top of the quantitative bound. This mission formalizes only the
quantitative bound, for an arbitrary maximal unit eigenvector of
satisfying the sign condition —
exactly what the book's own proof establishes (the proof never separately argues
existence or uniqueness; both are consequences that could be derived from the bound
together with a compactness argument for existence, left to a future extension) and
exactly what every downstream use in the chapter (Examples, Corollary 8.7) actually
invokes. A trivializing formalization would instead drop the sharp threshold
to ≤, or conflate the general operator norm with the
symmetric-matrix Rayleigh-quotient characterization for a non-symmetric ; this
mission does neither. Corollary 8.7 (spiked covariance rates) and Theorem 8.10
(sparse PCA, needing the uniform deviation condition of Eq. (8.26)) are out of this
mission's scope; a companion mission formalizing them on top of this one's
pca_eigenvector_perturbation_bound is natural future work, together with a proof
of existence of a maximal unit eigenvector via compactness of the sphere.
Selected references
- Wainwright, M. J. High-Dimensional Statistics: A Non-Asymptotic Viewpoint. Cambridge University Press, 2019. Chapter 8. DOI: 10.1017/9781108627771.
- Davis, C., Kahan, W. M. "The rotation of eigenvectors by a perturbation. III." SIAM Journal on Numerical Analysis, 7(1), 1970, 1–46.
- Wedin, P.-Å. "Perturbation bounds in connection with singular value decomposition." BIT Numerical Mathematics, 12(1), 1972, 99–111.