LoRAQuant:将LoRA混合精度量化至超低比特
LoRAQuant: Mixed-Precision Quantization of LoRA to Ultra-Low Bits
AI总结:
针对多LoRA适配器规模化部署的高存储成本问题,提出专为LoRA定制的混合精度后训练量化方法LoRAQuant,在LLaMA 2、Mistral模型的多任务上,以更低比特实现了相当或更优性能。
摘要:
低秩适配(LoRA)已成为大语言模型(LLM)参数高效微调的流行技术。在许多实际场景中,会同时加载多个适配器,以实现LLM针对个性化用户体验的定制或支持多样化任务。尽管每个适配器单独来看是轻量的,但在规模化部署时,它们的总存储成本会变得相当可观。为解决该问题,我们提出LoRAQuant,一种专为LoRA定制的混合精度后训练量化方法。具体而言,LoRAQuant通过奇异值分解(SVD)对每个适配器进行重新参数化,将最重要的信息集中到特定的行和列中,这使得我们可以将重要组件量化为更高精度,而其余部分则量化为超低比特宽度。我们在LLaMA 2-7B、LLaMA 2-13B和Mistral 7B模型上,针对数学推理、代码和摘要任务开展了全面实验。结果表明,LoRAQuant使用的比特数远低于其他量化方法,却能达到相当甚至更高的性能。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。