End-to-End Transformer Acceleration Through Processing-in-Memory Architectures
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Transformers have become central to natural language processing and large language models, but their deployment at scale faces three major challenges. First, the attention mechanism requires massive matrix multiplications and frequent movement of intermediate results between memory and compute units, leading to high latency and energy costs. Second, in long-context inference, the key-value cache (KV cache) can grow unpredictably and even surpass the model's weight size, creating severe memory and bandwidth bottlenecks. Third, the quadratic complexity of attention with respect to sequence length amplifies both data movement and compute overhead, making large-scale inference inefficient. To address these issues, this work introduces processing-in-memory solutions that restructure attention and feed-forward computation to minimize off-chip data transfers, dynamically compress and prune the KV cache to manage memory growth, and reinterpret attention as an associative memory operation to reduce complexity and hardware footprint. Moreover, we evaluate our processing-in-memory design against state-of-the-art accelerators and general-purpose GPUs, demonstrating significant improvements in energy efficiency and latency. Together, these approaches address computation overhead, memory scalability, and attention complexity, further enabling efficient, end-to-end acceleration of Transformer models.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 30 of its 52 references that are in the map. First posted on arXiv 21 Nov 2025.
Builds on
30 of 52 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2023A Comprehensive Overview of Large Language Modelscited by 648
18 more
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
- 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 411
- 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2024ThinK: Thinner Key Cache by Query-Driven Pruningcited by 68
- 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAscited by 64
- 2024A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Modelscited by 52
- 2024Compute Or Load KV Cache? Why Not Both?cited by 25
- 2017GraphR: Accelerating Graph Processing Using ReRAMcited by 19
- 2024Memory Is All You Need: An Overview of Compute-in-Memory Architectures for Accelerating Large Language Model Inferencecited by 15
- 2021Multi-Objective Optimization of ReRAM Crossbars for Robust DNN Inferencing under Stochastic Noisecited by 12
- 2020In-Memory Nearest Neighbor Search with FeFET Multi-Bit Content-Addressable Memoriescited by 5
- 2023Block-Wise Mixed-Precision Quantization: Enabling High Efficiency for Practical ReRAM-based DNN Acceleratorscited by 4
- 2024AttentionLego: An Open-Source Building Block For Spatially-Scalable Large Language Model Accelerator With Processing-In-Memory Technologycited by 2
- 2025Titanus: Enabling KV Cache Pruning and Quantization On-the-Fly for LLM Accelerationcited by 2
- 2025Optimizing and Exploring System Performance in Compact Processing-in-Memory-based Chipscited by 1
- 2025AutoRAC: Automated Processing-in-Memory Accelerator Design for Recommender Systemscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2023AttMEMO : Accelerating Transformers with Memoization on Big Memory Systems
- 2026Keyless Attention: Value-Space Routing and Value-Only Caching for Efficient Transformers
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
- 2025EdgeInfinite: A Memory-Efficient Infinite-Context Transformer for Edge Devices
- 2026Transformer Accelerator (TFA): A Macro-Op INT8 Hardware Chip for Transformer Inference and Machine Translation
- 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Models
- 2024A Method for Building Large Language Models with Predefined KV Cache Capacity
- 2024MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decoding