arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.07068cs.DCcs.LGstat.ML
收藏

D $^2$:分散数据的分散训练

D$^2$: Decentralized Training over Decentralized Data

Department of Computer Science, University of Rochester(罗切斯特大学计算机科学系);Department of Computational Mathematics, Science and Engineering, Michigan State University(密歇根州立大学计算数学、科学与工程系);Department of Computer Science, ETH Zurich(苏黎世联邦理工学院计算机科学系);Tencent AI Lab(腾讯AI实验室)

Hanlin Tang, Xiangru Lian, Ming Yan, Ce Zhang, Ji Liu

摘要:

在使用多个工作者训练机器学习模型时,每个工作者从自己的数据源收集数据,当从不同工作者收集的数据可以是{ \em unique}和{ \em different}时,这将是最有用的。具有讽刺意味的是,最近对分散式并行随机梯度下降(D-PSGD)的分析依赖于这样一个假设,即托管在不同工作者上的数据是{ \em没有太大差异}。在本文中,我们提出了一个问题:{ \em我们能否设计一个分散的并行随机梯度下降算法,对工人之间的数据方差不太敏感?}在本文中,我们提出了D $^2$,一种新的分散并行随机梯度下降算法设计的大数据方差\xr{among workers}(不精确,“分散”数据)。$^2$算法的核心是对标准D-PSGD算法的方差blackcup扩展,它将收敛速度从$O\left({σ\over \sqrt{nT}} + {(nζ^2)^{\frac{1}{3}} \over T^{2/3}}\right)$提高到$O\left({σ\over \sqrt{nT}}\right)$,其中$ζ^{2}$表示不同工人数据之间的方差。因此,D $^2$对工人之间的数据变化是鲁棒的。我们经验评估D $^2$的图像分类任务,每个工人只能访问一组有限的标签的数据,并发现D $^2$显着优于D-PSGD。

英文摘要:

While training a machine learning model using multiple workers, each of which collects data from their own data sources, it would be most useful when the data collected from different workers can be {\em unique} and {\em different}. Ironically, recent analysis of decentralized parallel stochastic gradient descent (D-PSGD) relies on the assumption that the data hosted on different workers are {\em not too different}. In this paper, we ask the question: {\em Can we design a decentralized parallel stochastic gradient descent algorithm that is less sensitive to the data variance across workers?} In this paper, we present D$^2$, a novel decentralized parallel stochastic gradient descent algorithm designed for large data variance \xr{among workers} (imprecisely, "decentralized" data). The core of D$^2$ is a variance blackuction extension of the standard D-PSGD algorithm, which improves the convergence rate from $O\left({σ\over \sqrt{nT}} + {(nζ^2)^{\frac{1}{3}} \over T^{2/3}}\right)$ to $O\left({σ\over \sqrt{nT}}\right)$ where $ζ^{2}$ denotes the variance among data on different workers. As a result, D$^2$ is robust to data variance among workers. We empirically evaluated D$^2$ on image classification tasks where each worker has access to only the data of a limited set of labels, and find that D$^2$ significantly outperforms D-PSGD.

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

↑