arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.15414cs.LGcs.CV
收藏

组合参数高效模块能否提升少样本迁移准确率?

Does Combining Parameter-efficient Modules Improve Few-shot Transfer Accuracy?

Noah's Ark Lab(诺亚方舟实验室)

Nader Asadi, Mahdi Beitollahi, Yasser Khalil, Yinchuan Li, Guojun Zhang, Xi Chen

AI总结:

本文研究 LoRA 模块的可组合性,发现均匀组合与学习式组合在少样本场景下均能提升迁移准确率并优于全量微调,且均匀组合无需额外可学习参数。

摘要:

参数高效微调已成为在下游任务上高效微调大型语言与视觉模型的标准方法。具体而言,低秩适配(LoRA)的高效性促进了数百个定制 LoRA 模块的创建与共享,每个模块均基于不同下游任务的不同数据训练而成。本文探讨 LoRA 模块的可组合性,考察组合这些预训练模块是否能增强对未知下游任务的泛化能力。我们的研究评估了两种方法:(a)均匀组合,即以相等权重对上游 LoRA 模块进行平均;(b)学习式组合,即为每个上游模块学习权重并进行加权平均。我们在视觉和语言模型上的实验结果表明,在少样本设置下(即下游任务仅可获得有限数量的样本),均匀组合和学习式组合方法均能带来更高的迁移准确率,优于全量微调和从零开始训练 LoRA。此外,在全样本设置下,学习式组合的性能与常规 LoRA 训练相当,但可训练参数量显著更少。我们的研究揭示了均匀组合在低样本设置下提升可迁移性的潜力,且无需引入额外的可学习参数。

英文摘要:

Parameter-efficient fine-tuning stands as the standard for efficiently fine-tuning large language and vision models on downstream tasks. Specifically, the efficiency of low-rank adaptation has facilitated the creation and sharing of hundreds of custom LoRA modules, each trained on distinct data from various downstream tasks. In this paper, we explore the composability of LoRA modules, examining if combining these pre-trained modules enhances generalization to unseen downstream tasks. Our investigation involves evaluating two approaches: (a) uniform composition, involving averaging upstream LoRA modules with equal weights, and (b) learned composition, where we learn the weights for each upstream module and perform weighted averaging. Our experimental results on both vision and language models reveal that in few-shot settings, where only a limited number of samples are available for the downstream task, both uniform and learned composition methods result in better transfer accuracy; outperforming full fine-tuning and training a LoRA from scratch. Moreover, in full-shot settings, learned composition performs comparably to regular LoRA training with significantly fewer number of trainable parameters. Our research unveils the potential of uniform composition for enhancing transferability in low-shot settings, without introducing additional learnable parameters.

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

↑