arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.20973cs.LGcs.CL
收藏

LCQ:基于低秩码本的大语言模型量化

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

Nanjing University(南京大学)

Wen-Pu Cai, Ming-Yang Li, Wu-Jun Li

AI总结:

针对大语言模型部署中高存储计算成本问题,提出基于低秩码本的量化方法LCQ,采用秩大于一的码本,在额外存储成本可忽略时精度优于现有秩一码本量化方法。

摘要:

大语言模型(LLMs)最近在许多任务中展现出良好性能,但高存储和计算成本成为部署挑战。权重量化被广泛用于模型压缩,可同时降低存储和计算成本。现有多数LLM权重量化方法采用秩一码本,高压缩比时会导致显著精度损失。本文提出一种新的LLM权重量化方法——基于低秩码本的量化(LCQ),其采用秩可大于一的低秩码本。实验表明,LCQ在额外存储成本可忽略的情况下,精度优于现有方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑