atlas

Research map / Architectures and efficiency / Quantization

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

ICML 2025 · Architectures and efficiency › Quantization · approach: KV cache quantization · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Quamba2 is a post-training quantization framework for Mamba1 and Mamba2 SSMs supporting W8A8, W4A8, and W4A16 with sort-and-cluster input quantization, per-state-group B/C quantization, and offline cluster-aware weight reordering.

Problem

Deploying large selective state space models on cloud and edge devices is costly, and existing SSM quantization methods either support few bit-widths or degrade badly at low bit-widths such as W4A8, and ignore generalization on multitask benchmarks.

Approach

Exploit channel order preservation and channel/state persistence in SSMs: sort and cluster the input x channels into head/channel groups with per-group 8-bit scales, quantize input-dependent B and C per state group, and reorder weights offline so the SSM output is compute-invariant, combined with Hadamard fusion and head-to-toe 4/8-bit quantization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Quamba2 W8A8 instead of FP16Mamba2-8B on A5000, batch 1 · Mamba2-8B A5000 generationTPOT (ms): 22.73 -> 12.61Helped
Use Quamba2 W8A8 instead of Quamba W8A8Mamba2-8B on A5000, batch 1 · Mamba2-8B A5000 generationTPOT (ms): 14.12 -> 12.61Helped
Use W4A8 instead of W8A8Quamba2 Mamba2-8B on A5000 · Mamba2-8B generationTPOT (ms): 12.61 -> 7.43Helped
Use W4A8 instead of W8A8Quamba2 Mamba2-8B on A5000 · Mamba2-8B prefillingTTFT (ms): 122.33 -> 140.78Hurt
Use W4A8 instead of W4A16Quamba2 Mamba2-8B · Mamba2-8B MMLU (5-shot)accuracy: 45.3% -> 41.2%Hurt
Automatically search mixed W4A8/W4A16 blocks rather than use pure W4A8Quamba2 Mamba2-8B · MMLU (5-shot)accuracy: 41.2% -> 44.0%Helped
Automatically search mixed W4A8/W4A16 blocks rather than handcraft the first 14 W4A16 layersQuamba2 Mamba2-8B · MMLU (5-shot)accuracy: 43.1% -> 44.0%Helped
Add per-state-group quantization for B and C (ablation)Quamba2 W4A8 · Mamba2-8B LAMBADAaccuracy: 55.1% -> 60.7%Helped
Add sort-and-cluster for x (ablation)Quamba2 W4A8 · Mamba2-8B LAMBADAaccuracy: 60.7% -> 68.8%Helped
Add Hadamard transform to W4A8 quantization (ablation)Quamba2 W4A8 · Mamba2-8B LAMBADAaccuracy: fail -> 53.8%Helped
Add Hadamard transform to W4A16 PerG + GPTQ (ablation)Quamba2 W4A16 · Mamba2-8B LAMBADAaccuracy: 69.2% -> 71.2%Helped
Add GPTQ to W4A16 PerG quantization without Hadamard (ablation)Quamba2 W4A16 · Mamba2-8B LAMBADAaccuracy: 64.7% -> 69.2%Helped

Surprising findings

Limitations

Experimental setup

Datasets: The Pile (calibration, 512 sentences)

Benchmarks: LAMBADA HellaSwag PIQA ARC-easy ARC-challenge WinoGrande MMLU Natural Questions SquadV2

Metrics: accuracy average accuracy over five runs TPOT (ms) TTFT (ms) model size (GB) energy per request (J)

Baselines: Quamba MambaQuant FP16 QuaRot QServe

Builds on: Quamba MambaQuant GPTQ Mamba2 (structured state space duality) QuaRot

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy