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

LoRETTA:用于大型语言模型超低参数微调的低秩经济张量列适配

LoRETTA: Low-Rank Economic Tensor-Train Adaptation for Ultra-Low-Parameter Fine-Tuning of Large Language Models

University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);The University of Hong Kong(香港大学)

Yifan Yang, Jiajun Zhou, Ngai Wong, Zheng Zhang

AI总结:

提出超参数高效微调框架LoRETTA,通过张量列分解方法显著减少可训练参数,在LLaMA-2-7B上以减少百倍参数实现优异性能并提升训练效率与抗过拟合能力。

摘要:

为了在保持模型性能的同时实现计算高效的微调,已有多种参数高效微调(PEFT)技术被提出。然而,随着大型语言模型(LLMs)的快速部署,现有PEFT方法仍受限于不断增长的可训练参数数量。为应对这一挑战,我们提出了LoRETTA,这是一个通过张量列分解显著减少可训练参数的超参数高效框架。具体而言,我们提出了两种方法,分别命名为LoRETTA_adp和LoRETTA_rep。前者采用张量化适配器,为LLMs的微调提供了一种高性能且轻量化的方法。后者强调通过使用一组小型张量因子进行权重参数化来实现微调。在LLaMA-2-7B模型上,LoRETTA以最多减少100倍的参数量,实现了与最广泛使用的PEFT方法相当或更好的性能。此外,实证结果表明,所提方法有效提升了训练效率,享有更好的多任务学习性能,并增强了抗过拟合能力。基于Huggingface框架和PEFT库构建的即插即用代码将被发布。

英文摘要:

Various parameter-efficient fine-tuning (PEFT) techniques have been proposed to enable computationally efficient fine-tuning while maintaining model performance. However, existing PEFT methods are still limited by the growing number of trainable parameters with the rapid deployment of Large Language Models (LLMs). To address this challenge, we present LoRETTA, an ultra-parameter-efficient framework that significantly reduces trainable parameters through tensor-train decomposition. Specifically, we propose two methods, named {LoRETTA}$_{adp}$ and {LoRETTA}$_{rep}$. The former employs tensorized adapters, offering a high-performance yet lightweight approach for the fine-tuning of LLMs. The latter emphasizes fine-tuning via weight parameterization with a set of small tensor factors. LoRETTA achieves comparable or better performance than most widely used PEFT methods with up to $100\times$ fewer parameters on the LLaMA-2-7B models. Furthermore, empirical results demonstrate that the proposed method effectively improves training efficiency, enjoys better multi-task learning performance, and enhances the anti-overfitting capability. Plug-and-play codes built upon the Huggingface framework and PEFT library will be released.

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

↑