The Eigenvalue That Explodes: Why PCA Features Hurt Regression
Suppose you have observations and features. You run OLS regression of on , where has the SVD . The OLS fitted values are
Now suppose instead of using all principal components, you use only the first components (i.e., PCR — Principal Components Regression). The fitted values become
The puzzle: OLS is unbiased for . PCR discards components — so it introduces bias. Yet in high dimensions or near-multicollinearity, PCR often beats OLS in prediction.
Here is the concrete question: Write the mean squared prediction error of OLS (in-sample, as an estimator of ) in terms of the singular values and signal components, and explain precisely why small singular values are dangerous. Then show that PCR's bias-variance tradeoff is controlled by a single threshold : what is the exact bias and variance of each principal component's contribution?
Assume the model with , and fixed.
Answer: PCR Bias-Variance per Principal Component
Key Idea / Intuition
OLS is unbiased but not necessarily low-variance. When has a tiny singular value , the OLS estimate amplifies that direction by , causing enormous variance. PCR simply hard-thresholds the component contributions: each component is either kept (zero bias, variance ) or discarded (variance zero, bias ). The key insight is that discarding a low-signal, high-variance direction is a win — the bias you pay is small but the variance you eliminate is huge.
Formal Proof / Solution
Setup
Write the true signal in the principal component basis. Let and define , the projection of the true signal onto the -th principal direction.
The OLS fitted values are
Since , each coordinate is a noisy observation of with noise variance .
Per-Component Bias and Variance
For each , define the scalar estimator and the contribution to fitted values .
OLS contribution of component :
So in the -th direction, OLS has zero bias and variance .
PCR contribution of component :
- If : keep it. Same as OLS: Bias, Variance .
- If : discard it. The estimate is , so:
Total MSE
Why Small Singular Values Are Dangerous for OLS Coefficient Estimation
Although OLS fitted values have constant variance per component, the regression coefficients tell a different story. The OLS coefficient is
The variance of this contribution is
When (near-multicollinearity), this variance blows up. While OLS fitted values remain stable, the coefficients become wildly unstable — and in prediction on new data (slightly off the training column space), this instability hurts.
The Bias-Variance Tradeoff Is Controlled by
| Component | PCR Bias | PCR Variance | |---|---|---| | (kept) | | | | (dropped) | | |
Increasing decreases bias but increases variance at rate per component. The optimal satisfies:
i.e., include a direction if and only if its signal exceeds the noise level. This is a signal-to-noise threshold — a beautiful and clean decision rule that makes PCR a form of empirical Bayes hard thresholding in the PC basis.
Summary Punchline
OLS pays per direction regardless of whether that direction carries signal. PCR trades a controlled amount of bias (dropping small-signal directions) for a proportional reduction in variance. When many directions have — which is common in high dimensions — PCR wins decisively.
Source: The Elements of Statistical Learning, Chapter 3 (Hastie, Tibshirani, Friedman)