arXiv:2502.00987cs.CLcs.AI2025-02ICLR被引 43

RandLoRA用随机矩阵实现全秩微调,提升模型表现同时保持参数效率。

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

  • 用可学习的缩放系数组合固定随机低秩矩阵,实现全秩更新。
  • 在视觉、语言及图文任务中显著缩小甚至消除标准微调与LoRA的性能差距。
  • 适合需要高效微调且追求高精度的开发者和研究者。

低秩适应(LoRA)及其变体在减少大型Transformer网络训练参数量和内存需求方面表现优异,但其低秩权重更新机制本质上限制了模型的表征能力,可能影响复杂任务的表现。本文提出RandLoRA,一种参数高效的微调方法,通过学习一组固定随机低秩矩阵的线性组合实现全秩更新。训练时仅优化应用于这些固定矩阵的对角缩放矩阵,从而在保持参数与内存效率的同时突破低秩限制。在视觉、语言及视觉-语言多个基准上的广泛实验表明,全秩更新在单模态任务中已具优势,尤其在多模态任务中表现更佳;RandLoRA能显著缩小甚至消除标准微调与LoRA之间的性能差距,验证了其有效性。

原文摘要 · Abstract (English)

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.

微调参数效率全秩更新LoRA

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。