RACE-IT: A Reconfigurable Analog Computing Engine for In-Memory Transformer Acceleration

Lei Zhao, Aishwarya Natarajan, Luca Buonanno, Archit Gajjar, Ron M. Roth +4 more
11/29/2023
cs.ARcs.ETcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhao2023raceit,
  title  = {RACE-IT: A Reconfigurable Analog Computing Engine for In-Memory Transformer Acceleration},
  author = {Lei Zhao and Aishwarya Natarajan and Luca Buonanno and Archit Gajjar and Ron M. Roth and Sergey Serebryakov and John Moon and Jim Ignowski and Giacomo Pedretti},
  year   = {2023},
  eprint = {2312.06532},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06532v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.06532.svg)](https://codeofpaper.com/paper/2312.06532)

Discussion