Papers
arxiv:2410.14713

QuAILoRA: Quantization-Aware Initialization for LoRA

Published on Oct 9, 2024
Authors:
,
,
,
,
,
,

Abstract

QLoRA reduces the memory-cost of fine-tuning a large language model (LLM) with LoRA by quantizing the base LLM. However, quantization introduces <PRE_TAG>quantization errors</POST_TAG> that negatively impact model performance after fine-tuning. In this paper we introduce QuAILoRA, a <PRE_TAG>quantization-aware initialization</POST_TAG> for LoRA that mitigates this negative impact by decreasing <PRE_TAG>quantization errors</POST_TAG> at initialization. Our method spends a small amount of computational overhead to compute this <PRE_TAG>quantization-aware initialization</POST_TAG>, without increasing the memory-cost of fine-tuning. We evaluate our method on several causal language modeling and downstream evaluation tasks using several different model sizes and families. We observe that almost all LLMs fined-tuned with QuAILoRA achieve better validation perplexity. When evaluated on downstream tasks, we find that QuAILoRA yields improvements proportional to the negative effect of quantization error. On average, applying QuAILoRA to 4-bit QLoRA models yields 75% of the validation perplexity decrease and 86% of the downstream task accuracy increase as doubling the quantization precision to 8-bit, without increasing GPU memory utilization during fine-tuning.

Community

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2410.14713 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2410.14713 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2410.14713 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.