mlsanityData to 14 Oct 2026

SurgeryV2: Bridging the Gap Between Model Merging and Multi-Task Learning with Deep Representation Surgery

arXiv 2410.14389 ↗First posted 18 Oct 2024cs.LG cs.AI cs.CVcited by 12

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  8. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  10. 2013Describing Textures in the Wildcited by 2,125
  11. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
  12. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
38 more
  1. 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,358
  2. 2020Gradient Surgery for Multi-Task Learningcited by 1,256
  3. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  4. 2022Editing Models with Task Arithmeticcited by 1,120
  5. 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 834
  6. 2018Multi-Task Learning as Multi-Objective Optimizationcited by 821
  7. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
  8. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
  9. 2021Merging Models with Fisher-Weighted Averagingcited by 621
  10. 2018End-to-End Multi-Task Learning with Attentioncited by 534
  11. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
  12. 2016Cross-stitch Networks for Multi-task Learningcited by 467
  13. 2021Conflict-Averse Gradient Descent for Multi-task Learningcited by 459
  14. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
  15. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
  16. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
  17. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
  18. 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 252
  19. 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 243
  20. 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 221
  21. 2019Model Fusion via Optimal Transportcited by 219
  22. 2022Multi-Task Learning as a Bargaining Gamecited by 215
  23. 2024Evolutionary Optimization of Model Merging Recipescited by 208
  24. 2020Just Pick a Sign: Optimizing Deep Multitask Models with Gradient Sign Dropoutcited by 201
  25. 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 179
  26. 2020Gradient Vaccine: Investigating and Improving Multi-task Optimization in Massively Multilingual Modelscited by 169
  27. 2019AdaShare: Learning What To Share For Efficient Deep Multi-Task Learningcited by 160
  28. 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 133
  29. 2024Localizing Task Information for Improved Model Merging and Compressioncited by 131
  30. 2020Multi-task self-supervised learning for Robust Speech Recognitioncited by 130
  31. 2020A Survey on Negative Transfercited by 122
  32. 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 120
  33. 2024Twin-Merging: Dynamic Integration of Modular Expertise in Model Mergingcited by 116
  34. 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 110
  35. 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policycited by 108
  36. 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 105
  37. 2024Representation Surgery for Multi-Task Model Mergingcited by 96
  38. 2023Deep Model Fusion: A Surveycited by 91

50 most cited of 71 All 71 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 5.

12 papers.