SE-Merging: A Self-Enhanced Approach for Dynamic Model Merging

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chen, Zijun, Zhou, Zhanpeng, Zhang, Bo, Zhang, Weinan, Sun, Xi, Yan, Junchi
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911018885578752
author Chen, Zijun
Zhou, Zhanpeng
Zhang, Bo
Zhang, Weinan
Sun, Xi
Yan, Junchi
author_facet Chen, Zijun
Zhou, Zhanpeng
Zhang, Bo
Zhang, Weinan
Sun, Xi
Yan, Junchi
contents Model merging has gained increasing attention due to its intriguing property: interpolating the parameters of different task-specific fine-tuned models leads to multi-task abilities. However, despite its empirical success, the underlying mechanisms of model merging remain poorly understood. In this work, we delve into the mechanism behind model merging from a representation perspective. Our analysis reveals that model merging achieves multi-task abilities through two key capabilities: i) distinguishing samples from different tasks, and ii) adapting to the corresponding expert model for each sample. These two capabilities allow the merged model to retain task-specific expertise, enabling efficient multi-task adaptation. Building on these insights, we propose \texttt{SE-Merging}, a self-enhanced model merging framework that leverages these two characteristics to dynamically identify the corresponding task for each sample and then adaptively rescales the merging coefficients to further enhance task-specific expertise in the merged model. Notably, \texttt{SE-Merging} achieves dynamic model merging without additional training. Extensive experiments demonstrate that \texttt{SE-Merging} achieves significant performance improvements while remaining compatible with existing model merging techniques.
format Preprint
id arxiv_https___arxiv_org_abs_2506_18135
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SE-Merging: A Self-Enhanced Approach for Dynamic Model Merging
Chen, Zijun
Zhou, Zhanpeng
Zhang, Bo
Zhang, Weinan
Sun, Xi
Yan, Junchi
Artificial Intelligence
Computation and Language
Model merging has gained increasing attention due to its intriguing property: interpolating the parameters of different task-specific fine-tuned models leads to multi-task abilities. However, despite its empirical success, the underlying mechanisms of model merging remain poorly understood. In this work, we delve into the mechanism behind model merging from a representation perspective. Our analysis reveals that model merging achieves multi-task abilities through two key capabilities: i) distinguishing samples from different tasks, and ii) adapting to the corresponding expert model for each sample. These two capabilities allow the merged model to retain task-specific expertise, enabling efficient multi-task adaptation. Building on these insights, we propose \texttt{SE-Merging}, a self-enhanced model merging framework that leverages these two characteristics to dynamically identify the corresponding task for each sample and then adaptively rescales the merging coefficients to further enhance task-specific expertise in the merged model. Notably, \texttt{SE-Merging} achieves dynamic model merging without additional training. Extensive experiments demonstrate that \texttt{SE-Merging} achieves significant performance improvements while remaining compatible with existing model merging techniques.
title SE-Merging: A Self-Enhanced Approach for Dynamic Model Merging
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2506.18135