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

三线计算-在-内存架构用于节能Transformer加速

Trilinear Compute-in-Memory Architecture for Energy-Efficient Transformer Acceleration

The Pennsylvania State University(宾夕法尼亚州立大学);University of Notre Dame(圣母大学)

Md Zesun Ahmed Mia, Jiahui Duan, Kai Ni, Abhronil Sengupta

AI总结:

本文提出TrilinearCIM架构,通过双门FeFET实现无需动态铁电重编程的三 operand 乘加运算,提升Transformer注意力计算效率,实现能耗降低和延迟改进。

摘要:

Transformer中的自注意力生成动态运算符,迫使传统计算-在-内存(CIM)加速器进入昂贵的非易失性内存(NVM)重新编程循环,降低吞吐量并损害设备耐久性。现有解决方案通过矩阵分解或稀疏性减少但保留NVM写入,或将注意力计算移至数字CMOS,牺牲NVM密度。本文提出TrilinearCIM,一种基于双门FeFET的架构,利用背门调制实现无需动态铁电重编程的三 operand 乘加运算。在BERT-base(GLUE)和ViT-base(ImageNet和CIFAR)上评估,TrilinearCIM在九个GLUE任务中的七个任务上优于传统CIM,实现高达46.6%的能耗降低和20.4%的延迟改进,同时以37.3%的面积开销运行。据我们所知,这是首个在NVM核心中完全执行Transformer注意力计算且无需运行时重编程的架构。

英文摘要:

Self-attention in Transformers generates dynamic operands that force conventional Compute-in-Memory (CIM) accelerators into costly non-volatile memory (NVM) reprogramming cycles, degrading throughput and stressing device endurance. Existing solutions either reduce but retain NVM writes through matrix decomposition or sparsity, or move attention computation to digital CMOS at the expense of NVM density. We present TrilinearCIM, a Double-Gate FeFET (DG-FeFET)-based architecture that uses back-gate modulation to realize a three-operand multiply-accumulate primitive for in-memory attention computation without dynamic ferroelectric reprogramming. Evaluated on BERT-base (GLUE) and ViT-base (ImageNet and CIFAR), TrilinearCIM outperforms conventional CIM on seven of nine GLUE tasks while achieving up to 46.6\% energy reduction and 20.4\% latency improvement over conventional FeFET CIM at 37.3\% area overhead. To our knowledge, this is the first architecture to perform complete Transformer attention computation exclusively in NVM cores without runtime reprogramming.

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

↑