arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.09389cs.LGcs.CVcs.MA
收藏

基于IID和非IID数据的低精度分散式分布式训练

Low Precision Decentralized Distributed Training over IID and non-IID Data

Purdue University(普渡大学)

Sai Aparna Aketi, Sangamesh Kodge, Kaushik Roy

摘要:

去中心化分布式学习是在边缘设备上实现大规模机器学习(训练)的关键,它利用私人用户生成的本地数据,而不依赖于云。然而,这种设备上培训的实际实现受到通信和计算瓶颈的限制。在本文中,我们提出并展示了低精度分散训练的收敛性,旨在降低分散训练的计算复杂性和通信成本。在文献中已经提出了许多基于反馈的压缩技术以降低通信成本。据我们所知,没有工作应用并显示计算有效的训练技术,如量化,修剪等,去中心化学习的平台。由于现实世界的应用程序在数据分布上有很大的偏差,我们设计了“Range-EvoNorm”作为归一化激活层,它更适合于非IID数据的低精度训练。此外,我们表明,所提出的低精度训练可以与其他通信压缩方法协同使用,进一步降低通信成本。我们的实验表明,即使使用非IID数据,8位分散式训练与其全精度训练相比,精度损失也最小。然而,当低精度训练伴随着通过稀疏化进行的通信压缩时,我们观察到精度下降了1-2%。所提出的低精度分散式训练将计算复杂性、存储器使用和通信成本降低了4倍,并且将计算能量降低了约20倍,同时折衷了IID和非IID数据的小于$1\%$的精度。特别是,对于更高的偏斜值,我们观察到在低精度训练的情况下准确度增加(约0.5%),这表明量化的正则化效果。

英文摘要:

Decentralized distributed learning is the key to enabling large-scale machine learning (training) on edge devices utilizing private user-generated local data, without relying on the cloud. However, the practical realization of such on-device training is limited by the communication and compute bottleneck. In this paper, we propose and show the convergence of low precision decentralized training that aims to reduce the computational complexity and communication cost of decentralized training. Many feedback-based compression techniques have been proposed in the literature to reduce communication costs. To the best of our knowledge, there is no work that applies and shows compute efficient training techniques such as quantization, pruning, etc., for peer-to-peer decentralized learning setups. Since real-world applications have a significant skew in the data distribution, we design "Range-EvoNorm" as the normalization activation layer which is better suited for low precision training over non-IID data. Moreover, we show that the proposed low precision training can be used in synergy with other communication compression methods decreasing the communication cost further. Our experiments indicate that 8-bit decentralized training has minimal accuracy loss compared to its full precision counterpart even with non-IID data. However, when low precision training is accompanied by communication compression through sparsification we observe a 1-2% drop in accuracy. The proposed low precision decentralized training decreases computational complexity, memory usage, and communication cost by 4x and compute energy by a factor of ~20x, while trading off less than a $1\%$ accuracy for both IID and non-IID data. In particular, with higher skew values, we observe an increase in accuracy (by ~ 0.5%) with low precision training, indicating the regularization effect of the quantization.

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

↑