atlas

Research map / Architectures and efficiency / Quantization

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

ICLR 2025 · Architectures and efficiency › Quantization · approach: Post-training quantization of LLMs · 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.

Proposes Quamba, a static 8-bit per-tensor post-training quantization recipe for Mamba selective SSMs that clips input activations to the selective scan via percentile clipping and quantizes outputs in a Hadamard-transformed outlier-free space.

Problem

Existing transformer quantization methods handle SSM (Mamba) activations poorly: the selective scan input is sensitive to quantization error and the SSM output contains massive outliers, hindering efficient W8A8 deployment on cloud and edge devices.

Approach

Percentile clipping (99.999th) on the SSM input x to tighten its quantization step, combined with a fused Walsh-Hadamard transform on the SSM output y (folded into the output projection) to remove outliers, giving a static, per-tensor INT8 scheme with minimal runtime overhead.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add input percentile clipping to naive W8A8 quantization (ablation)Mamba 2.8B · Zero-shot tasks, averageaccuracy: 45.9% -> 48.5%Helped
Add output Hadamard transform without input percentile clipping (ablation)Mamba 2.8B · Zero-shot tasks, averageaccuracy: 45.9% -> 56.4%Helped
Combine input percentile clipping and output Hadamard transform (ablation)Mamba 2.8B · Zero-shot tasks, averageaccuracy: 45.9% -> 62.2%Helped
Change the input clipping percentile (ablation)Quamba on Mamba 1.4B and 2.8B · LAMBADAaccuracy: Mamba 1.4B: 60.6% (p=99.9), 62.6% (p=99.99), 60.4% (p=99.999); Mamba 2.8B: 66.5% (p=99.9), 66.3% (p=99.99), 65.5% (p=99.Mixed
Apply clipping optimization to Quamba (ablation)Mamba 2.8B · Zero-shot tasks, averageaccuracy: 62.2% -> 62.5%Helped
Quantize Jamba Mamba blocks with Quamba while using LLM.int8 on self-attention and MoEJamba · LAMBADA OpenAIaccuracy: fail -> 72.9%Helped
Use Quamba rather than FP16 for Mamba blocks, with LLM.int8 on self-attention and MoEJamba · LAMBADA OpenAIaccuracy: 74.0% -> 72.9%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Pile WikiText2 LAMBADA HellaSwag PIQA ARC WinoGrande

Benchmarks: LAMBADA HellaSwag PIQA ARC-Easy ARC-Challenge WinoGrande WikiText2 Pile

Metrics: zero-shot accuracy average accuracy perplexity latency (TPOT/TTFT/TTLT) model size

Baselines: Mamba-PTQ Mamba-SmQ Mamba-Had dynamic quantization static quantization Pythia QuaRot Quip#

Builds on: Mamba QuaRot SmoothQuant LLM.int8 OCTAV

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