LCQ: Low-Rank Codebook based Quantization for Large Language Models

Wen-Pu Cai, Ming-Yang Li, Wu-Jun Li
5/31/2024
cs.LGcs.CL

No confident code implementation found for this paper. 7 possible matches can be shown below.

Abstract

Large language models~(LLMs) have recently demonstrated promising performance in many tasks. However, the high storage and computational cost of LLMs has become a challenge for deploying LLMs. Weight quantization has been widely used for model compression, which can reduce both storage and computational cost. Most existing weight quantization methods for LLMs use a rank-one codebook for quantization, which results in substantial accuracy loss when the compression ratio is high. In this paper, we propose a novel weight quantization method, called low-rank codebook based quantization~(LCQ), for LLMs. LCQ adopts a low-rank codebook, the rank of which can be larger than one, for quantization. Experiments show that LCQ can achieve better accuracy than existing methods with a negligibly extra storage cost.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 7 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cai2024lcq,
  title  = {LCQ: Low-Rank Codebook based Quantization for Large Language Models},
  author = {Wen-Pu Cai and Ming-Yang Li and Wu-Jun Li},
  year   = {2024},
  eprint = {2405.20973},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.20973v2}
}

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/2405.20973.svg)](https://codeofpaper.com/paper/2405.20973)

Discussion