arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.16246cs.ARcs.LG
收藏

PACiM:一种通过概率近似实现的以稀疏性为中心的混合存内计算架构

PACiM: A Sparsity-Centric Hybrid Compute-in-Memory Architecture via Probabilistic Approximation

Keio University(庆应义塾大学);The University of Tokyo(东京大学)

Wenlun Zhang, Shimpei Ando, Yung-Chin Chen, Satomi Miyagi, Shinya Takamaeda-Yamazaki, Kentaro Yoshioka

AI总结:

本文提出概率近似计算方法PAC及稀疏中心架构PACiM,通过将MAC向量计算简化为标量计算并消除LSB传输,在保持高精度的同时显著降低功耗和数据访问。

摘要:

近似计算正在成为提升深度神经网络处理中存内计算(CiM)系统效率的一种有前景的方法。然而,传统的近似技术通常以精度大幅下降为代价来换取功耗效率,并且无法减少主存储器与CiM存储体之间的数据传输,而数据传输正是功耗的主要来源。本文提出了一种新颖的概率近似计算(PAC)方法,该方法利用统计技术对乘累加(MAC)运算进行近似,与现有方法相比将近似误差降低了4倍。PAC通过将复杂的MAC向量计算简化为标量计算,在CiM系统中实现了高效的基于稀疏性的计算。此外,PAC还支持稀疏编码,并消除了LSB激活值的传输,显著减少了数据读写。这使得PAC区别于传统的近似计算技术,不仅将计算功耗降至最低,还将内存访问减少了50%,从而提升了系统级效率。我们开发了PACiM,这是一种以稀疏性为中心的架构,充分利用稀疏性将位串行周期减少了81%,并在65 nm CMOS工艺下实现了14.63 TOPS/W的峰值8b/8b效率,同时使用ResNet-18模型在CIFAR-10/CIFAR-100/ImageNet基准上分别保持了93.85/72.36/66.02%的高精度,证明了PAC方法的有效性。

英文摘要:

Approximate computing emerges as a promising approach to enhance the efficiency of compute-in-memory (CiM) systems in deep neural network processing. However, traditional approximate techniques often significantly trade off accuracy for power efficiency, and fail to reduce data transfer between main memory and CiM banks, which dominates power consumption. This paper introduces a novel probabilistic approximate computation (PAC) method that leverages statistical techniques to approximate multiply-and-accumulation (MAC) operations, reducing approximation error by 4X compared to existing approaches. PAC enables efficient sparsity-based computation in CiM systems by simplifying complex MAC vector computations into scalar calculations. Moreover, PAC enables sparsity encoding and eliminates the LSB activations transmission, significantly reducing data reads and writes. This sets PAC apart from traditional approximate computing techniques, minimizing not only computation power but also memory accesses by 50%, thereby boosting system-level efficiency. We developed PACiM, a sparsity-centric architecture that fully exploits sparsity to reduce bit-serial cycles by 81% and achieves a peak 8b/8b efficiency of 14.63 TOPS/W in 65 nm CMOS while maintaining high accuracy of 93.85/72.36/66.02% on CIFAR-10/CIFAR-100/ImageNet benchmarks using a ResNet-18 model, demonstrating the effectiveness of our PAC methodology.

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

↑