arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.09746cs.CV
收藏

用于更快的深度神经网络的协调过滤器

Coordinating Filters for Faster Deep Neural Networks

University of Pittsburgh(匹兹堡大学);Hewlett Packard Labs(惠普实验室);Duke University(杜克大学)

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

摘要:

超大规模深度神经网络(DNN)在各种各样的计算机视觉任务中取得了显著的成功。然而,DNN的高计算强度使得在资源有限的系统上部署这些模型具有挑战性。一些研究使用低秩方法,通过低秩基来近似滤波器以加速测试。这些工作直接通过低秩近似(LRA)分解预训练的DNN。然而,如何训练DNN向低秩空间以获得更有效的DNN,仍然是一个开放的领域。为了解决这个问题,在这项工作中,我们提出了力正则化,它使用吸引力来执行过滤器,以便将更多的权重信息协调到低秩空间中。我们从数学和经验上验证了,在应用我们的技术后,标准LRA方法可以使用更低的基来重建滤波器,从而产生更快的DNN。我们的方法的有效性在ResNets,AlexNet和GoogLeNet中进行了全面评估。例如,在AlexNet中,Force Regularization在现代GPU上获得了2倍的加速,而没有精度损失,在CPU上获得了4.05倍的加速。此外,强制正则化更好地优化了低秩DNN,使得微调可以更快地收敛到更高的精度。获得的低秩DNN可以进一步稀疏化,证明力正则化可以与最先进的基于稀疏的加速方法集成。源代码可在https://github.com/wenwei202/caffe上获得

英文摘要:

Very large-scale Deep Neural Networks (DNNs) have achieved remarkable successes in a large variety of computer vision tasks. However, the high computation intensity of DNNs makes it challenging to deploy these models on resource-limited systems. Some studies used low-rank approaches that approximate the filters by low-rank basis to accelerate the testing. Those works directly decomposed the pre-trained DNNs by Low-Rank Approximations (LRA). How to train DNNs toward lower-rank space for more efficient DNNs, however, remains as an open area. To solve the issue, in this work, we propose Force Regularization, which uses attractive forces to enforce filters so as to coordinate more weight information into lower-rank space. We mathematically and empirically verify that after applying our technique, standard LRA methods can reconstruct filters using much lower basis and thus result in faster DNNs. The effectiveness of our approach is comprehensively evaluated in ResNets, AlexNet, and GoogLeNet. In AlexNet, for example, Force Regularization gains 2x speedup on modern GPU without accuracy loss and 4.05x speedup on CPU by paying small accuracy degradation. Moreover, Force Regularization better initializes the low-rank DNNs such that the fine-tuning can converge faster toward higher accuracy. The obtained lower-rank DNNs can be further sparsified, proving that Force Regularization can be integrated with state-of-the-art sparsity-based acceleration methods. Source code is available in https://github.com/wenwei202/caffe

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

↑