arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.20495cs.DCcs.LGcs.PF
收藏

少即是多:在分布式边缘机器学习中实现更快收敛

When Less is More: Achieving Faster Convergence in Distributed Edge Machine Learning

BITS Pilani(毕拉尼理工学院);BITS Pilani, K. K. Birla Goa Campus(毕拉尼理工学院K.K.比尔拉果阿校区)

Advik Raj Basani, Siddharth Chaitra Vivek, Advaith Krishna, Arnab K. Paul

AI总结:

本文提出 Hermes 概率框架,通过基于测试损失的动态阈值减少通信,并结合动态数据集分配应对异构边缘设备中的拖后腿问题,实现更快收敛,训练时间减少 13.22 倍,通信开销降低 62.1%。

摘要:

在资源受限的边缘设备上进行分布式机器学习(DML)在现实应用中具有巨大潜力。然而,在这些异构环境中实现 DML 的快速收敛仍然是一个重大挑战。传统的框架,如 Bulk Synchronous Parallel 和 Asynchronous Stochastic Parallel,依赖频繁的小规模更新,这会带来巨大的通信开销并阻碍收敛速度。此外,这些框架通常采用静态数据集大小,忽视了边缘设备的异构性,可能导致拖后腿节点(straggler nodes)拖慢整个训练过程。拖后腿节点,即处理其分配数据块所需时间明显更长的边缘设备,会阻碍整体训练速度。为了解决这些局限性,本文提出了 Hermes,一种用于边缘设备上高效 DML 的新型概率框架。该框架利用基于近期测试损失行为的动态阈值来识别模型泛化能力中具有统计显著性的改进,因此仅在检测到重大改进时才传输更新,从而显著降低通信开销。此外,Hermes 采用动态数据集分配来优化资源利用率,并防止由拖后腿节点引起的性能下降。我们在真实世界的异构资源受限环境中的评估表明,与最先进的方法相比,Hermes 实现了更快的收敛,训练时间显著减少了 13.22 倍,通信开销降低了 62.1%。

英文摘要:

Distributed Machine Learning (DML) on resource-constrained edge devices holds immense potential for real-world applications. However, achieving fast convergence in DML in these heterogeneous environments remains a significant challenge. Traditional frameworks like Bulk Synchronous Parallel and Asynchronous Stochastic Parallel rely on frequent, small updates that incur substantial communication overhead and hinder convergence speed. Furthermore, these frameworks often employ static dataset sizes, neglecting the heterogeneity of edge devices and potentially leading to straggler nodes that slow down the entire training process. The straggler nodes, i.e., edge devices that take significantly longer to process their assigned data chunk, hinder the overall training speed. To address these limitations, this paper proposes Hermes, a novel probabilistic framework for efficient DML on edge devices. This framework leverages a dynamic threshold based on recent test loss behavior to identify statistically significant improvements in the model's generalization capability, hence transmitting updates only when major improvements are detected, thereby significantly reducing communication overhead. Additionally, Hermes employs dynamic dataset allocation to optimize resource utilization and prevents performance degradation caused by straggler nodes. Our evaluations on a real-world heterogeneous resource-constrained environment demonstrate that Hermes achieves faster convergence compared to state-of-the-art methods, resulting in a remarkable $13.22$x reduction in training time and a $62.1\%$ decrease in communication overhead.

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

↑