SurgeryV2: Bridging the Gap Between Model Merging and Multi-Task Learning with Deep Representation Surgery
Not on the map. Why?
Abstract (arXiv)
Model merging-based multitask learning (MTL) offers a promising approach for performing MTL by merging multiple expert models without requiring access to raw training data. However, in this paper, we examine the merged model's representation distribution and uncover a critical issue of "representation bias". This bias arises from a significant distribution gap between the representations of the merged and expert models, leading to the suboptimal performance of the merged MTL model. To address this challenge, we first propose a representation surgery solution called Surgery. Surgery is a lightweight, task-specific module that aligns the final layer representations of the merged model with those of the expert models, effectively alleviating bias and improving the merged model's performance. Despite these improvements, a performance gap remains compared to the traditional MTL method. Further analysis reveals that representation bias phenomena exist at each layer of the merged model, and aligning representations only in the last layer is insufficient for fully reducing systemic bias because biases introduced at each layer can accumulate and interact in complex ways. To tackle this, we then propose a more comprehensive solution, deep representation surgery (also called SurgeryV2), which mitigates representation bias across all layers, and thus bridges the performance gap between model merging-based MTL and traditional MTL. Finally, we design an unsupervised optimization objective to optimize both the Surgery and SurgeryV2 modules. Our experimental results show that incorporating these modules into state-of-the-art (SOTA) model merging schemes leads to significant performance gains. Notably, our SurgeryV2 scheme reaches almost the same level as individual expert models or the traditional MTL model. The code is available at urlhttps://github.com/EnnengYang/SurgeryV2.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 71 of its 95 references that are in the map. First posted on arXiv 18 Oct 2024.
Builds on
71 of 95 references.
References · 71
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2013Describing Textures in the Wildcited by 2,125
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
38 more
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,358
- 2020Gradient Surgery for Multi-Task Learningcited by 1,256
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 834
- 2018Multi-Task Learning as Multi-Objective Optimizationcited by 821
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
- 2021Merging Models with Fisher-Weighted Averagingcited by 621
- 2018End-to-End Multi-Task Learning with Attentioncited by 534
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
- 2016Cross-stitch Networks for Multi-task Learningcited by 467
- 2021Conflict-Averse Gradient Descent for Multi-task Learningcited by 459
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
- 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 252
- 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 243
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 221
- 2019Model Fusion via Optimal Transportcited by 219
- 2022Multi-Task Learning as a Bargaining Gamecited by 215
- 2024Evolutionary Optimization of Model Merging Recipescited by 208
- 2020Just Pick a Sign: Optimizing Deep Multitask Models with Gradient Sign Dropoutcited by 201
- 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 179
- 2020Gradient Vaccine: Investigating and Improving Multi-task Optimization in Massively Multilingual Modelscited by 169
- 2019AdaShare: Learning What To Share For Efficient Deep Multi-Task Learningcited by 160
- 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 133
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 131
- 2020Multi-task self-supervised learning for Robust Speech Recognitioncited by 130
- 2020A Survey on Negative Transfercited by 122
- 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 120
- 2024Twin-Merging: Dynamic Integration of Modular Expertise in Model Mergingcited by 116
- 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 110
- 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policycited by 108
- 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 105
- 2024Representation Surgery for Multi-Task Model Mergingcited by 96
- 2023Deep Model Fusion: A Surveycited by 91
50 most cited of 71 All 71 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 6; 2026: 5.
12 papers.
- 2024Efficient and Effective Weight-Ensembling Mixture of Experts for Multi-Task Model Mergingcited by 23
- 2025From Task-Specific Models to Unified Systems: A Review of Model Merging Approachescited by 11
- 2025Scalable Model Merging with Progressive Layer-wise Distillationcited by 10
- 2025AdaRank: Adaptive Rank Pruning for Enhanced Model Mergingcited by 9
- 2026FeatCal: Feature Calibration for Post-Merging Modelscited by 5
- 2026Label-Free Cross-Task LoRA Merging with Null-Space Compressioncited by 4
- 2026Preference-Aligned LoRA Merging: Preserving Subspace Coverage and Addressing Directional Anisotropycited by 2
- 2025StatsMerging: Statistics-Guided Model Merging via Task-Specific Teacher Distillationcited by 1
- 2026Reading the Gate, Not the Interference: Output-Side Interference Measurement Does Not Track Merge Collapsecited by 1
- 2026From Parameters to Behaviors: A Survey of Model Fusion for Large Language Modelscited by 1
- 2025QoS-Efficient Serving of Multiple Mixture-of-Expert LLMs Using Partial Runtime Reconfigurationcited by 0
- 2025Composable Cross-prompt Essay Scoring by Merging Modelscited by 0
- 2026From Parameters to Behaviors: A Survey of Model Fusion for Large Language Models17 Sep 2026
- 2026Reading the Gate, Not the Interference: Output-Side Interference Measurement Does Not Track Merge Collapse12 Aug 2026
- 2026FeatCal: Feature Calibration for Post-Merging Models13 May 2026
- 2026Label-Free Cross-Task LoRA Merging with Null-Space Compression27 Mar 2026
- 2026Preference-Aligned LoRA Merging: Preserving Subspace Coverage and Addressing Directional Anisotropy27 Mar 2026
- 2025StatsMerging: Statistics-Guided Model Merging via Task-Specific Teacher Distillation5 Jun 2025
- 2025Composable Cross-prompt Essay Scoring by Merging Models24 May 2025
- 2025QoS-Efficient Serving of Multiple Mixture-of-Expert LLMs Using Partial Runtime Reconfiguration10 May 2025
- 2025AdaRank: Adaptive Rank Pruning for Enhanced Model Merging28 Mar 2025
- 2025From Task-Specific Models to Unified Systems: A Review of Model Merging Approaches12 Mar 2025
- 2025Scalable Model Merging with Progressive Layer-wise Distillation18 Feb 2025
- 2024Efficient and Effective Weight-Ensembling Mixture of Experts for Multi-Task Model Merging29 Oct 2024