如何实现通信高效的 DNN 训练?转换、压缩、校正
How to Attain Communication-Efficient DNN Training? Convert, Compress, Correct
AI总结:
本文提出面向联邦 DNN 训练的 CO3 通信压缩算法,通过浮点转换量化、无损压缩和带记忆衰减的误差反馈校正降低通信负载,并证明其收敛性与性能优势。
摘要:
本文介绍 CO3——一种用于通信高效的联邦深度神经网络(DNN)训练的算法。CO3 的名称来自所采用的三种处理过程,这些过程在将本地 DNN 梯度从远程用户传输到参数服务器时降低通信负载。即:(i)通过浮点转换进行梯度量化,(ii)对量化后的梯度进行无损压缩,以及(iii)量化误差校正。我们精心设计上述每个步骤,以确保在通信速率受限的情况下获得良好的训练性能。具体而言,在步骤(i)和(ii)中,我们采用 DNN 梯度服从广义正态分布的假设,该假设在论文中通过数值方式得到验证。对于步骤(iii),我们利用具有记忆衰减机制的误差反馈来校正步骤(i)中引入的量化误差。我们认为,记忆衰减系数与学习率类似,可以进行最优调节以改善收敛性。文中给出了所提出的 CO3 配合 SGD 的严格收敛分析。此外,通过大量仿真,我们表明,与文献中现有采用本地梯度草图绘制和非均匀量化的梯度压缩方案相比,CO3 提供了更优的性能。
英文摘要:
This paper introduces CO3 -- an algorithm for communication-efficient federated Deep Neural Network (DNN) training. CO3 takes its name from three processing applied which reduce the communication load when transmitting the local DNN gradients from the remote users to the Parameter Server. Namely: (i) gradient quantization through floating-point conversion, (ii) lossless compression of the quantized gradient, and (iii) quantization error correction. We carefully design each of the steps above to assure good training performance under a constraint on the communication rate. In particular, in steps (i) and (ii), we adopt the assumption that DNN gradients are distributed according to a generalized normal distribution, which is validated numerically in the paper. For step (iii), we utilize an error feedback with memory decay mechanism to correct the quantization error introduced in step (i). We argue that the memory decay coefficient, similarly to the learning rate, can be optimally tuned to improve convergence. A rigorous convergence analysis of the proposed CO3 with SGD is provided. Moreover, with extensive simulations, we show that CO3 offers improved performance when compared with existing gradient compression schemes in the literature which employ sketching and non-uniform quantization of the local gradients.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。