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

MEC:深度神经网络的记忆高效卷积

MEC: Memory-efficient Convolution for Deep Neural Network

IBM T. J. Watson Research Center(IBM T. J. Watson 研究中心)

Minsik Cho, Daniel Brand

摘要:

卷积是现代深度神经网络中的关键组成部分,因此已经开发了几种卷积算法。直接卷积是简单的,但遭受较差的性能。作为替代方案,已经提出了多种间接方法,包括基于im 2col的卷积、基于FFT的卷积或基于Winograd的算法。然而,所有这些间接方法都有很高的内存开销,这会导致性能下降,并在性能和内存消耗之间提供了很差的权衡。在这项工作中,我们提出了一个内存有效的卷积或MEC与紧凑的降低,这大大减少了内存开销,加快卷积过程。MEC以简单而有效/紧凑的方式降低输入矩阵(即,少得多的存储器开销),然后并行执行多个小矩阵乘法以完成卷积。此外,减少的内存占用提高了内存子系统的效率,从而提高了性能。我们的实验结果表明,MEC减少了内存消耗显着与良好的加速比在移动和服务器平台上,与其他间接卷积算法相比。

英文摘要:

Convolution is a critical component in modern deep neural networks, thus several algorithms for convolution have been developed. Direct convolution is simple but suffers from poor performance. As an alternative, multiple indirect methods have been proposed including im2col-based convolution, FFT-based convolution, or Winograd-based algorithm. However, all these indirect methods have high memory-overhead, which creates performance degradation and offers a poor trade-off between performance and memory consumption. In this work, we propose a memory-efficient convolution or MEC with compact lowering, which reduces memory-overhead substantially and accelerates convolution process. MEC lowers the input matrix in a simple yet efficient/compact way (i.e., much less memory-overhead), and then executes multiple small matrix multiplications in parallel to get convolution completed. Additionally, the reduced memory footprint improves memory sub-system efficiency, improving performance. Our experimental results show that MEC reduces memory consumption significantly with good speedup on both mobile and server platforms, compared with other indirect convolution algorithms.

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

↑