No Task Left Behind: Isotropic Model Merging with Common and Task-Specific Subspaces

Daniel Marczak, Simone Magistri, Sebastian Cygert, Bartłomiej Twardowski, Andrew D. Bagdanov, Joost van de Weijer

Introduction

In the current landscape of large-scale machine learning, the ability to combine multiple specialized "expert" models into a single multi-task model is a significant challenge. This process, known as model merging, aims to create a unified architecture that retains the performance of individual experts without requiring the massive computational resources of joint training. However, existing techniques often suffer from interference, where the weights of dominant tasks conflict with or overshadow others, leading to a performance gap between the merged model and its constituent experts.

This paper introduces a geometric framework to address this interference. By analyzing the singular value spectrum of weight updates, the authors identify that standard merging techniques create a "skewed" geometry. To resolve this, they propose Isotropic Model Merging, specifically the Iso-C and Iso-CTS algorithms, which flatten the singular value spectrum to ensure all tasks are represented equitably.

The Geometry of Interference

The authors investigate the task matrices—the difference between a fine-tuned expert model and its pre-trained base. They discover that standard merging methods, such as Task Arithmetic (which simply sums task matrices), result in a spectrum where a few large singular values dominate. This creates a "winner-takes-all" scenario: tasks that are semantically similar cluster together in the top singular values, while diverse or "niche" tasks are relegated to the lower-value "noise," leading to poor performance on those specific tasks.

To quantify this, the researchers introduce the Subspace Alignment Ratio (SAR). Their analysis reveals a near-perfect correlation (Pearson $\rho = 0.94$) between how well a task's unique subspace aligns with the merged model's subspace and its actual performance. This suggests that the key to effective merging is maintaining high alignment across all task-specific subspaces.

Proposed Methods: Iso-C and Iso-CTS

The paper proposes two primary algorithms based on Singular Value Decomposition (SVD) to restore balance to the merged weight space:

1. Iso-C (Isotropic Merging in Common Subspace)

Iso-C addresses the skewness of the aggregate task matrix. After summing the task matrices (as in Task Arithmetic), the algorithm performs SVD and replaces all singular values with their average value. This "flattens" the spectrum, making the model isotropic (equal in all directions). This simple adjustment prevents the model from over-focusing on dominant features and significantly improves alignment with individual tasks.

2. Iso-CTS (Isotropic Merging in Common and Task-Specific Subspaces)

As the number of tasks increases, some tasks possess unique directions that are entirely lost when only considering the common sum. Iso-CTS refines the approach by:

  • Identifying a common subspace from the aggregate.
  • Explicitly searching for task-specific directions that are orthogonal to that common space.
  • Combining these task-specific features with the common ones before applying isotropic scaling.

This ensures that even highly specialized tasks are preserved in the final merged model.

Experimental Results

The proposed methods were evaluated across diverse vision and language benchmarks, demonstrating state-of-the-art (SOTA) performance without any additional training.

Vision Benchmarks

Using CLIP backbones (ViT-B/32, ViT-B/16, and ViT-L/14), the authors tested scenarios involving up to 20 tasks, including MNIST, SVHN, GTSRB, and EuroSAT. In the most challenging 20-task scenario with ViT-B/16, Iso-CTS achieved 82.4% accuracy, a massive improvement over Task Arithmetic (65.8%) and surpassing the previous SOTA, TSV-M (80.6%).

Language and LoRA

On the T5-Large model using subsets of the T0 mixture, Iso-C reached 75.6% accuracy, outperforming the best existing baseline (MaTS at 72.5%). Furthermore, the method proved effective for models fine-tuned with Low-Rank Adaptation (LoRA), showing that isotropic merging is beneficial even when weight updates are inherently low-rank.

Discussion and Limitations

Isotropic Model Merging represents a powerful class of static merging methods. Unlike "model soups" or dynamic merging, these techniques require zero additional training or data passes; they are purely mathematical operations on existing weights. The method is also remarkably robust to its primary hyperparameter (the size of the common subspace).

However, some limitations remain:

  • Computational Cost: While Iso-C is efficient, Iso-CTS requires an SVD for every task matrix across every layer, which may be intensive for models with hundreds of tasks.
  • Common Space Definition: The current common subspace is derived from a simple sum; more sophisticated definitions might yield even better results.
  • LLM Scaling: Future work is needed to explore how these geometric adjustments scale to billion-parameter decoder-only models like Llama 3.

Conclusion

By treating model merging as a geometric alignment problem rather than a simple weight averaging task, Isotropic Model Merging ensures that "no task is left behind." By flattening the singular value spectrum, Iso-C and Iso-CTS provide a robust, training-free path toward high-performance multi-task models.

Summary updated

BibTeX
@inproceedings{marczak2025no,
  author = {Daniel Marczak and Simone Magistri and Sebastian Cygert and Bartłomiej Twardowski and Andrew D. Bagdanov and Joost van de Weijer},
  title = {{No Task Left Behind: Isotropic Model Merging with Common and Task-Specific Subspaces}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=RBZpAa27ls},
}
Figure