Representation Surgery for Multi-Task Model Merging

Enneng Yang, Li Shen, Zhenyi Wang, Guibing Guo, Xiaojun Chen +2 more
2/12/2026

No official code found. Best implementation: EnnengYang/RepresentationSurgery (50 stars, MIT, last commit 2024-10-10).

Abstract

Multi-task learning (MTL) compresses the information from multiple tasks into a unified backbone to improve computational efficiency and generalization. Recent work directly merges multiple independently trained models to perform MTL instead of collecting their raw data for joint training, greatly expanding the application scenarios of MTL. However, by visualizing the representation distribution of existing model merging schemes, we find that the merged model often suffers from the dilemma of representation bias. That is, there is a significant discrepancy in the representation distribution between the merged and individual models, resulting in poor performance of merged MTL. In this paper, we propose a representation surgery solution called"Surgery"to reduce representation bias in the merged model. Specifically, Surgery is a lightweight task-specific module that takes the representation of the merged model as input and attempts to output the biases contained in the representation from the merged model. We then designed an unsupervised optimization objective that updates the Surgery module by minimizing the distance between the merged model's representation and the individual model's representation. Extensive experiments demonstrate significant MTL performance improvements when our Surgery module is applied to state-of-the-art (SOTA) model merging schemes.

View on arXivView PDF

Code Implementations(1)

MIT

Representation Surgery for Multi-Task Model Merging. ICML, 2024.

504PythonFeb 4, 20242 years agoMIT
model-editingmodel-fusionmodel-mergingmulti-task-learning

Similar Papers

Cite this paper

@article{yang2026representation,
  title  = {Representation Surgery for Multi-Task Model Merging},
  author = {Enneng Yang and Li Shen and Zhenyi Wang and Guibing Guo and Xiaojun Chen and Xingwei Wang and D. Tao},
  year   = {2026},
  eprint = {2402.02705},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.02705},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.02705.svg)](https://codeofpaper.com/paper/2402.02705)

Discussion