arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.11510cs.DCmath.OC
收藏

并行机器学习训练算法的Scalability:数据集很重要

The Scalability for Parallel Machine Learning Training Algorithm: Dataset Matters

Daning Cheng, Hanping Zhang, Fen Xia, Shigang Li, Yunquan Zhang

摘要:

为了获得更好的性能,许多研究人员将更多的计算资源投入到应用程序中。然而,在人工智能领域,仍然缺乏成功的大规模机器学习训练应用:并行机器学习训练算法的可扩展性和性能再现性有限,并且有一些研究关注这些指标受限的原因,但很少有研究工作从本质上解释原因。在本文中,我们提出了数据集的样本差异在并行机器学习算法的可扩展性中起着更突出的作用。数据集特征可以度量样本差异。这些特征包括数据集样本的方差、稀疏性、样本的多样性和样本序列的相似性。为了配合我们的建议,我们选择了四种并行机器学习训练算法作为我们的研究对象:(1)异步并行SGD算法(Hogwild!算法)(2)并行模型平均SGD算法(Mini-batch SGD算法)(3)离散化优化算法(Decompensation optimization algorithm),(4)对偶坐标优化算法(DADM algorithm)。这些算法涵盖了不同类型的机器学习优化算法。我们提出了他们的收敛性证明和设计实验的分析。我们的研究结果表明,字符集决定了机器学习算法的可扩展性。此外,机器学习算法的并行可扩展性存在一个上限。

英文摘要:

To gain a better performance, many researchers put more computing resource into an application. However, in the AI area, there is still a lack of a successful large-scale machine learning training application: The scalability and performance reproducibility of parallel machine learning training algorithm are limited and there are a few pieces of research focusing on why these indexes are limited but there are very few research efforts explaining the reasons in essence. In this paper, we propose that the sample difference in dataset plays a more prominent role in parallel machine learning algorithm scalability. Dataset characters can measure sample difference. These characters include the variance of the sample in a dataset, sparsity, sample diversity and similarity in sampling sequence. To match our proposal, we choose four kinds of parallel machine learning training algorithms as our research objects: (1) Asynchronous parallel SGD algorithm (Hogwild! algorithm) (2) Parallel model average SGD algorithm (Mini-batch SGD algorithm) (3) Decenterilization optimization algorithm, (4) Dual Coordinate Optimization (DADM algorithm). These algorithms cover different types of machine learning optimization algorithms. We present the analysis of their convergence proof and design experiments. Our results show that the characters datasets decide the scalability of the machine learning algorithm. What is more, there is an upper bound of parallel scalability for machine learning algorithms.

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

↑