[Paper Review] Variance Reduction for Distributed Stochastic Gradient Descent
This paper introduces VR-lite, a variance reduction method for distributed stochastic gradient descent that eliminates the need for full gradient computations and extra memory storage by using moving averages of past iterates. It enables scalable, stable, and fast convergence in both synchronous and asynchronous distributed settings, outperforming state-of-the-art methods on large-scale classification and regression tasks with low communication frequency.
Variance reduction (VR) methods boost the performance of stochastic gradient descent (SGD) by enabling the use of larger, constant stepsizes and preserving linear convergence rates. However, current variance reduced SGD methods require either high memory usage or an exact gradient computation (using the entire dataset) at the end of each epoch. This limits the use of VR methods in practical distributed settings. In this paper, we propose a variance reduction method, called VR-lite, that does not require full gradient computations or extra storage. We explore distributed synchronous and asynchronous variants that are scalable and remain stable with low communication frequency. We empirically compare both the sequential and distributed algorithms to state-of-the-art stochastic optimization methods, and find that our proposed algorithms perform favorably to other stochastic methods.
Motivation & Objective
- To address the limitations of existing variance reduction methods that require high memory or exact gradient computations in distributed settings.
- To develop a scalable, stable variance reduction algorithm suitable for large-scale distributed optimization with infrequent communication.
- To enable practical use of variance reduction in asynchronous and fully distributed environments where communication is costly.
- To outperform existing distributed SGD methods in convergence speed and stability on real-world machine learning tasks.
Proposed method
- VR-lite replaces full gradient computations and history storage by maintaining moving averages of past iterates instead of storing individual gradients.
- It uses a corrected gradient update of the form $ g^k = \nabla f_{i_k}(x) - \left( \nabla f_{i_k}(y) + \tilde{g}_y \right) $, where $ y $ is a past iterate and $ \tilde{g}_y $ is an average of recent gradients.
- The method is adapted to both synchronous and asynchronous distributed settings, with communication only at periodic intervals.
- In the distributed setting, local workers update parameters independently and communicate only every $ \tau $ steps, reducing communication overhead.
- The algorithm avoids storing $ n $ previous gradients (as in SAGA) and does not require computing $ \nabla f(x) $ over the full dataset (as in SVRG).
- The approach is implemented using MPI on an HPC cluster, with a locked update mechanism to ensure consistency in asynchronous execution.
Experimental results
Research questions
- RQ1Can variance reduction be achieved in distributed SGD without requiring full gradient computations or extra memory storage?
- RQ2How does the performance of a variance reduction method based on moving averages compare to SAGA and SVRG in terms of convergence speed and stability?
- RQ3Can VR-lite maintain fast convergence and stability under low communication frequency in distributed settings?
- RQ4How does VR-lite scale with increasing numbers of distributed workers in both synchronous and asynchronous configurations?
Key findings
- VR-lite converges faster than SAGA and SVRG in all tested sequential experiments, despite SAGA’s higher memory usage.
- In distributed settings, both Sync VR-lite and Async VR-lite significantly outperform Hogwild!, EASGD, and asynchronous SVRG on the SUSY and MILLIONSONG datasets.
- On the SUSY dataset with 750 workers, VR-lite trained the model in under 5 seconds, demonstrating strong scalability.
- On the MILLIONSONG dataset with 480 workers, VR-lite achieved convergence in about 10 seconds, with performance gains leveling off at high worker counts.
- The algorithms remain stable even with high communication latency, indicating robustness to infrequent synchronization.
- The asynchronous variant shows potential for further speedup with a lock-free implementation, suggesting high practical efficiency.
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.