arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1411.2860cs.MMcs.MS
收藏

广义矩阵乘法和卷积核的线性投影精度-能量-投影标度

Precision-Energy-Throughput Scaling Of Generic Matrix Multiplication and Convolution Kernels Via Linear Projections

Mohammad Ashraful Anam, Paul N. Whatmough, Yiannis Andreopoulos

摘要:

通用矩阵乘法(GEMM)和一维卷积/互相关(CONV)内核通常构成图像/音频识别和匹配系统内的大量计算和存储密集型处理。我们提出了一种新的方法来缩放的能量和处理吞吐量的GEMM和CONV内核的容错多媒体应用程序通过调整计算精度。我们的技术在顶层GEMM和CONV分块和重新排序期间对输入矩阵或信号数据采用线性投影。然后,GEMM和CONV内核处理使用投影输入,并将结果累积以形成最终输出。通过改变由每个内核计算的投影的数量来进行吞吐量和能量缩放,这进而产生近似结果,即改变所执行的计算的精度。在一个电压和频率可调的ARM Cortex A15处理器上运行人脸识别和音乐匹配算法的实验结果表明,与优化的GEMM和CONV核相比,该方法在不影响识别和匹配精度的情况下,处理吞吐量提高了280%~440%,能耗降低了75%~80%.如果人们愿意容忍识别和匹配应用的准确性的一些降低,则可以获得甚至更高的增益。

英文摘要:

Generic matrix multiplication (GEMM) and one-dimensional convolution/cross-correlation (CONV) kernels often constitute the bulk of the compute- and memory-intensive processing within image/audio recognition and matching systems. We propose a novel method to scale the energy and processing throughput of GEMM and CONV kernels for such error-tolerant multimedia applications by adjusting the precision of computation. Our technique employs linear projections to the input matrix or signal data during the top-level GEMM and CONV blocking and reordering. The GEMM and CONV kernel processing then uses the projected inputs and the results are accumulated to form the final outputs. Throughput and energy scaling takes place by changing the number of projections computed by each kernel, which in turn produces approximate results, i.e. changes the precision of the performed computation. Results derived from a voltage- and frequency-scaled ARM Cortex A15 processor running face recognition and music matching algorithms demonstrate that the proposed approach allows for 280%~440% increase of processing throughput and 75%~80% decrease of energy consumption against optimized GEMM and CONV kernels without any impact in the obtained recognition or matching accuracy. Even higher gains can be obtained if one is willing to tolerate some reduction in the accuracy of the recognition and matching applications.

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

↑