Parallel and Communication Avoiding Least Angle Regression

S. Das, Jim Demmel, Kimon Fountoulakis, Laura Grigori, Michael W. MahoneySIAM J. Sci. Comput 2019

Abstract

Least Angle Regression (LARS) is a fundamental algorithm for fitting sparse linear models, yet its sequential nature poses significant scaling challenges on modern distributed hardware. This paper introduces two parallel variants—bLARS and Tournament-bLARS (T-bLARS)—designed to minimize communication overhead. By restructuring the algorithm to process feature blocks or utilize tournament-based selection, these methods achieve up to a 4x speedup over traditional parallel LARS implementations without compromising model quality.

Introduction

In high-dimensional data analysis, where the number of features ($n$) or samples ($m$) can reach millions, the efficiency of sparse regression algorithms is paramount. LARS is widely used for its ability to identify important features effectively. However, on modern multicore and distributed systems, performance is increasingly limited by the "Power Wall"—the high cost of moving data between memory levels or across networks relative to the cost of computation. To address this, communication-avoiding algorithms are required to reduce both latency (number of messages) and bandwidth (data volume).

The LARS Baseline

The standard LARS algorithm is inherently sequential, adding one feature to the active set at each iteration. This process requires frequent global synchronization to determine the next most correlated feature.

Algorithm 1: The standard Least Angle Regression (LARS) procedure.

As shown in Algorithm 1, the core loop involves calculating correlations ($\mathbf{c}_k$), finding the maximum correlation, and updating the model direction ($\mathbf{u}_k$). In a distributed setting, these steps necessitate significant inter-processor communication.

Proposed Communication-Avoiding Methods

The authors propose two strategies tailored to different data partitioning schemes:

1. Block LARS (bLARS)

Designed for row-partitioned data (where samples are distributed across processors), bLARS modifies the selection step to add a block of $b$ features per iteration. This reduces the total number of communication rounds by a factor of $b$. While highly efficient, this approach introduces a trade-off: as the block size increases, the selection precision may deviate from the original sequential LARS.

2. Tournament-bLARS (T-bLARS)

Optimized for column-partitioned data (where features are distributed), T-bLARS employs a binary tournament structure. Each processor runs a modified version of LARS (mLARS) on its local features to select a candidate set. These candidates compete at higher levels of the tree until the global best features reach the root. This "filter" mechanism maintains higher precision than bLARS, particularly for "fat" matrices where $n \gg m$.

Experimental Results

The algorithms were evaluated on high-dimensional datasets including YearPredictionMSD and E2006_log1p. Key findings include:

  • Performance: Parallel implementations achieved a 4x speedup over standard parallel LARS. On the YearPredictionMSD dataset, bLARS demonstrated scaling up to 25x by increasing block sizes.
  • Precision: T-bLARS maintained near-perfect feature selection precision (100% on E2006_log1p), whereas bLARS saw precision drops below 80% for similar speed gains.
  • Bottlenecks: The study highlighted that reducing message latency is often more critical than reducing bandwidth for high-dimensional regression tasks.

Conclusion

The choice between bLARS and T-bLARS depends on the data distribution. bLARS excels with massive sample sizes, while T-bLARS is superior for high-dimensional feature spaces. Future work will focus on reducing wait times in the tournament structure and developing formal theoretical guarantees for the precision of these parallel variants.

Summary updated

BibTeX
@misc{das2019parallel,
  author = {S. Das and Jim Demmel and Kimon Fountoulakis and Laura Grigori and Michael W. Mahoney},
  title = {{Parallel and Communication Avoiding Least Angle Regression}},
  year = {2019},
  eprint = {1905.11340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.11340},
}
Figure