[Paper Review] On the number of variables to use in principal component regression
This paper analyzes principal component regression (PCR) in high-dimensional settings where the number of features $ p $ exceeds sample size $ n $, showing that prediction error exhibits a 'double descent' curve as $ p $ increases. Surprisingly, the minimum error occurs in the interpolating regime ($ p > n $) when eigenvalues of the covariance matrix decay slowly, challenging conventional wisdom that $ p > n $ causes overfitting.
We study least squares linear regression over $N$ uncorrelated Gaussian features that are selected in order of decreasing variance. When the number of selected features $p$ is at most the sample size $n$, the estimator under consideration coincides with the principal component regression estimator; when $p>n$, the estimator is the least $\ell_2$ norm solution over the selected features. We give an average-case analysis of the out-of-sample prediction error as $p,n,N o \infty$ with $p/N o α$ and $n/N o β$, for some constants $α\in [0,1]$ and $β\in (0,1)$. In this average-case setting, the prediction error exhibits a "double descent" shape as a function of $p$. We also establish conditions under which the minimum risk is achieved in the interpolating ($p>n$) regime.
Motivation & Objective
- To analyze the out-of-sample prediction error of principal component regression (PCR) when the number of selected components $ p $ exceeds the sample size $ n $.
- To challenge the conventional belief that $ p > n $ leads to overfitting in PCR by studying the average-case error in a high-dimensional asymptotic regime.
- To characterize conditions under which the minimum prediction error is achieved in the interpolating regime ($ p > n $), rather than in the underdetermined regime ($ p < n $).
- To establish the existence of a 'double descent' risk curve in PCR, where error first decreases, increases, then decreases again as $ p $ grows.
Proposed method
- The authors consider an average-case analysis where the true coefficient vector $ \boldsymbol{\theta} $ is drawn from an isotropic prior, and the design matrix $ \boldsymbol{X} $ consists of i.i.d. $ \mathcal{N}(0, \boldsymbol{\Sigma}) $ features with known diagonal covariance $ \boldsymbol{\Sigma} = \operatorname{diag}(\lambda_1, \dots, \lambda_N) $.
- They derive the asymptotic prediction error of PCR as $ N, n, p \to \infty $ with $ p/N \to \alpha \in [0,1] $ and $ n/N \to \beta \in (0,1) $, using random matrix theory and the Stieltjes transform of the empirical eigenvalue distribution.
- The PCR estimator is defined as $ \hat{\boldsymbol{\theta}}_P = (\boldsymbol{X}_P^\top \boldsymbol{X}_P)^{-1} \boldsymbol{X}_P^\top \boldsymbol{y} $ for $ p \leq n $, and $ \hat{\boldsymbol{\theta}}_P = \boldsymbol{X}_P^\top (\boldsymbol{X}_P \boldsymbol{X}_P^\top)^{-1} \boldsymbol{y} $ for $ p > n $, with $ \hat{\boldsymbol{\theta}}_{P^c} = \mathbf{0} $.
- The analysis relies on characterizing the limiting behavior of quadratic forms involving the design matrix and its pseudo-inverse, using tools such as the Marchenko-Pastur law and the solution to a fixed-point equation involving the Stieltjes transform.
- The prediction error is decomposed into bias and variance components, and the asymptotic error is derived via concentration of measure and convergence of spectral moments.
- The key technical innovation is the use of a functional equation involving the Stieltjes transform $ m_f(z) $ and a function $ q_f(s, \nu) $, which links the asymptotic error to the eigenvalue distribution $ f(t) $ and the regularization parameter $ s^* $.
Experimental results
Research questions
- RQ1Does the prediction error of PCR exhibit a double descent curve as the number of components $ p $ increases beyond the sample size $ n $?
- RQ2Can the minimum prediction error in PCR be achieved in the interpolating regime ($ p > n $) rather than in the underdetermined regime ($ p < n $)?
- RQ3Under what conditions on the eigenvalue distribution of the covariance matrix does the double descent phenomenon occur in PCR?
- RQ4How does the asymptotic prediction error of PCR behave when $ p/N \to \alpha $ and $ n/N \to \beta $ in the high-dimensional limit?
- RQ5What is the role of the eigenvalue decay rate in determining whether $ p > n $ leads to lower error than $ p < n $?
Key findings
- The prediction error of PCR exhibits a 'double descent' shape as a function of $ p $, with an initial decrease, a peak around $ p \approx n $, and a second descent for $ p > n $.
- The minimum prediction error is achieved in the interpolating regime ($ p > n $) when the eigenvalues of the covariance matrix decay slowly, specifically when the spectral measure $ f(t) $ satisfies certain regularity conditions.
- The asymptotic prediction error in the $ p > n $ regime is strictly lower than the best error achievable in the $ p < n $ regime under the same conditions.
- The double descent behavior arises due to the cancellation of bias and variance in the high-dimensional limit, where the least $ \ell_2 $-norm solution over $ p $ features achieves lower error than any $ p < n $ solution.
- The limiting prediction error depends on the eigenvalue distribution $ f(t) $, with the optimal $ p $ determined by a fixed-point equation involving the Stieltjes transform $ m_f(z) $ and a function $ q_f(s, \nu) $.
- The paper establishes that the minimum risk is achieved at some $ p > n $ if and only if the equation $ h_f(\nu) = 0 $ has a solution in the support of $ f $, or equivalently, if $ \beta s^* < \delta \int_{\eta_1}^\infty t f(t) dt $, where $ s^* $ is the solution to $ q_f(s^*) = 0 $.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.