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

Dynamic Fisher-weighted Model Merging via Bayesian Optimization

About

The fine-tuning of pre-trained language models has resulted in the widespread availability of task-specific models. Model merging offers an efficient way to create multi-task models by combining these fine-tuned models at the parameter level, without the need for training data or joint training on multiple datasets. Existing merging approaches typically involve scaling the parameters model-wise or integrating parameter importance parameter-wise. Both approaches exhibit their own weaknesses, leading to a notable performance gap compared to multi-task fine-tuning. In this paper, we unify these seemingly distinct strategies into a more general merging framework, and introduce Dynamic Fisher-weighted Merging (DF-Merge). Specifically, candidate models are associated with a set of coefficients that linearly scale their fine-tuned parameters. Bayesian optimization is applied to dynamically adjust these coefficients, aiming to maximize overall performance on validation sets. Each iteration of this process integrates parameter importance based on the Fisher information conditioned by the coefficients. Experimental results show that DF-Merge outperforms strong baselines across models of different sizes and a variety of tasks. Our analysis shows that the effectiveness of DF-Merge arises from the unified view of merging and that near-optimal performance is achievable in a few iterations, even with minimal validation data.

Sanwoo Lee, Jiahao Liu, Qifan Wang, Jingang Wang, Xunliang Cai, Yunfang Wu• 2025

Related benchmarks

TaskDatasetResultRank
Image ClassificationDTD
Accuracy79.2
599
ClassificationCars
Accuracy20.99
492
Image ClassificationRESISC45
Accuracy74.02
472
Image ClassificationEuroSAT
Accuracy95.85
226
Image ClassificationSVHN
Top-1 Accuracy95.37
186
Image ClassificationStanford Cars
Top-1 Accuracy89.95
104
Image ClassificationVision Multi-task Suite (SUN397, Cars, RESISC45, EuroSAT, SVHN, GTSRB, MNIST, DTD)
Average Accuracy89.6
104
Image ClassificationGTSRB
Accuracy90.27
81
Image ClassificationMNIST
Accuracy82.93
70
Image ClassificationSUN397
Accuracy68.21
28
Showing 10 of 15 rows

Other info

Follow for update