arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.00271cs.DC
收藏

HeLoCo: 数据和设备异构下的高效异步低通信训练

HeLoCo: Efficient asynchronous low-communication training under data and device heterogeneity

Iowa State University(爱荷华州立大学);Technical University of Darmstadt(达姆施塔特工业大学);Maro Systems(马罗系统);PanocularAI(泛视觉人工智能)

Abdullah Al Asif, Patrick Diem, Juan Pablo Muñoz, Felix Wolf, Ali Jannesari, Arya Mazaheri

AI总结:

针对异步低通信训练中数据异构和设备异构导致的梯度陈旧问题,提出方向感知校正方法HeLoCo,利用外动量作为参考调整伪梯度,在异构多语言语言模型训练中优于现有基线。

摘要:

分布式低通信(DiLoCo)训练通过允许工作节点在向全局外部更新发送伪梯度之前执行多个本地优化步骤来减少通信开销。其异步变体通过移除同步屏障进一步提高了硬件利用率,但代价是使用过时模型状态计算的陈旧伪梯度。因此,这些更新可能与当前全局优化方向不一致,尤其是在异构系统中。当数据非IID时,这个问题变得更加突出,而异步低通信训练中对此设置的研究尚不充分。为解决这一局限,我们提出 extbf{HeLoCo},一种用于异步低通信训练的方向感知校正方法,该方法使用外动量作为当前优化轨迹的参考,并在外部更新之前选择性地调整传入的伪梯度。保持对齐的更新被保留,而方向冲突的分量被校正。在具有异构工作节点和非IID数据的多语言语言模型训练中,HeLoCo持续改进验证损失。在固定token预算下,它比现有基于异步DiLoCo的基线提升高达7.5%;在固定挂钟时间预算下,超过异步动量前瞻方法高达3.3%;在严重系统异构下,超过同步基线高达22.1%。我们的分析进一步揭示了陈旧性、工作节点速度和数据异构性如何影响高度分散和异构训练设置中的更新质量和收敛性。

英文摘要:

Distributed Low-Communication (DiLoCo) training reduces communication overhead by allowing workers to perform multiple local optimization steps before sending pseudo-gradients to a global outer update. Its asynchronous variant further improves hardware utilization by removing synchronization barriers, but at the cost of stale pseudo-gradients computed from outdated model states. As a result, these updates can become misaligned with the current global optimization direction, particularly in heterogeneous systems. This issue becomes even more pronounced when data are non-IID, a setting that has not been well studied in asynchronous low-communication training. To address this limitation, we propose \textbf{HeLoCo}, a direction-aware correction method for asynchronous low-communication training that uses outer momentum as a reference for the current optimization trajectory and selectively adjusts incoming pseudo-gradients before the outer update. Updates that remain aligned are preserved, while directionally conflicting components are corrected. On multilingual language-model training with heterogeneous workers and non-IID data, HeLoCo consistently improves validation loss. It outperforms existing asynchronous DiLoCo-based baselines by up to 7.5\% at a fixed token budget, exceeds asynchronous momentum look-ahead by up to 3.3\% at a fixed wall-clock budget, and surpasses the synchronous baseline by up to 22.1\% under severe system heterogeneity. Our analysis further shows how staleness, worker speed, and data heterogeneity shape update quality and convergence in highly decentralized and heterogeneous training setups.

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

↑