CCQ: Convolutional Code for Extreme Low-bit Quantization in LLMs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhou, Zhaojing, Li, Xunchao, Li, Minghao, Zhang, Handi, Wang, Haoshuang, Chang, Wenbin, Liu, Yiqun, Dang, Qingqing, Yu, Dianhai, Ma, Yanjun, Wang, Haifeng
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909681779212288
author Zhou, Zhaojing
Li, Xunchao
Li, Minghao
Zhang, Handi
Wang, Haoshuang
Chang, Wenbin
Liu, Yiqun
Dang, Qingqing
Yu, Dianhai
Ma, Yanjun
Wang, Haifeng
author_facet Zhou, Zhaojing
Li, Xunchao
Li, Minghao
Zhang, Handi
Wang, Haoshuang
Chang, Wenbin
Liu, Yiqun
Dang, Qingqing
Yu, Dianhai
Ma, Yanjun
Wang, Haifeng
contents The rapid scaling of Large Language Models (LLMs) elevates inference costs and compounds substantial deployment barriers. While quantization to 8 or 4 bits mitigates this, sub-3-bit methods face severe accuracy, scalability, and efficiency degradation. We propose Convolutional Code Quantization (CCQ), an inference-optimized quantization approach compressing LLMs to 2.0-2.75 bits with minimal accuracy loss. Departing from error-prone scalar quantization or slow vector quantization, CCQ integrates a hardware-aware bit-shift encoding and decoding solution with Convolutional Code, Hybrid Encoding, and Code Cluster, jointly overcoming accuracy-speed bottlenecks. We construct a lookup-free encoding space, enabling a linear mapping between the codebook and weight vectors, thereby optimizing inference performance. Meanwhile, by drawing on the concept of data mapping from vector quantization, we minimize the performance degradation of the model under extremely low-bit conditions. Experiments demonstrate that CCQ achieves outstanding performance on LLMs across various benchmarks. We compress DeepSeek-V3 (671B total parameters) to 184GB and ERNIE-4.5-300B-A47B to 89GB, enabling single-GPU deployment of ERNIE 4.5 and eliminating inter-card communication. The 2-bit ERNIE-4.5-300B-A47B model and inference engine have been open-sourced.
format Preprint
id arxiv_https___arxiv_org_abs_2507_07145
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CCQ: Convolutional Code for Extreme Low-bit Quantization in LLMs
Zhou, Zhaojing
Li, Xunchao
Li, Minghao
Zhang, Handi
Wang, Haoshuang
Chang, Wenbin
Liu, Yiqun
Dang, Qingqing
Yu, Dianhai
Ma, Yanjun
Wang, Haifeng
Machine Learning
The rapid scaling of Large Language Models (LLMs) elevates inference costs and compounds substantial deployment barriers. While quantization to 8 or 4 bits mitigates this, sub-3-bit methods face severe accuracy, scalability, and efficiency degradation. We propose Convolutional Code Quantization (CCQ), an inference-optimized quantization approach compressing LLMs to 2.0-2.75 bits with minimal accuracy loss. Departing from error-prone scalar quantization or slow vector quantization, CCQ integrates a hardware-aware bit-shift encoding and decoding solution with Convolutional Code, Hybrid Encoding, and Code Cluster, jointly overcoming accuracy-speed bottlenecks. We construct a lookup-free encoding space, enabling a linear mapping between the codebook and weight vectors, thereby optimizing inference performance. Meanwhile, by drawing on the concept of data mapping from vector quantization, we minimize the performance degradation of the model under extremely low-bit conditions. Experiments demonstrate that CCQ achieves outstanding performance on LLMs across various benchmarks. We compress DeepSeek-V3 (671B total parameters) to 184GB and ERNIE-4.5-300B-A47B to 89GB, enabling single-GPU deployment of ERNIE 4.5 and eliminating inter-card communication. The 2-bit ERNIE-4.5-300B-A47B model and inference engine have been open-sourced.
title CCQ: Convolutional Code for Extreme Low-bit Quantization in LLMs
topic Machine Learning
url https://arxiv.org/abs/2507.07145