A2BCD: Asynchronous Acceleration with Optimal Complexity

Robert Hannah, Fei Feng, Wotao Yin

Introduction

In large-scale machine learning, optimization problems are frequently solved using Coordinate Descent (CD), where one "block" of variables is updated at a time. To accelerate this process, parallel computing is employed. However, traditional parallel implementations are synchronous, meaning every worker must finish its task before the next round begins. This creates a "straggler" problem: the entire system moves only as fast as its slowest node.

A2BCD (Asynchronous Accelerated Nonuniform Randomized Block Coordinate Descent) is the first asynchronous algorithm to successfully incorporate Nesterov acceleration while maintaining optimal iteration complexity. By eliminating the idle time inherent in synchronous systems, A2BCD achieves wall-clock speeds 4–5× faster than previous state-of-the-art methods.

The Challenge of Asynchronous Acceleration

Asynchronous algorithms solve the straggler problem by allowing nodes to work at their own pace without waiting for others. The trade-off is that nodes end up using "stale" information—gradients calculated from outdated versions of the solution vector.

While simple Coordinate Descent handles stale gradients relatively well, Nesterov acceleration—a technique that uses "momentum" to speed up convergence—is notoriously fragile in asynchronous settings. Until the development of A2BCD, researchers struggled to prove that asynchrony and Nesterov acceleration could be combined without losing the very speedup the acceleration was meant to provide.

Methodology: How A2BCD Works

A2BCD overcomes these challenges through several key innovations:

  • Non-uniform Sampling: Instead of picking coordinate blocks at random, A2BCD selects them based on their Lipschitz constants ($L_i$). Blocks that change more rapidly are updated more frequently, maximizing efficiency.
  • Asynchronicity Error Analysis: To prove convergence despite stale gradients, the authors developed a novel Lyapunov function (a mathematical tool to track progress). This function incorporates a weighted "history" of the algorithm's steps to account for errors introduced by delays.
  • Continuous-Time Motivation: The algorithm's design and proof strategy were guided by analyzing a second-order Ordinary Differential Equation (ODE) that acts as a continuous-time "limit" for the discrete algorithm.
  • Sparse Update Formulation: To make the algorithm practical for high-dimensional data, a linear transformation was utilized to allow for sparse updates, ensuring the computational overhead of acceleration does not outweigh its benefits.

Experimental Setup and Key Results

The algorithm was evaluated on the Ridge Regression problem using three datasets from the LIBSVM library (w1a, wxa, and aloi). Experiments were conducted on a shared-memory architecture using 40 threads on dual 10-core Intel Xeon processors.

Major Findings

  • Provable Speedup and Optimal Complexity: A2BCD is the first asynchronous Nesterov-accelerated algorithm to attain a provable complexity speedup. The authors established a lower bound for a wide class of asynchronous incremental algorithms, proving that A2BCD is mathematically optimal in terms of worst-case iteration counts.
  • Massive Wall-Clock Gains: While A2BCD shares the same iteration complexity as its synchronous counterpart (NU_ACDM), it completes those iterations much faster because nodes never sit idle. In head-to-head tests, A2BCD converged 4–5× faster in wall-clock time.
  • The "Delay" Threshold: The paper proves that as long as the maximum delay ($\tau$) is not excessively large, A2BCD maintains its optimal iteration complexity. Furthermore, empirical tests showed the algorithm is even more resilient to delays in practice than theoretical bounds suggest.
  • Momentum Compensation: A2BCD demonstrates that the standard Nesterov framework is robust enough to handle delays if parameters (like step size and momentum) are tuned correctly to account for the maximum expected delay.
  • Linear Convergence: The paper provides a rigorous proof that the algorithm converges linearly to the global minimizer for strongly convex functions.

Limitations and Future Work

While A2BCD represents a significant leap forward, it has a few limitations:

  • Strong Convexity Assumption: The primary analysis focuses on $\sigma$-strongly convex objectives. While black-box reduction techniques could theoretically extend this to non-strongly convex or non-smooth problems, these were not the focus of the empirical testing.
  • Parameter Sensitivity: The algorithm requires upfront knowledge of the Lipschitz constants ($L_i$) and the strong convexity modulus ($\sigma$). In many real-world "black box" scenarios, these values must be estimated, which can be challenging.
  • Hardware Scaling: Experiments were limited to a single multi-core machine with shared memory. Future research is needed to explore how well these theoretical bounds hold up in distributed systems across multiple machines, where network latency introduces larger and more unpredictable delays.

Summary updated

BibTeX
@inproceedings{hannah2019bcd,
  author = {Robert Hannah and Fei Feng and Wotao Yin},
  title = {{A2BCD: Asynchronous Acceleration with Optimal Complexity}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
}
Figure