SparkXD:一个使用近似DRAM的弹性和节能脉冲神经网络推理框架
SparkXD: A Framework for Resilient and Energy-Efficient Spiking Neural Network Inference using Approximate DRAM
摘要:
脉冲神经网络(SNN)由于其生物稀疏计算而具有实现低能耗的潜力。一些研究表明,片外存储器(DRAM)访问是SNN处理中最耗能的操作。然而,SNN系统中的现有技术没有优化DRAM每次访问能量,从而阻碍实现高能量效率。为了基本上最小化DRAM每次访问的能量,关键旋钮是降低DRAM电源电压,但这可能导致DRAM错误(即,所谓的近似DRAM)。为此,我们提出了SparkXD,一个新的框架,提供了一个全面的联合解决方案,弹性和节能SNN推理使用低功耗DRAM受到电压引起的错误。SparkXD的关键机制是:(1)通过考虑来自近似DRAM的比特误差的故障感知训练来改进SNN误差容限,(2)分析改进的SNN模型的误差容限以找到满足目标精度约束的最大容许比特出错率(BER),以及(3)用于弹性SNN模型的能量有效的DRAM数据映射,其将权重映射在适当的DRAM位置以最小化DRAM访问能量。通过这些机制,SparkXD减轻了DRAM(近似)误差的负面影响,并提供了所需的精度。实验结果表明,对于基线设计的1%以内的目标精度(即,SNN而没有DRAM错误),SparkXD将DRAM能量降低了约10%。在不同规模的网络中平均为40%。
英文摘要:
Spiking Neural Networks (SNNs) have the potential for achieving low energy consumption due to their biologically sparse computation. Several studies have shown that the off-chip memory (DRAM) accesses are the most energy-consuming operations in SNN processing. However, state-of-the-art in SNN systems do not optimize the DRAM energy-per-access, thereby hindering achieving high energy-efficiency. To substantially minimize the DRAM energy-per-access, a key knob is to reduce the DRAM supply voltage but this may lead to DRAM errors (i.e., the so-called approximate DRAM). Towards this, we propose SparkXD, a novel framework that provides a comprehensive conjoint solution for resilient and energy-efficient SNN inference using low-power DRAMs subjected to voltage-induced errors. The key mechanisms of SparkXD are: (1) improving the SNN error tolerance through fault-aware training that considers bit errors from approximate DRAM, (2) analyzing the error tolerance of the improved SNN model to find the maximum tolerable bit error rate (BER) that meets the targeted accuracy constraint, and (3) energy-efficient DRAM data mapping for the resilient SNN model that maps the weights in the appropriate DRAM location to minimize the DRAM access energy. Through these mechanisms, SparkXD mitigates the negative impact of DRAM (approximation) errors, and provides the required accuracy. The experimental results show that, for a target accuracy within 1% of the baseline design (i.e., SNN without DRAM errors), SparkXD reduces the DRAM energy by ca. 40% on average across different network sizes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。