Abstract
Distributed optimization for large-scale machine learning often faces a trade-off between synchronization overhead and mathematical stability. This paper introduces msPG, a model-parallel proximal gradient algorithm designed for Stale Synchronous Parallel (SSP) systems. We provide a rigorous theoretical framework proving that msPG converges for nonsmooth and nonconvex functions—a significant challenge in distributed optimization. Furthermore, we present a communication-efficient implementation capable of scaling to models with hundreds of millions of parameters.
Introduction
In the era of big data, distributed systems are essential for training large-scale models. While data parallelism is common, certain domains—such as computational biology or healthcare—deal with high-dimensional problems where the number of features $d$ significantly exceeds the number of samples $n$. In these scenarios, model parallelism is required as the model itself cannot fit on a single machine.
Existing distributed frameworks often rely on Bulk Synchronous Parallel (BSP), which suffers from "straggler" effects, or fully asynchronous models, which may lack convergence guarantees for complex objectives. The Stale Synchronous Parallel (SSP) model offers a middle ground, allowing workers to proceed with stale information up to a threshold $s$. This paper addresses the theoretical gap by providing a proximal gradient algorithm (msPG) that is both efficient and mathematically sound in the SSP setting, particularly for nonconvex problems.
The msPG Algorithm and System Architecture
The proposed msPG (model parallel, stale synchronous, Proximal Gradient) algorithm partitions the $d$-dimensional parameter space into $p$ disjoint blocks. Each block is assigned to a specific worker machine.
As illustrated in Figure 1, workers perform gradient updates on their assigned blocks using a local version of the model, which may contain stale components from other workers. A proximal map is then applied to handle nonsmooth components, such as $L_1$ regularization. Communication is managed via a Parameter Server, ensuring that no worker is more than $s$ iterations ahead of the slowest. To prove convergence for nonconvex functions, the authors utilize the Kurdyka-Lojasiewicz (KL) inequality, ensuring the sequence of iterates converges to a stable critical point.
Experimental Evaluation
We evaluated msPG on synthetic high-dimensional datasets designed to simulate real-world challenges. These include a non-convex Lasso problem ($n=1,000, d=2,000$) to test robustness against nonconvex group regularizers, and a large-scale $L_1$ Lasso problem ($n=10^6, d=10^8$) implemented on the Petuum distributed framework across 100 nodes to test scalability.
Key Results
The experiments confirm that msPG maintains consistent convergence behavior even as staleness increases, provided the step size is appropriately adjusted.
As shown in Figure 2, while increasing staleness $s$ allows for higher system throughput by reducing waiting time, it necessitates a smaller step size $\eta$ to maintain stability. Despite this, the "progress per iteration" remains remarkably stable compared to perfectly synchronous versions. In the 100-million-feature test, the "economical implementation"—which reduces communication from $O(d)$ to $O(n)$ for linear models—enabled significant speedups without sacrificing convergence accuracy.
Discussion and Conclusion
The msPG algorithm provides a robust framework for high-dimensional distributed optimization. By leveraging the KL inequality, we extend convergence guarantees to a broad class of nonsmooth and nonconvex functions. The primary trade-off remains the sensitivity of the step size to the staleness parameter $s$; excessive staleness requires very small steps, which may eventually offset the gains in iteration speed. Future work includes extending the communication-efficient "economical" trick to non-linear structures like deep neural networks.
Summary updated