Sens-Merging: Sensitivity-Guided Parameter Balancing for Merging Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Shuqi, Wu, Han, He, Bowei, Han, Xiongwei, Yuan, Mingxuan, Song, Linqi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909501785899008
author Liu, Shuqi
Wu, Han
He, Bowei
Han, Xiongwei
Yuan, Mingxuan
Song, Linqi
author_facet Liu, Shuqi
Wu, Han
He, Bowei
Han, Xiongwei
Yuan, Mingxuan
Song, Linqi
contents Recent advances in large language models have led to numerous task-specialized fine-tuned variants, creating a need for efficient model merging techniques that preserve specialized capabilities while avoiding costly retraining. While existing task vector-based merging methods show promise, they typically apply uniform coefficients across all parameters, overlooking varying parameter importance both within and across tasks. We present Sens-Merging, a sensitivity-guided coefficient adjustment method that enhances existing model merging techniques by operating at both task-specific and cross-task levels. Our method analyzes parameter sensitivity within individual tasks and evaluates cross-task transferability to determine optimal merging coefficients. Extensive experiments on Mistral 7B and LLaMA2-7B/13B models demonstrate that Sens-Merging significantly improves performance across general knowledge, mathematical reasoning, and code generation tasks. Notably, when combined with existing merging techniques, our method enables merged models to outperform specialized fine-tuned models, particularly in code generation tasks. Our findings reveal important trade-offs between task-specific and cross-task scalings, providing insights for future model merging strategies.
format Preprint
id arxiv_https___arxiv_org_abs_2502_12420
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Sens-Merging: Sensitivity-Guided Parameter Balancing for Merging Large Language Models
Liu, Shuqi
Wu, Han
He, Bowei
Han, Xiongwei
Yuan, Mingxuan
Song, Linqi
Computation and Language
Artificial Intelligence
Recent advances in large language models have led to numerous task-specialized fine-tuned variants, creating a need for efficient model merging techniques that preserve specialized capabilities while avoiding costly retraining. While existing task vector-based merging methods show promise, they typically apply uniform coefficients across all parameters, overlooking varying parameter importance both within and across tasks. We present Sens-Merging, a sensitivity-guided coefficient adjustment method that enhances existing model merging techniques by operating at both task-specific and cross-task levels. Our method analyzes parameter sensitivity within individual tasks and evaluates cross-task transferability to determine optimal merging coefficients. Extensive experiments on Mistral 7B and LLaMA2-7B/13B models demonstrate that Sens-Merging significantly improves performance across general knowledge, mathematical reasoning, and code generation tasks. Notably, when combined with existing merging techniques, our method enables merged models to outperform specialized fine-tuned models, particularly in code generation tasks. Our findings reveal important trade-offs between task-specific and cross-task scalings, providing insights for future model merging strategies.
title Sens-Merging: Sensitivity-Guided Parameter Balancing for Merging Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2502.12420