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

ATA:分布式机器学习中高效资源管理的自适应任务分配

ATA: Adaptive Task Allocation for Efficient Resource Management in Distributed Machine Learning

Artavazd Maranjyan, El Mehdi Saad, Peter Richtárik, Francesco Orabona

AI总结:

本文提出ATA自适应任务分配方法,在未知异构计算时间下实现分布式机器学习的最优资源分配,理论证明其性能媲美有先验知识的方法,实验显示显著降低成本。

摘要:

异步方法是分布式机器学习中并行计算的基础。它们旨在通过充分利用所有可用资源来加速训练。然而,其贪婪方法可能导致效率低下,使用超出需求的计算量,尤其是在各设备计算时间存在差异的情况下。如果事先知道计算时间,则可以通过将更多任务分配给较快的执行者来实现快速且资源高效的训练。挑战在于在没有计算时间分布先验知识的情况下实现这种最优分配。在本文中,我们提出了ATA(自适应任务分配),一种适应执行者计算时间的异构和随机分布的方法。通过严格的理论分析,我们表明ATA能够识别最优任务分配,并与具有计算时间先验知识的方法表现相当。实验结果进一步表明,ATA具有资源高效性,与贪婪方法相比显著降低了成本,而贪婪方法的成本可能根据执行者数量而任意高昂。

英文摘要:

Asynchronous methods are fundamental for parallelizing computations in distributed machine learning. They aim to accelerate training by fully utilizing all available resources. However, their greedy approach can lead to inefficiencies using more computation than required, especially when computation times vary across devices. If the computation times were known in advance, training could be fast and resource-efficient by assigning more tasks to faster workers. The challenge lies in achieving this optimal allocation without prior knowledge of the computation time distributions. In this paper, we propose ATA (Adaptive Task Allocation), a method that adapts to heterogeneous and random distributions of worker computation times. Through rigorous theoretical analysis, we show that ATA identifies the optimal task allocation and performs comparably to methods with prior knowledge of computation times. Experimental results further demonstrate that ATA is resource-efficient, significantly reducing costs compared to the greedy approach, which can be arbitrarily expensive depending on the number of workers.

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

↑