arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.07454cs.LGcs.DC
收藏

分布式数据采掘中通信效率高的Adam型算法

Communication-Efficient Adam-Type Algorithms for Distributed Data Mining

University of Pittsburgh(匹兹堡大学)

Wenhan Xian, Feihu Huang, Heng Huang

摘要:

分布式数据采掘是一个新兴的研究课题,以有效和高效地解决硬数据采掘任务使用大数据,这是分区和计算在不同的工作节点,而不是一个集中的服务器。然而,当网络带宽有限或模型规模较大时,分布式学习方法往往会遇到通信瓶颈。为了解决这个关键问题,最近提出了许多梯度压缩方法来减少多个优化算法的通信成本。然而,梯度压缩到自适应梯度方法的当前应用,由于其对训练DNN的优异性能而被广泛采用,没有实现与Sketched-SGD相同的理想压缩率或收敛率。为了解决这个问题,在本文中,我们提出了一类新的分布式亚当型算法(\emph{i.e.},SketchedAMSGrad)利用草图,这是一个很有前途的压缩技术,降低了通信成本从$O(d)$到$O(\log(d))$,其中$d$是参数尺寸。在我们的理论分析中,我们证明了我们的新算法实现了一个快速的收敛速度$O(\frac{1}{\sqrt{nT}} + \frac{1}{(k/d)^2 T})$与$O(k \log(d))$在每次迭代的通信成本。与单机AMSGrad算法相比,该算法可以获得与作业机数$n$成线性关系的加速比.在分布式范式中训练各种DNN的实验结果验证了我们算法的效率。

英文摘要:

Distributed data mining is an emerging research topic to effectively and efficiently address hard data mining tasks using big data, which are partitioned and computed on different worker nodes, instead of one centralized server. Nevertheless, distributed learning methods often suffer from the communication bottleneck when the network bandwidth is limited or the size of model is large. To solve this critical issue, many gradient compression methods have been proposed recently to reduce the communication cost for multiple optimization algorithms. However, the current applications of gradient compression to adaptive gradient method, which is widely adopted because of its excellent performance to train DNNs, do not achieve the same ideal compression rate or convergence rate as Sketched-SGD. To address this limitation, in this paper, we propose a class of novel distributed Adam-type algorithms (\emph{i.e.}, SketchedAMSGrad) utilizing sketching, which is a promising compression technique that reduces the communication cost from $O(d)$ to $O(\log(d))$ where $d$ is the parameter dimension. In our theoretical analysis, we prove that our new algorithm achieves a fast convergence rate of $O(\frac{1}{\sqrt{nT}} + \frac{1}{(k/d)^2 T})$ with the communication cost of $O(k \log(d))$ at each iteration. Compared with single-machine AMSGrad, our algorithm can achieve the linear speedup with respect to the number of workers $n$. The experimental results on training various DNNs in distributed paradigm validate the efficiency of our algorithms.

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

↑