EnforceSNN:面向嵌入式系统考虑近似DRAM的弹性且节能的脉冲神经网络推理使能框架
EnforceSNN: Enabling Resilient and Energy-Efficient Spiking Neural Network Inference considering Approximate DRAMs for Embedded Systems
AI总结:
针对SNN片外DRAM访问能耗高的问题,提出EnforceSNN框架,通过量化权重、优化映射策略和故障感知训练,在降压近似DRAM下实现高容错与高能效推理,最高节能84.9%并加速4.1倍。
摘要:
脉冲神经网络(SNNs)因其生物启发的计算方式,展现出在无监督设置下实现高精度以及低运行功耗/能量的能力。先前的研究指出,基于DRAM的片外存储器访问主导了SNN处理的能耗。然而,现有技术并未优化DRAM的每次访问能耗,从而阻碍了基于SNN的系统获得进一步的能效提升。为了大幅降低DRAM的每次访问能耗,一种有效的解决方案是降低DRAM的供电电压,但这可能导致DRAM单元出现错误(即所谓的近似DRAM)。针对此,我们提出了EnforceSNN,这是一种新颖的设计框架,为嵌入式系统使用降压DRAM提供了具备弹性和高能效的SNN推理解决方案。我们EnforceSNN的关键机制是:(1)采用量化权重以降低DRAM访问能耗;(2)设计高效的DRAM映射策略以最小化DRAM每次访问能耗;(3)分析SNN的容错能力,以了解其在不同误码率(BER)值下的准确率表现;(4)利用这些信息开发一种高效的故障感知训练(FAT),该训练考虑DRAM中不同的BER值和比特错误位置,以提高SNN的容错能力;(5)开发一种算法来选择在准确率、内存和能耗之间提供良好权衡的SNN模型。实验结果表明,与使用准确DRAM的基线SNN相比,我们的EnforceSNN保持了准确率(即BER小于等于10^-3时无准确率损失),同时在不同网络规模下实现了高达84.9%的DRAM节能以及高达4.1倍的DRAM数据吞吐量加速。
英文摘要:
Spiking Neural Networks (SNNs) have shown capabilities of achieving high accuracy under unsupervised settings and low operational power/energy due to their bio-plausible computations. Previous studies identified that DRAM-based off-chip memory accesses dominate the energy consumption of SNN processing. However, state-of-the-art works do not optimize the DRAM energy-per-access, thereby hindering the SNN-based systems from achieving further energy efficiency gains. To substantially reduce the DRAM energy-per-access, an effective solution is to decrease the DRAM supply voltage, but it may lead to errors in DRAM cells (i.e., so-called approximate DRAM). Towards this, we propose \textit{EnforceSNN}, a novel design framework that provides a solution for resilient and energy-efficient SNN inference using reduced-voltage DRAM for embedded systems. The key mechanisms of our EnforceSNN are: (1) employing quantized weights to reduce the DRAM access energy; (2) devising an efficient DRAM mapping policy to minimize the DRAM energy-per-access; (3) analyzing the SNN error tolerance to understand its accuracy profile considering different bit error rate (BER) values; (4) leveraging the information for developing an efficient fault-aware training (FAT) that considers different BER values and bit error locations in DRAM to improve the SNN error tolerance; and (5) developing an algorithm to select the SNN model that offers good trade-offs among accuracy, memory, and energy consumption. The experimental results show that our EnforceSNN maintains the accuracy (i.e., no accuracy loss for BER less-or-equal 10^-3) as compared to the baseline SNN with accurate DRAM, while achieving up to 84.9\% of DRAM energy saving and up to 4.1x speed-up of DRAM data throughput across different network sizes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。