HCiM:用于深度学习工作负载的无ADC混合模数存内计算加速器
HCiM: ADC-Less Hybrid Analog-Digital Compute in Memory Accelerator for Deep Learning Workloads
AI总结:
针对模拟CiM加速器中ADC带来的高功耗与面积开销问题,提出无ADC的混合模数加速器HCiM,结合模拟交叉阵列与数字CiM阵列处理缩放因子,实现最高28%的能耗降低。
摘要:
模拟存内计算(CiM)加速器因其在加速深度神经网络(DNN)方面的效率而日益受到认可。然而,它们依赖模数转换器(ADC)来累加来自交叉阵列的部分和,导致显著的功耗和面积开销。此外,ADC的高面积开销限制了吞吐量,因为每个交叉阵列可集成的ADC数量有限。缓解此问题的一种方法是对部分和采用极低精度量化(二值或三值)。基于这种方法的训练消除了对ADC的需求。虽然该策略有效降低了ADC成本,但也带来了管理大量浮点缩放因子的挑战,这些因子是像DNN权重一样的可训练参数。这些缩放因子必须在交叉阵列的列上与二值或三值输出相乘,以确保系统精度。为此,我们提出了一种算法-硬件协同设计方法,首先使用量化感知训练对DNN进行训练。随后,我们引入了HCiM,一种无ADC的混合模数CiM加速器。HCiM使用模拟CiM交叉阵列执行矩阵-向量乘法操作,并结合专用于处理缩放因子的数字CiM阵列。该数字CiM阵列能在存储阵列内执行加法和减法操作,从而提高处理速度。此外,它利用三值量化中固有的稀疏性来实现进一步的节能。与使用7位和4位ADC的模拟CiM基准架构相比,HCiM分别实现了高达28%和12%的能耗降低。
英文摘要:
Analog Compute-in-Memory (CiM) accelerators are increasingly recognized for their efficiency in accelerating Deep Neural Networks (DNN). However, their dependence on Analog-to-Digital Converters (ADCs) for accumulating partial sums from crossbars leads to substantial power and area overhead. Moreover, the high area overhead of ADCs constrains the throughput due to the limited number of ADCs that can be integrated per crossbar. An approach to mitigate this issue involves the adoption of extreme low-precision quantization (binary or ternary) for partial sums. Training based on such an approach eliminates the need for ADCs. While this strategy effectively reduces ADC costs, it introduces the challenge of managing numerous floating-point scale factors, which are trainable parameters like DNN weights. These scale factors must be multiplied with the binary or ternary outputs at the columns of the crossbar to ensure system accuracy. To that effect, we propose an algorithm-hardware co-design approach, where DNNs are first trained with quantization-aware training. Subsequently, we introduce HCiM, an ADC-Less Hybrid Analog-Digital CiM accelerator. HCiM uses analog CiM crossbars for performing Matrix-Vector Multiplication operations coupled with a digital CiM array dedicated to processing scale factors. This digital CiM array can execute both addition and subtraction operations within the memory array, thus enhancing processing speed. Additionally, it exploits the inherent sparsity in ternary quantization to achieve further energy savings. Compared to an analog CiM baseline architecture using 7 and 4-bit ADC, HCiM achieves energy reductions up to 28% and 12%, respectively
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。