Introduction
Asynchronous optimization has emerged as a cornerstone for training large-scale machine learning models. In traditional synchronous parallel computing, a "straggler" effect often occurs: the entire system must wait for the slowest processor to complete its task before proceeding to the next iteration. As models scale to billions of parameters and datasets expand to billions of samples, these synchronization barriers result in significant underutilization of computational resources. This paper surveys a decade of progress in asynchronous methods, which allow processors to operate independently, thereby mitigating the straggler problem at the cost of introducing "stale" information into the optimization process.
Architectural Paradigms
The literature categorizes asynchronous optimization into two primary architectural frameworks: centralized and decentralized systems.
Centralized Methods
Centralized systems typically rely on a shared-memory model or a parameter server architecture.
- Shared-Memory (e.g., Hogwild!): In this setup, multiple processors access a single global model in memory without using traditional locking mechanisms (mutexes). This "lock-free" approach is highly effective for sparse updates, where different processors are unlikely to modify the same parameters simultaneously.
- Parameter Servers: A dedicated set of "master" nodes maintains the global model. Worker nodes pull current parameters, compute gradients locally, and push updates back.
Decentralized Methods
In decentralized or peer-to-peer systems, no central master exists. Instead, workers maintain local model copies and synchronize through "gossip" protocols. Advanced methods like Stochastic Gradient-Push (SGP) and Asynchronous Gradient-Push (AGP) utilize push-sum protocols to manage directed communication and varying computation speeds across the network.
Theoretical Foundations and the "Harmlessness" of Delay
A central challenge in asynchrony is managing "staleness"—updates based on outdated model versions. Researchers model these systems using time-varying, bounded delays ($\tau$). A key theoretical insight is that asynchrony is often "harmless": if the maximum delay is within specific bounds (typically $1/\sqrt{\epsilon}$), the asynchronous algorithm achieves the same asymptotic convergence rate as its synchronous counterpart.
For decentralized systems, "graph augmentation" is used to analyze delays. By introducing virtual nodes to represent messages "in flight," researchers can transform complex asynchronous dynamics into a structured mathematical framework that mirrors synchronous behavior.
Empirical Performance
The practical utility of asynchrony is measured in "wall-clock time" rather than iteration count. While asynchronous methods may require more iterations to converge due to noise from stale updates, the elimination of waiting time leads to faster real-world training.
Experiments using ResNet-50 on the ImageNet dataset across 256 GPUs demonstrate this advantage. While synchronous methods like AllReduce SGD suffer from increased communication overhead as the cluster scales, asynchronous algorithms like OSGP maintain nearly constant time-per-iteration. Consequently, OSGP optimizes the objective function significantly faster in terms of total elapsed time compared to both synchronous decentralized and standard AllReduce methods.
Challenges and Future Directions
Despite its successes, several hurdles remain:
- Momentum Integration: Incorporating momentum-based optimizers (like Adam) into asynchronous theory is difficult, as non-linear updates can lead to instability or performance degradation when stale.
- Theoretical Tightness: Current mathematical bounds are often pessimistic, predicting slower convergence than observed in practice.
- Hardware Complexity: Simple delay models do not fully account for modern Non-Uniform Memory Access (NUMA) architectures, where physical distance between cores and memory banks creates non-uniform latency.
Future research aims to bridge these gaps, particularly in developing robust theory for momentum and optimizing for heterogeneous hardware environments.
Summary updated