SoftmaxPIM: An HBM-Based PIM Architecture for Accelerating GeMV-Softmax Execution Pipeline

  • Kang, Taewoon; 
  • Kim, Namhun; 
  • Lee, Jihun; 
  • Annavaram, Murali; 
  • Koo, Gunjae
Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

LLM inference is dominated by GeMV and softmax computations during attention. These computations impose substantial compute and memory bandwidth demands. Prior works have demonstrated that HBM-based PIM architectures effectively accelerate GeMV. However, softmax remains a critical bottleneck due to frequent data movement. In this work, we make the case for computing softmax operations in memory and integrate them with in-memory GeMV operations to provide a comprehensive in-memory LLM accelerator engine. We propose SoftmaxPIM, an in-HBM compute architecture that tightly integrates GeMV with a lightweight near-bank softmax unit. The proposed softmax unit employs an approximation-based softmax formulation that removes reduction operations, enabling the entire GeMV-softmax pipeline to execute within the HBM memory stack. By eliminating host-memory transfers, the proposed design significantly reduces softmax latency. Our simulation results demonstrate up to 42.7 & times; speedup over a CPU and 2.64 & times; over an RTX3090 GPU, as well as up to 1.45 & times; improvement over the prior in-memory attention accelerator AttAcc.

키워드

Processing-in-memory; softmax; GeMV; LLM
제목
SoftmaxPIM: An HBM-Based PIM Architecture for Accelerating GeMV-Softmax Execution Pipeline
저자
Kang, Taewoon; Kim, Namhun; Lee, Jihun; Annavaram, Murali; Koo, Gunjae
DOI
10.1109/LCA.2026.3716671
발행일
2026-07
유형
Article
저널명
IEEE Computer Architecture Letters
권
25
호
2
페이지
287 ~ 290