SoftmaxPIM: An HBM-Based PIM Architecture for Accelerating GeMV-Softmax Execution Pipeline
Taewoon Kang, Namhun Kim, Jihun Lee, Murali Annavaram, Gunjae Koo
Abstract
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.7x speedup over a CPU and 2.64x over an RTX3090 GPU, as well as up to 1.45x improvement over the prior in-memory attention accelerator AttAcc.
Create a lesson
Metadata
- Journal
- IEEE Computer Architecture Letters, vol. 25, no. 2, pp. 287-290, July-December 2026
- Comments
- 4 pages, 5 figures, 2 tables
Related papers
Synapse: An HBM-Coordinated HBF Near-Memory Computing Architecture for Pipelined Agentic AI Execution
Shared title terminologycs.ARJuhyeong Jin, Hyunjun Cho, Joo-Young Kim
SparsePIM+: Accelerating SpMV on HBM-based PIM via logic-die accumulators with opportunistic TSV utilization
Shared title terminologycs.ARTaewoon Kang, Namhun Kim, Geonwoo Choi et al.
MixMoMo: Accelerating Extra--Large MoE Inference with Mixed--Precision GPU--NPU Execution on Mobile Devices
Shared title terminologycs.ARHailong Zou, Maoliang Li, Taohong Han et al.
WADJET: Whole-Job Authorization and Dispatch for Job Execution Trust on FPGA System-on-Chip Accelerators
Shared title terminologycs.ARMohamed El-Hadedy
EMLUT: A Programmable Nonlinear Function Accelerator for Edge AI
Shared title terminologycs.ARInho Nam, Jaeseok Lee, Hyunseok Kwak et al.
NIR2FPGA: Compiling Dataflow Accelerators from the Neuromorphic Intermediate Representation
Shared title terminologycs.ARMichail Rontionov, Francisco Ayala Le Brun, Nassim Beladel et al.