# Bi-Mamba: Towards Accurate 1-Bit State Space Models

- **ID:** 561
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2411.11843
- **Authors:** Shengkun Tang, Liqun Ma, Haonan Li, Mingjie Sun, Zhiqiang Shen
- **Venue:** arXiv / MBZUAI / Carnegie Mellon University
- **Published:** 2024
- **License:** CC BY 4.0
- **License family:** Permissive (auto-classified)
- **Tags:** bi-mamba, mamba-2, 1-bit, quantization, ssm, mbzuai, tmlr, fbi-linear
- **Topics:** quantization, 1-bit SSMs, Mamba
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/561

## Summary

Binarizes Mamba-2 in/out projections (~90%+ of params) with FBI-Linear (sign weights plus per-column α/β) and autoregressive distillation from LLaMA2-7B on Amber. Beats GPTQ-2/3bit and BiLLM post-training binarization on Mamba-2 780M/1.3B/2.7B zero-shot and Wiki2/PTB/C4 PPL; 2.7B avg 50.6 vs Mamba-2 FP 59.6, Wiki2 10.0 vs 9.1. Claims ~5× memory / ~3× throughput vs FP16 2.7B on M4 Pro. Accepted in TMLR 2025. Code https://github.com/Tangshengku/Bi-Mamba.

## Attributes

- **Purpose:** Train 1-bit Mamba-2 from scratch so linear-complexity SSMs stay accurate at binary weights
- **Scale:** Mamba-2 780M/1.3B/2.7B; Amber ~105B tokens (30 chunks in v2 writeup); LLaMA2-7B teacher; eval BoolQ/PIQA/HellaSwag/WinoGrande/ARC/OBQA plus Wiki2/PTB/C4; HumanEval/GSM8K
- **Time period:** 2024-11-18 (arXiv 2411.11843 v1); last revised 2025-10-23 (v2). Accepted in TMLR 2025. HF paper publishedAt 2024-11-18.

## From the source (fetched 2026-10-03)

- **Published:** Nov 18, 2024 (arXiv)
- **Last revised:** Oct 23, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.AI (arXiv)
- **Author comment:** Accepted in TMLR 2025 (arXiv)
- **Citations:** 13 (3 influential) (Semantic Scholar)
- **References:** 56 (Semantic Scholar)

## Abstract

The typical Selective State-Space Model (SSM) used in Mamba addresses several limitations of Transformers, such as the quadratic computational complexity with respect to sequence length and the significant memory requirements during inference due to the key-value (KV) cache. However, the increasing size of Mamba models continues to pose challenges for training and deployment, particularly due to their substantial computational demands during both training and inference. In this work, we introduce $\texttt{Bi-Mamba}$, a scalable and powerful 1-bit Mamba architecture designed to enable more efficient large language models (LLMs), with model sizes of 780M, 1.3B, and 2.7B parameters. $\texttt{Bi-Mamba}$ models are trained from scratch on a standard LLM-scale dataset using an autoregressive distillation loss. Extensive experiments on language modeling benchmarks demonstrate that $\texttt{Bi-Mamba}$ achieves performance comparable to its full-precision (FP16 or BF16) counterparts, while outperforming post-training binarization (PTB) Mamba and binarization-aware training (BAT) Transformer baselines. Moreover, $\texttt{Bi-Mamba}$ drastically reduces memory usage and computational cost compared to the original Mamba. Our work pioneers a new line of linear-complexity LLMs under low-bit representation and provides the way for the design of specialized hardware optimized for efficient 1-bit Mamba-based models. Code and the pre-trained weights are available at https://github.com/Tangshengku/Bi-Mamba.

## Research notes

- Primary: arxiv abs (cs.CL; also cs.AI). License CC BY 4.0 on HTML at check. Comment: Accepted in TMLR 2025. Equal contrib Tang/Ma; corresponding Zhiqiang Shen (zhiqiang.shen@mbzuai.ac.ae). MBZUAI / CMU (Sun). Code https://github.com/Tangshengku/Bi-Mamba (HF githubRepo; 17 stars at check). HF paper page 0 upvotes; no linked models/datasets. Discord posted abs. Trains on public Amber (RefinedWeb/StarCoder/RedPajama), not a new hosted corpus, so no datasets_local row.

## Cites, within this collection

- [GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers](https://papers.projxon.ai/entries/962) (paper 2022, #962)
- [AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration](https://papers.projxon.ai/entries/963) (paper 2023, #963)

## Similar entries

- [BitNet a4.8: 4-bit Activations for 1-bit LLMs](https://papers.projxon.ai/entries/556) (paper, #556)
- [Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones](https://papers.projxon.ai/entries/1104) (model, #1104)
- [Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performance](https://papers.projxon.ai/entries/1097) (paper, #1097)
- [Disaggregated Quantization: Specializing LLM Prefill and Decode](https://papers.projxon.ai/entries/829) (paper, #829)
- [Towards Looped Models Done Right — Part I: Topology, Input Injection, Recurrent-State Design](https://papers.projxon.ai/entries/651) (other, #651)
- [SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration](https://papers.projxon.ai/entries/570) (paper, #570)
