Fast and Scalable Lasso via Stochastic Frank-Wolfe Methods with a Convergence Guarantee

Emanuele Frandi, Ricardo Ñanculef, Stefano Lodi, Claudio Sartori, Johan A. K. Suykens

Abstract

As datasets grow to include millions of features, traditional optimization methods for Lasso regression, such as Coordinate Descent and proximal gradient methods, face significant scaling challenges. This paper presents a high-performance, stochastic variant of the Frank-Wolfe (FW) algorithm designed for large-scale Lasso problems. By implementing a randomized search strategy that samples only a small fraction of features at each iteration, the proposed method achieves substantial speedups—computing full regularization paths for problems with over four million variables in under a minute. Crucially, the authors provide a rigorous convergence proof showing that this stochastic approach maintains the $O(1/k)$ convergence rate of the deterministic Frank-Wolfe method.

Introduction

The Least Absolute Shrinkage and Selection Operator (Lasso) is a cornerstone of modern statistical learning, valued for its ability to perform simultaneous estimation and variable selection. By imposing an $L_1$ penalty, Lasso identifies a sparse subset of relevant features, making it indispensable in fields like genomics, finance, and natural language processing.

However, the "Big Data" era has introduced a scaling crisis. When the number of features ($p$) reaches the millions, standard techniques struggle. Coordinate Descent (CD), the current industry standard, can become computationally prohibitive as $p$ grows. Other first-order methods often require expensive projection steps to maintain feasibility within the $L_1$ constraint. This paper addresses these bottlenecks by revisiting the Frank-Wolfe algorithm through the lens of stochastic optimization.

The Stochastic Frank-Wolfe Method

The Frank-Wolfe algorithm is a "projection-free" optimization method. Instead of taking a gradient step and projecting back into the feasible set, FW finds an extreme point (a vertex) of the constraint set that minimizes a linear approximation of the objective function and moves toward it. For Lasso, these vertices correspond to individual features.

Randomized Search Innovation

In a standard FW iteration, one must search through all $p$ features to find the one most correlated with the current residuals. To bypass this $O(p)$ bottleneck, the authors propose a Stochastic Frank-Wolfe approach:

  1. Random Sampling: Instead of an exhaustive search, the algorithm samples a small subset $\mathcal{S}$ (typically 1% to 3%) of the total features.
  2. Approximate Vertex Selection: The algorithm identifies the best feature within this subset to determine the descent direction.
  3. Method of Residuals: An efficient bookkeeping trick is employed to update the model, avoiding massive matrix-vector multiplications and keeping the per-iteration cost extremely low.

Theoretical Convergence

A primary contribution of this work is the novel convergence proof. The authors demonstrate that even with "lazy" randomized sampling, the algorithm maintains a convergence rate of $O(1/k)$. This matches the theoretical performance of the deterministic version while requiring only a fraction of the computational effort per step.

Experimental Evaluation

The researchers evaluated the algorithm using a variety of synthetic and massive real-world datasets, including:

  • QSAR Datasets (Pyrim & Triazines): Expanded with polynomial features to reach hundreds of thousands of variables.
  • Financial NLP Datasets (E2006-tfidf & E2006-log1p): The largest of these, E2006-log1p, contains over 4.2 million features.

Key Results

  • Computational Speed: On the 4.2-million-feature E2006-log1p dataset, the Stochastic FW algorithm generated a complete regularization path (100 penalty parameters) in less than sixty seconds.
  • Benchmarking: Compared to the highly optimized Glmnet (Coordinate Descent), the proposed method achieved speedups of up to 27x on specific benchmarks.
  • Sparsity and Accuracy: The FW solutions were consistently sparser than those from competing methods like the SLEP solver, while maintaining identical Mean Squared Error (MSE). In one instance, FW achieved the same accuracy as SLEP using only 28 active features compared to SLEP's 13,000.

Discussion: The Power of Randomization

The efficiency of the algorithm stems from a key probabilistic insight: one does not need the absolute best feature to ensure progress. The authors show that to be 98% certain of selecting a feature in the top 2% of all available descent directions, one only needs to sample approximately 194 features—regardless of whether the total feature count is 10,000 or 10,000,000. This makes the approach uniquely suited for ultra-high-dimensional data.

Furthermore, Frank-Wolfe is inherently incremental. It begins with a null model and adds features one by one, ensuring the solution remains sparse throughout the optimization process. This is a significant advantage over proximal gradient methods, which often produce dense intermediate results that strain memory.

Limitations and Future Work

While the $O(1/k)$ convergence is robust, FW methods can exhibit "zig-zagging" behavior as they approach the optimal solution, potentially slowing local convergence. The authors suggest that incorporating "away steps"—a technique to remove previously selected features that are no longer optimal—could mitigate this, though it would increase the complexity of each iteration. Additionally, while the current work focuses on Lasso, the framework is theoretically extendable to ElasticNet and Logistic Regression, representing a promising avenue for future implementation.

Conclusion

This paper demonstrates that stochastic randomization, combined with the projection-free nature of the Frank-Wolfe algorithm, provides a powerful solution for high-dimensional Lasso problems. By trading exhaustive search for high-probability descent directions, the Stochastic Frank-Wolfe method offers a scalable, memory-efficient, and theoretically sound alternative to traditional optimization techniques.

Summary updated

BibTeX
@article{frandi2016fast,
  author = {Emanuele Frandi and Ricardo Ñanculef and Stefano Lodi and Claudio Sartori and Johan A. K. Suykens},
  title = {{Fast and Scalable Lasso via Stochastic Frank-Wolfe Methods with a Convergence Guarantee}},
  journal = {Machine Learning},
  year = {2016},
  doi = {10.1007/s10994-016-5578-4},
}
Figure