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

免费提升模型容量:一种参数高效微调的简单策略

Increasing Model Capacity for Free: A Simple Strategy for Parameter Efficient Fine-tuning

EPFL(洛桑联邦理工学院);Huawei(华为);Westlake University(西湖大学)

Haobo Song, Hao Zhao, Soumajit Majumder, Tao Lin

AI总结:

本文提出CapaBoost策略,通过静态随机掩码在共享权重矩阵上构建多样化并行低秩模块,在不增加参数和计算存储成本的前提下提升参数高效微调的模型容量,并在多种任务上验证其有效性。

摘要:

近年来,对大型预训练基础模型(如175B参数的GPT-3)进行微调以适配下游任务引起了越来越多的关注。虽然参数高效微调方法已被提出并证明无需重新训练所有模型参数即可有效,但其性能受限于增量模块的容量,尤其是在参数预算受限的情况下。为克服这一挑战,我们提出了CapaBoost,这是一种简单而有效的策略,通过在目标层中利用并行权重模块的低秩更新来增强模型容量。CapaBoost通过对共享权重矩阵施加静态随机掩码,构建出一组多样化的权重矩阵,从而在不增加参数的情况下有效提高增量权重的秩。值得注意的是,我们的方法可以无缝集成到各种现有的参数高效微调方法中。我们在多种下游任务上广泛验证了CapaBoost的有效性,包括自然语言理解、问答和图像分类。实验结果表明,与基线方法相比,CapaBoost取得了显著改进,且不会带来额外的计算或存储成本。我们的代码可在\url{https://github.com/LINs-lab/CapaBoost}获取。

英文摘要:

Fine-tuning large pre-trained foundation models, such as the 175B GPT-3, has attracted more attention for downstream tasks recently. While parameter-efficient fine-tuning methods have been proposed and proven effective without retraining all model parameters, their performance is limited by the capacity of incremental modules, especially under constrained parameter budgets. \\ To overcome this challenge, we propose CapaBoost, a simple yet effective strategy that enhances model capacity by leveraging low-rank updates through parallel weight modules in target layers. By applying static random masks to the shared weight matrix, CapaBoost constructs a diverse set of weight matrices, effectively increasing the rank of incremental weights without adding parameters. Notably, our approach can be seamlessly integrated into various existing parameter-efficient fine-tuning methods. We extensively validate the efficacy of CapaBoost through experiments on diverse downstream tasks, including natural language understanding, question answering, and image classification. Our results demonstrate significant improvements over baselines, without incurring additional computation or storage costs. Our code is available at \url{https://github.com/LINs-lab/CapaBoost}.

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

↑