arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.10135cs.CL
收藏

ASLoRA:跨层自适应共享低秩适配

ASLoRA: Adaptive Sharing Low-Rank Adaptation Across Layers

Shandong University(山东大学);Inspur Cloud Information Technology Co.,Ltd(浪潮云信息技术股份公司);Leiden University(莱顿大学)

Junyan Hu, Xue Xiao, Mengqi Zhang, Yao Chen, Zhaochun Ren, Zhumin Chen, Pengjie Ren

AI总结:

提出ASLoRA跨层参数共享策略,通过全局共享低秩矩阵A并自适应合并矩阵B,在减少75%以上参数的同时提升模型性能与任务适应性。

摘要:

随着大型语言模型(LLMs)规模的增大,传统全量微调因其高昂的计算和存储成本而变得愈发不切实际。尽管流行的参数高效微调方法(如LoRA)已显著减少了可训练参数的数量,但仍存在进一步优化的空间。在本工作中,我们提出了ASLoRA,一种结合全局共享与部分自适应共享的跨层参数共享策略。具体而言,我们在所有层之间共享低秩矩阵A,并在训练过程中自适应地合并矩阵B。这种共享机制不仅有效缓解了过拟合,还捕获了层间依赖关系,显著增强了模型的表示能力。我们在多种自然语言处理任务上进行了广泛实验,结果表明,ASLoRA在参数使用量不足LoRA的25%的情况下性能优于LoRA,凸显了其灵活性和卓越的参数效率。此外,对自适应共享策略的深入分析证实了其在增强模型灵活性和任务适应性方面的显著优势。

英文摘要:

As large language models (LLMs) grow in size, traditional full fine-tuning becomes increasingly impractical due to its high computational and storage costs. Although popular parameter-efficient fine-tuning methods, such as LoRA, have significantly reduced the number of tunable parameters, there is still room for further optimization. In this work, we propose ASLoRA, a cross-layer parameter-sharing strategy combining global sharing with partial adaptive sharing. Specifically, we share the low-rank matrix A across all layers and adaptively merge matrix B during training. This sharing mechanism not only mitigates overfitting effectively but also captures inter-layer dependencies, significantly enhancing the model's representational capability. We conduct extensive experiments on various NLP tasks, showing that ASLoRA outperforms LoRA while using less than 25% of the parameters, highlighting its flexibility and superior parameter efficiency. Furthermore, in-depth analyses of the adaptive sharing strategy confirm its significant advantages in enhancing both model flexibility and task adaptability.

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

↑