LoRAQuant: Mixed-Precision Quantization of LoRA to Ultra-Low Bits
Amir Reza Mirzaei, Yuqiao Wen, Yanshuai Cao, Lili Mou
TL;DR
LoRAQuant tackles the memory burden of deploying multiple LoRA adapters for LLM customization by introducing a mixed-precision, SVD-based post-training quantization method. It splits each LoRA update into two sub-LoRAs and allocates more bits to the most informative part while quantizing the rest to ultra-low precision, aided by gradient-based optimization to minimize quantization error. Across LLaMA 2-7B/13B and Mistral 7B on math reasoning, coding, and summarization, it achieves average bitwidth below 2 with performance comparable to full-precision baselines and stronger baselines, demonstrating practical scalability for multi-LoRA scenarios. The approach offers substantial memory savings for LLM customization without sacrificing task performance, enabling broader and more efficient deployment of personalized adapters.
Abstract
Low-Rank Adaptation (LoRA) has become a popular technique for parameter-efficient fine-tuning of large language models (LLMs). In many real-world scenarios, multiple adapters are loaded simultaneously to enable LLM customization for personalized user experiences or to support a diverse range of tasks. Although each adapter is lightweight in isolation, their aggregate cost becomes substantial at scale. To address this, we propose LoRAQuant, a mixed-precision post-training quantization method tailored to LoRA. Specifically, LoRAQuant reparameterizes each adapter by singular value decomposition (SVD) to concentrate the most important information into specific rows and columns. This makes it possible to quantize the important components to higher precision, while quantizing the rest to ultra-low bitwidth. We conduct comprehensive experiments with LLaMA 2-7B, LLaMA 2-13B, and Mistral 7B models on mathematical reasoning, coding, and summarization tasks. Results show that our LoRAQuant uses significantly lower bits than other quantization methods, but achieves comparable or even higher performance.
