arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.16075cs.ARcs.CRcs.ETcs.LG
收藏

DARTH-PUM:一种混合处理-存储-记忆架构

DARTH-PUM: A Hybrid Processing-Using-Memory Architecture

Sandia National Laboratories(沙达国家实验室)

Ryan Wong, Ben Feinberg, Saugata Ghose

AI总结:

DARTH-PUM是一种通用混合PUM架构,通过优化外围电路和编程接口,实现高效内存计算,适用于多种应用领域。

摘要:

类比处理-存储-记忆(PUM;也称为内存计算)利用内存数组内的电相互作用来执行大规模矩阵-向量乘法(MVM)操作。然而,许多流行的基于矩阵的内核需要执行非MVM操作,而类比PUM无法直接执行。为了保持其能耗效率,类比PUM架构在内存数组中加入了基于CMOS的专用固定功能硬件,以提供完整的内核功能,但将此类专用CMOS逻辑与内存数组集成的难度极大地限制了类比PUM只能作为机器学习推理加速器或与之相关的内核使用。有机会利用类比PUM进行通用计算:最近的工作表明,内存数组也可以执行布尔PUM操作,尽管其支持的硬件和电信号与类比PUM有很大不同。我们提出了DARTH-PUM,一种通用的混合PUM架构,旨在解决将类比PUM和数字PUM集成在一起的关键硬件和软件挑战。我们提出了优化的外围电路,协调硬件以管理和接口两种类型的PUM,易于使用的编程接口,以及低成本的支持灵活数据宽度。这些设计元素使我们能够构建一个实用的PUM架构,能够完全在内存中执行内核,并能够轻松扩展以适应从嵌入式应用到大规模数据驱动计算的各个领域。我们展示了三个流行的应用(AES加密、卷积神经网络、大语言模型)如何映射到并从DARTH-PUM中受益,其速度提升分别为类比+CPU基准的59.4倍、14.8倍和40.8倍。

英文摘要:

Analog processing-using-memory (PUM; a.k.a. in-memory computing) makes use of electrical interactions inside memory arrays to perform bulk matrix-vector multiplication (MVM) operations. However, many popular matrix-based kernels need to execute non-MVM operations, which analog PUM cannot directly perform. To retain its energy efficiency, analog PUM architectures augment memory arrays with CMOS-based domain-specific fixed-function hardware to provide complete kernel functionality, but the difficulty of integrating such specialized CMOS logic with memory arrays has largely limited analog PUM to being an accelerator for machine learning inference, or for closely related kernels. An opportunity exists to harness analog PUM for general-purpose computation: recent works have shown that memory arrays can also perform Boolean PUM operations, albeit with very different supporting hardware and electrical signals than analog PUM. We propose DARTH-PUM, a general-purpose hybrid PUM architecture that tackles key hardware and software challenges to integrating analog PUM and digital PUM. We propose optimized peripheral circuitry, coordinating hardware to manage and interface between both types of PUM, an easy-to-use programming interface, and low-cost support for flexible data widths. These design elements allow us to build a practical PUM architecture that can execute kernels fully in memory, and can scale easily to cater to domains ranging from embedded applications to large-scale data-driven computing. We show how three popular applications (AES encryption, convolutional neural networks, large-language models) can map to and benefit from DARTH-PUM, with speedups of 59.4x, 14.8x, and 40.8x over an analog+CPU baseline.

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

↑