paper-with-me

Papers

End-to-End Transformer Acceleration Through Processing-in-Memory Architectures

2025-11-21 · Xiaoxuan Yang, Peilin Chen, Tergel Molom-Ochir, Yiran Chen 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.

📄 PDF Abstract BibTeX arXiv:2601.14260

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

HG-PIPE: Vision Transformer Acceleration with Hybrid-Grained Pipeline

2024-07-25 · Qingyu Guo, Jiayong Wan, Songqiang Xu, Meng Li 외

Vision Transformer (ViT) acceleration with field programmable gate array (FPGA) is promising but challenging. Existing FPGA-based ViT accelerators mainly rely on temporal architectures, which process different operators …

GPU

Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving

2025-07-14 · Wonung Kim, Yubin Lee, Yoonsung Kim, Jinwoo Hwang 외 arxiv

Transformers are the driving force behind today's Large Language Models (LLMs), serving as the foundation for their performance and versatility. Yet, their compute and memory costs grow with sequence length, posing scala…

Memory Is All You Need: An Overview of Compute-in-Memory Architectures for Accelerating Large Language Model Inference

2024-06-12 · Christopher Wolters, Xiaoxuan Yang, Ulf Schlichtmann, Toyotaro Suzumura

Large language models (LLMs) have recently transformed natural language processing, enabling machines to generate human-like text and engage in meaningful conversations. This development necessitates speed, efficiency, a…

AllLanguage ModelingLanguage ModellingLarge Language Model

OPIMA: Optical Processing-In-Memory for Convolutional Neural Network Acceleration

2024-07-11 · Febin Sunny, Amin Shafiee, Abhishek Balasubramaniam, Mahdi Nikdast 외

Recent advances in machine learning (ML) have spotlighted the pressing need for computing architectures that bridge the gap between memory bandwidth and processing power. The advent of deep neural networks has pushed tra…

AttMEMO : Accelerating Transformers with Memoization on Big Memory Systems

2023-01-23 · Yuan Feng, Hyeran Jeon, Filip Blagojevic, Cyril Guyot 외

Transformer models gain popularity because of their superior inference accuracy and inference throughput. However, the transformer is computation-intensive, causing a long inference time. The existing works on transforme…