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

线性模型的并行训练而不影响收敛性

Parallel training of linear models without compromising convergence

IBM Research(IBM研究院)

Nikolas Ioannou, Celestine Dünner, Kornilios Kourtis, Thomas Parnell

摘要:

在本文中,我们分析,评估和改进在现代CPU上训练广义线性模型的性能。我们从一个最先进的异步并行训练算法开始,识别系统级的性能瓶颈,并应用优化,提高数据并行,高速缓存行的局部性,和高速缓存行预取的算法。这些修改显著地减少了每历元的运行时间,但是在所需的历元数量方面对算法收敛造成了损失。为了减轻这些缺点,我们的系统优化的版本,我们提出了一种新的,动态的数据分区方案,跨线程,使我们能够接近收敛的顺序版本。与初始异步并行训练算法相比,组合优化组在收敛方面的一致底线加速高达12倍,与一系列多核CPU架构上的最新实现(scikit-learn和h2o)相比,加速高达42倍。

英文摘要:

In this paper we analyze, evaluate, and improve the performance of training generalized linear models on modern CPUs. We start with a state-of-the-art asynchronous parallel training algorithm, identify system-level performance bottlenecks, and apply optimizations that improve data parallelism, cache line locality, and cache line prefetching of the algorithm. These modifications reduce the per-epoch run-time significantly, but take a toll on algorithm convergence in terms of the required number of epochs. To alleviate these shortcomings of our systems-optimized version, we propose a novel, dynamic data partitioning scheme across threads which allows us to approach the convergence of the sequential version. The combined set of optimizations result in a consistent bottom line speedup in convergence of up to 12x compared to the initial asynchronous parallel training algorithm and up to 42x, compared to state of the art implementations (scikit-learn and h2o) on a range of multi-core CPU architectures.

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

↑