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

CAP-RAM:用于精确和可编程CNN推断的电荷域存内计算6 T- SRAM

CAP-RAM: A Charge-Domain In-Memory Computing 6T-SRAM for Accurate and Precision-Programmable CNN Inference

Rice University(莱斯大学);Northeastern University(东北大学)

Zhiyu Chen, Zhanghao Yu, Qing Jin, Yan He, Jingyu Wang, Sheng Lin, Dai Li, Yanzhi Wang, Kaiyuan Yang

摘要:

提出了一种紧凑、精确、位宽度可编程的存内计算(IMC)静态随机存取存储器(SRAM)宏(CAP-RAM),用于高效节能的卷积神经网络(CNN)推理。与传统IMC设计相比,它利用了一种新颖的电荷域乘法和累积(MAC)机制和电路,在工艺变化下实现卓越的线性度。采用半并行架构,有效地存储滤波器从多个CNN层共享8个标准的6 T SRAM单元与一个电荷域MAC电路。此外,支持多达六个级别的位宽的权重与两个编码方案和八个级别的输入激活。7位电荷注入SAR(ciSAR)模数转换器(ADC)摆脱了采样保持(S&H)和输入/参考缓冲器,进一步提高了整体能效和吞吐量。一个65纳米的原型验证了良好的线性和计算精度的CAP-RAM。单个512 x128宏存储一个完整的修剪和量化的CNN模型,在MNIST数据集上实现98.8%的推理准确度,在CIFAR-10数据集上实现89.0%的推理准确度,峰值吞吐量为573.4千兆操作每秒(GOPS),能效为49.4兆操作每秒(TOPS)/W。

英文摘要:

A compact, accurate, and bitwidth-programmable in-memory computing (IMC) static random-access memory (SRAM) macro, named CAP-RAM, is presented for energy-efficient convolutional neural network (CNN) inference. It leverages a novel charge-domain multiply-and-accumulate (MAC) mechanism and circuitry to achieve superior linearity under process variations compared to conventional IMC designs. The adopted semi-parallel architecture efficiently stores filters from multiple CNN layers by sharing eight standard 6T SRAM cells with one charge-domain MAC circuit. Moreover, up to six levels of bit-width of weights with two encoding schemes and eight levels of input activations are supported. A 7-bit charge-injection SAR (ciSAR) analog-to-digital converter (ADC) getting rid of sample and hold (S&H) and input/reference buffers further improves the overall energy efficiency and throughput. A 65-nm prototype validates the excellent linearity and computing accuracy of CAP-RAM. A single 512x128 macro stores a complete pruned and quantized CNN model to achieve 98.8% inference accuracy on the MNIST data set and 89.0% on the CIFAR-10 data set, with a 573.4-giga operations per second (GOPS) peak throughput and a 49.4-tera operations per second (TOPS)/W energy efficiency.

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

↑