Abstract
Training massive machine learning models requires distributing workloads across clusters, often leading to communication bottlenecks. This paper introduces Eager Stale Synchronous Parallel (ESSP), a novel consistency model for Parameter Servers that proactively pushes updates to reduce average staleness. Theoretical analysis and empirical evaluations on Topic Modeling and Matrix Factorization demonstrate that ESSP achieves faster convergence and greater stability than traditional models like Stale Synchronous Parallel (SSP), effectively bridging the gap between theoretical ideals and practical system performance.
Introduction
The demand for training large-scale machine learning (ML) models on massive datasets has necessitated the use of distributed computing clusters. However, the primary bottleneck in these systems is communication. Strict synchronization, where every machine waits for others to complete their tasks, often results in significant idle time and slow overall performance.
To mitigate this, researchers utilize Parameter Servers (PS), which support "relaxed consistency" models. These models allow worker nodes to operate with slightly outdated (stale) information to maintain high throughput. The critical challenge lies in balancing staleness and convergence: how much delay can an algorithm tolerate before its performance degrades or it fails to converge?
Distributed Consistency Models: SSP vs. ESSP
The authors compare three primary consistency models within the Parameter Server framework: Value-bounded Asynchronous Parallel (VAP), Stale Synchronous Parallel (SSP), and the proposed Eager SSP (ESSP).
While SSP ensures a worst-case staleness bound of $s$ clocks, ESSP employs an "eager" communication protocol. Instead of waiting for a worker to request data, the server proactively "pushes" updates to workers via a callback mechanism. This shift from a pull-based to a push-based system drastically alters the staleness profile of the data seen by workers.
As shown in the staleness profile, ESSP ensures that most reads are nearly up-to-date, even if the system theoretically allows them to be $s$ steps behind. This reduction in average staleness is key to its superior performance and stability.
Experimental Evaluation
The ESSP model was implemented in a system called ESSPTable and evaluated using two large-scale benchmarks:
- Topic Modeling (LDA): Utilizing the New York Times dataset (100M tokens, 100k vocabulary).
- Matrix Factorization (MF): Utilizing the Netflix dataset (480k x 18k matrix, 100M non-zero entries).
Key Results and Discussion
Empirical results indicate that ESSP consistently outperforms standard SSP in both convergence rate and stability.
Faster Convergence and Stability
In both LDA and Matrix Factorization tasks, ESSP reached lower error rates faster than SSP. A significant finding was ESSP's robustness to high staleness settings. In scenarios where standard SSP diverged or became unstable due to excessive staleness (e.g., $s=10$), ESSP remained stable and continued to converge toward the optimum.
Reduced Communication Overhead
By pipelining updates through the eager push mechanism, ESSP reduces the time workers spend blocked by network latency. The system effectively treats stale data as a form of bounded noise that iterative-convergent ML algorithms are naturally equipped to handle, provided the average noise level remains low.
Conclusion
ESSP provides a practical and high-performance solution for distributed ML by optimizing the communication protocol of the Parameter Server. By reducing average staleness through eager updates, it offers a more stable and faster path to convergence. Future work includes exploring automatic tuning of the staleness bound $s$ and extending these consistency models to model-parallel architectures.
Summary updated