How does the optimizer implicitly bias the model merging loss landscape?
Zhang, Chenxiang, Theus, Alexander, Teney, Damien, Orvieto, Antonio, Pang, Jun, Mauw, Sjouke
–arXiv.org Artificial Intelligence
Model merging methods combine models with different capabilities into a single one while maintaining the same inference cost. Two popular approaches are linear interpolation, which linearly interpolates between model weights, and task arithmetic, which combines task vectors obtained by the difference between fine-tuned and base models. While useful in practice, what properties make merging effective are poorly understood. This paper explores how the optimization process affects the loss landscape geometry and its impact on merging success. We show that a single quantity - the effective noise scale - unifies the impact of optimizer and data choices on model merging. Across architectures and datasets, the effectiveness of merging success is a non-monotonic function of effective noise, with a distinct optimum. Decomposing this quantity, we find that larger learning rates, stronger weight decay, smaller batch sizes, and data augmentation all independently modulate the effective noise scale, exhibiting the same qualitative trend. Unlike prior work that connects optimizer noise to the flatness or generalization of individual minima, we show that it also affects the global loss landscape, predicting when independently trained solutions can be merged. Our findings broaden the understanding of how optimization shapes the loss landscape geometry and its downstream consequences for model merging, suggesting the possibility of further manipulating the training dynamics to improve merging effectiveness. Model merging combines independently trained solutions to fuse their unique capabilities into a single solution. These methods have been applied to either further improve the performance of a single model (Wortsman et al., 2022) or to combine models with different, but similar, capabilities (Ilharco et al., 2023). Notably, this is achieved without additional computational cost at inference time.
arXiv.org Artificial Intelligence
Oct-7-2025