arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.05330cs.DCcs.AI
收藏

无云训练:一种提升地理分布式机器学习训练效率的框架

Cloudless-Training: A Framework to Improve Efficiency of Geo-Distributed ML Training

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)

Wenting Tan, Xiao Shi1, Cunchi Lv, Xiaofang Zhao

AI总结:

本文提出Cloudless-Training框架,通过两层架构和弹性调度策略提升地理分布式机器学习训练效率,减少通信开销并提高资源利用率。

摘要:

地理分布式机器学习训练可通过多区域云资源和广域网支持新兴ML场景,但其效率受限于两个挑战:首先,缺乏高效的多区域云资源弹性调度,影响资源利用率和性能;其次,广域网上的训练通信仍是主要开销,易受带宽低和波动大的影响。本文提出Cloudless-Training框架,通过两层架构支持弹性调度和通信,提供适应性调度策略和两种新的同步策略(异步SGD加梯度累积和跨PS模型平均),利用OpenFaaS实现并评估于腾讯云。实验表明,Cloudless-Training能支持地理分布式通用ML训练,显著提高资源利用率(如训练成本降低9.2%-24.0%)和同步效率(如基线最多提升1.7倍速度)。

英文摘要:

Geo-distributed ML training can benefit many emerging ML scenarios (e.g., large model training, federated learning) with multi-regional cloud resources and wide area network. However, its efficiency is limited due to 2 challenges. First, efficient elastic scheduling of multi-regional cloud resources is usually missing, affecting resource utilization and performance of training. Second, training communication on WAN is still the main overhead, easily subjected to low bandwidth and high fluctuations of WAN. In this paper, we propose a framework, Cloudless-Training, to realize efficient PS-based geo-distributed ML training in 3 aspects. First, it uses a two-layer architecture with control and physical training planes to support elastic scheduling and communication for multi-regional clouds in a serverless maner.Second, it provides an elastic scheduling strategy that can deploy training workflows adaptively according to the heterogeneity of available cloud resources and distribution of pre-existing training datasets. Third, it provides 2 new synchronization strategies for training partitions among clouds, including asynchronous SGD with gradient accumulation (ASGD-GA) and inter-PS model averaging (MA). It is implemented with OpenFaaS and evaluated on Tencent Cloud. Experiments show that Cloudless-Training can support general ML training in a geo-distributed way, greatly improve resource utilization (e.g., 9.2%-24.0% training cost reduction) and synchronization efficiency (e.g., 1.7x training speedup over baseline at most) with model correctness guarantees.

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

↑