LM-Cocktail: Resilient Tuning of Language Models via Model Merging
Not on the map. Why?
Abstract (arXiv)
The pre-trained language models are continually fine-tuned to better support downstream applications. However, this operation may result in significant performance degeneration on general tasks beyond the targeted domain. To overcome this problem, we propose LM-Cocktail which enables the fine-tuned model to stay resilient in general perspectives. Our method is conducted in the form of model merging, where the fine-tuned language model is merged with the pre-trained base model or the peer models from other domains through weighted average. Despite simplicity, LM-Cocktail is surprisingly effective: the resulted model is able to achieve a strong empirical performance in the whole scope of general tasks while preserving a superior capacity in its targeted domain. We conduct comprehensive experiments with LLama and BGE model on popular benchmarks, including FLAN, MMLU, MTEB, whose results validate the efficacy of our proposed method. The code and checkpoints are available at https://github.com/FlagOpen/FlagEmbedding/tree/master/LM_Cocktail.
Key facts. Cited by 44 papers in the map (data through 14 Oct 2026). Builds on 40 of its 56 references that are in the map. First posted on arXiv 22 Nov 2023.
Builds on
40 of 56 references.
References · 40
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
28 more
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2016Learning without Forgettingcited by 2,496
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,333
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2022Large Language Models Encode Clinical Knowledgecited by 1,830
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
- 2017Continual Learning with Deep Generative Replaycited by 1,158
- 2018Experience Replay for Continual Learningcited by 1,095
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2013An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networkscited by 722
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
- 2021Merging Models with Fisher-Weighted Averagingcited by 621
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
- 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 384
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 364
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2019Model Fusion via Optimal Transportcited by 219
- 2022Patching open-vocabulary models by interpolating weightscited by 190
- 2020Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgettingcited by 170
- 2017Encoder Based Lifelong Learningcited by 102
- 2023UPRISE: Universal Prompt Retrieval for Improving Zero-Shot Evaluationcited by 75
- 2021What to Pre-Train on? Efficient Intermediate Task Selectioncited by 63
- 2023π-Tuning: Transferring Multimodal Foundation Models with Optimal Multi-task Interpolationcited by 40
- 2020Versatile Black-Box Optimizationcited by 22
Built on by
Citing papers per year: 2024: 18; 2025: 18; 2026: 8.
44 papers.
Sort:
By area:
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 354
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuningcited by 99
- 2024WARP: On the Benefits of Weight Averaged Rewarded Policiescited by 45
- 2024Model Merging and Safety Alignment: One Bad Model Spoils the Bunchcited by 43
- 2024M-RAG: Reinforcing Large Language Model Performance through Retrieval-Augmented Generation with Multiple Partitionscited by 38
- 2025KaLM-Embedding-V2: Superior Training Techniques and Data Inspire A Versatile Embedding Modelcited by 36
- 2024Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMscited by 31
- 2024KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checkingcited by 26
- 2024The Russian-focused embedders' exploration: ruMTEB benchmark and Russian embedding model designcited by 20
- 2024MINTQA: A Multi-Hop Question Answering Benchmark for Evaluating LLMs on New and Tail Knowledgecited by 20
- 2025Fun-Audio-Chat Technical Reportcited by 19
32 more
- 2024HFT: Half Fine-Tuning for Large Language Modelscited by 18
- 2024Mix Data or Merge Models? Optimizing for Diverse Multi-Task Learningcited by 17
- 2024Don't Half-listen: Capturing Key-part Information in Continual Instruction Tuningcited by 10
- 2025Granite Embedding Modelscited by 8
- 2026HumanLLM: Towards Personalized Understanding and Simulation of Human Naturecited by 8
- 2026LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusioncited by 8
- 2025LED-Merging: Mitigating Safety-Utility Conflicts in Model Merging with Location-Election-Disjointcited by 7
- 2025Merge to Mix: Mixing Datasets via Model Mergingcited by 7
- 2025Merge then Realign: Simple and Effective Modality-Incremental Continual Learning for Multimodal LLMscited by 6
- 2025DrVoice: Parallel Speech-Text Voice Conversation Model via Dual-Resolution Speech Representationscited by 6
- 2025HydraOpt: Navigating the Efficiency-Performance Trade-off of Adapter Mergingcited by 6
- 2025Temporal Information Retrieval via Time-Specifier Model Mergingcited by 5
- 2025RECALL: REpresentation-aligned Catastrophic-forgetting ALLeviation via Hierarchical Model Mergingcited by 5
- 2025A Systematic Study of In-the-Wild Model Merging for Large Language Modelscited by 5
- 2024Mitigating Training Imbalance in LLM Fine-Tuning via Selective Parameter Mergingcited by 4
- 2025Efficient Compositional Multi-tasking for On-device Large Language Modelscited by 4
- 2025K-Merge: Online Continual Merging of Adapters for On-device Large Language Modelscited by 4
- 2024Activated Parameter Locating via Causal Intervention for Model Mergingcited by 3
- 2024Parameter-Efficient Interventions for Enhanced Model Mergingcited by 3
- 2025Unified Multi-Task Learning & Model Fusion for Efficient Language Model Guardrailingcited by 3
- 2025Purifying Task Vectors in Knowledge-Aware Subspace for Model Mergingcited by 3
- 2024MOMA: Masked Orthogonal Matrix Alignment for Zero-Additional-Parameter Model Mergingcited by 2
- 2025Robust Learning of Diverse Code Editscited by 2
- 2025MetaGDPO: Alleviating Catastrophic Forgetting with Metacognitive Knowledge through Group Direct Preference Optimizationcited by 2
- 2026Multi-Stage Evolutionary Model Merging with Meta Data Driven Curriculum Learning for Sentiment-Specialized Large Language Modelingcited by 2
- 2026Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-trainingcited by 2
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinementcited by 2
- 2024REFINE on Scarce Data: Retrieval Enhancement through Fine-Tuning via Model Fusion of Embedding Modelscited by 1
- 2025Behave Your Motion: Habit-preserved Cross-category Animal Motion Transfercited by 1
- 2026Modular Expert Merging for Biomedical Retrievalcited by 0
- 2026Towards Direct Latent-Space Synthesis for Parallel Branches in LLM-Agent Workflowscited by 0
- 2026Lychee-Reranker: Fast but Not Late Interaction for Compressed Document Rerankingcited by 0
- 2026Lychee-Reranker: Fast but Not Late Interaction for Compressed Document Reranking22 Jun 2026
- 2026Towards Direct Latent-Space Synthesis for Parallel Branches in LLM-Agent Workflows12 Jun 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026Modular Expert Merging for Biomedical Retrieval4 Feb 2026
- 2026Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-training31 Jan 2026
- 2026HumanLLM: Towards Personalized Understanding and Simulation of Human Nature22 Jan 2026
- 2026LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion19 Jan 2026
- 2026Multi-Stage Evolutionary Model Merging with Meta Data Driven Curriculum Learning for Sentiment-Specialized Large Language Modeling11 Jan 2026
- 2025Fun-Audio-Chat Technical Report23 Dec 2025
- 2025A Systematic Study of In-the-Wild Model Merging for Large Language Models26 Nov 2025
- 2025MetaGDPO: Alleviating Catastrophic Forgetting with Metacognitive Knowledge through Group Direct Preference Optimization15 Nov 2025
- 2025RECALL: REpresentation-aligned Catastrophic-forgetting ALLeviation via Hierarchical Model Merging23 Oct 2025
32 more
- 2025Purifying Task Vectors in Knowledge-Aware Subspace for Model Merging16 Oct 2025
- 2025K-Merge: Online Continual Merging of Adapters for On-device Large Language Models15 Oct 2025
- 2025HydraOpt: Navigating the Efficiency-Performance Trade-off of Adapter Merging23 Jul 2025
- 2025Efficient Compositional Multi-tasking for On-device Large Language Models21 Jul 2025
- 2025Behave Your Motion: Habit-preserved Cross-category Animal Motion Transfer10 Jul 2025
- 2025Temporal Information Retrieval via Time-Specifier Model Merging9 Jul 2025
- 2025KaLM-Embedding-V2: Superior Training Techniques and Data Inspire A Versatile Embedding Model26 Jun 2025
- 2025DrVoice: Parallel Speech-Text Voice Conversation Model via Dual-Resolution Speech Representations11 Jun 2025
- 2025Merge to Mix: Mixing Datasets via Model Merging21 May 2025
- 2025Unified Multi-Task Learning & Model Fusion for Efficient Language Model Guardrailing27 Apr 2025
- 2025Merge then Realign: Simple and Effective Modality-Incremental Continual Learning for Multimodal LLMs8 Mar 2025
- 2025Robust Learning of Diverse Code Edits5 Mar 2025
- 2025Granite Embedding Models27 Feb 2025
- 2025LED-Merging: Mitigating Safety-Utility Conflicts in Model Merging with Location-Election-Disjoint24 Feb 2025
- 2024MINTQA: A Multi-Hop Question Answering Benchmark for Evaluating LLMs on New and Tail Knowledge22 Dec 2024
- 2024Parameter-Efficient Interventions for Enhanced Model Merging22 Dec 2024
- 2024MOMA: Masked Orthogonal Matrix Alignment for Zero-Additional-Parameter Model Merging18 Dec 2024
- 2024REFINE on Scarce Data: Retrieval Enhancement through Fine-Tuning via Model Fusion of Embedding Models16 Oct 2024
- 2024Mix Data or Merge Models? Optimizing for Diverse Multi-Task Learning14 Oct 2024
- 2024Mitigating Training Imbalance in LLM Fine-Tuning via Selective Parameter Merging1 Oct 2024
- 2024The Russian-focused embedders' exploration: ruMTEB benchmark and Russian embedding model design22 Aug 2024
- 2024Activated Parameter Locating via Causal Intervention for Model Merging18 Aug 2024
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities14 Aug 2024
- 2024Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMs24 Jun 2024
- 2024WARP: On the Benefits of Weight Averaged Rewarded Policies24 Jun 2024
- 2024Model Merging and Safety Alignment: One Bad Model Spoils the Bunch20 Jun 2024
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuning7 Jun 2024
- 2024M-RAG: Reinforcing Large Language Model Performance through Retrieval-Augmented Generation with Multiple Partitions26 May 2024
- 2024HFT: Half Fine-Tuning for Large Language Models29 Apr 2024
- 2024KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checking3 Apr 2024
- 2024Don't Half-listen: Capturing Key-part Information in Continual Instruction Tuning15 Mar 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 354
- 2024M-RAG: Reinforcing Large Language Model Performance through Retrieval-Augmented Generation with Multiple Partitionscited by 38
- 2024REFINE on Scarce Data: Retrieval Enhancement through Fine-Tuning via Model Fusion of Embedding Modelscited by 1
- 2024REFINE on Scarce Data: Retrieval Enhancement through Fine-Tuning via Model Fusion of Embedding Models16 Oct 2024
- 2024M-RAG: Reinforcing Large Language Model Performance through Retrieval-Augmented Generation with Multiple Partitions26 May 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuningcited by 99
- 2025KaLM-Embedding-V2: Superior Training Techniques and Data Inspire A Versatile Embedding Modelcited by 36
- 2024Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMscited by 31
- 2024The Russian-focused embedders' exploration: ruMTEB benchmark and Russian embedding model designcited by 20
- 2024MINTQA: A Multi-Hop Question Answering Benchmark for Evaluating LLMs on New and Tail Knowledgecited by 20
- 2025Fun-Audio-Chat Technical Reportcited by 19
- 2024HFT: Half Fine-Tuning for Large Language Modelscited by 18
- 2024Mix Data or Merge Models? Optimizing for Diverse Multi-Task Learningcited by 17
- 2024Don't Half-listen: Capturing Key-part Information in Continual Instruction Tuningcited by 10
- 2025Granite Embedding Modelscited by 8
- 2026HumanLLM: Towards Personalized Understanding and Simulation of Human Naturecited by 8
12 most cited of 32 All 32 (JSON)
- 2026Lychee-Reranker: Fast but Not Late Interaction for Compressed Document Reranking22 Jun 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026Modular Expert Merging for Biomedical Retrieval4 Feb 2026
- 2026Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-training31 Jan 2026
- 2026HumanLLM: Towards Personalized Understanding and Simulation of Human Nature22 Jan 2026
- 2026Multi-Stage Evolutionary Model Merging with Meta Data Driven Curriculum Learning for Sentiment-Specialized Large Language Modeling11 Jan 2026
- 2025Fun-Audio-Chat Technical Report23 Dec 2025
- 2025A Systematic Study of In-the-Wild Model Merging for Large Language Models26 Nov 2025
- 2025Purifying Task Vectors in Knowledge-Aware Subspace for Model Merging16 Oct 2025
- 2025K-Merge: Online Continual Merging of Adapters for On-device Large Language Models15 Oct 2025
- 2025HydraOpt: Navigating the Efficiency-Performance Trade-off of Adapter Merging23 Jul 2025
- 2025Efficient Compositional Multi-tasking for On-device Large Language Models21 Jul 2025
12 newest of 32 All 32 (JSON)