arXiv:2503.00572cs.CLcs.AI2025-03被引 3

用低秩残差连接提升微调效率,减少参数量同时避免梯度消失。

LoR2C : Low-Rank Residual Connection Adaptation for Parameter-Efficient Fine-Tuning

  • 在模型层中引入低秩残差连接,降低微调参数数量。
  • 在多个任务上比现有方法少90%以上参数,性能不降反升。
  • 适合资源受限场景,如移动端或边缘设备部署。

近年来,预训练大语言模型在自然语言处理任务中表现优异。但全参数微调需调整所有模型参数,计算开销巨大。尽管像LoRA这样的参数高效微调方法已大幅减少参数量,但仍面临梯度消失及进一步压缩的挑战。为此,本文提出一种新型参数高效微调方法LoR2C(Low-Rank Residual Connection Adaptation),在模型层中引入低秩残差连接,不仅减少微调参数,还有效缓解梯度消失问题。此外,本文设计了三种优化变体:ShareLoR2C(参数共享)、MergeLoR2C(模块合并)和InjectLoR2C(注入机制),分别通过参数共享、模块融合与注入策略进一步提升效率与性能。在多个自然语言理解与生成任务上的实验表明,LoR2C及其变体显著降低参数开销,同时保持甚至超越现有主流方法的性能。代码已开源于https://github.com/Oblivioniss/LoR2C。

原文摘要 · Abstract (English)

In recent years, pretrained large language models have demonstrated outstanding performance across various natural language processing tasks. However, full-parameter fine-tuning methods require adjusting all model parameters, leading to immense computational resource demands. Although parameter-efficient fine-tuning methods like LoRA have significantly reduced the number of parameters, they still face challenges such as gradient vanishing and the potential for further parameter reduction. To address these issues, this paper proposes a novel parameter-efficient fine-tuning method called LoR2C (Low-Rank Residual Connection Adaptation). LoR2C introduces residual connections with low-rank matrices within the model layers, which not only reduces the number of fine-tuning parameters but also effectively alleviates the gradient vanishing problem. Additionally, this paper presents three optimization variants of LoR2C: ShareLoR2C, MergeLoR2C, and InjectLoR2C. These variants further improve parameter efficiency and model performance through parameter sharing, module merging, and injection mechanisms, respectively. Experimental results on multiple natural language understanding and natural language generation tasks demonstrate that LoR2C and its optimized variants significantly reduce parameter overhead while maintaining or even improving performance, outperforming existing mainstream parameter-efficient fine-tuning methods.Our code is publicly available at https://github.com/Oblivioniss/LoR2C.

参数高效微调低秩矩阵残差连接

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