AntDT:一种面向主导节点与掉队节点的自适应分布式训练框架
AntDT: A Self-Adaptive Distributed Training Framework for Leader and Straggler Nodes
AI总结:
针对分布式训练中因资源竞争、硬件异构导致的掉队节点拖慢效率的问题,本文提出自适应框架AntDT,通过多组件协同与可定制的缓解方案,在工业场景中实现训练效率3倍以上的提升。
摘要:
为利用规模日益增长的数据与丰富特征,业界已提出参数服务器、AllReduce等多种分布式训练技术。然而,分布式训练中因资源竞争与硬件异构性频繁出现掉队节点,严重阻碍训练效率。现有研究仅能解决部分掉队问题,无法在实际场景中自适应应对各类掉队情况。此外,由于不同类型的掉队问题需要差异化的数据分配与容错机制,通过系统化框架解决所有掉队问题颇具挑战。为此,本文提出一种统一的分布式训练框架AntDT(蚂蚁分布式训练框架),用于自适应解决掉队节点问题。首先,该框架包含有状态动态数据分片服务、监控器、控制器与代理四个组件,各组件协同工作以高效分配工作负载,并提供一系列具备容错能力的预定义掉队缓解方法,从而屏蔽数据分配与故障处理的复杂细节。其次,框架具备高度灵活性,支持根据集群具体情况定制掉队缓解方案。依托该灵活性,本文提出两种掉队缓解方案,即面向非专用集群的AntDT-ND与面向专用集群的AntDT-DD,作为蚂蚁集团内解决各类掉队问题的实践方案。综合实验与工业部署统计数据表明,AntDT的训练效率优于其他现有最优(SOTA)方法3倍以上。此外,在支付宝首页推荐场景中,使用AntDT可将排序模型的训练时长从27.8小时缩短至仅5.4小时。
英文摘要:
Many distributed training techniques like Parameter Server and AllReduce have been proposed to take advantage of the increasingly large data and rich features. However, stragglers frequently occur in distributed training due to resource contention and hardware heterogeneity, which significantly hampers the training efficiency. Previous works only address part of the stragglers and could not adaptively solve various stragglers in practice. Additionally, it is challenging to use a systematic framework to address all stragglers because different stragglers require diverse data allocation and fault-tolerance mechanisms. Therefore, this paper proposes a unified distributed training framework called AntDT (Ant Distributed Training Framework) to adaptively solve the straggler problems. Firstly, the framework consists of four components, including the Stateful Dynamic Data Sharding service, Monitor, Controller, and Agent. These components work collaboratively to efficiently distribute workloads and provide a range of pre-defined straggler mitigation methods with fault tolerance, thereby hiding messy details of data allocation and fault handling. Secondly, the framework provides a high degree of flexibility, allowing for the customization of straggler mitigation solutions based on the specific circumstances of the cluster. Leveraging this flexibility, we introduce two straggler mitigation solutions, namely AntDT-ND for non-dedicated clusters and AntDT-DD for dedicated clusters, as practical examples to resolve various types of stragglers at Ant Group. Justified by our comprehensive experiments and industrial deployment statistics, AntDT outperforms other SOTA methods more than 3x in terms of training efficiency. Additionally, in Alipay's homepage recommendation scenario, using AntDT reduces the training duration of the ranking model from 27.8 hours to just 5.4 hours.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。