arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.06040cs.LGcs.DCstat.ML
收藏

DL2:一个用于深度学习集群的深度学习驱动的机器学习

DL2: A Deep Learning-driven Scheduler for Deep Learning Clusters

The University of Hong Kong(香港大学);Alibaba Inc.(阿里巴巴公司)

Yanghua Peng, Yixin Bao, Yangrui Chen, Chuan Wu, Chen Meng, Wei Lin

摘要:

越来越多的公司已经部署了机器学习(ML)集群,其中深度学习(DL)模型被训练用于提供各种AI驱动的服务。高效的资源调度对于最大限度地利用昂贵的DL集群是必不可少的。现有的集群调度器要么对ML工作负载特性不可知,要么基于操作员对特定ML框架和工作负载的理解使用调度策略,这效率较低或不够通用。在本文中,我们表明,DL技术可以采用设计一个通用的和有效的调度。DL 2是一个DL驱动的调度器,用于DL集群,通过动态地调度分配给作业的资源来实现全局训练作业调度。DL 2提倡联合监督学习和强化学习方法:基于现有集群调度器产生的作业轨迹,通过离线监督学习预热神经网络;然后将神经网络插入实时DL集群,通过在DL作业的整个训练过程中执行的强化学习进行微调,并用于以在线方式决定作业资源分配。通过在准备监督学习阶段应用现有集群调度器过去做出的决定,我们的方法能够从现有调度器平滑过渡,并在最小化平均训练完成时间方面呈现高质量的调度器。我们在Kubernetes上实现了DL 2,并在MXNet上的DL作业中启用了动态资源扩展。广泛的评估表明,DL 2优于公平调度器(即,DRF)44.1%和专家启发式调度器(即,Optimus)在平均作业完成时间方面减少了17.5%。

英文摘要:

More and more companies have deployed machine learning (ML) clusters, where deep learning (DL) models are trained for providing various AI-driven services. Efficient resource scheduling is essential for maximal utilization of expensive DL clusters. Existing cluster schedulers either are agnostic to ML workload characteristics, or use scheduling heuristics based on operators' understanding of particular ML framework and workload, which are less efficient or not general enough. In this paper, we show that DL techniques can be adopted to design a generic and efficient scheduler. DL2 is a DL-driven scheduler for DL clusters, targeting global training job expedition by dynamically resizing resources allocated to jobs. DL2 advocates a joint supervised learning and reinforcement learning approach: a neural network is warmed up via offline supervised learning based on job traces produced by the existing cluster scheduler; then the neural network is plugged into the live DL cluster, fine-tuned by reinforcement learning carried out throughout the training progress of the DL jobs, and used for deciding job resource allocation in an online fashion. By applying past decisions made by the existing cluster scheduler in the preparatory supervised learning phase, our approach enables a smooth transition from existing scheduler, and renders a high-quality scheduler in minimizing average training completion time. We implement DL2 on Kubernetes and enable dynamic resource scaling in DL jobs on MXNet. Extensive evaluation shows that DL2 outperforms fairness scheduler (i.e., DRF) by 44.1% and expert heuristic scheduler (i.e., Optimus) by 17.5% in terms of average job completion time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑