SECURA:大型语言模型中采用不间断保留和低秩适应的Sigmoid增强CUR分解
SECURA: Sigmoid-Enhanced CUR Decomposition with Uninterrupted Retention and Low-Rank Adaptation in Large Language Models
AI总结:
本文提出SECURA,一种结合Sigmoid增强CUR分解和低秩适应的新型PEFT方法,通过引入S-MagNorm归一化技术有效缓解灾难性遗忘并提升微调效率,在多种任务和模型上表现优于现有方法。
摘要:
随着大型语言模型(LLMs)的快速发展,由于极高的计算需求,对这些模型进行全量微调(FT)正变得越来越不可行。此外,FT也增加了灾难性遗忘的风险。作为替代方案,低秩适应(LoRA)被提出。通过仅微调一小部分参数,LoRA实现了与FT相似的性能,同时显著降低了资源需求。然而,由于LoRA继承了FT的设计,灾难性遗忘的问题仍然存在。为了解决这些局限性,我们提出了SECURA:Sigmoid-Enhanced CUR Decomposition LoRA,这是一种新型的PEFT变体,旨在缓解灾难性遗忘并提升微调性能。我们的方法引入了一种新颖的归一化技术,即基于Sigmoid的幅度归一化(S-MagNorm),以增强参数保留和微调效率。SECURA已在多种任务上进行了评估,包括数学问题求解(GSM8K)、复杂问答(CNNDM)、翻译(NewsDE)以及复杂多选推理(LogiQA)。实验结果表明,在Gemma2 2B、Qwen2 1.5B、Qwen2 7B、Llama3 8B和Llama3.1 8B上,它在四个多选题任务上实现了平均3.59%的微调提升,在五个问答任务上实现了2.51%的提升,优于DoRA。此外,SECURA展现出卓越的知识保留能力,在16项持续学习测试中达到了最先进的性能,并且与Experience Replay(ER)、sequential learning(SEQ)、EWC、I-LoRA和CUR-LoRA相比,在LLMs的基础知识上保持了70%以上的准确率。
英文摘要:
With the rapid development of large language models (LLMs), fully fine-tuning (FT) these models is becoming increasingly infeasible due to high computational demands. Moreover, FT also increases the risk of catastrophic forgetting. As an alternative, Low-Rank Adaptation (LoRA) has been proposed. By fine-tuning only a small subset of parameters, LoRA achieves performance similar to FT while significantly reducing resource requirements. However, since LoRA inherits FT's design, the issue of catastrophic forgetting still remains. To address these limitations, we propose SECURA: Sigmoid-Enhanced CUR Decomposition LoRA, a novel PEFT variant designed to mitigate catastrophic forgetting while improving fine-tuning performance. Our method introduces a novel normalization technique, Sigmoid-based Magnitude Norm (S-MagNorm), which enhances parameter retention and fine-tuning efficiency. SECURA has been evaluated on a diverse range of tasks, including mathematical problem-solving (GSM8K), complex question-answering (CNNDM), translation (NewsDE), and complex multiple-choice reasoning (LogiQA). Experimental results demonstrate that it achieves an average fine-tuning improvement of 3.59% across four MCQ tasks and 2.51% across five QA tasks on Gemma2 2B, Qwen2 1.5B, Qwen2 7B, Llama3 8B, and Llama3.1 8B, outperforming DoRA. Additionally, SECURA demonstrates superior knowledge retention capabilities, achieving state-of-the-art performance in 16 continual learning tests and maintaining more than 70% accuracy on LLMs' basic knowledge compared to Experience Replay (ER), sequential learning (SEQ), EWC, I-LoRA, and CUR-LoRA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。