BP-Im2col:隐式Im2col,支持在Sysplane阵列上进行AI反向传播
BP-Im2col: Implicit Im2col Supporting AI Backpropagation on Systolic Arrays
摘要:
最先进的基于脉动阵列的加速器采用传统的im 2col算法来加速卷积层的推理。然而,传统的im 2col不能有效地支持AI反向传播。卷积层中的反向传播涉及执行转置卷积和扩张卷积,这通常会在特征映射或内核中引入大量的零空间。零空间数据重组干扰训练的连续性,并在片外和片上存储、访问和性能方面产生额外的和不可忽略的开销。由于反向传播的对策很少提出,我们提出了BP-im 2col,一种新的im 2col算法人工智能反向传播,并实现在RTL的TPU类加速器。在TPU类加速器上的实验表明,与采用传统im 2col的基准加速器相比,BP-im 2col平均减少了34.9%的反向传播运行时间,并将片外存储器和片上缓冲区的带宽分别减少了至少22.7%和70.6%。它进一步减少了反向传播过程中的额外存储开销至少74.78%。
英文摘要:
State-of-the-art systolic array-based accelerators adopt the traditional im2col algorithm to accelerate the inference of convolutional layers. However, traditional im2col cannot efficiently support AI backpropagation. Backpropagation in convolutional layers involves performing transposed convolution and dilated convolution, which usually introduces plenty of zero-spaces into the feature map or kernel. The zero-space data reorganization interfere with the continuity of training and incur additional and non-negligible overhead in terms of off- and on-chip storage, access and performance. Since countermeasures for backpropagation are rarely proposed, we propose BP-im2col, a novel im2col algorithm for AI backpropagation, and implement it in RTL on a TPU-like accelerator. Experiments on TPU-like accelerator indicate that BP-im2col reduces the backpropagation runtime by 34.9% on average, and reduces the bandwidth of off-chip memory and on-chip buffers by at least 22.7% and 70.6% respectively, over a baseline accelerator adopting the traditional im2col. It further reduces the additional storage overhead in the backpropagation process by at least 74.78%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。