Distributed Accelerated Proximal Coordinate Gradient Methods

Yong Ren, Jun Zhu

Introduction

In the landscape of modern machine learning, optimization problems often take the form of minimizing a composite objective function. These functions typically consist of a smooth loss component, such as squared error in regression, and a non-smooth regularization term, like the $L_1$ norm used to induce sparsity. While Coordinate Descent (CD) has proven to be an efficient solver for these problems on single-machine architectures, scaling it to distributed clusters presents significant challenges. Specifically, existing parallel versions often struggle to incorporate acceleration techniques effectively, especially for strongly convex problems like ridge regression or smoothed Support Vector Machines (SVMs).

This paper introduces DisAPCG (Distributed Accelerated Proximal Coordinate Gradient), a distributed algorithm that combines Nesterov’s acceleration with parallel coordinate descent to achieve state-of-the-art performance in large-scale settings.

The DisAPCG Algorithm

The core of DisAPCG is the adaptation of Nesterov’s classical acceleration sequences to a synchronous parallel environment. In each iteration, the algorithm coordinates $K$ nodes, each of which samples a mini-batch of coordinates of size $\tau$. These nodes compute gradients in parallel and then perform a global synchronization step.

A key technical hurdle in implementing accelerated methods in a distributed fashion is the "full-vector update" problem. Standard acceleration requires updating the entire $N$-dimensional parameter vector at every step, which would lead to massive communication overhead in a cluster. To circumvent this, the authors developed an "equivalent version" of the algorithm (detailed as Algorithms 2 and 3 in the paper). This implementation trick avoids full-dimensional operations, significantly reducing the computational and communication cost per iteration without sacrificing the mathematical properties of the acceleration.

Theoretical Speedup

The most significant theoretical contribution of this work is the proof that DisAPCG achieves a $\sqrt{\kappa}$ speedup, where $\kappa$ is the number of parallel updates. For strongly convex functions, the algorithm's convergence rate is established as:

$$O\left(\frac{n}{\sqrt{\kappa \mu}} \log(1/\epsilon)\right)$$

This result is pivotal because it demonstrates that parallelization in this context does more than just speed up individual iterations; it fundamentally improves the iteration complexity of the optimization process.

Experimental Evaluation

The researchers benchmarked DisAPCG against standard datasets: Epsilon (dense), Covtype, and RCV1 (sparse). The primary metric used was the "duality gap," which measures the distance between the current solution and the theoretical optimum.

Scalability and Parameter Sensitivity

The performance of DisAPCG is highly sensitive to the number of nodes ($K$) and the mini-batch size ($\tau$). Experiments on the Epsilon dataset confirm that increasing these parameters leads to a visible and predictable acceleration in convergence.

Convergence of DisAPCG on the Epsilon dataset for varying number of nodes (K) and mini-batch sizes (tau).

As illustrated in the figure above, the algorithm maintains a steady linear convergence rate across different configurations. This is a critical advantage over competitors like CoCoA+, which may show rapid initial progress but often stall when high-accuracy solutions (e.g., a duality gap of $10^{-15}$) are required.

Performance in Ill-Conditioned Problems

DisAPCG excels in scenarios where the regularization parameter $\lambda$ is very small, making the optimization problem ill-conditioned. In these "hard" cases, DisAPCG significantly outperforms other distributed solvers like DisDCA, maintaining its convergence rate where others falter.

Conclusion and Future Directions

DisAPCG represents a major step forward in distributed optimization, providing a theoretically grounded and practically efficient method for large-scale machine learning. However, its synchronous nature remains a potential bottleneck due to the "straggler" problem, where the slowest node dictates the speed of the entire cluster. Future work could focus on developing asynchronous versions of the algorithm. Additionally, while the $\sqrt{\kappa}$ speedup is a significant gain, determining whether a full linear $\kappa$ speedup is achievable for this class of algorithms remains an intriguing open question in optimization theory.

Summary updated

BibTeX
@inproceedings{ren2017distributed,
  author = {Yong Ren and Jun Zhu},
  title = {{Distributed Accelerated Proximal Coordinate Gradient Methods}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/370},
}
Figure