EDEN:使用近似DRAM实现节能、高性能的深度神经网络推理
EDEN: Enabling Energy-Efficient, High-Performance Deep Neural Network Inference Using Approximate DRAM
摘要:
深度神经网络(DNN)在视觉、语音和语言处理中的有效性促使人们对节能的高性能DNN推理系统产生了巨大的需求。由于大多数DNN工作负载的内存密度不断增加,主内存可以主导系统的能耗和停滞时间。降低DNN推理系统的能耗并提高其性能的一种有效方法是使用近似存储器,该近似存储器以降低的电源电压和降低的访问延迟参数进行操作,这些参数违反了标准规范。使用近似存储器降低了可靠性,导致更高的位出错率。幸运的是,神经网络有一个内在的能力,容忍增加的比特错误。这可以使得能够使用近似DRAM设备进行能量高效和高性能的神经网络推断。基于这一观察结果,我们提出了EDEN,这是一个通用框架,通过使用近似的DRAM设备来降低DNN能耗和DNN评估延迟,同时严格满足用户指定的目标DNN精度。EDEN依赖于两个关键思想:1)针对目标近似DRAM设备重新训练DNN以增加DNN的容错性,以及2)以满足用户指定的DNN精度要求的方式将每个单独DNN数据类型的容错性有效映射到对应的近似DRAM分区。我们评估EDEN的多核CPU,GPU和DNN加速器的错误模型从真正的近似DRAM设备。对于在原始DNN的1%内的目标精度,我们的结果显示EDEN实现了1)在CPU、GPU和两个DNN加速器架构中分别平均DRAM能量减少21%、37%、31%和32%,以及2)平均(最大)加速8%(17%)和2.7%。(5.5%)在CPU和GPU架构中,当评估延迟绑定的DNN时。
英文摘要:
The effectiveness of deep neural networks (DNN) in vision, speech, and language processing has prompted a tremendous demand for energy-efficient high-performance DNN inference systems. Due to the increasing memory intensity of most DNN workloads, main memory can dominate the system's energy consumption and stall time. One effective way to reduce the energy consumption and increase the performance of DNN inference systems is by using approximate memory, which operates with reduced supply voltage and reduced access latency parameters that violate standard specifications. Using approximate memory reduces reliability, leading to higher bit error rates. Fortunately, neural networks have an intrinsic capacity to tolerate increased bit errors. This can enable energy-efficient and high-performance neural network inference using approximate DRAM devices. Based on this observation, we propose EDEN, a general framework that reduces DNN energy consumption and DNN evaluation latency by using approximate DRAM devices, while strictly meeting a user-specified target DNN accuracy. EDEN relies on two key ideas: 1) retraining the DNN for a target approximate DRAM device to increase the DNN's error tolerance, and 2) efficient mapping of the error tolerance of each individual DNN data type to a corresponding approximate DRAM partition in a way that meets the user-specified DNN accuracy requirements. We evaluate EDEN on multi-core CPUs, GPUs, and DNN accelerators with error models obtained from real approximate DRAM devices. For a target accuracy within 1% of the original DNN, our results show that EDEN enables 1) an average DRAM energy reduction of 21%, 37%, 31%, and 32% in CPU, GPU, and two DNN accelerator architectures, respectively, across a variety of DNNs, and 2) an average (maximum) speedup of 8% (17%) and 2.7% (5.5%) in CPU and GPU architectures, respectively, when evaluating latency-bound DNNs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。