arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.10042cs.ARcs.DC
收藏

BlockAMC:用于求解线性系统的可扩展存内模拟矩阵计算

BlockAMC: Scalable In-Memory Analog Matrix Computing for Solving Linear Systems

Lunshuai Pan, Pushen Zuo, Yubiao Luo, Zhong Sun, Ru Huang

AI总结:

针对存内模拟矩阵计算受阵列良率、器件非理想性和硬件成本限制而难以扩展的问题,本文提出BlockAMC分块分治求解器,提升可扩展性与精度,并显著改善面积和能效。

摘要:

近年来,采用非易失性阻变存储器的存内模拟矩阵计算(AMC)已被开发出来,用于一步求解矩阵问题,例如求解线性系统中的矩阵求逆。然而,由于阻变存储器阵列在可制造性和良率方面的限制、器件与电路的非理想性以及硬件实现成本,模拟特性给AMC的可扩展性设置了障碍。为了提供一种可扩展的AMC方法来求解线性系统,本工作提出了BlockAMC,它将大型原始矩阵划分到不同存储器阵列上的较小矩阵。该工作设计了一个宏单元,用于对分块矩阵执行矩阵求逆和矩阵-向量乘法,从而获得用于恢复原始解的部分解。通过执行多阶段分治,分块矩阵的尺寸可以呈指数级减小,从而形成增强该方法可扩展性的两阶段求解器设计。BlockAMC还有利于缓解AMC的精度问题,尤其是在存在器件和电路非理想性(如电导变化和互连电阻)的情况下。与求解同一问题的单个AMC电路相比,BlockAMC将面积效率和能效分别提高了48.83%和40%。

英文摘要:

Recently, in-memory analog matrix computing (AMC) with nonvolatile resistive memory has been developed for solving matrix problems in one step, e.g., matrix inversion of solving linear systems. However, the analog nature sets up a barrier to the scalability of AMC, due to the limits on the manufacturability and yield of resistive memory arrays, non-idealities of device and circuit, and cost of hardware implementations. Aiming to deliver a scalable AMC approach for solving linear systems, this work presents BlockAMC, which partitions a large original matrix into smaller ones on different memory arrays. A macro is designed to perform matrix inversion and matrix-vector multiplication with the block matrices, obtaining the partial solutions to recover the original solution. The size of block matrices can be exponentially reduced by performing multiple stages of divide-and-conquer, resulting in a two-stage solver design that enhances the scalability of this approach. BlockAMC is also advantageous in alleviating the accuracy issue of AMC, especially in the presence of device and circuit non-idealities, such as conductance variations and interconnect resistances. Compared to a single AMC circuit solving the same problem, BlockAMC improves the area and energy efficiency by 48.83% and 40%, respectively.

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

↑