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

AdaComp:用于数据并行分布训练的自适应残差梯度压缩

AdaComp : Adaptive Residual Gradient Compression for Data-Parallel Distributed Training

IBM Research AI(IBM人工智能研究院)

Chia-Yu Chen, Jungwook Choi, Daniel Brand, Ankur Agrawal, Wei Zhang, Kailash Gopalakrishnan

摘要:

深度神经网络(DNN)在未来计算平台(提供100 TeraOps/s的计算能力)上的高度分布式训练预计将受到严重的通信约束。为了克服这一限制,需要新的梯度压缩技术,这些技术在计算上是友好的,适用于深度神经网络中看到的各种各样的层,并适应网络架构及其超参数的变化。在本文中,我们介绍了一种新的技术-自适应残差梯度压缩(AdaComp)计划。AdaComp基于梯度残差的局部选择,并根据局部活动自动调整压缩率。我们在多个领域(视觉,语音,语言),数据集(MNIST,CIFAR 10,ImageNet,BN 50,Shakespeare),优化器(SGD with momentum,Adam)和网络参数(学习者数量,minibatch-size等)的各种最先进的深度学习模型上展示了出色的结果。利用稀疏性和量化,我们证明了全连接和递归层的端到端压缩率约为200倍,卷积层约为40倍,模型精度没有任何明显的下降。

英文摘要:

Highly distributed training of Deep Neural Networks (DNNs) on future compute platforms (offering 100 of TeraOps/s of computational capacity) is expected to be severely communication constrained. To overcome this limitation, new gradient compression techniques are needed that are computationally friendly, applicable to a wide variety of layers seen in Deep Neural Networks and adaptable to variations in network architectures as well as their hyper-parameters. In this paper we introduce a novel technique - the Adaptive Residual Gradient Compression (AdaComp) scheme. AdaComp is based on localized selection of gradient residues and automatically tunes the compression rate depending on local activity. We show excellent results on a wide spectrum of state of the art Deep Learning models in multiple domains (vision, speech, language), datasets (MNIST, CIFAR10, ImageNet, BN50, Shakespeare), optimizers (SGD with momentum, Adam) and network parameters (number of learners, minibatch-size etc.). Exploiting both sparsity and quantization, we demonstrate end-to-end compression rates of ~200X for fully-connected and recurrent layers, and ~40X for convolutional layers, without any noticeable degradation in model accuracies.

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

↑