Gradient sparsification is a communication optimisation technique for scaling and accelerating distributed deep neural network (DNN) training. It reduces the increasing communication traffic for gradient aggregation. However, existing sparsifiers have poor scalability because of the high computational cost of gradient selection and/or increase in communication traffic. In particular, an increase in communication traffic is caused by gradient build-up and inappropriate threshold for gradient selection. To address these challenges, we propose a novel gradient sparsification method called MiCRO. In MiCRO, the gradient vector is partitioned, and each partition is assigned to the corresponding worker. Each worker then selects gradients from its partition, and the aggregated gradients are free from gradient build-up. Moreover, MiCRO estimates the accurate threshold to maintain the communication traffic as per user requirement by minimising the compression ratio error. MiCRO enables near-zero cost gradient sparsification by solving existing problems that hinder the scalability and acceleration of distributed DNN training. In our extensive experiments, MiCRO outperformed state-of-the-art sparsifiers with an outstanding convergence rate.
翻译:梯度稀疏化是一种用于扩展和加速分布式深度神经网络(DNN)训练的通信优化技术,可减少梯度聚合过程中日益增长的通信流量。然而,现有稀疏化方法因梯度选择的高计算开销和/或通信流量增加而可扩展性较差。具体而言,梯度堆积以及不恰当的梯度选择阈值会导致通信流量增加。针对这些挑战,我们提出了一种名为MiCRO的新型梯度稀疏化方法。在MiCRO中,梯度向量被划分为多个子块,每个子块分配给对应的工作节点。工作节点仅从其负责的子块中选择梯度,从而避免聚合梯度中出现堆积现象。此外,MiCRO通过最小化压缩比误差估算精确阈值,使通信流量满足用户需求。该方法通过解决阻碍分布式DNN训练可扩展性与加速效果的现有问题,实现了近乎零开销的梯度稀疏化。大量实验表明,MiCRO以卓越的收敛速度超越了现有最优稀疏化方法。