Introduction
In modern machine learning, regularization techniques such as Lasso, Ridge, and Elastic Net are essential for preventing overfitting in high-dimensional datasets. These methods depend on tuning parameters ($\lambda$) that govern the penalty strength. Traditionally, finding the optimal $\lambda$ involves computationally intensive grid searches via cross-validation. However, grid search scales exponentially with the number of parameters, making it impractical for models with many hyperparameters, such as feature-specific regularization.
This paper introduces a hybrid optimization approach: starting with a coarse grid search and then employing a novel joint coordinate descent algorithm to simultaneously optimize model weights and tuning parameters. This method, termed Coordinate Descent with Validation (CD-V), makes highly multidimensional penalties computationally feasible.
The Coordinate Descent with Validation (CD-V) Framework
The CD-V framework avoids the need to fully train a model for every point on a dense grid. Instead, it interleaves updates for model weights ($\beta$) and hyperparameters ($\lambda$).
- Initialization: A fast, coarse grid search identifies a promising starting region for $\lambda$.
- Joint Optimization: The algorithm cyclically updates model weights on the training set using coordinate descent.
- Validation Gradient Step: Periodically, the algorithm calculates the gradient of the validation loss with respect to $\lambda$ using implicit differentiation and KKT conditions. It then performs a gradient descent step to update $\lambda$.
The authors derived specific update rules for Ridge, Lasso, Elastic Net, and Diagonal Tikhonov Regression (DTR). The parallelizable nature of this architecture allows for efficient K-fold cross-validation.
Key Insights and Refinement Strategy
A central insight of this work is that model training does not need to reach absolute convergence before testing a hyperparameter. By jointly descending on both $\beta$ and $\lambda$, the algorithm dynamically steers toward optimal settings during the training process.
This approach enables the practical application of Diagonal Tikhonov Regression (DTR), where each feature is assigned its own unique penalty. While a grid search for hundreds of parameters is impossible, CD-V can solve such problems in minutes by leveraging gradients through the validation set.
Experimental Results
The method was evaluated on simulated high-dimensional data ($p=500, n=50$) and real-world benchmarks (Prostate, White Wine Quality, and Congressional Voting datasets).
- Refinement Success: In real-world trials, the descent method successfully refined the initial $\lambda$ from a coarse grid to achieve lower validation loss in 90% to 100% of cases.
- Parameter Shifts: The algorithm often moved tuning parameters by several orders of magnitude from their starting points, indicating that coarse grid searches frequently miss optimal performance.
- High-Dimensional Efficiency: For the simulated dataset with 500 features, tuning 500 distinct DTR parameters took less than 15 minutes and resulted in a 26.29% improvement in Mean Squared Error (MSE) over the baseline. Elastic Net achieved an 8.38% improvement in approximately 2 minutes.
Discussion and Limitations
While highly effective, the joint optimization landscape of $\beta$ and $\lambda$ is non-convex. Consequently, the algorithm may converge to local minima, necessitating the initial coarse grid search to provide a good starting point. Currently, the method utilizes first-order gradients; the authors suggest that incorporating second-order information (Hessian matrices) or stochastic methods could further improve convergence and help the algorithm escape local optima in complex regularization landscapes.
Summary updated