arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.07967cs.LGcs.AIcs.CV
收藏

One-for-All: 广义LoRA用于参数高效微调

One-for-All: Generalized LoRA for Parameter-Efficient Fine-tuning

Transmute AI Lab(Transmute人工智能实验室);Meta AI Research(Meta人工智能研究院);MBZUAI(穆罕默德·本·扎耶德人工智能大学);CMU(卡内基梅隆大学)

Arnav Chavan, Zhuang Liu, Deepak Gupta, Eric Xing, Zhiqiang Shen

AI总结:

提出广义LoRA(GLoRA),通过广义提示模块和逐层结构搜索实现参数高效微调,在视觉和语言任务上超越LoRA,且无额外推理成本。

摘要:

我们提出了广义LoRA(GLoRA),一种用于通用参数高效微调任务的先进方法。通过增强低秩适应(LoRA),GLoRA采用广义提示模块来优化预训练模型权重并调整中间激活,为多样化的任务和数据集提供了更大的灵活性和能力。此外,GLoRA通过采用可扩展的、模块化的、逐层结构搜索来学习每一层的独立适配器,从而促进高效的参数适应。源于统一的数学公式,GLoRA展现出强大的迁移学习、少样本学习和领域泛化能力,因为它不仅通过权重,还通过激活等额外维度来适应新任务。综合实验表明,GLoRA在自然、专门和结构化视觉基准上优于所有先前方法,以更少的参数和计算实现了更高的准确性。所提出的方法在LLaMA-1和LLaMA-2上也显示出相比原始LoRA在语言领域的显著改进。此外,我们的结构重参数化设计确保GLoRA不产生额外的推理成本,使其成为资源受限应用的实际解决方案。代码和模型可在以下网址获取:https://github.com/Arnav0400/ViT-Slim/tree/master/GLoRA。

英文摘要:

We present Generalized LoRA (GLoRA), an advanced approach for universal parameter-efficient fine-tuning tasks. Enhancing Low-Rank Adaptation (LoRA), GLoRA employs a generalized prompt module to optimize pre-trained model weights and adjust intermediate activations, providing more flexibility and capability across diverse tasks and datasets. Moreover, GLoRA facilitates efficient parameter adaptation by employing a scalable, modular, layer-wise structure search that learns individual adapter of each layer. Originating from a unified mathematical formulation, GLoRA exhibits strong transfer learning, few-shot learning and domain generalization abilities, as it adapts to new tasks through not only weights but also additional dimensions like activations. Comprehensive experiments demonstrate that GLoRA outperforms all previous methods in natural, specialized, and structured vision benchmarks, achieving superior accuracy with fewer parameters and computations. The proposed method on LLaMA-1 and LLaMA-2 also show considerable enhancements compared to the original LoRA in the language domain. Furthermore, our structural re-parameterization design ensures that GLoRA incurs no extra inference cost, rendering it a practical solution for resource-limited applications. Code and models are available at: https://github.com/Arnav0400/ViT-Slim/tree/master/GLoRA.

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

↑