Model merging with SVD to tie the Knots

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Stoica, George, Ramesh, Pratik, Ecsedi, Boglarka, Choshen, Leshem, Hoffman, Judy
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929558765174784
author Stoica, George
Ramesh, Pratik
Ecsedi, Boglarka
Choshen, Leshem
Hoffman, Judy
author_facet Stoica, George
Ramesh, Pratik
Ecsedi, Boglarka
Choshen, Leshem
Hoffman, Judy
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_19735
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Model merging with SVD to tie the Knots
Stoica, George
Ramesh, Pratik
Ecsedi, Boglarka
Choshen, Leshem
Hoffman, Judy
Computer Vision and Pattern Recognition
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.
title Model merging with SVD to tie the Knots
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.19735