Parallel Coordinate Descent for L1-Regularized Loss Minimization

Joseph K. Bradley, Aapo Kyrola, Danny Bickson, Carlos Guestrin

$L_1$ regularization is the gold standard for high-dimensional data analysis, commonly used in Lasso and sparse logistic regression to produce sparse models that effectively perform feature selection. However, as datasets grow to encompass millions of features, optimization becomes a significant bottleneck.

The most effective sequential algorithm for this task is "Shooting" (coordinate descent), which updates one feature at a time. While simple and robust, it is inherently sequential and fails to utilize modern multi-core processors. Previous attempts at parallelism typically focused on splitting data by samples. Yet, in many modern applications like genomics or text analysis, the number of features ($d$) far exceeds the number of samples ($n$). Parallelizing over features was previously thought to be risky because simultaneous updates to correlated features could cause the algorithm to diverge.

In this paper, the authors tackle this challenge by introducing Shotgun, a parallel Stochastic Coordinate Descent (SCD) algorithm that proves coordinate descent can be effectively parallelized for $L_1$-regularized problems.

The Shotgun Algorithm and the Correlation Penalty

Shotgun operates by choosing $P$ features at random on each iteration and updating their weights in parallel. The core innovation of the paper is a rigorous convergence analysis that identifies a mathematical "speedup limit" for these parallel updates.

The authors demonstrate that the interference between parallel updates depends heavily on the spectral radius ($\rho$) of the matrix $A^T A$ (where $A$ is the design matrix). This spectral radius acts as an "interference meter" that formalizes the correlation penalty: you cannot update highly correlated features simultaneously without risking divergence.

Simultaneous updates on uncorrelated vs. correlated features

As illustrated above, when features are uncorrelated (circular contours), parallel updates point directly toward the minimum. However, when features are highly correlated (elliptical contours), simultaneous updates can overshoot the optimal point.

To manage this, the authors define an ideal number of parallel updates, $P^* \approx d/\rho$:

  • If features are perfectly uncorrelated ($\rho=1$), you can safely parallelize up to $d$ updates.
  • If features are highly correlated, $P^*$ becomes small, indicating that excessive parallelism will lead to instability.

Empirical Validation of Linear Speedups

The authors evaluated Shotgun on 35 different datasets, ranging from sparse reconstruction testbeds (Sparco) to real-world high-dimensional data, including a financial report dataset with 5 million features and 30,000 samples.

Empirical tests strongly confirmed the theoretical predictions. As long as the number of parallel updates $P$ remains below the threshold $P^*$, the number of iterations required to converge drops linearly with the number of processors.

Iteration speedup up to the theoretical limit P*

Beyond theoretical validation, Shotgun demonstrated state-of-the-art performance in practice. Running on 8 cores, it consistently outperformed established solvers like SpaRSA, GPSR, and interior-point methods (L1_LS). On the massive 5-million-feature financial dataset, Shotgun converged in less than 2,000 seconds, compared to nearly 5,000 seconds for the sequential Shooting algorithm.

Furthermore, while the theory was developed for a synchronous setting, the authors implemented an asynchronous version using atomic "compare-and-swap" operations. This asynchronous approach proved much faster in practice by eliminating synchronization overhead.

Limitations and Future Directions

Despite its success, Shotgun faces practical hardware limitations. The authors noted a phenomenon known as the "memory wall." While they achieved an 8x speedup in iterations using 8 cores, the wall-clock speedup was only 2x to 4x. Because coordinate descent has a very low ratio of computation to memory access, CPU cores spend a significant amount of time waiting for data from the memory bus.

Additionally, in pathological cases where features are perfectly correlated, Shotgun provides no benefit over sequential Shooting. For future work, the authors suggest that a hybrid algorithm—parallelizing over both samples (like Stochastic Gradient Descent) and features (like Shotgun)—could be the ultimate solution for massive datasets where both $n$ and $d$ are exceptionally large.

Summary updated

BibTeX
@inproceedings{bradley2011parallel,
  author = {Joseph K. Bradley and Aapo Kyrola and Danny Bickson and Carlos Guestrin},
  title = {{Parallel Coordinate Descent for L1-Regularized Loss Minimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2011},
  url = {https://openreview.net/forum?id=HybQ0oW_bB},
}
Figure