arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1709.09393cs.DCcs.LG
收藏

Slim-DP:一种面向DNN的轻型通信数据并行

Slim-DP: A Light Communication Data Parallelism for DNN

College of Computer and Control Engineering, Nankai University(南开大学计算机与控制工程学院);Microsoft Research(微软研究院)

Shizhao Sun, Wei Chen, Jiang Bian, Xiaoguang Liu, Tie-Yan Liu

摘要:

数据并行已经成为加速深度神经网络(DNN)训练的必要技术。在典型的数据并行方法中,本地工作器将所有参数的最新更新推送到参数服务器,并定期将所有合并的参数拉回来。然而,随着DNN模型规模的增加和实践中大量的工作者,这种典型的数据并行不能实现令人满意的训练加速,因为它通常遭受由于在工作者和参数服务器之间传输大量信息而导致的沉重的通信成本。对DNN的深入了解表明,它通常是高度冗余的,删除相当大比例的参数不会显着降低模型性能。这种冗余特性暴露了一个很好的机会,以减少通信成本,通过在并行训练期间只传输这些重要参数的信息。然而,如果我们只传递最近快照的时间上重要的参数的信息,我们可能会错过那些现在不重要但随着训练过程的继续有可能变得重要的参数。为此,我们设计了一个Explore-Exploit框架来动态选择要传递的子集,其包括最近快照中的重要参数以及随机探索的一组其它参数。我们建议通过其幅度和梯度的组合来衡量参数的重要性。我们的实验结果表明,我们提出的Slim-DP可以实现更好的训练加速比标准的数据并行和其通信效率的版本,节省通信时间,而不损失的准确性。

英文摘要:

Data parallelism has emerged as a necessary technique to accelerate the training of deep neural networks (DNN). In a typical data parallelism approach, the local workers push the latest updates of all the parameters to the parameter server and pull all merged parameters back periodically. However, with the increasing size of DNN models and the large number of workers in practice, this typical data parallelism cannot achieve satisfactory training acceleration, since it usually suffers from the heavy communication cost due to transferring huge amount of information between workers and the parameter server. In-depth understanding on DNN has revealed that it is usually highly redundant, that deleting a considerable proportion of the parameters will not significantly decline the model performance. This redundancy property exposes a great opportunity to reduce the communication cost by only transferring the information of those significant parameters during the parallel training. However, if we only transfer information of temporally significant parameters of the latest snapshot, we may miss the parameters that are insignificant now but have potential to become significant as the training process goes on. To this end, we design an Explore-Exploit framework to dynamically choose the subset to be communicated, which is comprised of the significant parameters in the latest snapshot together with a random explored set of other parameters. We propose to measure the significance of the parameter by the combination of its magnitude and gradient. Our experimental results demonstrate that our proposed Slim-DP can achieve better training acceleration than standard data parallelism and its communication-efficient version by saving communication time without loss of accuracy.

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

↑