paper-with-me

홈 › Papers

Low-Rank Correction for Quantized LLMs

2024-12-10 · Meyer Scetbon, James Hensman

We consider the problem of model compression for Large Language Models (LLMs) at post-training time, where the task is to compress a well-trained model using only a small set of calibration input data. In this work, we introduce a new low-rank approach to correct for quantization errors of \emph{activations} in LLMs: we propose to add low-rank weight matrices in full precision that act on the \emph{unquantized} activations. We then solve a joint optimization problem over the quantized representation of the weights and additional low-rank weight matrices to quantize both weights and activations. We focus on the case of 4-bit weight-and-activation quantization (W4A4). Using ranks equivalent to 10\% of the original weight matrix size, our approach reduces the accuracy gap with the original model by more than 50\%. Using ranks equivalent to 30\% of the original weight matrix, the accuracy gap is closed completely. We demonstrate our results on four recent LLMs, namely Llama-2, Llama-3, Phi-3 and Mixtral models.

📄 PDF Abstract BibTeX arXiv:2412.07902

Code (0)

등록된 구현이 없습니다.

Tasks

Model CompressionQuantization

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Focus 설명 없음

Similar Papers 제목 키워드 기반

GlowQ: Group-Shared LOw-Rank Approximation for Quantized LLMs

2026-03-26 · Selim An, Il hong Suh, Yeseong Kim arxiv

Quantization techniques such as BitsAndBytes, AWQ, and GPTQ are widely used as a standard method in deploying large language models but often degrades accuracy when using low-bit representations, e.g., 4 bits. Low-rank c…

INT2.1: Towards Fine-Tunable Quantized Large Language Models with Error Correction through Low-Rank Adaptation

2023-06-13 · Yuji Chai, John Gkountouras, Glenn G. Ko, David Brooks 외

We introduce a method that dramatically reduces fine-tuning VRAM requirements and rectifies quantization errors in quantized Large Language Models. First, we develop an extremely memory-efficient fine-tuning (EMEF) metho…

Language ModelingLanguage ModellingLarge Language ModelQuantization

Accurate and Efficient Fine-Tuning of Quantized Large Language Models Through Optimal Balance

2024-07-24 · Ao Shen, Qiang Wang, Zhiquan Lai, Xionglve Li 외

Large Language Models (LLMs) have demonstrated impressive performance across various domains. However, the enormous number of model parameters makes fine-tuning challenging, significantly limiting their application and d…

Quantization

QDyLoRA: Quantized Dynamic Low-Rank Adaptation for Efficient Large Language Model Tuning

2024-02-16 · Hossein Rajabzadeh, Mojtaba Valipour, Tianshu Zhu, Marzieh Tahaei 외

Finetuning large language models requires huge GPU memory, restricting the choice to acquire Larger models. While the quantized version of the Low-Rank Adaptation technique, named QLoRA, significantly alleviates this iss…

GPULanguage ModelingLanguage ModellingLarge Language Model+1

FinLoRA: Finetuning Quantized Financial Large Language Models Using Low-Rank Adaptation

2024-12-16 · Dannong Wang, Daniel Kim, Bo Jin, Xingjian Zhao 외

Finetuned large language models (LLMs) have shown remarkable performance in financial tasks, such as sentiment analysis and information retrieval. Due to privacy concerns, finetuning and deploying Financial LLMs (FinLLMs…

GPUInformation RetrievalQuantizationRetrieval+1