arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00987cs.CLcs.AIcs.CV
收藏

RandLoRA:大模型的全秩参数高效微调

RandLoRA: Full-rank parameter-efficient fine-tuning of large models

Australian Institute for Machine Learning(澳大利亚机器学习研究院);The University of Adelaide(阿德莱德大学)

Paul Albert, Frederic Z. Zhang, Hemanth Saratchandran, Cristian Rodriguez-Opazo, Anton van den Hengel, Ehsan Abbasnejad

AI总结:

RandLoRA通过可学习的低秩随机矩阵线性组合实现全秩更新,在保持参数高效的同时克服LoRA的秩限制,显著缩小甚至消除与标准微调的性能差距。

摘要:

低秩适应(LoRA)及其变体在减少大型Transformer网络的可训练参数数量和内存需求方面取得了显著成果,同时保持了微调性能。然而,权重更新的低秩特性本质上限制了微调模型的表示能力,从而可能在复杂任务上损害性能。这引出了一个关键问题:当观察到LoRA与标准微调之间存在性能差距时,这种差距是由于可训练参数数量减少还是由于秩不足造成的?本文旨在通过引入RandLoRA来回答这一问题。RandLoRA是一种参数高效方法,它利用低秩、不可训练的随机矩阵的已学习线性组合来执行全秩更新。我们的方法通过将优化限制为应用于固定随机矩阵的对角缩放矩阵来限制可训练参数的数量。这使我们能够有效克服低秩限制,同时在训练期间保持参数和内存效率。通过在视觉、语言和视觉-语言基准上的广泛实验,我们系统地评估了LoRA和现有随机基方法的局限性。我们的发现表明,全秩更新在视觉和语言任务中分别都是有益的,对于视觉-语言任务更是如此,在这些任务中,RandLoRA显著缩小了——有时甚至消除了——标准微调与LoRA之间的性能差距,证明了其有效性。

英文摘要:

Low-Rank Adaptation (LoRA) and its variants have shown impressive results in reducing the number of trainable parameters and memory requirements of large transformer networks while maintaining fine-tuning performance. The low-rank nature of the weight update inherently limits the representation power of fine-tuned models, however, thus potentially compromising performance on complex tasks. This raises a critical question: when a performance gap between LoRA and standard fine-tuning is observed, is it due to the reduced number of trainable parameters or the rank deficiency? This paper aims to answer this question by introducing RandLoRA, a parameter-efficient method that performs full-rank updates using a learned linear combinations of low-rank, non-trainable random matrices. Our method limits the number of trainable parameters by restricting optimization to diagonal scaling matrices applied to the fixed random matrices. This allows us to effectively overcome the low-rank limitations while maintaining parameter and memory efficiency during training. Through extensive experimentation across vision, language, and vision-language benchmarks, we systematically evaluate the limitations of LoRA and existing random basis methods. Our findings reveal that full-rank updates are beneficial across vision and language tasks individually, and even more so for vision-language tasks, where RandLoRA significantly reduces -- and sometimes eliminates -- the performance gap between standard fine-tuning and LoRA, demonstrating its efficacy.

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

↑