A2BCD: An Asynchronous Accelerated Block Coordinate Descent Algorithm With Optimal Complexity

Robert Hannah, Fei Feng, Wotao YinarXiv 2018 · DOI

Abstract

In this paper, we propose the Asynchronous Accelerated Nonuniform Randomized Block Coordinate Descent algorithm (A2BCD), the first asynchronous Nesterov-accelerated algorithm that achieves optimal complexity. This parallel algorithm solves the unconstrained convex minimization problem using $p$ computing nodes which compute updates to shared solution vectors in an asynchronous fashion with no central coordination. Nodes in asynchronous algorithms do not wait for updates from other nodes before starting a new iteration, but simply compute updates using the most recent solution information available. This allows them to complete iterations much faster than traditional ones, especially at scale, by eliminating the costly synchronization penalty of traditional algorithms. We first prove that A2BCD converges linearly to a solution with a fast accelerated rate that matches the recently proposed NU_ACDM, so long as the maximum delay is not too large. Somewhat surprisingly, A2BCD pays no complexity penalty for using outdated information. We then prove lower complexity bounds for randomized coordinate descent methods, which show that A2BCD (and hence NU_ACDM) has optimal complexity to within a constant factor. We confirm with numerical experiments that A2BCD outperforms NU_ACDM, which is the current fastest coordinate descent algorithm, even at small scale. We also derive and analyze a second-order ordinary differential equation, which is the continuous-time limit of our algorithm, and prove it converges linearly to a solution with a similar accelerated rate.

Introduction

In large-scale machine learning and optimization, the standard approach is to break problems into "blocks" of coordinates and update them iteratively—a process known as Coordinate Descent (CD). To handle modern datasets, these updates must be parallelized across multiple computing nodes. However, traditional parallel algorithms are synchronous: every processor must finish its specific task and synchronize with the others before the next iteration can begin. This creates a significant bottleneck known as the "straggler problem," where the entire system's speed is dictated by the slowest node.

Asynchronous algorithms offer a solution by allowing nodes to work independently, reading and writing to shared memory without waiting. The challenge, however, is that this independence introduces "stale" or outdated information into the calculations. Historically, this staleness has made it difficult to maintain the benefits of Nesterov acceleration, a technique essential for fast convergence. A2BCD (Asynchronous Accelerated Nonuniform Randomized Block Coordinate Descent) represents a breakthrough as the first algorithm to successfully combine asynchronicity with Nesterov acceleration while maintaining optimal theoretical complexity.

The A2BCD Framework

A2BCD is designed for unconstrained convex minimization. It operates by allowing $p$ computing nodes to update shared solution vectors $(x, y, v)$ without central coordination or locking mechanisms. The algorithm's efficiency stems from several key innovations:

Non-uniform Sampling

Unlike standard coordinate descent, which might pick blocks at random, A2BCD employs non-uniform sampling. Blocks are selected based on their "smoothness," specifically proportional to the square root of their Lipschitz constants ($L_i^{1/2}$). This strategy focuses computational effort on the coordinates that contribute most significantly to the objective function's reduction.

Robustness to Asynchronicity

In a high-concurrency environment, nodes often perform "inconsistent reads," where a vector is read while another node is in the middle of updating it. A2BCD is mathematically robust to these inconsistencies. To prove its stability, the authors developed a novel Lyapunov function that incorporates an "asynchronicity error" term. This term effectively penalizes the history of the algorithm to account for delays, providing a rigorous mathematical guarantee that the algorithm will converge despite the "messy" nature of asynchronous updates.

Continuous-Time Limit

To further understand the interaction between acceleration and asynchronicity, the researchers derived a second-order Ordinary Differential Equation (ODE) that serves as the continuous-time limit of A2BCD. Their analysis shows that this ODE converges linearly at an accelerated rate, providing a theoretical bridge between discrete algorithmic steps and continuous physical systems.

Theoretical and Empirical Results

The "Free Lunch" of Stale Data

One of the most surprising findings of the research is that A2BCD pays no complexity penalty for using outdated information, provided the maximum delay ($\tau$) remains within a reasonable bound. The iteration complexity of A2BCD matches that of NU_ACDM, the current state-of-the-art synchronous accelerated method. Furthermore, the authors established a lower complexity bound for this class of randomized coordinate descent methods, proving that A2BCD reaches the theoretical "speed limit" within a constant factor.

Performance Benchmarks

The algorithm was evaluated using the LIBSVM library on standard benchmarks for ridge regression, including the w1a dataset (47,272 samples) and the rcv1_train.binary dataset (20,242 samples). Testing was performed on a system with 40 threads to simulate high concurrency.

  • Speedup: A2BCD consistently outperformed NU_ACDM. As the condition number (a measure of problem difficulty) increased, A2BCD achieved wall-clock time speedups of 2x to 3.5x.
  • Efficiency: By eliminating idle time spent waiting for other nodes, A2BCD maximizes hardware utilization. This resilience to stragglers suggests that the performance gap will only widen in larger, more heterogeneous clusters where hardware performance varies.

Conclusion and Future Directions

A2BCD bridges the gap between high-speed Nesterov acceleration and the practical efficiency of asynchronous parallel computing. While the current theory relies on a bounded maximum delay and known Lipschitz constants, it sets a new standard for optimal complexity in parallel optimization. Future work may extend this framework to finite-sum problems common in deep learning or explore its application in non-convex optimization landscapes.

Summary updated

BibTeX
@misc{hannah2018bcd,
  author = {Robert Hannah and Fei Feng and Wotao Yin},
  title = {{A2BCD: An Asynchronous Accelerated Block Coordinate Descent Algorithm With Optimal Complexity}},
  year = {2018},
  eprint = {1803.05578},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.05578},
}
Figure