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

PruneTrain:基于动态稀疏模型重构的快速神经网络训练

PruneTrain: Fast Neural Network Training by Dynamic Sparse Model Reconfiguration

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Duke University(杜克大学)

Sangkug Lym, Esha Choukse, Siavash Zangeneh, Wei Wen, Sujay Sanghavi, Mattan Erez

摘要:

视觉应用中使用的最先进的卷积神经网络(CNN)具有带有许多权重的大型模型。训练这些模型是非常计算和内存资源密集型的。人们已经做了很多关于修剪或压缩这些模型以降低推理成本的研究,但很少有工作涉及训练成本。我们专注于加速培训。我们提出了PruneTrain,这是一种具有成本效益的机制,可以在训练过程中逐渐降低训练成本。PruneTrain使用结构化的组套索正则化方法,将训练优化推向高精度和小权重值。然后可以通过将网络模型重新配置为较小的模型来定期删除小权重。通过使用我们引入的结构化修剪方法和额外的重新配置技术,修剪后的模型仍然可以在GPU加速器上有效地处理。总体而言,PruneTrain通过将FLOP计算成本降低40%,内存带宽绑定层的内存访问减少37%,加速器间通信减少55%,将ResNet50的ImageNet端到端训练时间减少39%。

英文摘要:

State-of-the-art convolutional neural networks (CNNs) used in vision applications have large models with numerous weights. Training these models is very compute- and memory-resource intensive. Much research has been done on pruning or compressing these models to reduce the cost of inference, but little work has addressed the costs of training. We focus precisely on accelerating training. We propose PruneTrain, a cost-efficient mechanism that gradually reduces the training cost during training. PruneTrain uses a structured group-lasso regularization approach that drives the training optimization toward both high accuracy and small weight values. Small weights can then be periodically removed by reconfiguring the network model to a smaller one. By using a structured-pruning approach and additional reconfiguration techniques we introduce, the pruned model can still be efficiently processed on a GPU accelerator. Overall, PruneTrain achieves a reduction of 39% in the end-to-end training time of ResNet50 for ImageNet by reducing computation cost by 40% in FLOPs, memory accesses by 37% for memory bandwidth bound layers, and the inter-accelerator communication by 55%.

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

↑