This paper introduces ADFS, a decentralized, asynchronous algorithm designed to train machine learning models across a network of computers without requiring them to wait for one another. ADFS bridges the gap between fast stochastic optimization and scalable distributed computing, achieving state-of-the-art convergence rates and providing a linear speedup as more nodes are added to the network.
The Problem: Bottlenecks in Distributed Learning
In modern machine learning, datasets are often too large for a single machine. Distributing data across $n$ nodes is the standard solution, but it introduces two major bottlenecks:
- The Batch Bottleneck: Many distributed algorithms require every node to process its entire local dataset before communicating. This is prohibitively slow for nodes with millions of samples.
- The Synchrony Bottleneck (Stragglers): Synchronous algorithms require all nodes to finish their task before the next step begins. If one machine is slow, the entire network is delayed.
While stochastic algorithms (like SGD) address the first problem and asynchronous gossip methods address the second, combining acceleration (mathematical momentum) with both asynchrony and stochastic updates in a decentralized way has been a long-standing challenge.
Methods: The ADFS Framework
The authors derive ADFS using a three-step approach:
- The Augmented Graph Trick: They transform the physical network into a virtual "star" graph. In this model, the center represents the computing node, and the tips represent individual data points. This allows the authors to treat "calculating a gradient" and "sending a message" as the same mathematical operation: an update along an edge.
- Generalized APCG: They developed a more flexible version of the Accelerated Proximal Coordinate Gradient (APCG) algorithm. This version allows for "arbitrary sampling," meaning the algorithm can prioritize certain types of updates (like communication vs. computation) based on the network's speed.
- Dual Formulation: ADFS is a coordinate descent algorithm applied to the dual of the optimization problem, allowing it to handle "proximal" updates essential for non-smooth problems like Lasso regression.
Theoretical Comparison
ADFS is uniquely positioned among existing optimization algorithms. As shown in the comparison table below, it is the only method that is simultaneously distributed, asynchronous, and stochastic while maintaining competitive time complexity.
Key Results and Insights
The authors evaluated ADFS using a synthetic logistic regression task with $\ell_2$ regularization across various grid configurations. Key findings include:
- Linear Speedup: ADFS demonstrates a $O(\sqrt{n})$ or $O(n)$ speedup over single-machine methods, depending on whether the bottleneck is local data size or network connectivity.
- Optimal Scaling: ADFS matches the complexity of the best sequential finite-sum algorithms (like SAGA or Katyusha), effectively processing $n$ times more data in the same amount of time as a single machine.
- Robustness to Network Speed: The algorithm remains efficient even when communication is significantly slower than computation (represented by the parameter $\tau$), which is typical in real-world data centers.
Limitations and Future Work
While ADFS represents a significant advance, several areas for future research remain. The current theoretical analysis assumes a regular network; extending this to handle heterogeneous hardware is a necessary next step. Additionally, the convergence rate is still influenced by the graph's mixing time ($\gamma^{-1}$), and the authors aim to move toward a truly independent, clock-free implementation that does not rely on a shared random schedule.
Summary updated