分块卷积神经网络的系统方法
A Systematic Approach to Blocking Convolutional Neural Networks
摘要:
卷积神经网络(CNN)是许多计算机视觉问题的最先进解决方案,许多研究人员已经探索了优化的实现。大多数实现都是通过阻塞计算来处理CNN的大数据量和高数据重用。本文探讨了如何通过创建类似CNN的循环嵌套的分析模型来阻止CNN计算内存局部性。使用这个模型,我们自动获得优化的阻塞常见的网络,提高能源效率的自定义硬件实现高达一个数量级。与基于高度调优的手动优化BLAS库的传统CNN CPU实现相比,我们的x86程序实现了最佳分块,可将内存访问次数减少高达90%。
英文摘要:
Convolutional Neural Networks (CNNs) are the state of the art solution for many computer vision problems, and many researchers have explored optimized implementations. Most implementations heuristically block the computation to deal with the large data sizes and high data reuse of CNNs. This paper explores how to block CNN computations for memory locality by creating an analytical model for CNN-like loop nests. Using this model we automatically derive optimized blockings for common networks that improve the energy efficiency of custom hardware implementations by up to an order of magnitude. Compared to traditional CNN CPU implementations based on highly-tuned, hand-optimized BLAS libraries,our x86 programs implementing the optimal blocking reduce the number of memory accesses by up to 90%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。