arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.14978eess.SPcs.AReess.IV
收藏

模拟还是数字内存计算?通过定量建模进行基准测试

Analog or Digital In-memory Computing? Benchmarking through Quantitative Modeling

Jiacong Sun, Pouya Houshmand, Marian Verhelst

AI总结:

本文提出一种经实验验证的IMC性能模型,系统比较模拟与数字内存计算架构,发现大宏单元AIMC在卷积层能效更优,小宏单元DIMC在深度可分离层更优。

摘要:

内存计算(IMC)已成为边缘端高能效、高吞吐率和高面积效率机器学习的一种有前景的范式。然而,已发表的IMC实现之间在硬件架构、阵列尺寸和制造工艺上的差异,使得理解它们的相对优势变得困难。此外,先前的研究主要集中于探索和基准测试单个IMC宏单元的峰值性能,而非在真实工作负载上的完整系统性能。本文旨在解决模拟内存计算(AIMC)和数字内存计算(DIMC)处理器架构缺乏定量比较的问题。我们提出了一种分析性IMC性能模型,该模型针对已发表的实现进行了验证,并集成到一个系统级探索框架中,以在不同IMC配置下对不同工作负载进行全面性能评估。我们的实验表明,虽然DIMC通常比AIMC具有更高的计算密度,但在卷积层和逐点层上,具有大宏单元尺寸的AIMC可能比DIMC具有更好的能效,因为这些层可以利用高空间展开。另一方面,具有小宏单元尺寸的DIMC在深度可分离层上优于AIMC,因为这些层在宏单元内部的空间展开机会有限。

英文摘要:

In-Memory Computing (IMC) has emerged as a promising paradigm for energy-efficient, throughput-efficient and area-efficient machine learning at the edge. However, the differences in hardware architectures, array dimensions, and fabrication technologies among published IMC realizations have made it difficult to grasp their relative strengths. Moreover, previous studies have primarily focused on exploring and benchmarking the peak performance of a single IMC macro rather than full system performance on real workloads. This paper aims to address the lack of a quantitative comparison of Analog In-Memory Computing (AIMC) and Digital In-Memory Computing (DIMC) processor architectures. We propose an analytical IMC performance model that is validated against published implementations and integrated into a system-level exploration framework for comprehensive performance assessments on different workloads with varying IMC configurations. Our experiments show that while DIMC generally has higher computational density than AIMC, AIMC with large macro sizes may have better energy efficiency than DIMC on convolutional-layers and pointwise-layers, which can exploit high spatial unrolling. On the other hand, DIMC with small macro size outperforms AIMC on depthwise-layers, which feature limited spatial unrolling opportunities inside a macro.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑