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

深度神经网络中的结构稀疏性学习

Learning Structured Sparsity in Deep Neural Networks

University of Pittsburgh(匹兹堡大学)

Wei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, Hai Li

摘要:

对计算资源的高需求严重阻碍了大规模深度神经网络(DNN)在资源受限设备中的部署。在这项工作中,我们提出了一种结构化稀疏学习(SSL)方法来正则化结构(即,过滤器、通道、过滤器形状和层深度)。SSL可以:(1)从更大的DNN中学习紧凑的结构以降低计算成本;(2)获得DNN的硬件友好的结构化稀疏性以有效地加速DNN评估。实验结果表明,SSL使用现成的库分别实现了AlexNet对CPU和GPU的卷积层计算的平均5.1倍和3.1倍加速。这些加速比是非结构稀疏性的两倍;(3)正则化DNN结构以提高分类精度。结果表明,对于CIFAR-10,层深度正则化可以将深度残差网络(ResNet)的20层减少到18层,同时将准确率从91.25%提高到92.60%,仍然略高于原始ResNet的32层。对于AlexNet,SSL的结构正则化也将误差降低了约1%。开放源代码在https://github.com/wenwei202/caffe/tree/scnn

英文摘要:

High demand for computation resources severely hinders deployment of large-scale Deep Neural Networks (DNN) in resource constrained devices. In this work, we propose a Structured Sparsity Learning (SSL) method to regularize the structures (i.e., filters, channels, filter shapes, and layer depth) of DNNs. SSL can: (1) learn a compact structure from a bigger DNN to reduce computation cost; (2) obtain a hardware-friendly structured sparsity of DNN to efficiently accelerate the DNNs evaluation. Experimental results show that SSL achieves on average 5.1x and 3.1x speedups of convolutional layer computation of AlexNet against CPU and GPU, respectively, with off-the-shelf libraries. These speedups are about twice speedups of non-structured sparsity; (3) regularize the DNN structure to improve classification accuracy. The results show that for CIFAR-10, regularization on layer depth can reduce 20 layers of a Deep Residual Network (ResNet) to 18 layers while improve the accuracy from 91.25% to 92.60%, which is still slightly higher than that of original ResNet with 32 layers. For AlexNet, structure regularization by SSL also reduces the error by around ~1%. Open source code is in https://github.com/wenwei202/caffe/tree/scnn

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

↑