Work

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

Year: 2025
Type: conference-paper
Abstract: 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) (e.g., Mamba-2), 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 not only emerging post-transformer LLMs but also existing transformer models 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 largely bounded by memory bandwidth under batched inference-due to attention in transformers and state updates in post-transformers.Inspired by this finding, we propose Pimba, an accelerator solution that aims to address the memory bottleneck by jointly leveraging (1) Processing-in-Memory (PIM) paradigm and (2) LLM quantization.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 a Pareto-optimal choice.Building on these insights, we design the
Authors: Wonung Kim, Yubin Lee, Yoonsung Kim, Jinwoo Hwang, Seongryong Oh, Jiyong Jung, Aziz Huseynov, Woong Gyu Park, Chang Hyun Park, Divya Mahajan, Jongse Park
Language: English
Open Access status: hybrid
OpenAlex ID: W6903240423
FWCI: 4.493
Cites: 24
Cited by: 6
Related to: