HeterPS: Distributed deep learning with reinforcement learning based scheduling in heterogeneous environments

Ji Liu,Zhihua Wu,Danlei Feng,Minxu Zhang,Xinxuan Wu,Xuefeng Yao,Dianhai Yu,Yanjun Ma,Feng Zhao,Dejing Dou
DOI: https://doi.org/10.1016/j.future.2023.05.032
IF: 7.307
2023-06-03
Future Generation Computer Systems
Abstract:Deep neural networks (DNNs) exploit many layers and a large number of parameters to achieve excellent performance. The training process of DNN models generally handles large-scale input data with many sparse features, which incurs high Input/Output (IO) cost, while some layers are compute-intensive. The training process generally exploits distributed computing resources to reduce training time. While heterogeneous computing resources, e.g., CPUs, GPUs of multiple types, are available for the distributed training process, the scheduling of multiple layers to diverse computing resources remains critical for the training process. To efficiently train a DNN model using the heterogeneous computing resources, we propose a distributed framework, i.e., Heter ogeneous P arameter S erver (HeterPS), composed of a distributed architecture and a Reinforcement Learning (RL)-based scheduling method. The advantages of HeterPS are three-fold compared with existing frameworks. First, HeterPS enables efficient training process of diverse workloads with heterogeneous computing resources. Second, HeterPS exploits an RL-based method to efficiently schedule the workload of each layer to appropriate computing resources to minimize the cost while satisfying throughput constraints. Third, HeterPS manages data storage and data communication among distributed computing resources. We carry out extensive experiments to show that HeterPS significantly outperforms state-of-the-art approaches in terms of throughput (14.5 times higher) and monetary cost (312.3% smaller).
computer science, theory & methods
What problem does this paper attempt to address?