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

基于低秩适配贝叶斯重参数化的大语言模型鲁棒高效微调

Robust and Efficient Fine-tuning of LLMs with Bayesian Reparameterization of Low-Rank Adaptation

Indian Institute of Technology Delhi(印度理工学院德里)

Ayan Sengupta, Vaibhav Seth, Arinjay Pathak, Aastha Verma, Natraj Raman, Sriram Gopalakrishnan, Niladri Chatterjee, Tanmoy Chakraborty

AI总结:

针对低秩适配微调对超参数敏感、性能不稳定的问题,提出基于蒙特卡洛估计的MonteCLoRA高效微调方法,以极少新增参数实现更优鲁棒的参数估计,在理解与生成任务上均取得性能提升。

摘要:

大语言模型(LLM)因规模庞大,微调过程资源消耗极高。低秩适配是一种主流的参数高效微调方法,但它对超参数选择较为敏感,会导致下游任务微调后的模型性能不稳定。本文强调了低秩微调中有效参数化对于降低估计方差、提升最终模型输出稳定性的重要性。我们提出了MonteCLoRA这一高效微调技术,它采用蒙特卡洛估计来学习低秩参数的无偏后验估计,且期望方差较低,仅需新增O(r)个参数(r为给定秩)即可实现微调后LLM的稳定化。在基于预训练RoBERTa-base的自然语言理解任务上,MonteCLoRA的准确率和鲁棒性相比无正则化的低秩适配方法分别提升了0.5%和1.6%。此外,在使用预训练LLaMA-1-7B和LLaMA-3.2-3B-Instruct的生成任务中,MonteCLoRA展现出鲁棒性能,其性能波动幅度分别比当前主流的高效微调方法低50%和62%。本文的理论与实证结果表明,参数化和超先验能够平衡低秩参数空间中的探索-利用权衡,从而在高效微调过程中实现更优、更鲁棒的参数估计。

英文摘要:

Large Language Models (LLMs) are highly resource-intensive to fine-tune due to their enormous size. While low-rank adaptation is a prominent parameter-efficient fine-tuning approach, it suffers from sensitivity to hyperparameter choices, leading to instability in model performance on fine-tuning downstream tasks. This paper highlights the importance of effective parameterization in low-rank fine-tuning to reduce estimator variance and enhance the stability of final model outputs. We propose MonteCLoRA, an efficient fine-tuning technique that employs Monte Carlo estimation to learn an unbiased posterior estimation of low-rank parameters with low expected variance, stabilizing fine-tuned LLMs with only O(r) additional parameters, for a given rank r. MonteCLoRA shows 0.5% and 1.6% improvements in accuracy and robustness over unregularized low-rank adaptation method on natural language understanding tasks with pre-trained RoBERTa-base. Furthermore, in generative tasks with pre-trained LLaMA-1-7B and LLaMA-3.2-3B-Instruct, MonteCLoRA demonstrates robust performance with 50% and 62% lower spreads respectively than the contemporary efficient fine-tuning methods. The theoretical and empirical results presented in the paper underscore how parameterization and hyperpriors balance exploration-exploitation in the low-rank parametric space, therefore leading to more optimal and robust parameter estimation during efficient fine-tuning.

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

↑