No Worker Left (Too Far) Behind: Dynamic Hybrid Synchronization for In‐Network ML Aggregation

Author:

Cardoso Nunes Diego1ORCID,Loureiro Coelho Bruno2ORCID,Parizotto Ricardo1,Egon Schaeffer‐Filho Alberto1

Affiliation:

1. Institute of Informatics Federal University of Rio Grande do Sul (UFRGS) Porto Alegre Brazil

2. Department of Industrial Engineering University of Trento Trento Italy

Abstract

ABSTRACTAchieving high‐performance aggregation is essential to scaling data‐parallel distributed machine learning (ML) training. Recent research in in‐network computing has shown that offloading the aggregation to the network data plane can accelerate the aggregation process compared to traditional server‐only approaches, reducing the propagation delay and consequently speeding up distributed training. However, the existing literature on in‐network aggregation does not provide ways to deal with slower workers (called stragglers). The presence of stragglers can negatively impact distributed training, increasing the time it takes to complete. In this paper, we present Serene, an in‐network aggregation system capable of circumventing the effects of stragglers. Serene coordinates the ML workers to cooperate with a programmable switch using a hybrid synchronization approach where approaches can be changed dynamically. The synchronization can change dynamically through a control plane API that translates high‐level code into switch rules. Serene switch employs an efficient data structure for managing synchronization and a hot‐swapping mechanism to consistently change from one synchronization strategy to another. We implemented and evaluated a prototype using BMv2 and a Proof‐of‐Concept in a Tofino ASIC. We ran experiments with realistic ML workloads, including a neural network trained for image classification. Our results show that Serene can speed up training by up to 40% in emulation scenarios by reducing drastically the cumulative waiting time compared to a synchronous baseline.

Funder

Conselho Nacional de Desenvolvimento Científico e Tecnológico

Coordenação de Aperfeiçoamento de Pessoal de Nível Superior

Fundação de Amparo à Pesquisa do Estado de São Paulo

Publisher

Wiley

Reference53 articles.

1. A Survey on Distributed Machine Learning

2. M.Li D. G.Andersen J. W.Park et al. “Scaling Distributed Machine Learning With the Parameter Server ” 11th Usenix Symposium on Operating Systems Design and Implementation (OSDI 14) (2014) 583–598.

3. A.SergeevandM.Del Balso “Horovod: Fast and Easy Distributed Deep Learning in Tensorflow ” (2018). arXiv preprint arXiv:1802.05799.

4. A.Sapio I.Abdelaziz A.Aldilaijan M.Canini andP.Kalnis “In‐Network Computation is a Dumb Idea Whose Time Has Come ” Proceedings of the 16th ACM Workshop on Hot Topics in Networks (2017) 150–156.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3