Work

Toward Scalable Distributed Machine Learning on Data-parallel Clusters

Year: 2020
Type: article
Abstract: The rise of BigData leads to demand for machine learning (ML) for training complex models on a huge volume of input data. Thus, distributed ML is getting prevalent in both academia and industry. In distributed ML, training jobs are executed in clusters with tens to hundreds of machines through distributed data-parallel computing. The key goal of scalable distributed ML is to pursue a data-parallel computing framework with (1) efficient parameter synchronization among parallel tasks; (2) efficient parameter server (PS) and low cost of inter-machine communication; (3) scalable resource scheduling for multiple ML jobs. Currently, there are such computing frameworks such as Spark and BigDL that have emerged to support distributed ML training. However, challenges still exist to realize the goals. First, skewness and strict Bulk Synchronization Parallel (BSP) model often delay the synchronization. Second, lacking elasticity in PS results in significant early feedback latency in ML model training, and limited network bandwidth causes severe communication overhead in PS on large volume of parameters. Third, static GPU scheduling prohibits high resource utilization and prolongs the training time of multiple deep learning (DL) jobs. Our research tackles these challenges by leveraging the characteristics of ML jobs including non-linear computation complexity, algorithm convergence, model structure, and non-linear training speedup with GPUs. In this context, we are motivated to develop scalable distributed ML via (1) avoiding the synchronization delay with novel synchronization model and skewness mitigation; (2) introducing elasticity to PS and reducing communication overhead through communication and computation overlap; (3) offering scalable resource scheduling based on elastic GPU allocation. In this thesis, we design and develop novel synchronization, PS, communication, and resource scheduling approaches, which optimize the popular data-parallel computing frameworks so as to achieve scalable distributed ML. First, to avoid the synchronization delay, we design and develop a BSP-based aggressive synchronization (A-BSP) model based on the convergent property of iterative ML algorithms, and a parameter partition approach (FlexPara) that provisions adaptive tasks to match the distinct machine capacity so as to address the skewness. Second, to reduce communication overhead and introduce elasticity in PS, we design and develop a novel communication approach (iBatch) that batches communication and computation to overlap them in distributed DL job, and Elastic Parameter Server (EPS), an augmented and lightweight PS that allows adjusting the number of workers and servers for a ML job at runtime. Third, to offer dynamic resource scheduling, we design and develop a non-intrusive and lightweight GPU scheduling framework (SideCar) including an elastic GPU allocation mechanism and a dynamic GPU scheduler for multiple DL jobs. Finally, we conducted a supplementary research on improving data locality of parallel jobs with dependencies. We implemented the proposed approaches in several open-source distributed ML and DL frameworks, and conducted the evaluations in physical and virtual clusters including the NSF Chameleon cluster with various ML and DL synthetic benchmarks. These approaches significantly improve the scalability of the frameworks, speed up the training of ML and DL jobs, and improve the resource utilization of the clusters.
Author: Wang, Shaoqi
Language: English
Open Access status: green
OpenAlex ID: W3181909576
FWCI:
Cites: 164
Cited by:
Related to: 10