Skip to main content
QUICK REVIEW

[论文解读] Modeling Analog-Digital-Converter Energy and Area for Compute-In-Memory Accelerator Design

Tanner Andrulis, Ruicong Chen|arXiv (Cornell University)|Apr 9, 2024
Advanced Memory and Neural ComputingEngineering被引用 3
一句话总结

本文提出了一种开源的、面向架构层面的模型,用于估算计算内存(CiM)加速器中模数转换器(ADC)的功耗与面积,仅依赖于分辨率(ENOB)、吞吐量、ADC数量和工艺节点等高层参数。该模型通过在ADC设计点之间插值,实现了快速的设计空间探索,揭示了最优ADC配置在很大程度上取决于吞吐量和架构工作负载规模,功耗与面积之间的权衡可使加速器EAP降低三倍。

ABSTRACT

Analog Compute-in-Memory (CiM) accelerators use analog-digital converters (ADCs) to read the analog values that they compute. ADCs can consume significant energy and area, so architecture-level ADC decisions such as ADC resolution or number of ADCs can significantly impact overall CiM accelerator energy and area. Therefore, modeling how architecture-level decisions affect ADC energy and area is critical for performing architecture-level design space exploration of CiM accelerators. This work presents an open-source architecture-level model to estimate ADC energy and area. To enable fast design space exploration, the model uses only architecture-level attributes while abstracting circuit-level details. Our model enables researchers to quickly and easily model key architecture-level tradeoffs in accelerators that use ADCs.

研究动机与目标

  • 为解决当前计算内存加速器中ADC功耗与面积缺乏架构级建模的问题,该问题限制了设计空间探索与不同架构间的公平比较。
  • 实现对ADC设计点(如分辨率、吞吐量、工艺节点等)的插值,而无需依赖固定且预设的ADC配置。
  • 支持对CiM加速器设计中ADC权衡的准确、一致且快速评估,尤其聚焦于功耗与面积的优化。
  • 将该模型集成至现有建模框架(如CiMLoop)中,并利用真实CiM架构(如RAELLA)进行验证。

提出的方法

  • 该模型使用四个输入参数:并行ADC数量、总吞吐量(每秒转换次数)、工艺节点(单位为nm)以及有效位数(ENOB),以表征ADC分辨率。
  • 计算每个ADC的吞吐量,并基于吞吐量、ENOB和工艺节点应用分段功耗边界,捕捉最小功耗与功耗-吞吐量权衡的极限。
  • 将功耗估算结果输入基于回归的面积模型,通过用功耗替代ENOB来提升相关性,得到:面积(μm²)= 21.1 ×(工艺)¹·⁰ ×(吞吐量)⁰·² ×(功耗/转换)⁰·³。
  • 该模型通过将估算面积优化至已发表ADC数据中最低10%的水平,提供面积与功耗的最佳情况低界。
  • 通过已发表的ADC数据集对模型进行验证,并将其应用于RAELLA CiM架构,以探索功耗、面积与EAP之间的权衡。
Figure 1: The energy and area modeling pipeline.
Figure 1: The energy and area modeling pipeline.

实验结果

研究问题

  • RQ1架构层面的决策(如ADC分辨率、ADC数量与吞吐量)如何影响CiM加速器中ADC的功耗与面积?
  • RQ2是否能够仅基于高层参数,在无需电路级细节的情况下,准确估算不同设计点的ADC功耗与面积?
  • RQ3ADC配置对CiM加速器整体功耗-面积乘积(EAP)有何影响?
  • RQ4工作负载特性(如张量大小、每次ADC转换的计算量)如何影响最优ADC设计选择?

主要发现

  • 对于高利用率的DNN层,每次ADC转换中累加的模拟值数量越多,ADC功耗越低,中型与大型RAELLA配置因实现了良好的功耗-面积平衡,从而获得最低的整体功耗。
  • ADC数量显著影响加速器的EAP,最优配置随吞吐量变化而变化:低吞吐量时采用较少ADC,高吞吐量时采用更多ADC,可使EAP降低最多三倍。
  • ADC功耗随ENOB呈指数增长,且在高吞吐量下,功耗-吞吐量权衡成为主导因素,尤其对高ENOB ADC更为显著。
  • 在面积模型中使用功耗而非ENOB,可使相关系数从0.66提升至0.75,表明功耗是比ENOB本身更优的面积预测因子。
  • 该模型支持在工艺节点(如32nm至65nm)、分辨率(4b至12b)和吞吐量(10⁶至10⁹次转换/秒)之间进行插值,支持全面的设计空间探索。
Figure 2: Published ADC throughput versus energy. Lines show energy bounds identified by the model and dots show published ADCs. ADC energy is limited by two bounds that are a function of throughput, ENOB, and technology node.
Figure 2: Published ADC throughput versus energy. Lines show energy bounds identified by the model and dots show published ADCs. ADC energy is limited by two bounds that are a function of throughput, ENOB, and technology node.

阅读本论文

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

在 Nubint 中阅读本论文

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