Abstract
Lasso-type models are fundamental in high-dimensional statistics for their ability to produce sparse solutions. However, training these models on large-scale datasets remains computationally intensive. This paper introduces A5G (Aggressive Gap, Greedy with Gram), an optimization framework that accelerates Lasso and multi-task Lasso solvers. By integrating "Gap Safe" screening rules with an aggressive working set strategy and greedy coordinate descent (Gauss-Southwell), A5G achieves state-of-the-art performance. The framework leverages Gram matrix precomputation to make greedy selection efficient, outperforming established tools like Blitz and scikit-learn on diverse datasets.
Introduction
In modern machine learning, sparsity is a key desideratum for interpretability and regularization. Lasso-type models achieve this by penalizing the $L_1$ norm of coefficients. Despite their utility, solving these problems when the number of features $p$ far exceeds the number of observations $n$ is challenging. Standard Coordinate Descent (CD) solvers often struggle with the sheer volume of features, leading to slow convergence.
Existing acceleration techniques typically fall into two categories: Working Sets (WS), which focus on a subset of potentially active features, and Safe Screening, which discards features that are guaranteed to be zero at the optimum. The A5G framework addresses the lack of a unified strategy that aggressively combines these methods while optimizing the inner-loop solver through greedy selection.
The A5G Framework
The A5G algorithm is built on three pillars designed to minimize redundant computations and maximize convergence speed per iteration.
1. Aggressive Working Sets via Gap Safe Rules
Traditional screening rules are often used statically. A5G repurposes "Gap Safe" rules—which use the duality gap to bound the optimal solution—as a dynamic prioritization mechanism. Instead of merely filtering features, the algorithm ranks them by their likelihood of being active. This allows for an aggressive expansion of the working set, quickly reaching the target sparsity level of the final solution.
2. Greedy Coordinate Descent (Gauss-Southwell)
While most solvers use cyclic coordinate descent, A5G employs the Gauss-Southwell (GS) rule. This "greedy" approach selects the feature that offers the greatest immediate reduction in the objective function. Although GS is theoretically faster in terms of iterations, it is often avoided due to the high cost of calculating gradients for all features.
3. Gram Matrix Precomputation
To mitigate the cost of greedy selection, A5G utilizes the fact that it operates on small working sets. By precomputing the Gram matrix (feature correlations) for the current working set, the cost of greedy updates is drastically reduced.
As shown in the table above, while standard GS-r (greedy) rules have a high computational cost proportional to $npq$, the Gram-based variants reduce the per-update cost significantly. For a working set of size $p$, the GS-r (Gram) update cost is $2pq$, making it competitive with cyclic updates while requiring fewer iterations to converge.
Experimental Evaluation
The authors tested A5G against synthetic and real-world datasets:
- Simulated Data: High-correlation matrices ($n, p$ up to 3000) to test robustness.
- Leukemia Dataset: A high-dimensional bioinformatics dataset ($n=72, p=7129$).
- M/EEG Data: Brain imaging data for multi-task Lasso ($n=302, p=7498, q=181$).
Key Results
On the Leukemia dataset, A5G reached target accuracy significantly faster than Blitz, the previous state-of-the-art, and was orders of magnitude faster than scikit-learn's cyclic BCD. In multi-task settings (MEG data), A5G achieved a duality gap of $10^{-6}$ in under one second, compared to over five seconds for standard approaches.
Conclusion and Future Work
A5G demonstrates that greedy coordinate descent, when combined with aggressive working sets and Gram matrix precomputation, is a highly effective strategy for sparse optimization. The use of duality gaps for both screening and sub-problem termination ensures that computational resources are focused on the most impactful features.
Future research directions include addressing memory constraints for the Gram matrix in extremely large problems and refining "batch" greedy strategies (GS-rB) to further optimize the trade-off between selection quality and computational overhead. Additionally, the impact of different working set growth factors remains an area for further theoretical exploration.
Summary updated