Empowering Distributed Training with Sparsity-driven Data Synchronization

Zhuang Wang,Zhaozhuo Xu,Jingyi Xi,Yuke Wang,Anshumali Shrivastava,T. S. Eugene Ng
2024-12-14
Abstract:Distributed training is the de facto standard to scale up the training of deep learning models with multiple GPUs. Its performance bottleneck lies in communications for gradient synchronization. Although high tensor sparsity is widely observed, the optimal communication scheme to fully leverage sparsity is still missing. This paper aims to bridge this gap. We first analyze the characteristics of sparse tensors in popular models to understand the fundamentals of sparsity. We then systematically explore the design space of communication schemes for sparse tensors and find the optimal ones. These findings give a new understanding and inspire us to develop a holistic gradient synchronization system called Zen for sparse tensors. We demonstrate that Zen can achieve up to 5.09x speedup in communication time and up to $2.48\times$ speedup in training throughput compared to the state-of-the-art methods.
Machine Learning,Distributed, Parallel, and Cluster Computing
What problem does this paper attempt to address?