paper-with-me

Papers

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

2025-07-14 · Wonung Kim, Yubin Lee, Yoonsung Kim, Jinwoo Hwang, Seongryong Oh, Jiyong Jung, Aziz Huseynov, Woong Gyu Park, Chang Hyun Park, Divya Mahajan, Jongse Park 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 scalability challenges for long-context inferencing. In response, the algorithm community is exploring alternative architectures, such as state space models (SSMs), linear attention, and recurrent neural networks (RNNs), which we refer to as post-transformers. This shift presents a key challenge: building a serving system that efficiently supports both transformer and post-transformer LLMs within a unified framework. To address this challenge, we analyze the performance characteristics of transformer and post-transformer LLMs. Despite their algorithmic differences, both are fundamentally limited by memory bandwidth under batched inference due to attention in transformers and state updates in post-transformers. Further analyses suggest two additional insights: (1) state update operations, unlike attention, incur high hardware cost, making per-bank PIM acceleration inefficient, and (2) different low-precision arithmetic methods offer varying accuracy-area tradeoffs, while we identify Microsoft's MX as the Pareto-optimal choice. Building on these insights, we design Pimba as an array of State-update Processing Units (SPUs), each shared between two banks to enable interleaved access to PIM. Each SPU includes a State-update Processing Engine (SPE) that comprises element-wise multipliers and adders using MX-based quantized arithmetic, enabling efficient execution of state update and attention operations. Our evaluation shows that, compared to LLM-optimized GPU and GPU+PIM systems, Pimba achieves up to 4.1x and 2.1x higher token generation throughput, respectively.

📄 PDF Abstract BibTeX arXiv:2507.10178

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

P3-LLM: An Integrated NPU-PIM Accelerator for Edge LLM Inference Using Hybrid Numerical Formats

2025-11-10 · Yuzong Chen, Chao Fang, Xilai Dai, Yuheng Wu 외 arxiv

The substantial memory bandwidth and computational demands of large language models (LLMs) present critical challenges for efficient inference. To tackle this, the literature has explored heterogeneous systems that combi…

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 multiplication…

Accelerating NMT Batched Beam Decoding with LMBR Posteriors for Deployment

2018-04-30 · NAACL 2018 6 · Gonzalo Iglesias, William Tambellini, Adrià De Gispert, Eva Hasler 외

We describe a batched beam decoding algorithm for NMT with LMBR n-gram posteriors, showing that LMBR techniques still yield gains on top of the best recently reported results with Transformers. We also discuss accelerati…

NMT

X-Former: In-Memory Acceleration of Transformers

2023-03-13 · Shrihari Sridharan, Jacob R. Stevens, Kaushik Roy, Anand Raghunathan

Transformers have achieved great success in a wide variety of natural language processing (NLP) tasks due to the attention mechanism, which assigns an importance score for every word relative to other words in a sequence…

BlockingGPU

ABQ-LLM: Arbitrary-Bit Quantized Inference Acceleration for Large Language Models

2024-08-16 · Chao Zeng, Songwei Liu, Yusheng Xie, Hong Liu 외

Large Language Models (LLMs) have revolutionized natural language processing tasks. However, their practical application is constrained by substantial memory and computational demands. Post-training quantization (PTQ) is…

GPUModel CompressionQuantization