mlsanityData to 14 Oct 2026

Mix Data or Merge Models? Optimizing for Diverse Multi-Task Learning

arXiv 2410.10801 ↗First posted 14 Oct 2024cs.CL cs.LGcited by 17

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have been adopted and deployed worldwide for a broad variety of applications. However, ensuring their safe use remains a significant challenge. Preference training and safety measures often overfit to harms prevalent in Western-centric datasets, and safety protocols frequently fail to extend to multilingual settings. In this work, we explore model merging in a diverse multi-task setting, combining safety and general-purpose tasks within a multilingual context. Each language introduces unique and varied learning challenges across tasks. We find that objective-based merging is more effective than mixing data, with improvements of up to 8% and 10% in general performance and safety respectively. We also find that language-based merging is highly effective -- by merging monolingually fine-tuned models, we achieve a 4% increase in general performance and 7% reduction in harm across all languages on top of the data mixtures method using the same available data. Overall, our comprehensive study of merging approaches provides a useful framework for building strong and safe multilingual models.

Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 39 of its 46 references that are in the map. First posted on arXiv 14 Oct 2024.

Builds on

39 of 46 references.

References · 39

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  5. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  6. 2022Editing Models with Task Arithmeticcited by 1,120
  7. 2018Robustness May Be at Odds with Accuracycited by 880
  8. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  9. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
  10. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
  11. 2021Merging Models with Fisher-Weighted Averagingcited by 621
  12. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
27 more
  1. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
  2. 2024Aya Model: An Instruction Finetuned Open-Access Multilingual Language Modelcited by 295
  3. 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 240
  4. 2019Uniform convergence may be unable to explain generalization in deep learningcited by 224
  5. 2024Evolutionary Optimization of Model Merging Recipescited by 208
  6. 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 194
  7. 2023Gender bias and stereotypes in Large Language Modelscited by 187
  8. 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 133
  9. 2024Knowledge Fusion of Large Language Modelscited by 115
  10. 2024Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmeticcited by 112
  11. 2024The Language Barrier: Dissecting Safety Challenges of LLMs in Multilingual Contextscited by 94
  12. 2024The Multilingual Alignment Prism: Aligning Global and Local Preferences to Reduce Harmcited by 70
  13. 2020Stochastic Weight Averaging in Parallel: Large-Batch Training that Generalizes Wellcited by 57
  14. 2023All Languages Matter: On the Multilingual Safety of Large Language Modelscited by 53
  15. 2024MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmeticcited by 53
  16. 2023LM-Cocktail: Resilient Tuning of Language Models via Model Mergingcited by 44
  17. 2024Model Merging and Safety Alignment: One Bad Model Spoils the Bunchcited by 43
  18. 2024A safety realignment framework via subspace-oriented model fusion for large language modelscited by 41
  19. 2023GPTAraEval: A Comprehensive Evaluation of ChatGPT on Arabic NLPcited by 37
  20. 2023Merging by Matching Models in Task Parameter Subspacescited by 36
  21. 2024Preference Tuning For Toxicity Mitigation Generalizes Across Languagescited by 31
  22. 2020Neural networks with late-phase weightscited by 29
  23. 2024PolygloToxicityPrompts: Multilingual Evaluation of Neural Toxic Degeneration in Large Language Modelscited by 20
  24. 2024Unlocking the Potential of Model Merging for Low-Resource Languagescited by 19
  25. 2024From One to Many: Expanding the Scope of Toxicity Mitigation in Language Modelscited by 18
  26. 2024It's Morphing Time: Unleashing the Potential of Multiple LLMs via Multi-objective Optimizationcited by 10
  27. 2024Mitigating Exaggerated Safety in Large Language Modelscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 10; 2026: 7.

17 papers.

Sort:

By area: