Lune

ICML2024Top-tier venue

Representation Surgery for Multi-Task Model Merging

Enneng Yang, Li Shen, Zhenyi Wang, Guibing Guo, Xiaojun Chen, Xingwei Wang, Dacheng Tao

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-theart (SOTA) model merging schemes. The code is available at https://github.com/ EnnengYang/RepresentationSurgery .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

50 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Accurate and Efficient Low-Rank Model Merging in Core Space cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Accurate and Efficient Low-Rank Model Merging in Core Space cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Accurate and Efficient Low-Rank Model Merging in Core Space cites Merging Models with Fisher-Weighted Averaging
  • Accurate and Efficient Low-Rank Model Merging in Core Space cites Learning Transferable Visual Models From Natural Language Supervision
  • Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging cites Merging Models with Fisher-Weighted Averaging
  • Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging cites Learning Transferable Visual Models From Natural Language Supervision
  • AdaRank: Adaptive Rank Pruning for Enhanced Model Merging cites Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging
  • AdaRank: Adaptive Rank Pruning for Enhanced Model Merging cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AdaRank: Adaptive Rank Pruning for Enhanced Model Merging cites Learning Transferable Visual Models From Natural Language Supervision
  • Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity cites Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging
  • Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity cites AdaRank: Adaptive Rank Pruning for Enhanced Model Merging
  • Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity cites Merging Models with Fisher-Weighted Averaging
  • Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity cites Learning Transferable Visual Models From Natural Language Supervision
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites Merging Models with Fisher-Weighted Averaging
  • Merging Models with Fisher-Weighted Averaging cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites Learning Transferable Visual Models From Natural Language Supervision
  • Merging Models with Fisher-Weighted Averaging cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Towards Minimizing Feature Drift in Model Merging: Layer-wise Task Vector Fusion for Adaptive Knowledge Integration cites Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging
  • Towards Minimizing Feature Drift in Model Merging: Layer-wise Task Vector Fusion for Adaptive Knowledge Integration cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Towards Minimizing Feature Drift in Model Merging: Layer-wise Task Vector Fusion for Adaptive Knowledge Integration cites Merging Models with Fisher-Weighted Averaging
  • Towards Minimizing Feature Drift in Model Merging: Layer-wise Task Vector Fusion for Adaptive Knowledge Integration cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers50

  1. Twin-Merging: Dynamic Integration of Modular Expertise in Model MergingZhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu et al.NeurIPS 2024 · 139 citations
  2. Accurate and Efficient Low-Rank Model Merging in Core SpaceAniello Panariello, Daniel Marczak, Simone Magistri, Angelo Porrello et al.NeurIPS 2025 · 32 citations
  3. Towards Minimizing Feature Drift in Model Merging: Layer-wise Task Vector Fusion for Adaptive Knowledge IntegrationWenju Sun, Qingyong Li, Wen Wang, Yang Liu et al.NeurIPS 2025 · 20 citations
  4. AdaRank: Adaptive Rank Pruning for Enhanced Model MergingChanhyuk Lee, Jiho Choi, Chanryeol Lee, Donggyun Kim et al.ICLR 2026 · 14 citations
  5. Continual Model Merging without Data: Dual Projections for Balancing Stability and PlasticityEnneng Yang, Anke Tang, Li Shen, Guibing Guo et al.NeurIPS 2025 · 13 citations

Builds on28

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Gradient Surgery for Multi-Task LearningTianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine et al.NeurIPS 2020 · 2,261 citations
  4. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs et al.ICML 2022 · 1,464 citations
  5. Merging Models with Fisher-Weighted AveragingMichael Matena, Colin RaffelNeurIPS 2022 · 741 citations

Related papers

  1. Representation Surgery in Model Merging with Probabilistic ModelingQi Wei, Shuo He, Enneng Yang, Tingcong Liu et al.ICML 2025
  2. AdaMerging: Adaptive Model Merging for Multi-Task LearningEnneng Yang, Zhenyi Wang, Li Shen, Shiwei Liu et al.ICLR 2024 · 230 citations
  3. MOS: Model Surgery for Pre-Trained Model-Based Class-Incremental LearningHai-Long Sun, Da-Wei Zhou, Hanbin Zhao, Le Gan et al.AAAI 2025 · 31 citations
  4. Post-Hoc Merging is Not Enough: Many-Shot Model Merging with Loss-Gap BalancingKyungjin Im, Miru Kim, Chanin Eom, Minhae KwonICML 2026
  5. Swiss Army Knife: Synergizing Biases in Knowledge from Vision Foundation Models for Multi-Task LearningYuxiang Lu, Shengcao Cao, Yu-Xiong WangICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines