mlsanityData to 14 Oct 2026

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

arXiv 2507.10178 ↗First posted 14 Jul 2025cs.AR cs.LGcited by 7

Not on the map. Why?

Abstract (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.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 45 of its 89 references that are in the map. First posted on arXiv 14 Jul 2025.

Builds on

45 of 89 references.

References · 45

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  9. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  12. 2016Pointer Sentinel Mixture Modelscited by 3,096
33 more
  1. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  2. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  3. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  4. 2025s1: Simple test-time scalingcited by 1,341
  5. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  6. 2017Mixed Precision Trainingcited by 1,156
  7. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  8. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  9. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
  10. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  11. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
  12. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
  13. 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 204
  14. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  15. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
  16. 2024GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLMcited by 158
  17. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
  18. 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 100
  19. 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 76
  20. 2024QAQ: Quality Adaptive Quantization for LLM KV Cachecited by 66
  21. 2024NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencingcited by 52
  22. 2021FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Roundingcited by 31
  23. 2024LLMServingSim: A HW/SW Co-Simulation Infrastructure for LLM Inference Serving at Scalecited by 31
  24. 2021DeepScaleTool : A Tool for the Accurate Estimation of Technology Scaling in the Deep-Submicron Eracited by 30
  25. 2023Ramulator 2.0: A Modern, Modular, and Extensible DRAM Simulatorcited by 30
  26. 2022Mokey: Enabling Narrow Fixed-Point Inference for Out-of-the-Box Floating-Point Transformer Modelscited by 19
  27. 2023Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technologycited by 14
  28. 2024MARCA: Mamba Accelerator with ReConfigurable Architecturecited by 13
  29. 2024IANUS: Integrated Accelerator based on NPU-PIM Unified Memory Systemcited by 13
  30. 2021GradPIM: A Practical Processing-in-DRAM Architecture for Gradient Descentcited by 10
  31. 2024ML-Mamba: Efficient Multi-Modal Large Language Model Utilizing Mamba-2cited by 10
  32. 2024DaCapo: Accelerating Continuous Learning in Autonomous Systems for Video Analyticscited by 8
  33. 2023Inclusive-PIM: Hardware-Software Co-design for Broad Acceleration on Commercial PIM Architecturescited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 5.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Speed Always Wins: A Survey on Efficient Architectures for Large Language Models
  2. 2025End-to-End Transformer Acceleration Through Processing-in-Memory Architectures
  3. 2024An Empirical Study of Mamba-based Language Models
  4. 2025TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Model
  5. 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspective
  6. 2025Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers
  7. 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Models
  8. 2024RecurFormer: Not All Transformer Heads Need Self-Attention