BitNet a4.8: 4-bit Activations for 1-bit LLMs
Summary
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.
- Venue
- arXiv / Microsoft Research / University of Chinese Academy of Sciences
- Purpose
- Add 4-bit activations to 1.58-bit BitNet so inference can use INT4/FP4 kernels without losing b1.58 quality
- Scale
- LLaMA-matched 700M/1.3B/3B/7B; sparsity on C4 valid; 2B×2T scale-up vs b1.58; TopK 50% on attention output projection; zero-shot end tasks
- Time period
- 2024-11-07 (arXiv 2411.04965 v1). Comment: Work in progress. HF paper publishedAt 2024-11-07.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- Nov 7, 2024
- arXiv categories
- cs.CL, cs.LG
- Author comment
- Work in progress
- Citations
- 22 (2 influential)
- References
- 0
Abstract (from arXiv)
Recent research on the 1-bit Large Language Models (LLMs), such as BitNet b1.58, presents a promising direction for reducing the inference cost of LLMs while maintaining their performance. In this work, we introduce BitNet a4.8, enabling 4-bit activations for 1-bit LLMs. BitNet a4.8 employs a hybrid quantization and sparsification strategy to mitigate the quantization errors introduced by the outlier channels. Specifically, we utilize 4-bit activations for inputs to the attention and feed-forward network layers, while sparsifying intermediate states followed with 8-bit quantization. Extensive experiments demonstrate that BitNet a4.8 achieves performance comparable to BitNet b1.58 with equivalent training costs, while being faster in inference with enabling 4-bit (INT4/FP4) kernels. Additionally, BitNet a4.8 activates only 55% of parameters and supports 3-bit KV cache, further enhancing the efficiency of large-scale LLM deployment and inference.
Tags
Topics
quantization, 1-bit LLMs, efficient inference
Research notes
- Primary: arxiv abs (cs.CL; also cs.LG). License: arXiv.org perpetual non-exclusive on HTML at check. Comment: Work in progress. Equal contrib Wang/Ma; corresponding S. Ma and F. Wei (Microsoft Research). H. Wang UCAS. https://aka.ms/GeneralAI. No official code on abs. HF paper page 70 upvotes; no githubRepo; unofficial linked dataset DavidRy/bitnet-distill-logits (1 like / 14 downloads at HF API check) not copied into hf_* fields and not substantial, so no datasets_local row. Discord posted HTML. License field left blank per catalog convention.
Similar entries
- Model BitNet b1.58 2B4T
- Paper Bi-Mamba: Towards Accurate 1-Bit State Space Models
- Paper Q-Sparse: All Large Language Models can be Fully Sparsely-Activated
- Other HadaCore / Hadamard rotations for 4-bit inference (X thread by jessiedong_)
- Model Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones
- Paper Matryoshka Quantization