Abstract
The Lasso is a fundamental tool for high-dimensional linear regression and feature selection. While Coordinate Descent (CD) is the standard solver, it often performs redundant calculations on variables that eventually become zero. This paper introduces Sling, a "selective" coordinate descent algorithm that utilizes mathematical bounds to dynamically skip unnecessary updates. Experiments on diverse datasets demonstrate that Sling can reduce processing time by up to 70% while maintaining or improving prediction accuracy.
Introduction
The Lasso ($l_1$-regularized least squares) is widely used for regression tasks where feature selection is desired. By shrinking irrelevant variable weights to zero, it identifies a sparse set of important predictors. However, as datasets scale to tens of thousands of features, the traditional "round-robin" Coordinate Descent algorithm becomes a bottleneck. Even with static screening techniques, CD spends significant time on variables that do not contribute to the final model.
The Sling Algorithm
Sling (Selective Coordinate Descent) optimizes the Lasso by intelligently deciding which variables to update in each iteration. Its core innovation lies in how it estimates the potential weight of a predictor without performing expensive calculations.
- Mathematical Bounds: Using the Cauchy-Schwarz inequality, the authors derived mathematical bounds for the gradient of each predictor. These bounds allow the algorithm to determine if a predictor's weight must be zero in $O(1)$ time, rather than the standard $O(n)$ update cost.
- Selective Updates: In each iteration, Sling checks these bounds. If they indicate a predictor's weight will be zero, the algorithm skips it entirely.
- Two-Phase Iteration: The algorithm first updates predictors that the bounds suggest must have nonzero weights. Once those converge, it checks a broader set of predictors that could potentially be nonzero.
- Dynamic Pruning: Unlike traditional static screening that happens once at the start, Sling prunes variables dynamically. This is powerful because a variable that looks important initially might become redundant as other variables are added to the model.
Experimental Evaluation
The authors evaluated Sling against the standard coordinate descent approach (similar to the popular glmnet package) using five diverse datasets:
- DNA & Protein: Smaller datasets where the number of observations ($n$) is greater than the number of predictors ($p$).
- Reuters, TDT2, & Newsgroups: Large-scale text datasets where $p \gg n$ (e.g., TDT2 has ~10,000 items but ~36,000 features).
Key Results
Sling demonstrates significant improvements in computational efficiency without sacrificing model quality.
Computational Efficiency
Sling reduced processing time by up to 70% compared to the standard approach. This efficiency stems from a drastic reduction in the number of update computations, particularly on high-dimensional text data where sparsity is prevalent.
Accuracy and Sparsity
On the DNA and Protein sets, results were identical to the standard approach. On the larger text datasets, Sling achieved lower squared loss while using fewer nonzero predictors. In high-dimensional cases where a unique solution isn't guaranteed, Sling's selective approach avoids overfitting by skipping "ineffective" predictors early.
Discussion and Limitations
Sling's convergence to the exact global optimum is mathematically guaranteed when the data matrix has full column rank. While the theoretical guarantee is less rigid for $p > n$ data, empirical results show superior performance in those cases.
Future work could extend this selective logic to other regularized models like the Elastic Net or Grouped Lasso. Additionally, exploring more sophisticated ways to update the "reference vectors" used in bound calculations could keep the bounds even tighter throughout execution, further increasing speedups.
Summary updated