paper-with-me

홈 › Papers

BiLLM: Pushing the Limit of Post-Training Quantization for LLMs

2024-02-06 · Wei Huang, Yangdong Liu, Haotong Qin, Ying Li, Shiming Zhang, Xianglong Liu, Michele Magno, Xiaojuan Qi

Pretrained large language models (LLMs) exhibit exceptional general language processing capabilities but come with significant demands on memory and computational resources. As a powerful compression technology, binarization can extremely reduce model weights to a mere 1 bit, lowering the expensive computation and memory requirements. However, existing quantization techniques fall short of maintaining LLM performance under ultra-low bit-widths. In response to this challenge, we present BiLLM, a groundbreaking 1-bit post-training quantization scheme tailored for pretrained LLMs. Based on the weight distribution of LLMs, BiLLM first identifies and structurally selects salient weights, and minimizes the compression loss through an effective binary residual approximation strategy. Moreover, considering the bell-shaped distribution of the non-salient weights, we propose an optimal splitting search to group and binarize them accurately. BiLLM achieving for the first time high-accuracy inference (e.g. 8.41 perplexity on LLaMA2-70B) with only 1.08-bit weights across various LLMs families and evaluation metrics, outperforms SOTA quantization methods of LLM by significant margins. Moreover, BiLLM enables the binarization process of the LLM with 7 billion weights within 0.5 hours on a single GPU, demonstrating satisfactory time efficiency. Our code is available at https://github.com/Aaronhuang-778/BiLLM.

📄 PDF Abstract BibTeX arXiv:2402.04291

Code (1)

aaronhuang-778/billm 공식 구현 pytorch

Tasks

BinarizationGPUQuantization

Similar Papers 제목 키워드 기반

Minimizing the Hidden Cost of Scales: Graph-Guided Ultra-Low-Bit Quantization for Large Language Models

2026-06-03 · Rayyan Abdalla, Amir Hussein, Min Wu, Dinesh Manocha arxiv

Post-training quantization (PTQ) is critical for the efficient deployment of large language models (LLMs). Recent ultra-low-bit PTQ methods rely on rigid weight-saliency assumptions or position heuristics, introducing su…

An Empirical Study of OpenPangu Quantization on Ascend NPUs

2026-06-19 · Tong Shi, Jiacheng Wang, Hui Xie, Ying Li 외 arxiv

OpenPangu models are attractive targets for private and domestic large-language-model deployment, yet their robustness under aggressive post-training quantization on Ascend NPUs has not been systematically characterized.…

OAC: Output-adaptive Calibration for Accurate Post-training Quantization

2024-05-23 · Ali Edalati, Alireza Ghaffari, Mahsa Ghazvini Nejad, Lu Hou 외

Deployment of Large Language Models (LLMs) has major computational costs, due to their rapidly expanding size. Compression of LLMs reduces the memory footprint, latency, and energy required for their inference. Post-trai…

Quantization

BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction

2021-02-10 · ICLR 2021 1 · Yuhang Li, Ruihao Gong, Xu Tan, Yang Yang 외

We study the challenging task of neural network quantization without end-to-end retraining, called Post-training Quantization (PTQ). PTQ usually requires a small subset of training data but produces less powerful quantiz…

image-classificationImage Classificationobject-detectionObject Detection+1

I&S-ViT: An Inclusive & Stable Method for Pushing the Limit of Post-Training ViTs Quantization

2023-11-16 · Yunshan Zhong, Jiawei Hu, Mengzhao Chen, Rongrong Ji

Albeit the scalable performance of vision transformers (ViTs), the dense computational costs (training & inference) undermine their position in industrial applications. Post-training quantization (PTQ), tuning ViTs with …

Quantization