arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1607.04381cs.CV
收藏

DSD:深度神经网络的密集-稀疏-密集训练

DSD: Dense-Sparse-Dense Training for Deep Neural Networks

Stanford University(斯坦福大学);NVIDIA(英伟达);Baidu Research(百度研究院);Facebook

Song Han, Jeff Pool, Sharan Narang, Huizi Mao, Enhao Gong, Shijian Tang, Erich Elsen, Peter Vajda, Manohar Paluri, John Tran, Bryan Catanzaro, William J. Dally

摘要:

现代深度神经网络具有大量参数,这使得它们很难训练。我们提出了DSD,一种密集-稀疏-密集的训练流,用于正则化深度神经网络并实现更好的优化性能。在第一个D(密集)步骤中,我们训练一个密集网络来学习连接权重和重要性。在S(稀疏)步骤中,我们通过修剪具有小权重的不重要连接并在给定稀疏约束的情况下重新训练网络来正则化网络。在最后的D(re-Dense)步骤中,我们通过移除稀疏性约束来增加模型容量,从零重新初始化修剪的参数并重新训练整个密集网络。实验表明,DSD训练可以提高各种CNN,RNN和LSTM在图像分类,字幕生成和语音识别任务上的性能。在ImageNet上,DSD将GoogLeNet的Top1准确率提高了1.1%,VGG-16提高了4.3%,ResNet-18提高了1.2%,ResNet-50提高了1.1%。在WSJ'93数据集上,DSD将DeepSpeech和DeepSpeech 2 WER提高了2.0%和1.1%。在Flickr-8 K数据集上,DSD将NeuralTalk BLEU评分提高了1.7以上。DSD在实践中很容易使用:在训练时,DSD只会产生一个额外的超参数:S步骤中的稀疏率。在测试时,DSD不会改变网络架构或产生任何推理开销。DSD实验的一致和显着的性能增益显示了当前训练方法在寻找最佳局部最优值方面的不足,而DSD有效地实现了更好的优化性能,以找到更好的解决方案。DSD模型可在https://songhan.github.io/DSD下载。

英文摘要:

Modern deep neural networks have a large number of parameters, making them very hard to train. We propose DSD, a dense-sparse-dense training flow, for regularizing deep neural networks and achieving better optimization performance. In the first D (Dense) step, we train a dense network to learn connection weights and importance. In the S (Sparse) step, we regularize the network by pruning the unimportant connections with small weights and retraining the network given the sparsity constraint. In the final D (re-Dense) step, we increase the model capacity by removing the sparsity constraint, re-initialize the pruned parameters from zero and retrain the whole dense network. Experiments show that DSD training can improve the performance for a wide range of CNNs, RNNs and LSTMs on the tasks of image classification, caption generation and speech recognition. On ImageNet, DSD improved the Top1 accuracy of GoogLeNet by 1.1%, VGG-16 by 4.3%, ResNet-18 by 1.2% and ResNet-50 by 1.1%, respectively. On the WSJ'93 dataset, DSD improved DeepSpeech and DeepSpeech2 WER by 2.0% and 1.1%. On the Flickr-8K dataset, DSD improved the NeuralTalk BLEU score by over 1.7. DSD is easy to use in practice: at training time, DSD incurs only one extra hyper-parameter: the sparsity ratio in the S step. At testing time, DSD doesn't change the network architecture or incur any inference overhead. The consistent and significant performance gain of DSD experiments shows the inadequacy of the current training methods for finding the best local optimum, while DSD effectively achieves superior optimization performance for finding a better solution. DSD models are available to download at https://songhan.github.io/DSD.

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

↑