arXiv:2507.05566cs.AI2025-07被引 2

SingLoRA用单矩阵分解提升微调稳定性,参数减半且性能更优。

SingLoRA: Low Rank Adaptation Using a Single Matrix

  • 将低秩更新改为单矩阵乘其转置,消除矩阵尺度冲突。
  • 微调LLama 7B在MNLI上达91.3%准确率,优于LoRA的89.1%。
  • 适合追求高效稳定微调的开发者,尤其在资源受限场景。

低秩自适应(LoRA)显著推动了大模型参数高效微调的发展。LoRA通过添加两个小矩阵的乘积来扩展预训练权重,形成低秩更新。近期研究发现,这两矩阵间的尺度差异常导致训练不稳定,影响性能。本文提出SingLoRA,将低秩自适应重构为单个低秩矩阵与其转置的乘积形式。该设计天然消除矩阵间尺度冲突,确保优化稳定,并使参数量大致减半。我们在无限宽度神经网络框架下分析SingLoRA,证明其构造即保证稳定特征学习。大量实验验证其优势:在常识推理任务中,用SingLoRA微调LLama 7B在MNLI上达到91.3%准确率,超过LoRA(89.1%)和LoRA+(90.2%),且仅使用60%的参数预算;在图像生成任务中,微调Stable Diffusion时,SingLoRA在DreamBooth上实现0.151的DINO相似度,优于DoRA(0.148)和LoRA(0.143)。

原文摘要 · Abstract (English)

Low-Rank Adaptation (LoRA) has significantly advanced parameter-efficient fine-tuning of large pretrained models. LoRA augments the pre-trained weights of a model by adding the product of two smaller matrices that together form a low-rank matrix update. Recent research has shown that scale disparities between these two matrices often cause unstable training dynamics, leading to suboptimal performance. In this paper, we propose SingLoRA, which reformulates low-rank adaptation by learning the weights update as a decomposition of a single low-rank matrix multiplied by its transpose. This simple design inherently removes inter-matrix scale conflicts, ensuring stable optimization, and roughly halves the parameter count. We analyze SingLoRA within the infinite-width neural network framework, showing that it guarantees stable feature learning by construction. Extensive experiments on multiple tasks validate these benefits. In common sense reasoning, fine-tuning LLama 7B on MNLI with SingLoRA achieves 91.3% accuracy - surpassing LoRA (89.1%) and LoRA+ (90.2%) - while using only 60% of their parameter budget. In image generation, fine-tuning Stable Diffusion with SingLoRA significantly improves image fidelity on DreamBooth, achieving a DINO similarity score of 0.151, compared to scores of 0.148 and 0.143 for DoRA and LoRA, respectively.

低秩微调参数效率稳定训练

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