Manuscript Offprint

arXiv:2611.02401

Accelerating LLM Decoding with In-DRAM Parallelism

Kevin Xu, Tatsuya Kubo, Daichi Tokuda, Shinya Takamaeda-Yamazaki, Issei Sato

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Autoregressive decoding of large language models (LLMs) on edge devices is dominated by memory-bound general matrix-vector multiplication (GeMV) operations. Processing-using-DRAM (PUD) is a promising computing paradigm that can alleviate this bottleneck by reducing processor-memory data transfers and enabling massively parallel computation within DRAM (e.g., across 65,536 columns). However, weight matrices in individual LLM layers (e.g., a QKV matrix in Llama 3 8B with 6,144 rows) are typically too small to fully utilize parallelism in PUD. To address this challenge, we propose PUD-LLM, an algorithm-system co-design for PUD-based LLM inference. At the algorithm level, we enable a subsequent projection to be packed with the current projection by reformulating it as a computation on the current residual state plus a correction for the residual update. Layer redundancy allows this correction to be approximated using fewer bit-serial steps. At the system level, we tailor data mapping and execution to improve utilization of either columns within DRAM subarrays (SIMD) or independently controlled banks (MIMD). Overall, PUD-LLM achieves up to 1.41×1.41 \times end-to-end decoding speedup over the PUD baseline, corresponding to a 2.45×2.45 \times speedup over processor-based execution.

1 INTRODUCTION

Efficient inference for large language models (LLMs) is important for edge devices with limited power and hardware resources. Autoregressive decoding on these devices runs at batch size one, where each linear projection becomes a matrix-vector multiplication (GeMV) between a weight matrix and an activation vector. These operations have low arithmetic intensity because they perform little computation per weight fetched from memory. Consequently, decoding on CPUs and GPUs is typically bottlenecked by weight transfers, leaving much of their computational capacity unused (Shazeer, 2019; Pope et al., 2023; Gholami et al., 2024). In this regime, increasing computational throughput alone offers limited improvements in decoding latency.

Processing-in-memory (PIM) is a promising computing paradigm to address this bottleneck by performing computation near or within memory, reducing costly data movement (Mutlu et al., 2025). Processing-near-memory places dedicated compute units close to memory arrays (Devaux, 2019). However, integrating compute units into DRAM incurs significant area overhead and increases design complexity under the constraints of DRAM fabrication. In contrast, processing-using-DRAM (PUD) is a promising computing

Figure

Figure 1. PUD is a promising computing paradigm for memory-bound LLM decoding. PUD-LLM unlocks its underutilized parallelism through algorithm-system co-design.

paradigm that leverages the operational principles of existing DRAM cells and sense amplifiers to perform massively parallel computation directly within DRAM arrays.

PUD exploits DRAM's column-level parallelism to achieve high computational throughput (Seshadri et al., 2013; 2017). DRAM command sequences implement bitwise primitives that are combined into bit-serial arithmetic operations (Seshadri et al., 2017; Gao et al., 2019). Each primitive operates across many DRAM columns simultaneously, enabling single-instruction, multiple-data (SIMD) execution (Hajinazar et al., 2021). Independently controlled re-

¹Department of Computer Science, Graduate School of Information Science and Technology, The University of Tokyo, Tokyo, Japan. ²RIKEN Center for Advanced Intelligence Project (AIP), Japan. Correspondence to: Kevin Xu kevinxu@g.ecc.utokyo.ac.jp.

Preprint.

Figure

Figure 2. Our system design improves column (SIMD) utilization through packing and bank (MIMD) utilization through pipelining.

gions, such as channels and banks, further provide multiple-instruction, multiple-data (MIMD) parallelism (Kim et al., 2012; Oliveira et al., 2024). Although bit-serial arithmetic requires long sequences of DRAM commands, prior work (Kubo et al., 2025; de Lima et al., 2026) demonstrates that PUD can outperform CPU and GPU execution for sufficiently large low-bit matrix-vector multiplications by leveraging its massive parallelism and exploiting bit sparsity to reduce the number of required DRAM commands.

However, LLM matrix sizes are typically insufficient to fully utilize this parallelism. Moreover, the sequential dependencies between layers prevent overlapping their execution during batch-size-one decoding. As a result, PUD parallelism remains underutilized, significantly limiting end-to-end LLM inference performance. For example, the QKV projection in Llama 3.1 8B (Grattafiori et al., 2024), with a combined output dimension of 6,144, uses only 24,576 of the 65,536 available DRAM columns with 4-bit weights, leaving 62.5% of the column-level parallelism unused.

System-level optimizations alone cannot fully resolve this challenge while preserving the original computational dependencies. Prior work improves PIM utilization through data placement (Ibrahim et al., 2024), fine-grained resource control (Oliveira et al., 2024), and scheduling across independent sub-batches (Heo et al., 2024). However, these approaches preserve the sequential dependencies between consecutive LLM sublayers. Consequently, parallel computations remain limited to operations within the current layer, leaving substantial PUD resources underutilized.

To address this challenge, we propose PUD-LLM, a hardware-aware algorithm and system co-design for PUD-based LLM inference. At the algorithm level, we use linearity to decompose a subsequent projection into a lookahead computation on the current residual state and a correction based on the residual update. Although this decomposition increases the total computational work, it reduces decoding latency in two ways. First, the lookahead computation

overlaps with the preceding sublayer by exploiting otherwise idle PUD resources. Second, the similarity between consecutive representations in LLMs, known as layer redundancy (Men et al., 2025), allows the correction to be approximated using fewer bit-serial computation steps.

At the system level, we develop two execution schemes to improve utilization of PUD's column-level (SIMD) and bank-level (MIMD) parallelism as illustrated in Figure 2. The SIMD scheme reformulates Gate/Up lookahead to share QKV's input and maps its weights to otherwise unused DRAM columns, allowing both projections to execute under a common instruction stream. The MIMD scheme applies the decomposition to both QKV and Gate/Up, allowing each projection's correction and its successor's lookahead to execute in parallel on independently controlled banks or channels. These schemes improve utilization within subarrays and across independent resources, respectively.

In summary, our contributions are as follows:

  • We identify how individual projection dimensions and sequential sublayer dependencies leave PUD parallelism underutilized in PUD-based LLM decoding.

  • We propose a training-free algorithm that exposes parallelism across sublayers and exploits inter-layer redundancy to reduce bit-serial steps on the critical path.

  • We develop system-level optimizations for two execution schemes that exploit unused SIMD or MIMD parallelism available in a given model-memory configuration.

  • PUD-LLM achieves up to 1.41× end-to-end decoding speedup over the PUD baseline, with 1.85× higher mean PUD resource utilization.

References (72)