Abstract
Decentralized machine learning aims to train models across peer-to-peer networks without a central server, mitigating communication bottlenecks inherent in centralized architectures. While stochastic methods offer fast convergence on single machines and batch methods scale well in decentralized settings, combining both optimally has remained an open problem. This paper introduces ADFS (Accelerated Decentralized stochastic algorithm for Finite Sums), which achieves optimal convergence rates by modeling data and network topology as an augmented graph. We prove that ADFS matches theoretical lower bounds, demonstrating that training time can scale perfectly with the number of machines under certain communication thresholds.
Introduction
In modern machine learning, training models on massive datasets requires distributing the workload across multiple nodes. The standard mathematical formulation for this is finite-sum optimization, where the objective is to minimize a loss function aggregated over many individual data points.
Historically, two primary strategies have been used to accelerate this process: stochastic algorithms (like SAGA or APCG) which use variance reduction to speed up single-machine training, and decentralized computing, which uses peer-to-peer communication to avoid the bottlenecks of central parameter servers. However, a gap existed: there was no algorithm that successfully combined optimal stochastic efficiency with optimal decentralized communication. ADFS bridges this gap by achieving the theoretical limit for decentralized stochastic optimization.
Methodology
The ADFS algorithm is built upon three core innovations:
- Augmented Graph Representation: The network topology is reimagined as an augmented graph. Each physical computing node is replaced by a "star" sub-network where the center node handles inter-machine communication and the leaf nodes represent local data points.
- Unified Communication and Computation: By applying a dual mathematical formulation to this augmented graph, the authors unify communication (neighbor interaction) and computation (gradient calculation) into a single type of operation: updating an edge in the graph.
- Extended APCG: The authors adapt the Accelerated Proximal Coordinate Gradient (APCG) algorithm to handle arbitrary sampling of coordinate blocks. This allows ADFS to dynamically balance local computation and network communication.
The authors also established a new theoretical lower bound for decentralized stochastic algorithms, providing a benchmark for optimality.
Results and Discussion
The performance of ADFS was evaluated against several state-of-the-art baselines, including Point-SAGA, MSDA, and DSBA. The theoretical time complexity of ADFS is $O(m + \sqrt{m\kappa_s} + \tau\sqrt{\kappa_{comm}/\gamma})$, where $m$ is the number of local samples, $\kappa_s$ is the data condition number, $\tau$ is communication delay, and $\gamma$ is the network connectivity.
Empirical tests on a 100-node 2D grid using the Higgs (1M samples) and Covtype (581k samples) datasets confirmed these theoretical advantages. ADFS significantly outperformed Point-SAGA, which lacks distributed capabilities, and MSDA, which lacks stochastic efficiency. Notably, ADFS demonstrates "perfect scaling": $n$ machines can train on $n \times m$ points in the same time a single machine trains on $m$ points, provided communication delays remain below a critical threshold.
Conclusion and Future Work
ADFS represents a significant step forward in decentralized optimization, offering a mathematically optimal approach for generalized linear models. However, its reliance on proximal operators makes it less suitable for complex non-convex models like deep neural networks. Future research should focus on integrating communication compression to handle large-scale model parameters and extending these optimal rates to broader classes of objective functions.
Summary updated