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

Deep Learning Approximation:Zero-Shot神经网络加速

Deep Learning Approximation: Zero-Shot Neural Network Speedup

Michele Pratusevich

摘要:

神经网络为一系列问题提供了高精度的解决方案,但由于前向传递期间的计算和存储器要求,因此在生产系统中运行成本很高。给定一个经过训练的网络,我们提出了一种称为深度学习近似的技术,通过只操纵网络结构和系数,而不需要重新训练或访问训练数据,在训练所需时间的一小部分内构建一个更快的网络。加速是通过应用一系列顺序的独立优化来实现的,这些优化减少了执行前向传递所需的浮点运算(FLOP)。首先,应用无损优化,然后使用奇异值分解(SVD)和低秩矩阵分解进行有损近似。根据用户指定的单个参数,通过权衡相对精度损失和FLOP减少来选择最佳近似。在使用YOLO网络的PASCAL VOC 2007上,我们展示了网络前向传递的端到端2倍加速,mAP下降了5%,可以通过微调重新获得。

英文摘要:

Neural networks offer high-accuracy solutions to a range of problems, but are costly to run in production systems because of computational and memory requirements during a forward pass. Given a trained network, we propose a techique called Deep Learning Approximation to build a faster network in a tiny fraction of the time required for training by only manipulating the network structure and coefficients without requiring re-training or access to the training data. Speedup is achieved by by applying a sequential series of independent optimizations that reduce the floating-point operations (FLOPs) required to perform a forward pass. First, lossless optimizations are applied, followed by lossy approximations using singular value decomposition (SVD) and low-rank matrix decomposition. The optimal approximation is chosen by weighing the relative accuracy loss and FLOP reduction according to a single parameter specified by the user. On PASCAL VOC 2007 with the YOLO network, we show an end-to-end 2x speedup in a network forward pass with a 5% drop in mAP that can be re-gained by finetuning.

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

↑