RACE-IT:一种用于内存中Transformer加速的可重构模拟计算引擎
RACE-IT: A Reconfigurable Analog Computing Engine for In-Memory Transformer Acceleration
AI总结:
本文提出RACE-IT,一种基于可重构模拟计算引擎的内存中Transformer加速器,通过增强ACAM支持所有核心操作,相比GPU和现有IMC加速器性能提升453倍和15倍,能耗降低354倍和122倍。
摘要:
Transformer模型代表了深度神经网络(DNNs)的前沿水平,并在广泛的机器学习任务中表现出色。然而,处理这些模型需要大量的计算资源,并导致巨大的内存占用。虽然内存计算(IMC)在加速向量-矩阵乘法(VMMs)方面具有高计算并行性和最小数据移动的优势,但将其用于其他关键的DNN算子仍然是一项艰巨的任务。这一挑战因Transformer模型中广泛使用复杂激活函数、Softmax和数据依赖的矩阵乘法(DMMuls)而加剧。为了解决这一挑战,我们通过增强模拟内容可寻址存储器(ACAMs)以支持更广泛的操作,引入了一种可重构模拟计算引擎(RACE)。基于RACE,我们提出了RACE-IT加速器(意为用于内存中Transformer的RACE),以实现Transformer模型所有核心操作的高效模拟域执行。鉴于我们提出的RACE在支持任意计算方面的灵活性,RACE-IT非常适合适应新兴和非传统的DNN架构,而无需修改硬件。我们将RACE-IT与各种加速器进行了比较。结果表明,与最先进的GPU和现有的Transformer专用IMC加速器相比,RACE-IT分别将性能提高了453倍和15倍,并将能耗降低了354倍和122倍。
英文摘要:
Transformer models represent the cutting edge of Deep Neural Networks (DNNs) and excel in a wide range of machine learning tasks. However, processing these models demands significant computational resources and results in a substantial memory footprint. While In-memory Computing (IMC)offers promise for accelerating Vector-Matrix Multiplications(VMMs) with high computational parallelism and minimal data movement, employing it for other crucial DNN operators remains a formidable task. This challenge is exacerbated by the extensive use of complex activation functions, Softmax, and data-dependent matrix multiplications (DMMuls) within Transformer models. To address this challenge, we introduce a Reconfigurable Analog Computing Engine (RACE) by enhancing Analog Content Addressable Memories (ACAMs) to support broader operations. Based on the RACE, we propose the RACE-IT accelerator (meaning RACE for In-memory Transformers) to enable efficient analog-domain execution of all core operations of Transformer models. Given the flexibility of our proposed RACE in supporting arbitrary computations, RACE-IT is well-suited for adapting to emerging and non-traditional DNN architectures without requiring hardware modifications. We compare RACE-IT with various accelerators. Results show that RACE-IT increases performance by 453x and 15x, and reduces energy by 354x and 122x over the state-of-the-art GPUs and existing Transformer-specific IMC accelerators, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。