[Paper Review] Periodic Stochastic Gradient Descent with Momentum for Decentralized Training
This paper proposes Periodic Decentralized Momentum SGD (PD-SGDM) and its communication-efficient variant CPD-SGDM for decentralized training, combining momentum with periodic communication to achieve linear speedup in convergence. Theoretical analysis proves linear speedup is attainable under specific conditions on topology, momentum, and communication frequency, making it the first work to establish such results in this setting.
Decentralized training has been actively studied in recent years. Although a wide variety of methods have been proposed, yet the decentralized momentum SGD method is still underexplored. In this paper, we propose a novel periodic decentralized momentum SGD method, which employs the momentum schema and periodic communication for decentralized training. With these two strategies, as well as the topology of the decentralized training system, the theoretical convergence analysis of our proposed method is difficult. We address this challenging problem and provide the condition under which our proposed method can achieve the linear speedup regarding the number of workers. Furthermore, we also introduce a communication-efficient variant to reduce the communication cost in each communication round. The condition for achieving the linear speedup is also provided for this variant. To the best of our knowledge, these two methods are all the first ones achieving these theoretical results in their corresponding domain. We conduct extensive experiments to verify the performance of our proposed two methods, and both of them have shown superior performance over existing methods.
Motivation & Objective
- To address the lack of theoretical understanding and practical efficiency in decentralized momentum SGD for non-convex optimization.
- To reduce communication overhead in decentralized training while preserving convergence speed.
- To establish theoretical conditions under which periodic decentralized momentum SGD achieves linear speedup with respect to the number of workers.
- To design a communication-efficient variant that compresses model parameters during periodic communication without sacrificing convergence guarantees.
- To empirically validate the superiority of the proposed methods over existing decentralized training approaches.
Proposed method
- Proposes PD-SGDM, a periodic decentralized momentum SGD that performs local updates with momentum and communicates only every p iterations.
- Introduces a compression operator in CPD-SGDM to reduce communication cost per round, enabling efficient parameter exchange between workers.
- Employs a weighted averaging scheme using a mixing matrix W to aggregate model parameters across the decentralized network.
- Derives theoretical convergence bounds using contraction mapping and Frobenius norm analysis to study the impact of momentum, topology, and communication frequency.
- Uses a Lyapunov function approach to analyze the decay of the distance between local and global models, proving convergence under specific parameter conditions.
- Establishes conditions on learning rate, momentum, compression ratio, and network topology to guarantee linear speedup in convergence rate.
Experimental results
Research questions
- RQ1Under what conditions can periodic decentralized momentum SGD achieve linear speedup with respect to the number of workers?
- RQ2How does the inclusion of momentum affect the convergence behavior in decentralized training with periodic communication?
- RQ3Can communication compression be integrated into periodic decentralized momentum SGD without degrading convergence performance?
- RQ4What is the theoretical impact of network topology and mixing matrix properties on the convergence rate of the proposed method?
- RQ5How do the interplay of momentum, periodic communication, and compression influence the overall convergence and communication efficiency?
Key findings
- PD-SGDM achieves linear speedup in convergence rate with respect to the number of workers under specific conditions on the learning rate, momentum, and network topology.
- The theoretical analysis proves that linear speedup is attainable even with periodic communication and momentum, which is the first such result in this domain.
- CPD-SGDM achieves linear speedup while reducing communication cost per round through parameter compression, with convergence conditions explicitly derived.
- The convergence rate of both methods depends on the spectral properties of the mixing matrix W and the compression ratio, with tighter bounds established via Lyapunov analysis.
- Empirical evaluations show both PD-SGDM and CPD-SGDM outperform existing decentralized methods across multiple learning tasks in terms of convergence speed and final model accuracy.
- The theoretical bounds are validated empirically, showing that the convergence rate scales linearly with the number of workers under the derived conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.