arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.04207cs.LGstat.ML
收藏

在LoRAs上学习:大型微调模型低秩权重空间的GL-等变处理

Learning on LoRAs: GL-Equivariant Processing of Low-Rank Weight Spaces for Large Finetuned Models

UC Berkeley(加州大学伯克利分校);MIT(麻省理工学院);University of Oxford(牛津大学);TU Munich(慕尼黑工业大学);Technion(以色列理工学院);NVIDIA(英伟达公司)

Theo Putterman, Derek Lim, Yoav Gelberg, Stefanie Jegelka, Haggai Maron

AI总结:

本文研究了在LoRAs上学习(LoL)范式,将LoRA权重作为模型输入以预测性能或检测有害微调。作者识别了低秩分解的参数对称性,并开发了多种对称感知的等变LoL模型,实验证明其能有效预测CLIP分数及下游任务准确率。

摘要:

低秩适配(LoRAs)彻底改变了大型基础模型的微调,即使在计算资源有限的情况下也能实现高效适配。由此产生的LoRA激增为应用将这些低秩权重本身作为输入的机器学习技术提供了令人兴奋的机遇。在本文中,我们研究了在LoRAs上学习(LoL)的潜力,这是一种将LoRA权重作为机器学习模型输入的范式。例如,一个以LoRA权重为输入的LoL模型可以预测微调模型在下游任务上的性能,检测潜在的有害微调,甚至无需传统训练方法即可生成新的模型编辑。我们首先识别了权重低秩分解固有的参数对称性,这与标准神经网络的参数对称性显著不同。为了高效处理LoRA权重,我们利用规范化、不变特征化和等变层等工具,开发了几个对称感知的不变或等变LoL模型。我们微调了数千个文本到图像的扩散模型和语言模型,以收集LoRAs数据集。在这些数据集上的数值实验中,我们表明我们的LoL架构能够处理低秩权重分解,以预测CLIP分数、微调数据属性、微调数据成员资格以及下游任务的准确率。

英文摘要:

Low-rank adaptations (LoRAs) have revolutionized the finetuning of large foundation models, enabling efficient adaptation even with limited computational resources. The resulting proliferation of LoRAs presents exciting opportunities for applying machine learning techniques that take these low-rank weights themselves as inputs. In this paper, we investigate the potential of Learning on LoRAs (LoL), a paradigm where LoRA weights serve as input to machine learning models. For instance, an LoL model that takes in LoRA weights as inputs could predict the performance of the finetuned model on downstream tasks, detect potentially harmful finetunes, or even generate novel model edits without traditional training methods. We first identify the inherent parameter symmetries of low rank decompositions of weights, which differ significantly from the parameter symmetries of standard neural networks. To efficiently process LoRA weights, we develop several symmetry-aware invariant or equivariant LoL models, using tools such as canonicalization, invariant featurization, and equivariant layers. We finetune thousands of text-to-image diffusion models and language models to collect datasets of LoRAs. In numerical experiments on these datasets, we show that our LoL architectures are capable of processing low rank weight decompositions to predict CLIP score, finetuning data attributes, finetuning data membership, and accuracy on downstream tasks.

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

↑