Quamba: A Post-Training Quantization Recipe for Selective State Space Models
Hung-Yueh Chiang, Chi-Chih Chang, Natalia Frumkin, Kai-Chiang Wu, Diana Marculescu
Abstract
State Space Models (SSMs) have emerged as an appealing alternative to Transformers for large language models, achieving state-of-the-art accuracy with constant memory complexity which allows for holding longer context lengths than attentionbased networks. The superior computational efficiency of SSMs in long sequence modeling positions them favorably over Transformers in many scenarios. However, improving the efficiency of SSMs on request-intensive cloud-serving and resource-limited edge applications is still a formidable task. SSM quantization is a possible solution to this problem, making SSMs more suitable for wide deployment, while still maintaining their accuracy. Quantization is a common technique to reduce the model size and to utilize the low bit-width acceleration features on modern computing units, yet existing quantization techniques are poorly suited for SSMs. Most notably, SSMs have highly sensitive feature maps within the selective scan mechanism (i.e., linear recurrence) and massive outliers in the output activations which are not present in the output of token-mixing in the self-attention modules. To address this issue, we propose a static 8-bit per-tensor SSM quantization method which suppresses the maximum values of the input activations to the selective SSM for finer quantization precision and quantizes the output activations in an outlier-free space with Hadamard transform. Our 8-bit weight-activation quantized Mamba 2.8B SSM benefits from hardware acceleration and achieves a 1.72 × lower generation latency on an Nvidia Orin Nano 8G, with only a 0.9% drop in average accuracy on zero-shot tasks. When quantizing Jamba, a 52B parameter SSM-style language model, we observe only a 1% drop in accuracy, demonstrating that our SSM quantization method is both effective and scalable for large language models, which require appropriate compression techniques for deployment. The experiments demonstrate the effectiveness and practical applicability of our approach for deploying SSM-based models of all sizes on both cloud and edge platforms. Code is released at https://github.com/enyac-group/Quamba .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs cites PIQA: Reasoning about Physical Commonsense in Natural Language
- UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving cites PIQA: Reasoning about Physical Commonsense in Natural Language
- Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving cites Efficiently Modeling Long Sequences with Structured State Spaces
- Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- PIQA: Reasoning about Physical Commonsense in Natural Language cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- SSDi8: Accurate and Efficient 8-bit Quantization for State Space Duality cites PIQA: Reasoning about Physical Commonsense in Natural Language
- SSDi8: Accurate and Efficient 8-bit Quantization for State Space Duality cites Efficiently Modeling Long Sequences with Structured State Spaces
- SSDi8: Accurate and Efficient 8-bit Quantization for State Space Duality cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- The Curious Case of In-Training Compression of State Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
- Language Models are Few-Shot Learners cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
Cited by top-tier papers8
- UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMsHung-Yueh Chiang, Chi-Chih Chang, Yu-Chen Lu, Chien-Yu Lin et al.ICLR 2026 · 6 citations
- Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model ServingWonung Kim, Yubin Lee, Yoonsung Kim, Jinwoo Hwang et al.MICRO 2025 · 6 citations
- The Curious Case of In-Training Compression of State Space ModelsMakram Chahine, Philipp Nazari, Daniela Rus, T. Konstantin RuschICLR 2026 · 4 citations
- SSDi8: Accurate and Efficient 8-bit Quantization for State Space DualityHyunwoo Kim, Byoungchan Ko, Minseok Kang, Minwoo Kim et al.ICLR 2026 · 3 citations
- SHARP-Q: Spectral Hessian Alignment and Rectification for Post-training QuantizationMenghao Lv, Huiqiong Wang, Li Sun, Mingli SongICML 2026
Builds on24
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 citations
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 citations
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao et al.AAAI 2020 · 2,916 citations
Related papers
- Quamba2: A Robust and Scalable Post-training Quantization Framework for Selective State Space ModelsHung-Yueh Chiang, Chi-Chih Chang, Natalia Frumkin, Kai-Chiang Wu et al.ICML 2025
- Q-Mamba: Towards more efficient Mamba models via post-training quantizationTianqi Chen, Yuanteng Chen, Peisong Wang, Weixiang Xu et al.ACL Findings 2025 · 1 citation
- Q-MambaIR: Accurate Quantized Mamba for Efficient Image RestorationYujie Chen, Haotong Qin, Zhang Zhang, Michele Magno, Luca Benini, Yawei LiCVPR Findings 2026 · 9 citations
- Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 citations
- ViM-VQ: Efficient Post-Training Vector Quantization for Visual MambaJuncan Deng, Shuaiting Li, Zeyu Wang, Kedong Xu et al.ICCV 2025 · 2 citations
