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

DiP:一种可扩展、节能的脉动阵列用于矩阵乘法加速

DiP: A Scalable, Energy-Efficient Systolic Array for Matrix Multiplication Acceleration

Ahmed J. Abdelmaksoud, Shady Agwa, Themis Prodromakis

AI总结:

本文提出DiP脉动阵列架构,通过对角输入和置换权重固定数据流消除同步FIFO,实现高达50%的吞吐量提升和2.02倍的能量效率提升,优于TPU架构。

摘要:

Transformer因其卓越的准确性在自然语言处理(NLP)应用领域受到越来越多的关注。然而,这些数据密集型模型对现有计算架构提出了显著的性能需求。商业AI计算平台(如Google TPU)采用的脉动阵列架构提供了节能的数据复用,但由于通过先进先出(FIFO)缓冲区进行输入输出同步,面临吞吐量和能量损失。本文提出了一种新颖的可扩展脉动阵列架构,采用对角输入和置换权重固定(DiP)数据流用于矩阵乘法加速。所提出的架构消除了最先进的权重固定脉动阵列所需的同步FIFO。除了通过消除这些FIFO实现的面积、功耗和能量节省外,DiP架构最大化计算资源利用率,相比传统权重固定架构实现了高达50%的吞吐量提升。为权重固定和DiP架构开发了分析模型,包括延迟、吞吐量、达到完全PE利用率的时间(TFPU)和FIFO开销。使用22nm商业技术进行的全面硬件设计空间探索证明了DiP的可扩展性优势,实现了每面积能量效率高达2.02倍的提升。此外,DiP在广泛使用的模型的Transformer工作负载上优于类似TPU的架构,实现了高达1.81倍的能量提升和高达1.49倍的延迟提升。在64x64大小、4096个PE的情况下,DiP实现了8.192 TOPS的峰值吞吐量和9.548 TOPS/W的能量效率。

英文摘要:

Transformers are gaining increasing attention across Natural Language Processing (NLP) application domains due to their outstanding accuracy. However, these data-intensive models add significant performance demands to the existing computing architectures. Systolic array architectures, adopted by commercial AI computing platforms like Google TPUs, offer energy-efficient data reuse but face throughput and energy penalties due to input-output synchronization via First-In-First-Out (FIFO) buffers. This paper proposes a novel scalable systolic array architecture featuring Diagonal-Input and Permutated weight stationary (DiP) dataflow for matrix multiplication acceleration. The proposed architecture eliminates the synchronization FIFOs required by state-of-the-art weight stationary systolic arrays. Beyond the area, power, and energy savings achieved by eliminating these FIFOs, DiP architecture maximizes the computational resource utilization, achieving up to 50\% throughput improvement over conventional weight stationary architectures. Analytical models are developed for both weight stationary and DiP architectures, including latency, throughput, time to full PEs utilization (TFPU), and FIFOs overhead. A comprehensive hardware design space exploration using 22nm commercial technology demonstrates DiP's scalability advantages, achieving up to a 2.02x improvement in energy efficiency per area. Furthermore, DiP outperforms TPU-like architectures on transformer workloads from widely-used models, delivering energy improvement up to 1.81x and latency improvement up to 1.49x. At a 64x64 size with 4096 PEs, DiP achieves a peak throughput of 8.192 TOPS with energy efficiency 9.548 TOPS/W.

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

↑