核分离转置卷积运算
Kernel-Segregated Transpose Convolution Operation
摘要:
转置卷积在许多深度学习应用中表现出突出的地位。然而,转置卷积层的计算量很大,因为每行和每列中的每个元素后添加零会增加特征图大小。因此,对扩展的输入特征图的卷积操作导致硬件资源的不良利用。不必要的乘法运算的主要原因是输入特征图中预定义位置处的零。我们提出了一个算法级的优化技术,有效的转置卷积实现来解决这些问题。基于内核激活,我们将原始内核分为四个子内核。该方案可以减少存储器需求和不必要的乘法。我们提出的方法是使用Titan X GPU(英特尔双核CPU)和来自Kaggle网站的花数据集进行$3.09 (3.02) \times$更快的计算。此外,所提出的优化方法可以推广到现有的设备,而无需额外的硬件要求。使用包含一个转置卷积层的简单深度学习模型来评估优化方法。它显示了使用带有英特尔双核CPU的MNIST数据集进行$2.2 \times$训练的速度比传统实现更快。
英文摘要:
Transpose convolution has shown prominence in many deep learning applications. However, transpose convolution layers are computationally intensive due to the increased feature map size due to adding zeros after each element in each row and column. Thus, convolution operation on the expanded input feature map leads to poor utilization of hardware resources. The main reason for unnecessary multiplication operations is zeros at predefined positions in the input feature map. We propose an algorithmic-level optimization technique for the effective transpose convolution implementation to solve these problems. Based on kernel activations, we segregated the original kernel into four sub-kernels. This scheme could reduce memory requirements and unnecessary multiplications. Our proposed method was $3.09 (3.02) \times$ faster computation using the Titan X GPU (Intel Dual Core CPU) with a flower dataset from the Kaggle website. Furthermore, the proposed optimization method can be generalized to existing devices without additional hardware requirements. A simple deep learning model containing one transpose convolution layer was used to evaluate the optimization method. It showed $2.2 \times$ faster training using the MNIST dataset with an Intel Dual-core CPU than the conventional implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。