Lune

ICLR2025顶会

Quamba: A Post-Training Quantization Recipe for Selective State Space Models

Hung-Yueh Chiang, Chi-Chih Chang, Natalia Frumkin, Kai-Chiang Wu, Diana Marculescu

摘要

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 .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • SSDi8: Accurate and Efficient 8-bit Quantization for State Space Duality 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • SSDi8: Accurate and Efficient 8-bit Quantization for State Space Duality 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • SSDi8: Accurate and Efficient 8-bit Quantization for State Space Duality 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • The Curious Case of In-Training Compression of State Space Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Language Models are Few-Shot Learners 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMsHung-Yueh Chiang, Chi-Chih Chang, Yu-Chen Lu, Chien-Yu Lin 等ICLR 2026 · 6 次引用
  2. Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model ServingWonung Kim, Yubin Lee, Yoonsung Kim, Jinwoo Hwang 等MICRO 2025 · 6 次引用
  3. The Curious Case of In-Training Compression of State Space ModelsMakram Chahine, Philipp Nazari, Daniela Rus, T. Konstantin RuschICLR 2026 · 4 次引用
  4. SSDi8: Accurate and Efficient 8-bit Quantization for State Space DualityHyunwoo Kim, Byoungchan Ko, Minseok Kang, Minwoo Kim 等ICLR 2026 · 3 次引用
  5. SHARP-Q: Spectral Hessian Alignment and Rectification for Post-training QuantizationMenghao Lv, Huiqiong Wang, Li Sun, Mingli SongICML 2026

它引用的 Paper24

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 次引用
  3. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
  4. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
  5. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用

相关 Paper

  1. Quamba2: A Robust and Scalable Post-training Quantization Framework for Selective State Space ModelsHung-Yueh Chiang, Chi-Chih Chang, Natalia Frumkin, Kai-Chiang Wu 等ICML 2025
  2. Q-Mamba: Towards more efficient Mamba models via post-training quantizationTianqi Chen, Yuanteng Chen, Peisong Wang, Weixiang Xu 等ACL Findings 2025 · 1 次引用
  3. Q-MambaIR: Accurate Quantized Mamba for Efficient Image RestorationYujie Chen, Haotong Qin, Zhang Zhang, Michele Magno, Luca Benini, Yawei LiCVPR Findings 2026 · 9 次引用
  4. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 次引用
  5. ViM-VQ: Efficient Post-Training Vector Quantization for Visual MambaJuncan Deng, Shuaiting Li, Zeyu Wang, Kedong Xu 等ICCV 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖