[Paper Review] On the Optimal Weighted $\ell_2$ Regularization in Overparameterized Linear Regression
This paper provides an exact asymptotic characterization of prediction risk in overparameterized linear regression with weighted $λ_2$ regularization, showing that the optimal ridge parameter $\lambda_{\text{opt}}$ can be negative under anisotropic data and signal covariances. It derives the optimal weighting matrix $\boldsymbol{\Sigma}_w$ for both ridgeless and optimally regularized settings, justifying implicit regularization and explaining the double descent phenomenon in principal component regression.
We consider the linear model $\mathbf{y} = \mathbf{X} \mathbfβ_\star + \mathbfε$ with $\mathbf{X}\in \mathbb{R}^{n imes p}$ in the overparameterized regime $p>n$. We estimate $\mathbfβ_\star$ via generalized (weighted) ridge regression: $\hat{\mathbfβ}_λ= \left(\mathbf{X}^T\mathbf{X} + λ\mathbfΣ_w ight)^\dagger \mathbf{X}^T\mathbf{y}$, where $\mathbfΣ_w$ is the weighting matrix. Under a random design setting with general data covariance $\mathbfΣ_x$ and anisotropic prior on the true coefficients $\mathbb{E}\mathbfβ_\star\mathbfβ_\star^T = \mathbfΣ_β$, we provide an exact characterization of the prediction risk $\mathbb{E}(y-\mathbf{x}^T\hat{\mathbfβ}_λ)^2$ in the proportional asymptotic limit $p/n ightarrow γ\in (1,\infty)$. Our general setup leads to a number of interesting findings. We outline precise conditions that decide the sign of the optimal setting $λ_{ m opt}$ for the ridge parameter $λ$ and confirm the implicit $\ell_2$ regularization effect of overparameterization, which theoretically justifies the surprising empirical observation that $λ_{ m opt}$ can be negative in the overparameterized regime. We also characterize the double descent phenomenon for principal component regression (PCR) when both $\mathbf{X}$ and $\mathbfβ_\star$ are anisotropic. Finally, we determine the optimal weighting matrix $\mathbfΣ_w$ for both the ridgeless ($λ o 0$) and optimally regularized ($λ= λ_{ m opt}$) case, and demonstrate the advantage of the weighted objective over standard ridge regression and PCR.
Motivation & Objective
- To characterize the prediction risk of generalized ridge regression in the overparameterized regime ($p > n$) under general anisotropic data and signal covariances.
- To resolve the paradox of negative optimal ridge parameters observed empirically in overparameterized settings.
- To derive the optimal weighting matrix $\boldsymbol{\Sigma}_w$ for both ridgeless ($\lambda \to 0$) and optimally regularized ($\lambda = \lambda_{\text{opt}}$) cases.
- To explain the double descent behavior in principal component regression under anisotropic conditions.
Proposed method
- Derives the prediction risk in the proportional asymptotic limit $p/n \to \gamma \in (1, \infty)$ using random matrix theory and population spectral distribution analysis.
- Introduces a generalized ridge estimator $\hat{\boldsymbol{\beta}}_\lambda = (\boldsymbol{X}^\top\boldsymbol{X} + \lambda\boldsymbol{\Sigma}_w)^\dagger \boldsymbol{X}^\top\boldsymbol{y}$ with a general positive definite weighting matrix $\boldsymbol{\Sigma}_w$.
- Uses a random design model with i.i.d. features $\boldsymbol{x}_i \sim \mathcal{N}(0, \boldsymbol{\Sigma}_x)$ and anisotropic prior $\mathbb{E}[\boldsymbol{\beta}_\star\boldsymbol{\beta}_\star^\top] = \boldsymbol{\Sigma}_\beta$
- Derives exact expressions for the prediction risk $\mathbb{E}(y - \boldsymbol{x}^\top\hat{\boldsymbol{\beta}}_\lambda)^2$ in terms of the eigenvalues of $\boldsymbol{\Sigma}_x$ and $\boldsymbol{\Sigma}_\beta$, and the regularization parameter $\lambda$.
- Establishes conditions under which $\lambda_{\text{opt}} < 0$ by analyzing the sign of the derivative of the risk function.
- Computes the optimal $\boldsymbol{\Sigma}_w$ by minimizing the asymptotic prediction risk, showing it depends on the joint spectral structure of $\boldsymbol{\Sigma}_x$ and $\boldsymbol{\Sigma}_\beta$.
Experimental results
Research questions
- RQ1Under what conditions is the optimal ridge parameter $\lambda_{\text{opt}}$ negative in the overparameterized regime?
- RQ2How does anisotropy in the data covariance $\boldsymbol{\Sigma}_x$ and signal covariance $\boldsymbol{\Sigma}_\beta$ affect the prediction risk and optimal regularization?
- RQ3What is the optimal weighting matrix $\boldsymbol{\Sigma}_w$ for minimizing prediction risk in both ridgeless and optimally regularized settings?
- RQ4How does the double descent phenomenon manifest in principal component regression when $\boldsymbol{\Sigma}_x$ and $\boldsymbol{\Sigma}_\beta$ are anisotropic?
- RQ5Can weighted ridge regression outperform standard ridge regression and PCR in high-dimensional overparameterized settings?
Key findings
- The optimal ridge parameter $\lambda_{\text{opt}}$ can be negative when the signal and data covariances $\boldsymbol{\Sigma}_\beta$ and $\boldsymbol{\Sigma}_x$ are anisotropic, providing theoretical justification for empirical observations.
- The prediction risk exhibits double descent behavior in principal component regression when $\boldsymbol{\Sigma}_x$ and $\boldsymbol{\Sigma}_\beta$ are misaligned, with multiple peaks in the overparameterized regime.
- The optimal weighting matrix $\boldsymbol{\Sigma}_w$ for ridgeless regression is $\boldsymbol{\Sigma}_w = \left( (\boldsymbol{\Sigma}_x - c\mathbf{I})^2 + d\mathbf{I} \right)^{-1}$, where $c$ and $d$ depend on the conditional expectation of eigenvalues.
- For optimally regularized regression, the optimal $\boldsymbol{\Sigma}_w$ is derived as a function of the joint spectral distribution of $\boldsymbol{\Sigma}_x$ and $\boldsymbol{\Sigma}_\beta$, improving generalization over standard ridge and PCR.
- The asymptotic prediction risk derived in the paper matches finite-sample simulations across various configurations, including discrete and continuous distributions.
- Weighted ridge regression with the optimal $\boldsymbol{\Sigma}_w$ achieves lower prediction risk than standard ridge regression and PCR, especially in misaligned anisotropic settings.
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.