paper-with-me

홈 › Papers

ARB-LLM: Alternating Refined Binarizations for Large Language Models

2024-10-04 · Zhiteng Li, Xianglong Yan, Tianao Zhang, Haotong Qin, Dong Xie, Jiang Tian, Zhongchao shi, Linghe Kong, Yulun Zhang, Xiaokang Yang

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.

📄 PDF Abstract BibTeX arXiv:2410.03129

Code (1)

zhitengli/arb-llm 공식 구현 pytorch

Tasks

BinarizationQuantization

Similar Papers 제목 키워드 기반

RefinedFields: Radiance Fields Refinement for Unconstrained Scenes

2023-12-01 · Karim Kassab, Antoine Schnepf, Jean-Yves Franceschi, Laurent Caraffa 외

Modeling large scenes from unconstrained images has proven to be a major challenge in computer vision. Existing methods tackling in-the-wild scene modeling operate in closed-world settings, where no conditioning on prior…

Neural RenderingNovel View Synthesis

Ultra-high Resolution Image Segmentation via Locality-aware Context Fusion and Alternating Local Enhancement

2021-09-06 · ICCV 2021 10 · Wenxi Liu, Qi Li, Xindai Lin, Weixiang Yang 외

Ultra-high resolution image segmentation has raised increasing interests in recent years due to its realistic applications. In this paper, we innovate the widely used high-resolution image segmentation pipeline, in which…

Image SegmentationLand Cover ClassificationSegmentationSemantic Segmentation

A Generalization of Otsu's Method and Minimum Error Thresholding

2020-07-14 · Jonathan T. Barron

We present Generalized Histogram Thresholding (GHT), a simple, fast, and effective technique for histogram-based image thresholding. GHT works by performing approximate maximum a posteriori estimation of a mixture of Gau…

Binarization

A Generalization of Otsu’s Method and Minimum Error Thresholding

2020-08-01 · ECCV 2020 8 · Jonathan T. Barron

We present Generalized Histogram Thresholding (GHT), a simple, fast, and effective technique for histogram-based image thresholding. GHT works by performing approximate maximum a posteriori estimation of a mixture of Gau…

Binarization

RoboMoRe: LLM-based Robot Co-design via Joint Optimization of Morphology and Reward

2025-05-30 · Jiawei Fang, Yuxuan Sun, Chengtian Ma, Qiuyu Lu 외

Robot co-design, jointly optimizing morphology and control policy, remains a longstanding challenge in the robotics community, where many promising robots have been developed. However, a key limitation lies in its tenden…

Large Language Model