Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Model merging with SVD to tie the Knots

About

Recent model merging methods demonstrate that the parameters of fully-finetuned models specializing in distinct tasks can be combined into one model capable of solving all tasks without retraining. Yet, this success does not transfer well when merging LoRA finetuned models. We study this phenomenon and observe that the weights of LoRA finetuned models showcase a lower degree of alignment compared to their fully-finetuned counterparts. We hypothesize that improving this alignment is key to obtaining better LoRA model merges, and propose KnOTS to address this problem. KnOTS uses the SVD to jointly transform the weights of different LoRA models into an aligned space, where existing merging methods can be applied. In addition, we introduce a new benchmark that explicitly evaluates whether merged models are general models. Notably, KnOTS consistently improves LoRA merging by up to 4.3% across several vision and language benchmarks, including our new setting. We release our code at: https://github.com/gstoica27/KnOTS.

George Stoica, Pratik Ramesh, Boglarka Ecsedi, Leshem Choshen, Judy Hoffman• 2024

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringVizWiz
Accuracy77
1863
Visual Question AnsweringChartQA--
620
Image ClassificationDTD
Accuracy77.9
610
Natural Language InferenceRTE
Accuracy90.58
590
Visual Question AnsweringScienceQA--
525
Image ClassificationCIFAR-100
Accuracy83.7
362
Image ClassificationDomainNet--
238
Natural Language InferenceSNLI
Accuracy82.59
218
Image Classification8-task vision benchmark
Average Accuracy87.8
193
Image ClassificationVision Multi-task Suite (SUN397, Cars, RESISC45, EuroSAT, SVHN, GTSRB, MNIST, DTD)
Average Accuracy52.87
171
Showing 10 of 78 rows
...

Other info

Follow for update