ARB-LLM: Alternating Refined Binarizations for Large Language Models

Zhiteng Li, Xianglong Yan, Tianao Zhang, Haotong Qin, Dong Xie +5 more
10/1/2024

No official code found. Best implementation: ZHITENGLI/ARB-LLM (31 stars, Apache-2.0, last commit 2025-08-05).

Abstract

Large Language Models (LLMs) have greatly pushed forward advancements in natural language processing, yet their high memory and computational demands hinder practical deployment. Binarization, as an effective compression technique, can shrink model weights to just 1 bit, significantly reducing the high demands on computation and memory. However, current binarization methods struggle to narrow the distribution gap between binarized and full-precision weights, while also overlooking the column deviation in LLM weight distribution. To tackle these issues, we propose ARB-LLM, a novel 1-bit post-training quantization (PTQ) technique tailored for LLMs. To narrow the distribution shift between binarized and full-precision weights, we first design an alternating refined binarization (ARB) algorithm to progressively update the binarization parameters, which significantly reduces the quantization error. Moreover, considering the pivot role of calibration data and the column deviation in LLM weights, we further extend ARB to ARB-X and ARB-RC. In addition, we refine the weight partition strategy with column-group bitmap (CGB), which further enhance performance. Equipping ARB-X and ARB-RC with CGB, we obtain ARB-LLM$_\text{X}$ and ARB-LLM$_\text{RC}$ respectively, which significantly outperform state-of-the-art (SOTA) binarization methods for LLMs. As a binary PTQ method, our ARB-LLM$_\text{RC}$ is the first to surpass FP16 models of the same size. The code and models will be available at https://github.com/ZHITENGLI/ARB-LLM.

View on arXivView PDF

Code Implementations(1)

ZHITENGLI/ARB-LLMCommunity100%
Apache-2.0

[ICLR'25] ARB-LLM: Alternating Refined Binarizations for Large Language Models

312PythonOct 3, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2024arbllm,
  title  = {ARB-LLM: Alternating Refined Binarizations for Large Language Models},
  author = {Zhiteng Li and Xianglong Yan and Tianao Zhang and Haotong Qin and Dong Xie and Jiang Tian and Zhongchao Shi and Linghe Kong and Yulun Zhang and Xiaokang Yang},
  year   = {2024},
  eprint = {2410.03129},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.03129},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.03129.svg)](https://codeofpaper.com/paper/2410.03129)

Discussion