arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1912.12844cs.LGcs.DCmath.OCstat.ML
收藏

具有较低通信复杂性的方差减小的局部SGD

Variance Reduced Local SGD with Lower Communication Complexity

Anhui Province Key Laboratory of Big Data Analysis and Application(安徽省大数据分析与应用重点实验室);University of Science and Technology of China(中国科学技术大学);The Hong Kong University of Science and Technology(香港科技大学)

Xianfeng Liang, Shuheng Shen, Jingchang Liu, Zhen Pan, Enhong Chen, Yifei Cheng

摘要:

为了加速机器学习模型的训练,分布式随机梯度下降(SGD)及其变体已被广泛采用,其并行应用多个工人以加速训练。其中,Local SGD因其较低的通讯成本而备受关注。然而,当工作者上的数据分布不相同时,本地SGD需要$O(T^{\frac{3}{4}} N^{\frac{3}{4}})$通信来维护其\emph{linear iteration speedup}属性,其中$T$是迭代的总数,$N$是工作者的数量。在本文中,我们提出了方差减少本地SGD(VRL-SGD),以进一步降低通信复杂性。从理论上证明了VRL-SGD算法消除了对工人间梯度方差的依赖,即使工人访问不同的数据集,也能以较低的通信复杂性度$O(T^{\frac{1}{2}} N^{\frac{3}{2}})$实现\emph{linear iteration speedup}.我们在三个机器学习任务上进行了实验,实验结果表明,当工人之间的数据非常多样化时,VRL-SGD的性能比Local SGD好得多。

英文摘要:

To accelerate the training of machine learning models, distributed stochastic gradient descent (SGD) and its variants have been widely adopted, which apply multiple workers in parallel to speed up training. Among them, Local SGD has gained much attention due to its lower communication cost. Nevertheless, when the data distribution on workers is non-identical, Local SGD requires $O(T^{\frac{3}{4}} N^{\frac{3}{4}})$ communications to maintain its \emph{linear iteration speedup} property, where $T$ is the total number of iterations and $N$ is the number of workers. In this paper, we propose Variance Reduced Local SGD (VRL-SGD) to further reduce the communication complexity. Benefiting from eliminating the dependency on the gradient variance among workers, we theoretically prove that VRL-SGD achieves a \emph{linear iteration speedup} with a lower communication complexity $O(T^{\frac{1}{2}} N^{\frac{3}{2}})$ even if workers access non-identical datasets. We conduct experiments on three machine learning tasks, and the experimental results demonstrate that VRL-SGD performs impressively better than Local SGD when the data among workers are quite diverse.

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

↑