Lune

ICML2025顶会

Quamba2: A Robust and Scalable Post-training Quantization Framework for Selective State Space Models

Hung-Yueh Chiang, Chi-Chih Chang, Natalia Frumkin, Kai-Chiang Wu, Mohamed S. Abdelfattah, Diana Marculescu

摘要

Despite State Space Models (SSMs) are emerging as an efficient alternative to Transformers, depolying SSMs on both cloud and edge devices is challenging due to the limited resources. Model quantization reduces model size and leverages hardware acceleration, and recent efforts on SSM quantization have focused on optimizing a particular model or bit-width. However, distinct bitwidths are essential for different scenarios, like W4A8 for boosting large-batch decoding speed, and W4A16 for enhancing generation speed in short-prompt single-user applications. We present Quamba2, compatible with W8A8, W4A8, and W4A16 for both Mamba1 and Mamba2 backbones, addressing the growing demand for SSM deployment. Based on channel order preserving and activation persistence of SSMs, we propose an offline approach to quantize inputs of the linear recurrence in 8-bit by sorting and clustering for input x, combined with a per-state-group quantization for input-dependent parameters B and C. To ensure compute-invariance in the SSM output, we rearrange weights offline according to the clustering sequence. We show that Quamba2-8B outperforms two state-of-the-art SSM quantization methods and delivers 1.3× and 3× speed-ups in the pre-filling and generation stages, respectively, while offering 4× memory reduction with only a 1.6% average accuracy drop. The evaluation on MMLU shows the generalizability and robustness of our framework. The code and quantized models are released at the link.

问 Lune

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

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

已有 3 篇顶会 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 引用了 Measuring Massive Multitask Language Understanding
  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 Efficient Hybrid Language Model Compression through Group-Aware SSM Pruning
  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • VMamba: Visual State Space Model 引用了 Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • Measuring Massive Multitask Language Understanding 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • 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 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Efficient Hybrid Language Model Compression through Group-Aware SSM Pruning 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  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. SSDi8: Accurate and Efficient 8-bit Quantization for State Space DualityHyunwoo Kim, Byoungchan Ko, Minseok Kang, Minwoo Kim 等ICLR 2026 · 3 次引用
  3. Efficient Hybrid Language Model Compression through Group-Aware SSM PruningAli Taghibakhshi, Sharath Turuvekere Sreenivas, Saurav Muralidharan, Marcin Chochowski 等NeurIPS 2025 · 1 次引用

它引用的 Paper14

  1. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
  2. VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu 等NeurIPS 2024 · 3,199 次引用
  3. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
  4. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang 等ICML 2024 · 1,725 次引用
  5. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 次引用

相关 Paper

  1. Quamba: A Post-Training Quantization Recipe for Selective State Space ModelsHung-Yueh Chiang, Chi-Chih Chang, Natalia Frumkin, Kai-Chiang Wu 等ICLR 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. ViM-VQ: Efficient Post-Training Vector Quantization for Visual MambaJuncan Deng, Shuaiting Li, Zeyu Wang, Kedong Xu 等ICCV 2025 · 2 次引用
  5. MambaQuant: Quantizing the Mamba Family with Variance Aligned Rotation MethodsZukang Xu, Yuxuan Yue, Xing Hu, Dawei Yang 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖