# Poster 28919

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28919

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello, every one. I will present our work titled Mitigating Parameter Interference in Model Merging via Sharpness Aware Fine Tuning. This research has been conducted by Yuriyam Lee, Jinwook Jung, and Sungyong Baek from Hanyang University. In this presentation, I'll cover the motivation, method, empirical and theoretical analysis, experimental results, and key takeaways of our research.
Let's begin with the motivation. A key challenge in merging models fine tuned for different tasks is parameter interference. This interference, caused by models converging to disparate minima with conflicting parameter magnitudes and directions, significantly degrades the performance of the merged model compared to the individual task specific models.
Previous studies on model merging indicate that achieving successful model merging requires two key objectives, minimizing the performance gap between the merged model and each individual fine tuned task specific model which implies reducing parameter interference and preserving the individual performance of those task specific models. Based on these two objectives, we propose a new objective function for model merging as follows.
This objective function is derived as shown in the equation below. For the detailed derivation process, please refer to Appendix B. Here, the underlined term represents the offset added to the task specific model parameters after model merging. From the perspective of each task specific model, this offset acts as an unknown perturbation that cannot be learned during the fine tuning process.
This perturbation moves the merged model away from the local minima of each task. In this case, if the local minima of each task are not sufficiently flat, the shifted location of the merged model by the perturbation in the parameter space will no longer be a local minimum. As a result, the merged model may experience higher loss, thus causing parameter interference.
Therefore, if we ensure that each task specific model converges to flat minima during fine tuning, we can effectively mitigate parameter interference. To achieve this, we use the perturbation from adaptive sharpness aware minimization, as known as asam, as a surrogate for the perturbation in our proposed model merging objective function. We call this method sharpness aware fine tuning (saft).
With this we establish a relationship between multitask model merging and SAM. We have empirically analyzed our method through weight disentanglement, which measures differences between merged and task specific models. Lower disentanglement error indicates less parameter interference. Our experiments show saft significantly reduces these errors, indicating better separation and less interference across tasks.
Next, we have examined cross task linearity (ctl), a property indicating that merged model parameters can effectively disentangle each task specific model. Our results show saft consistently improves ctl scores, demonstrating stronger linearity and easier disentanglement of tasks in the merged model. We have also analyzed the joint task loss landscape.
First, we theoretically prove that s_a_f_t_ can find flat minima even on the joint task loss landscape. Please refer to section five and appendix d for details. Our visualization clearly illustrates that models trained with s_a_f_t_ converge to flatter regions on the joint task loss landscape, thus theoretically and empirically verifying that s_a_f_t_ minimizes parameter interference effectively.
Our experimental evaluation demonstrates that SAFT outperforms other methods across various merging scenarios, fine-tuning strategies, and model architectures. SAFT shows strong synergy and general applicability, confirming its robustness and effectiveness in multi-task scenarios.
Let me summarize our work: first, we have identified that if task specific models converge to flatter minima during fine tuning, the merged multitask model becomes less vulnerable to parameter interference. Based on this insight, we have proposed a novel objective function specifically designed for multitask model merging.
By connecting the subjective to sharpness aware minimization (SAM), we have introduced our approach called sharpness aware fine tuning (SAFT). Our experimental results clearly demonstrate that SAFT effectively mitigates parameter interference by enhancing weight disentanglement, improving cross task linearity (ctl) and achieving greater joint task loss linearity. Thank you for your attention.
