Manuscript Offprint

arXiv:2610.07990

A Broader Look at Model Merging: Rethinking Implicit Regularization Induced by Task Arithmetic

Sin-Han Yang, Shih-Cheng Huang, Chieh-Yen Lin, Yun-Nung Chen, Shao-Hua Sun, Hung-yi Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Model merging aims to build a multi-task model cheaply by combining the weights of individual task-specific models. To perform well across multiple tasks, most existing merging methods use an additional dataset to find the coefficients for the best linear combination of task-specific weight updates. However, we identify an implicit regularization in this standard practice: searching over coefficients restricts the candidate models to a subspace spanned by task-specific weight updates. In this work, we investigate whether this regularization is actually useful. Surprisingly, empirical results show that optimizing merged-model weights without this regularization significantly boosts the performance of common merging methods across multiple architectures, domains, and even in an extremely data-limited scenario where only one instance is available per class. Moreover, directly optimizing the pretrained model weights even outperforms some existing merging methods. Analysis shows that better multi-task weights exist outside the subspace and can be found using multiple methods. We study different strategies for using the additional dataset, discussing their practical use and implications for model merging. Overall, this work calls for revisiting the existing model-merging pipeline, motivating a broader exploration of the weight space and a reconsideration of the implicit regularization induced by task arithmetic. Source code: https://github.com/appier-research/broader_model_merging.

Figure

Figure

Figure 1: A new perspective on the model-merging pipeline. The existing model-merging pipeline builds the merged model θmerge\theta_{merge} by adding a linear combination of task-specific weight updates τi\tau_i to the pretrained model θ0\theta_0. Standard practice uses an additional dataset, which we term auxiliary data, to optimize the coefficients λ\lambda for multi-task performance. This coefficient optimization regularizes model updates to the subspace spanned by τi\tau_i. We challenge this pipeline by using the same auxiliary data to optimize the merged-model weights, allowing optimization beyond this subspace. Experimental results show that exploring the broader weight space generally leads to significant performance improvements across merging methods (TA, TIES, DARE, and TSV-M).

∗^{*}Equal contribution

†^{\dagger}Equal advisory contribution

1 INTRODUCTION

Model merging aims to build a unified model by combining the weights of individual task-specific models without retraining on full training data. It enables a wide range of applications, including multi-task model construction (Ilharco et al., 2023; Yadav et al., 2023), cross-lingual capability transfer (Huang et al., 2024; Bandarkar et al., 2025), and multi-objective preference alignment (Rame et al., 2023; Jang et al., 2024; Liang et al., 2026).

Task Arithmetic (Ilharco et al., 2023) is a widely adopted framework for model merging, which builds a multi-task model by linearly combining task vectors. A task vector is defined as τi=θi−θ0\tau_i = \theta_i - \theta_0, where θi\theta_i is a model fine-tuned on task ii from the pre-trained model θ0\theta_0. Such linear combinations have been shown to produce effective multi-task models (Ilharco et al., 2023; Ortiz-Jimenez et al., 2023). Recent studies follow this formulation and focus on refining the task vectors to reduce interference among tasks (Yadav et al., 2023; Yu et al., 2024; Gargiulo et al., 2025). However, the merged model can be sensitive to the coefficients of the linear combination (Yang et al., 2024b; Tam et al., 2026), so most merging methods rely on auxiliary data to select coefficients (Chaves et al., 2026), either through grid search on hold-out data (Ilharco et al., 2023; Yadav et al., 2023; Yu et al., 2024) or through test-time adaptation on unlabeled test data (Yang et al., 2024b; Touayouch et al., 2026). Despite these advances, a performance gap remains between merged models and individual task-specific models (Yang et al., 2026).

To mitigate this gap, we revisit the current model merging pipeline and ask whether the existing framework fully uses the auxiliary data. Optimizing the coefficients of the linear combination is equivalent to restricting weight optimization to the subspace spanned by the task vectors. We refer to this subspace as the task-vector subspace. From this perspective, we identify coefficient optimization under task arithmetic as a constrained optimization that implicitly regularizes candidate models to the task-vector subspace. While the empirical success of task arithmetic shows that effective multi-task weights exist within the task-vector subspace, its implicit regularization has not been examined. Thus, the research question is: For model merging, is the implicit regularization induced by task arithmetic actually useful, or does it exclude better multi-task weights?

To find out the answer, we investigate direct optimization in the weight space beyond the task-vector subspace. We apply the most common optimization method, gradient descent, in standard model merging benchmarks across computer vision and natural language processing. Surprisingly, we find that optimization in the weight space consistently and significantly improves the performance of various model-merging methods beyond optimizing the coefficients, as shown in Figure 1. We further downsample the auxiliary dataset and find that the conclusion still holds when data are scarce, with only one sample per class. The results confirm that the optimization flexibility does not lead to overfitting in model-merging benchmarks. Moreover, even gradient descent directly from the pretrained model can outperform some existing merging methods. Nevertheless, merged methods still provide stronger initializations for gradient descent. These findings imply that the task arithmetic's implicit regularization may lead to the underuse of auxiliary data and limit merged models' performance.

We further analyze geometric properties of gradient descent on the merged models. We first find that gradient descent consistently leaves the task-vector subspace, suggesting that better multi-task weights exist outside this restricted region. Motivated by this finding and Gan & Isola (2026), we propose S-RandOpt that samples weights outside the subspace. By allowing just one additional degree of freedom, S-RandOpt outperforms coefficient optimization, further supporting the idea that the implicit regularization of task arithmetic overly restricts model complexity. It also implies that finding better multi-task weights does not rely on gradient descent. We also investigate the memory and computational costs of different strategies for using auxiliary data. Finally, we study different strategies for using the auxiliary data under various conditions, revealing the bias-variance tradeoff as a key principle for determining how auxiliary data should be used. Our analysis motivates future merging methods to provide strong initializations that enable more effective use of auxiliary data and, more broadly, calls for rethinking how to build a strong multi-task model via model merging.

References (51)

  • Program Synthesis with Large Language Models
  • Layer swapping for zero-shot cross-lingual transfer in large language models
  • Food-101–mining discriminative components with random forests
  • Weight weaving: Parameter pooling for data-free model merging
  • Training deep nets with sublinear memory cost (opens arXiv in a new tab)
  • Expected harm: Rethinking safety evaluation of (mis) aligned llms (opens arXiv in a new tab)
  • Remote sensing image scene classification: Benchmark and state of the art
  • Whoever started the interference should end it: Guiding data-free model merging via task vectors
  • Journal of machine learning research, 2024
  • Describing textures in the wild
  • Training Verifiers to Solve Math Word Problems
  • Model merging by uncertainty-based gradient matching
  • Neural thickets: Diverse task experts are dense around pretrained weights
  • Task singular vectors: Reducing task interference in model merging
  • A report on three machine learning contests
  • The Llama 3 Herd of Models
  • Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification
  • Liger-kernel: Efficient triton kernels for LLM training
  • LoRA: Low-rank adaptation of large language models
  • Chat vector: A simple approach to equip llms with instruction following and model alignment in new languages
  • Editing models with task arithmetic
  • Personalized soups: Personalized large language model alignment via post-hoc parameter merging
  • 3d object representations for fine-grained categorization
  • Adarank: Adaptive rank pruning for enhanced model merging
  • Dynamic fisher-weighted model merging via bayesian optimization
  • A comprehensive survey on test-time adaptation under distribution shifts
  • Adaptive helpfulness–harmlessness alignment with preference vectors
  • Decoupled weight decay regularization
  • Making llms worth every penny: Resource-limited text classification in banking
  • An empirical study of catastrophic forgetting in large language models during continual fine-tuning
  • No task left behind: Isotropic model merging with common and task-specific subspaces
  • Merging models with fisher-weighted averaging
  • Task arithmetic in the tangent space: Improved editing of pre-trained models
  • Rewarded soups: towards pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards
  • An Overview of Multi-Task Learning in Deep Neural Networks
  • The german traffic sign recognition benchmark: a multi-class classification competition
  • Towards minimizing feature drift in model merging: Layer-wise task vector fusion for adaptive knowledge integration
  • Realistic evaluation of model merging for compositional generalization
  • Merging multi-task models via weight-ensembling mixture of experts
  • DDXPlus: A new dataset for automatic medical diagnosis
  • Divmerge: A divergence-based model merging method for multi-tasking
  • Tent: Fully test-time adaptation by entropy minimization
  • Sun database: Exploring a large collection of scene categories
  • Scalable model merging with progressive layer-wise distillation
  • Ties-merging: Resolving interference when merging models
  • Qwen3 Technical Report
  • Representation surgery for multi-task model merging
  • Adamerging: Adaptive model merging for multi-task learning
  • Model merging in llms, mllms, and beyond: Methods, theories, applications, and opportunities
  • Language models are super mario: Absorbing abilities from homologous models as a free lunch
  • Instruction-Following Evaluation for Large Language Models