Explore the research collection
4 entries · Follow this search
- Paper
Bi-Mamba: Towards Accurate 1-Bit State Space Models
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.
- Paper
BitNet a4.8: 4-bit Activations for 1-bit LLMs
Hybrid recipe: INT4 activations into attention/FFN, plus sparsify then 8-bit on outlier-heavy intermediate states. Two-stage continue-training from BitNet b1.58 (W1.58A8 then W1.58A4; last 5B tokens for the 4-bit stage). Matches b1.58 at equal train cost while enabling 4-bit kernels; ~55% of parameters activated and 3-bit KV cache. 7B: 44.5% overall sparsity / 3.4B active vs b1.58 6.0B; a 2B model on 2T tokens stays at parity with b1.58. No official code on abs.
- Paper
Disaggregated Quantization: Specializing LLM Prefill and Decode
Disaggregated quantization (DQ): separate computation formats, weights, and storage placement specialized to prefill vs decode -- low-precision arithmetic accelerates prompt processing, compact weights reduce memory traffic during generation. Removing activation quantization on decode improves accuracy on decode-heavy tasks without added inference cost (Qwen 3, Gemma 3). Separate compute-native prefill weights accelerate prompt processing vs weight-only inference while matching/exceeding its accuracy at 2-3-bit decode. Training an NVFP4 prefiller improves 1-bit accuracy by 32.5 points on MMLU-Pro and 35.3 on MMMU-Pro without modifying the decode checkpoint (Qwen3.8-27B GGUF decoder). "Offloaded disaggregated prefill" (ODP) streams the extra prefill checkpoint from SSD, amortizing loading over prompt length: 1.78x time-to-first-token speedup over the weight-only baseline at 8K prompt length in llama.cpp. Accuracy evaluated under disaggregated serving in vLLM; shared-weight format disaggregation validated via PTQ on models up to 2.8T parameters.
- Paper
FlashHead: Efficient Drop-In Replacement for the Classification Head in Language Model Inference
Argues growing vocabularies make the dense LM head a major param/compute bottleneck (up to ~60% params / ~50% decode compute on small models). FlashHead reframes next-token scoring as balanced-cluster multiprobe retrieval with sampling support and selective quantization, reporting up to ~1.75× model-level speedups (e.g. Llama-3.2-1B) with near-baseline accuracy; gains compound with W4A16.