Skip to main content
QUICK REVIEW

[论文解读] Refresh Triggered Computation: Improving the Energy Efficiency of Convolutional Neural Network Accelerators

Syed M. A. H. Jafri, Hasan Hassan|arXiv (Cornell University)|Oct 15, 2019
Advanced Neural Network ApplicationsComputer Science参考文献 111被引用 5
一句话总结

本文提出了一种软硬件协同设计技术——刷新触发计算(Refresh Triggered Computation, RTC),通过将应用程序内存访问与刷新操作同步,并消除对空闲DRAM区域的刷新,从而降低卷积神经网络(CNN)加速器中的DRAM刷新能耗。最激进的RTC变体在16GB DRAM芯片上仅引入0.18%的面积开销,即可将平均DRAM能耗降低61.3%。

ABSTRACT

To employ a Convolutional Neural Network (CNN) in an energy-constrained embedded system, it is critical for the CNN implementation to be highly energy efficient. Many recent studies propose CNN accelerator architectures with custom computation units that try to improve energy-efficiency and performance of CNNs by minimizing data transfers from DRAM-based main memory. However, in these architectures, DRAM is still responsible for half of the overall energy consumption of the system, on average. A key factor of the high energy consumption of DRAM is the refresh overhead, which is estimated to consume 40% of the total DRAM energy. In this paper, we propose a new mechanism, Refresh Triggered Computation (RTC), that exploits the memory access patterns of CNN applications to reduce the number of refresh operations. We propose three RTC designs (min-RTC, mid-RTC, and full-RTC), each of which requires a different level of aggressiveness in terms of customization to the DRAM subsystem. All of our designs have small overhead. Even the most aggressive RTC design (i.e., full-RTC) imposes an area overhead of only 0.18% in a 16 Gb DRAM chip and can have less overhead for denser chips. Our experimental evaluation on six well-known CNNs show that RTC reduces average DRAM energy consumption by 24.4% and 61.3%, for the least aggressive and the most aggressive RTC implementations, respectively. Besides CNNs, we also evaluate our RTC mechanism on three workloads from other domains. We show that RTC saves 31.9% and 16.9% DRAM energy for Face Recognition and Bayesian Confidence Propagation Neural Network (BCPNN), respectively. We believe RTC can be applied to other applications whose memory access patterns remain predictable for a sufficiently long time.

研究动机与目标

  • 为解决能效受限的CNN加速器中DRAM刷新操作带来的高能耗问题。
  • 降低DRAM能耗中占40%的刷新开销,尽管在数据移动优化方面已取得进展,但该开销仍是主要瓶颈。
  • 利用CNN中可预测且重复出现的内存访问模式,消除冗余的刷新操作。
  • 设计一种可扩展、低开销的机制,适用于具有规律性内存访问模式的各种工作负载。

提出的方法

  • 引入刷新触发传输(Refresh Triggered Transfer, RTT),利用应用程序读写访问天然刷新DRAM单元的事实,跳过刷新操作。
  • 实现部分阵列自动刷新(Partial Array Auto-Refresh, PAAR),禁用未分配或无数据的DRAM行的刷新。
  • 提出三种RTC变体——min-RTC、mid-RTC和full-RTC,提供性能、能效节省与硬件开销之间的权衡。
  • 在内存控制器和DRAM芯片中集成RTC,仅需极少修改,确保与现有系统的向后兼容性。
  • 采用混合方法,仅当应用程序访问与刷新周期重合时才触发DRAM刷新,从而减少冗余刷新周期。
  • 在六个知名CNN和三个非CNN工作负载上评估RTC,以验证其通用性。

实验结果

研究问题

  • RQ1是否可以利用CNN中应用程序的内存访问模式来减少DRAM刷新操作的次数?
  • RQ2通过消除对未分配或非活跃DRAM区域的刷新,DRAM能耗最多可降低多少?
  • RQ3RTC带来的面积和性能开销有多大?是否可以在保持高能效的同时将其最小化?
  • RQ4RTC是否可推广至CNN以外的其他工作负载?即适用于具有可预测内存访问模式的其他类型工作负载?

主要发现

  • 最激进的RTC变体(full-RTC)在六个知名CNN上实现了平均DRAM能耗61.3%的降低。
  • 即使是最不激进的变体(min-RTC)也实现了24.4%的DRAM能耗降低。
  • 对于人脸识别工作负载,RTC将DRAM能耗降低了31.9%;对于贝叶斯置信传播神经网络(BCPNN)工作负载,能耗降低了16.9%。
  • full-RTC在16GB DRAM芯片上仅引入0.18%的面积开销,且在更密集的未来DRAM技术中预期开销更低。
  • 该技术与现有优化技术(如数据压缩和SRAM缓冲)具有互补性,可结合使用以实现进一步的能耗降低。
  • RTC适用于具有规律且可预测内存访问模式的多种数据密集型工作负载,不仅限于CNN。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。