arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.22268cs.LG
收藏

AutoQRA:混合精度量化与低秩适配器的联合优化以实现高效大语言模型微调

AutoQRA: Joint Optimization of Mixed-Precision Quantization and Low-rank Adapters for Efficient LLM Fine-Tuning

Fudan University(复旦大学);Yale University(耶鲁大学);Zhejiang University(浙江大学);OpenWPLab

Changhai Zhou, Shiyang Zhang, Yuhua Zhou, Qian Qiao, Jun Gao, Cheng Jin, Kaizhou Qin, Weizhong Zhang

AI总结:

AutoQRA通过联合优化混合精度量化与低秩适配器,实现高效大语言模型微调,提升性能并降低内存消耗。

摘要:

在GPU内存受限的情况下,量化后接参数高效微调已成为下游适应的一种有前景的范式。然而,这种顺序流程未能利用量化位宽与LoRA秩之间的复杂交互。具体来说,经过精心优化的量化分配和低量化误差并不总能带来强大的微调性能,不同位宽和秩配置在相同内存预算下可能导致显著不同的结果。为了解决这一限制,我们提出了AutoQRA,一种联合优化框架,在混合量化微调过程中同时优化每层的位宽和LoRA秩配置。为了解决大规模离散搜索空间和频繁微调迭代带来的高评估成本问题,AutoQRA将优化过程分解为两个阶段。首先,它进行全局多保真度进化搜索,初始种群通过注入层重要性先验进行预热。这一阶段使用特定的操作符和性能模型高效筛选候选配置。第二,信任区域贝叶斯优化用于局部细化搜索空间中的有希望区域,并在给定内存预算下识别最佳配置。这种方法使训练过程中特定层的量化噪声能够得到主动补偿。实验显示,AutoQRA在内存足迹方面与均匀4位方法相当,性能接近全精度微调。

英文摘要:

Quantization followed by parameter-efficient fine-tuning has emerged as a promising paradigm for downstream adaptation under tight GPU memory constraints. However, this sequential pipeline fails to leverage the intricate interaction between quantization bit-width and LoRA rank. Specifically, a carefully optimized quantization allocation with low quantization error does not always translate to strong fine-tuning performance, and different bit-width and rank configurations can lead to significantly varying outcomes under the same memory budget. To address this limitation, we propose AutoQRA, a joint optimization framework that simultaneously optimizes the bit-width and LoRA rank configuration for each layer during the mixed quantized fine-tuning process. To tackle the challenges posed by the large discrete search space and the high evaluation cost associated with frequent fine-tuning iterations, AutoQRA decomposes the optimization process into two stages. First, it first conducts a global multi-fidelity evolutionary search, where the initial population is warm-started by injecting layer-wise importance priors. This stage employs specific operators and a performance model to efficiently screen candidate configurations. Second, trust-region Bayesian optimization is applied to locally refine promising regions of the search space and identify optimal configurations under the given memory budget. This approach enables active compensation for quantization noise in specific layers during training. Experiments show that AutoQRA achieves performance close to full-precision fine-tuning with a memory footprint comparable to uniform 4-bit methods.

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

↑