Cross validation in sparse linear regression with piecewise continuous nonconvex penalties and its acceleration

Tomoyuki Obuchi, Ayaka SakataarXiv 2019 · DOI

Abstract

We investigate the signal reconstruction performance of sparse linear regression in the presence of noise when piecewise continuous nonconvex penalties are used. Among such penalties, we focus on the SCAD penalty. The contributions of this study are three-fold: We first present a theoretical analysis of a typical reconstruction performance, using the replica method, under the assumption that each component of the design matrix is given as an independent and identically distributed (i.i.d.) Gaussian variable. This clarifies the superiority of the SCAD estimator compared with $\ell_1$ in a wide parameter range, although the nonconvex nature of the penalty tends to lead to solution multiplicity in certain regions. This multiplicity is shown to be connected to replica symmetry breaking in the spin-glass theory. We also show that the global minimum of the mean square error between the estimator and the true signal is located in the replica symmetric phase. Second, we develop an approximate formula efficiently computing the cross-validation error without actually conducting the cross-validation, which is also applicable to the non-i.i.d. design matrices. It is shown that this formula is only applicable to the unique solution region and tends to be unstable in the multiple solution region. We implement instability detection procedures, which allows the approximate formula to stand alone and resultantly enables us to draw phase diagrams for any specific dataset. Third, we propose an annealing procedure, called nonconvexity annealing, to obtain the solution path efficiently. Numerical simulations are conducted on simulated datasets to examine these results to verify the theoretical results consistency and the approximate formula efficiency. Another numerical experiment on a real-world dataset is conducted; its results are consistent with those of earlier studies using the $\ell_0$ formulation.

Introduction

In high-dimensional data analysis, identifying a sparse subset of features that accurately predict an outcome is a fundamental challenge. While the standard LASSO ($\ell_1$ regularization) is widely adopted, it is known to introduce bias by shrinking the coefficients of selected variables. To mitigate this, researchers employ piecewise continuous nonconvex penalties such as the Smoothly Clipped Absolute Deviation (SCAD).

SCAD provides nearly unbiased estimates for large coefficients, but its nonconvex nature creates a complex optimization landscape characterized by multiple local minima. This complexity makes traditional hyperparameter tuning via Cross-Validation (CV) computationally expensive and potentially unstable. This paper addresses these challenges by mapping the stability regions of SCAD using statistical physics and introducing an accelerated method for CV error estimation.

Theoretical Framework and the SCAD Penalty

The SCAD penalty, $J(x)$, is designed to balance sparsity and unbiasedness. As shown in the figure below, the penalty is linear near the origin (promoting sparsity like LASSO) but levels off for larger values of $x$, which prevents the excessive shrinkage of significant coefficients.

The SCAD penalty function $J(x)$ for various values of the parameter $a$ with $\lambda=1$.

The resulting estimator $\hat{\theta}$ follows a specific thresholding rule. Unlike the soft-thresholding of LASSO, the SCAD estimator transitions back to the identity line for large inputs, ensuring that large signals are reconstructed without bias.

The SCAD thresholding function $\hat{\theta}(w)$ illustrating the transition from sparsity (zero region) to unbiased estimation (identity slope for large $w$).

To analyze the macroscopic behavior of this estimator, the authors utilize the Replica Method from spin-glass physics. This technique allows for the determination of the Mean Squared Error (MSE) in the limit of infinite system size. A key finding is the identification of two phases: a Replica Symmetric (RS) phase, where the solution is unique and stable, and a Replica Symmetry Breaking (RSB) phase, where the optimization landscape becomes fragmented into multiple local minima.

Accelerated Cross-Validation and Optimization

Tuning the hyperparameters $\lambda$ and $a$ usually requires $k$-fold cross-validation, which involves retraining the model $k$ times. The authors derive an Approximate CV Formula that estimates the Leave-One-Out (LOO) error using only the model trained once on the full dataset. This algebraic shortcut leverages a Taylor expansion and the Woodbury matrix identity to achieve significant speedups.

Interestingly, the approximate formula becomes mathematically unstable at the boundary of the RS and RSB phases. The authors turn this potential drawback into a feature by implementing an instability detection heuristic. When the formula exhibits wild fluctuations, it signals that the model has entered the unstable RSB region. Additionally, the authors propose Nonconvexity Annealing, a warm-start strategy that gradually lowers the regularization parameter $\lambda$ to track the optimal solution path and avoid poor local minima.

Key Results and Applications

  • Optimal Solutions in the Stable Zone: Theoretical analysis proves that the global minimum of the reconstruction error typically resides within the stable RS phase. This implies that one does not need to navigate the chaotic RSB phase to find the best model.
  • Performance Gains: In simulations, SCAD demonstrates superior Receiver Operating Characteristic (ROC) curves compared to LASSO, identifying true variables with fewer false positives.
  • Real-World Efficiency: On a Type Ia supernovae dataset ($M=78, N=276$), the SCAD method combined with the accelerated CV formula identified a highly sparse model with only 3 variables. In contrast, standard LASSO typically requires 6 to 9 variables to achieve its minimum CV error on the same data.
  • Computational Speed: The approximate CV formula reduces the computational burden significantly, with the estimation error decreasing at a rate of $N^{-2}$ as the system size increases.

Conclusion

This work bridges the gap between theoretical statistical physics and practical machine learning. By providing a rigorous understanding of the stability of nonconvex penalties and a fast method for hyperparameter tuning, it makes SCAD a more viable and efficient tool for sparse linear regression. Future research will focus on extending these theoretical insights to datasets with correlated features (non-i.i.d. design matrices) and further investigating the properties of solutions within the RSB phase.

Summary updated

BibTeX
@misc{obuchi2019cross,
  author = {Tomoyuki Obuchi and Ayaka Sakata},
  title = {{Cross validation in sparse linear regression with piecewise continuous nonconvex penalties and its acceleration}},
  year = {2019},
  eprint = {1902.10375},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.10375},
}
Figure