arrow
Return

Accelerating Distributed Learning in Non-Dedicated Environments

delete2023-01-01
delete5
PRE
AI
C
ChenChen(陈晨) (Chen Chen) *
Q
Qizhen Weng
W
Wei Wang
李葆春 cover
李葆春 (Baochun Li)
B
Bo Li
DOI:10.1109/TCC.2021.3102593delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Machine learning (ML) models are increasingly trained with distributed workers possessing heterogeneous resources. In such scenarios, model training efficiency may be negatively affected by stragglers-workers that run much slower than others. Efficient model training requires eliminating such stragglers, yet for modern ML workloads, existing load balancing strategies are inefficient and even infeasible. In this article, we propose a novel strategy, called semi-dynamic load balancing, to eliminate stragglers of distributed ML workloads. The key insight is that ML workers shall be load-balanced at iteration boundaries, being non-intrusive to intra-iteration execution. Based on it we further develop LB-BSP, an integrated worker coordination mechanism that adapts workers' load to their instantaneous processing capabilities-by right-sizing the sample batches at the synchronization barriers. We have designed distinct load tuning algorithms for ML in CPU clusters, in GPU clusters as well as in federated learning setups, based on their respective characteristics. LB-BSP has been implemented as a Python module for ML frameworks like TensorFlow and PyTorch. Our EC2 deployment confirms that LB-BSP is practical, effective and light-weight, and is able to accelerating distributed training by up to 54 percent.
Keywords:
Training
Load management
Load modeling
Synchronization
Computational modeling
Hardware
Graphics processing units
Distributed machine learning
synchronization
load balancing
federated learning

Journal

I
IEEE Transactions on Cloud Computing
IF:
5
Papers:
1.8K
Citations:
4.3K

Organization

U
university of toronto
Scholars:
14.7W
Papers: 12.0W
Citations: 165