CIMPool:使用权重池实现存内计算(CIM)的可扩展神经网络加速
CIMPool: Scalable Neural Network Acceleration for Compute-In-Memory using Weight Pools
AI总结:
针对SRAM CIM执行大模型受内存限制的问题,提出CIMPool框架,通过权重池压缩技术在保证精度的同时提升压缩比,协同优化软硬件实现低开销加速,能减少面积、支持更大模型并降低能耗。
摘要:
基于存内计算(CIM)的神经网络加速器通过在内存阵列内直接计算,为冯·诺依曼瓶颈提供了一种有前景的解决方案。然而,SRAM CIM由于其单元尺寸和片上内存限制,在执行更大模型时面临挑战。本工作提出CIMPool,一种CIM感知的压缩与加速框架,通过基于权重共享的压缩技术(称为“权重池”)应对这一限制,使显著更大的神经网络能适应片上内存约束。该方法最小化参数压缩通常伴随的精度权衡,使CIMPool相比传统量化方法在同等精度下实现显著更高的压缩比。此外,CIMPool协同优化压缩算法、硬件和数据流,以高效实现权重池压缩所需的硬件置换,且面积和吞吐量开销可忽略。实验结果表明,CIMPool能以0.5位有效精度实现8位精度水平,将ResNet-18的芯片面积减少62.3%,并在给定面积预算下使SRAM CIM能执行大一个数量级的模型;当用DRAM存储权重时,相比同等精度的传统CIM,CIMPool可将总能耗降低3.24倍。
英文摘要:
Compute-in-memory (CIM) based neural network accelerators offer a promising solution to the Von Neumann bottleneck by computing directly within memory arrays. However, SRAM CIM faces limitations in executing larger models due to its cell size and on-chip memory constraints. This work proposes CIMPool, a CIM-aware compression and acceleration framework that counters this limitation through a weight sharing-based compression technique, aptly named `Weight Pool,' enabling significantly larger neural networks to be accommodated within on-chip memory constraints. This method minimizes the accuracy trade-off typically associated with parameter compression, allowing CIMPool to achieve a significantly larger compression ratio compared to the traditional quantization method with iso-accuracy. Furthermore, CIMPool co-optimizes the compression algorithm, hardware, and dataflow to efficiently implement the hardware permutation required by weight pool compression, with negligible area and throughput overhead. Empirical results demonstrate that CIMPool can achieve 8-bit level accuracy with an effective 0.5-bit precision, reduce chip area by 62.3% for ResNet-18, and enable the execution of an order of magnitude larger models for a given area budget in SRAM CIMs. When DRAM is used to store weights, CIMPool can reduce the total energy by 3.24x compared to iso-accuracy traditional CIMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。