arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.12074cs.LGcs.AI
收藏

提升大规模模型的参数效率与泛化能力:一种正则化与掩码低秩适配方法

Enhancing Parameter Efficiency and Generalization in Large-Scale Models: A Regularized and Masked Low-Rank Adaptation Approach

Tsinghua University(清华大学);Tsinghua-Berkeley Shenzhen Institute(清华-伯克利深圳学院);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Institute for AI Industry Research (AIR)(人工智能产业研究院);Shanghai AI Lab(上海人工智能实验室)

Yuzhu Mao, Siqi Ping, Zihao Zhao, Yang Liu, Wenbo Ding

AI总结:

本文提出RM-LoRA,通过正则化和梯度掩码提高低秩适配的内在维度,在相同或更少参数下提升大规模模型微调的泛化性能。

摘要:

大型预训练模型,如大型语言模型(LLMs),由于其庞大的参数量,在微调时带来了显著的资源挑战,尤其是在移动系统应用中。为了解决这一问题,低秩适配(LoRA)被开发出来,以在保持令人满意的微调结果的同时减少资源消耗。尽管其有效,原始LoRA方法仍面临性能次优和过拟合的挑战。本文研究了LoRA方法所近似的矩阵更新的内在维度,并揭示了增加该内在维度带来的性能优势。通过采用正则化和一种鼓励更高内在维度的梯度掩码方法,所提出的方法,称为正则化与掩码LoRA(RM-LoRA),在相同或更低的训练参数预算下,相较于原始LoRA及其最新变体,在各种开源视觉和语言数据集上取得了更优的泛化性能。

英文摘要:

Large pre-trained models, such as large language models (LLMs), present significant resource challenges for fine-tuning due to their extensive parameter sizes, especially for applications in mobile systems. To address this, Low-Rank Adaptation (LoRA) has been developed to reduce resource consumption while maintaining satisfactory fine-tuning results. Despite its effectiveness, the original LoRA method faces challenges of suboptimal performance and overfitting. This paper investigates the intrinsic dimension of the matrix updates approximated by the LoRA method and reveals the performance benefits of increasing this intrinsic dimension. By employing regularization and a gradient masking method that encourages higher intrinsic dimension, the proposed method, termed Regularized and Masked LoRA (RM-LoRA), achieves superior generalization performance with the same or lower trainable parameter budget compared to the original LoRA and its latest variants across various open-source vision and language datasets.

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

↑