arXiv · 2406.13936
Communication-Efficient Adaptive Batch Size Strategies for Distributed Local Gradient Methods
Abstract
Modern deep neural networks often require distributed training with many workers due to their large size. As the number of workers increases, communication overheads become the main bottleneck in data-parallel minibatch stochastic gradient methods with per-iteration gradient synchronization. Local gradient methods like Local SGD reduce communication by only synchronizing model parameters and/or gradients after several local steps. Despite an understanding of their convergence and the importance of batch sizes for training efficiency and generalization, optimal batch sizes for local gradient methods are difficult to determine. We introduce adaptive batch size strategies for local gradient methods that increase batch sizes adaptively to reduce minibatch gradient variance. We provide convergence guarantees under homogeneous data conditions and support our claims with image classification and language modeling experiments, demonstrating the effectiveness of our strategies for both training efficiency and generalization.
Explore related subjects
Keep this discovery
Tim Tsz-Kit Lau, Weijian Li, Chenwei Xu, Han Liu, Mladen Kolar. 2024-06-20. Communication-Efficient Adaptive Batch Size Strategies for Distributed Local Gradient Methods. https://arxiv.org/abs/2406.13936
Cite the original work for its findings. Save a collection to share your selection of sources.