Search arXiv⌕ Search

arXiv subjects

Taewoon Kang

Publications and source records attributed to Taewoon Kang.

3 recordsLinked to original sources

SparsePIM+: Accelerating SpMV on HBM-based PIM via logic-die accumulators with opportunistic TSV utilization

Sparse matrix-vector multiplication (SpMV) is a fundamental kernel in many applications, yet its performance is severely limited by irregular memory accesses and the accumulation of partial results on conventional architectures. While processing-in-memory (PIM) architectures mitigate data-movement overhead using high internal bandwidth, efficiently handling sparse data layouts and reducing partial results across distributed memory banks remain key challenges. This paper proposes SparsePIM+, an HBM-based PIM architecture that accelerates SpMV through software-hardware co-design. SparsePIM+ introduces a software optimization that clusters matrix columns based on row-index similarity while balancing non-zero element distribution across bank groups to improve accumulation parallelism. It also employs a DRAM row-aligned sparse format (DRAF) that aligns sparse operands with DRAM row-buffer granularity to reduce indirect memory accesses and redundant data movement. On the hardware side, SparsePIM+ integrates bank-group accumulators (BGAs) for local accumulation within each bank group, where a bank group consists of four banks, and a logic-die global accumulator (GA) that aggregates partial results across bank groups via a lightweight arbitrator. The accumulated results are stored in an on-die buffer accessible by host memory controllers, enabling concurrent PIM execution and accumulation. Experimental results show that SparsePIM+ significantly improves accumulation efficiency and achieves an average speedup of 1.38x over prior HBM-based PIM designs for SpMV and 6.16x over an NVIDIA RTX 3080 GPU baseline, with a maximum speedup of up to 15.48x.

cs.AR↗

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

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.

cs.AR↗

LogPIM: Low-Overhead Logarithmic Arithmetic for HBM-Based Processing-in-Memory

Processing-in-memory (PIM) reduces data movement cost, but integrating processing units into DRAM memory cells incurs substantial area overhead and reduces available memory capacity. We propose LogPIM, an LNS-based PIM architecture that replaces FP16 multipliers with dual-mode SIMD adders, performing LNS multiplication using fixed-point addition and FP16 accumulation. The proposed LUT controller performs LNS-to-FP16 conversion using one DRAM row per bank, while the ping-pong mechanism overlaps matrix and LUT accesses across paired banks to avoid repeated row switching. Compared to conventional HBM-PIM, LogPIM reduces processing-unit area and GeMV kernel energy by 30.1% and 33.9%, respectively. LogPIM achieves a 1.68$\times$ speedup on average for PIM kernels with pre-encoded LNS16 inputs. The LNS16-based GeMV outputs by LogPIM achieve an average cosine similarity of 99.99% to the FP32 reference. Our evaluation demonstrates that LogPIM improves area, energy, and performance for HBM-based PIM.

cs.AR↗