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

LoRA-X:以无需训练的跨模型适配桥接基础模型

LoRA-X: Bridging Foundation Models with Training-Free Cross-Model Adaptation

Qualcomm AI Research(高通人工智能研究中心)

Farzad Farhadzadeh, Debasmit Das, Shubhankar Borse, Fatih Porikli

AI总结:

本文提出LoRA-X,通过约束适配器在源模型子空间内运行并仅在子空间相似度可接受的目标层上使用,实现LoRA参数跨模型的免训练迁移,无需原始或合成数据,并在Stable Diffusion v1.5与XL上验证了有效性。

摘要:

大型基础模型的日益普及推动了对参数高效微调方法的需求,例如低秩适配(LoRA),其性能可与全模型微调相媲美,同时只需针对特定基础模型增加少量额外参数。当这些基础模型被弃用并替换时,所有相关的LoRA模块都必须重新训练,这需要访问原始训练数据或大量能够反映原始分布的合成数据。然而,由于隐私或许可问题,原始数据往往无法获取,而生成合成数据可能不切实际且代表性不足。这些因素使微调过程变得相当复杂。为应对这一挑战,我们提出了一种新的适配器,即跨模型低秩适配(LoRA-X),它能够在源模型和目标模型之间实现LoRA参数的免训练迁移,从而无需原始或合成训练数据。我们的方法要求适配器在源基础模型的子空间内运行。这一约束是必要的,因为我们对目标模型的先验知识仅限于其权重,而确保适配器可迁移性的判据也仅限于目标基础模型的权重和子空间。为便于将源模型的LoRA参数迁移到目标模型,我们仅在目标模型中表现出可接受子空间相似度的层上使用该适配器。大量实验证明了LoRA-X在文本到图像生成任务中的有效性,包括Stable Diffusion v1.5和Stable Diffusion XL。

英文摘要:

The rising popularity of large foundation models has led to a heightened demand for parameter-efficient fine-tuning methods, such as Low-Rank Adaptation (LoRA), which offer performance comparable to full model fine-tuning while requiring only a few additional parameters tailored to the specific base model. When such base models are deprecated and replaced, all associated LoRA modules must be retrained, requiring access to either the original training data or a substantial amount of synthetic data that mirrors the original distribution. However, the original data is often inaccessible due to privacy or licensing issues, and generating synthetic data may be impractical and insufficiently representative. These factors complicate the fine-tuning process considerably. To address this challenge, we introduce a new adapter, Cross-Model Low-Rank Adaptation (LoRA-X), which enables the training-free transfer of LoRA parameters across source and target models, eliminating the need for original or synthetic training data. Our approach imposes the adapter to operate within the subspace of the source base model. This constraint is necessary because our prior knowledge of the target model is limited to its weights, and the criteria for ensuring the adapter's transferability are restricted to the target base model's weights and subspace. To facilitate the transfer of LoRA parameters of the source model to a target model, we employ the adapter only in the layers of the target model that exhibit an acceptable level of subspace similarity. Our extensive experiments demonstrate the effectiveness of LoRA-X for text-to-image generation, including Stable Diffusion v1.5 and Stable Diffusion XL.

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

↑