paper-with-me

홈 › Papers

An Analog and Digital Hybrid Attention Accelerator for Transformers with Charge-based In-memory Computing

2024-09-08 · Ashkan Moradifirouzabadi, Divya Sri Dodla, Mingu Kang

The attention mechanism is a key computing kernel of Transformers, calculating pairwise correlations across the entire input sequence. The computing complexity and frequent memory access in computing self-attention put a huge burden on the system especially when the sequence length increases. This paper presents an analog and digital hybrid processor to accelerate the attention mechanism for transformers in 65nm CMOS technology. We propose an analog computing-in-memory (CIM) core, which prunes ~75% of low-score tokens on average during runtime at ultra-low power and delay. Additionally, a digital processor performs precise computations only for ~25% unpruned tokens selected by the analog CIM core, preventing accuracy degradation. Measured results show peak energy efficiency of 14.8 and 1.65 TOPS/W, and peak area efficiency of 976.6 and 79.4 GOPS/mm$^\mathrm{2}$ in the analog core and the system-on-chip (SoC), respectively.

📄 PDF Abstract BibTeX arXiv:2409.04940

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Towards training digitally-tied analog blocks via hybrid gradient computation

2024-09-05 · Timothy Nest, Maxence Ernoult

Power efficiency is plateauing in the standard digital electronics realm such that novel hardware, models, and algorithms are needed to reduce the costs of AI training. The combination of energy-based analog circuits and…

PIM-LLM: A High-Throughput Hybrid PIM Architecture for 1-bit LLMs

2025-03-31 · Jinendra Malekar, Peyton Chandarana, Md Hasibul Amin, Mohammed E. Elbtity 외

In this paper, we propose PIM-LLM, a hybrid architecture developed to accelerate 1-bit large language models (LLMs). PIM-LLM leverages analog processing-in-memory (PIM) architectures and digital systolic arrays to accele…

On the Accuracy of Analog Neural Network Inference Accelerators

2021-09-03 · T. Patrick Xiao, Ben Feinberg, Christopher H. Bennett, Venkatraman Prabhakar 외

Specialized accelerators have recently garnered attention as a method to reduce the power consumption of neural network inference. A promising category of accelerators utilizes nonvolatile memory arrays to both store wei…

CAMformer: Associative Memory is All You Need

2025-11-24 · Tergel Molom-Ochir, Benjamin F. Morris, Mark Horton, Chiyue Wei 외 arxiv

Transformers face scalability challenges due to the quadratic cost of attention, which involves dense similarity computations between queries and keys. We propose CAMformer, a novel accelerator that reinterprets attentio…

Provable Accuracy Bounds for Hybrid Dynamical Optimization and Sampling

2024-10-08 · Matthew X. Burns, Qingyuan Hou, Michael C. Huang

Analog dynamical accelerators (DXs) are a growing sub-field in computer architecture research, offering order-of-magnitude gains in power efficiency and latency over traditional digital methods in several machine learnin…