dCSR:一种存储效率高的并行神经网络稀疏矩阵表示
dCSR: A Memory-Efficient Sparse Matrix Representation for Parallel Neural Network Inference
摘要:
减少神经网络的内存占用是将其部署在小型低成本嵌入式设备中的关键先决条件。网络参数通常可以通过修剪显著减少。我们将讨论如何最好地代表稀疏网络的索引开销,为下一代的单指令,多数据(SIMD)功能的微控制器。从这个,我们开发增量压缩存储行(dCSR),稀疏矩阵的存储格式,允许低开销存储和快速推理的嵌入式系统与广泛的SIMD单元。我们展示了我们的方法在ARM Cortex-M55 MCU原型与M-Profile矢量扩展(MVE)。内存消耗和吞吐量的比较表明,我们的方法实现了有竞争力的压缩比,并增加了密集的方法高达$2.9 \times$稀疏矩阵向量乘法(SpMV)为基础的内核和$1.06 \times$稀疏矩阵矩阵乘法(SpMM)的吞吐量。这是通过在SIMD单元中直接处理索引信息的生成来实现的,从而导致有效内存带宽的增加。
英文摘要:
Reducing the memory footprint of neural networks is a crucial prerequisite for deploying them in small and low-cost embedded devices. Network parameters can often be reduced significantly through pruning. We discuss how to best represent the indexing overhead of sparse networks for the coming generation of Single Instruction, Multiple Data (SIMD)-capable microcontrollers. From this, we develop Delta-Compressed Storage Row (dCSR), a storage format for sparse matrices that allows for both low overhead storage and fast inference on embedded systems with wide SIMD units. We demonstrate our method on an ARM Cortex-M55 MCU prototype with M-Profile Vector Extension(MVE). A comparison of memory consumption and throughput shows that our method achieves competitive compression ratios and increases throughput over dense methods by up to $2.9 \times$ for sparse matrix-vector multiplication (SpMV)-based kernels and $1.06 \times$ for sparse matrix-matrix multiplication (SpMM). This is accomplished through handling the generation of index information directly in the SIMD unit, leading to an increase in effective memory bandwidth.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。