EMR-Merging: Tuning-Free High-Performance Model Merging

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Huang, Chenyu, Ye, Peng, Chen, Tao, He, Tong, Yue, Xiangyu, Ouyang, Wanli
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917788610723840
author Huang, Chenyu
Ye, Peng
Chen, Tao
He, Tong
Yue, Xiangyu
Ouyang, Wanli
author_facet Huang, Chenyu
Ye, Peng
Chen, Tao
He, Tong
Yue, Xiangyu
Ouyang, Wanli
contents The success of pretrain-finetune paradigm brings about the release of numerous model weights. In this case, merging models finetuned on different tasks to enable a single model with multi-task capabilities is gaining increasing attention for its practicability. Existing model merging methods usually suffer from (1) significant performance degradation or (2) requiring tuning by additional data or training. In this paper, we rethink and analyze the existing model merging paradigm. We discover that using a single model's weights can hardly simulate all the models' performance. To tackle this issue, we propose Elect, Mask & Rescale-Merging (EMR-Merging). We first (a) elect a unified model from all the model weights and then (b) generate extremely lightweight task-specific modulators, including masks and rescalers, to align the direction and magnitude between the unified model and each specific model, respectively. EMR-Merging is tuning-free, thus requiring no data availability or any additional training while showing impressive performance. We find that EMR-Merging shows outstanding performance compared to existing merging methods under different classical and newly-established settings, including merging different numbers of vision models (up to 30), NLP models, PEFT models, and multi-modal models.
format Preprint
id arxiv_https___arxiv_org_abs_2405_17461
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle EMR-Merging: Tuning-Free High-Performance Model Merging
Huang, Chenyu
Ye, Peng
Chen, Tao
He, Tong
Yue, Xiangyu
Ouyang, Wanli
Machine Learning
Computer Vision and Pattern Recognition
The success of pretrain-finetune paradigm brings about the release of numerous model weights. In this case, merging models finetuned on different tasks to enable a single model with multi-task capabilities is gaining increasing attention for its practicability. Existing model merging methods usually suffer from (1) significant performance degradation or (2) requiring tuning by additional data or training. In this paper, we rethink and analyze the existing model merging paradigm. We discover that using a single model's weights can hardly simulate all the models' performance. To tackle this issue, we propose Elect, Mask & Rescale-Merging (EMR-Merging). We first (a) elect a unified model from all the model weights and then (b) generate extremely lightweight task-specific modulators, including masks and rescalers, to align the direction and magnitude between the unified model and each specific model, respectively. EMR-Merging is tuning-free, thus requiring no data availability or any additional training while showing impressive performance. We find that EMR-Merging shows outstanding performance compared to existing merging methods under different classical and newly-established settings, including merging different numbers of vision models (up to 30), NLP models, PEFT models, and multi-modal models.
title EMR-Merging: Tuning-Free High-Performance Model Merging
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.17461