mlsanityData to 7 Oct 2026

BadMerging: Backdoor Attacks Against Model Merging

arXiv 2408.07362 ↗First posted 14 Aug 2024cs.CR cs.LGcited by 32

Not on the map. Why?

Abstract (arXiv)

Fine-tuning pre-trained models for downstream tasks has led to a proliferation of open-sourced task-specific models. Recently, Model Merging (MM) has emerged as an effective approach to facilitate knowledge transfer among these independently fine-tuned models. MM directly combines multiple fine-tuned task-specific models into a merged model without additional training, and the resulting model shows enhanced capabilities in multiple tasks. Although MM provides great utility, it may come with security risks because an adversary can exploit MM to affect multiple downstream tasks. However, the security risks of MM have barely been studied. In this paper, we first find that MM, as a new learning paradigm, introduces unique challenges for existing backdoor attacks due to the merging process. To address these challenges, we introduce BadMerging, the first backdoor attack specifically designed for MM. Notably, BadMerging allows an adversary to compromise the entire merged model by contributing as few as one backdoored task-specific model. BadMerging comprises a two-stage attack mechanism and a novel feature-interpolation-based loss to enhance the robustness of embedded backdoors against the changes of different merging parameters. Considering that a merged model may incorporate tasks from different domains, BadMerging can jointly compromise the tasks provided by the adversary (on-task attack) and other contributors (off-task attack) and solve the corresponding unique challenges with novel attack designs. Extensive experiments show that BadMerging achieves remarkable attacks against various MM algorithms. Our ablation study demonstrates that the proposed attack designs can progressively contribute to the attack performance. Finally, we show that prior defense mechanisms fail to defend against our attacks, highlighting the need for more advanced defense.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 37 of its 72 references that are in the map. First posted on arXiv 14 Aug 2024.

Builds on

37 of 72 references.

References · 37

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  3. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  4. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  5. 2013Describing Textures in the Wildcited by 2,110
  6. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  7. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  8. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  9. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  10. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
  11. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
  12. 2021Robust fine-tuning of zero-shot modelscited by 785
25 more
  1. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  2. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
  3. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  4. 2019Federated Learning with Personalization Layerscited by 533
  5. 2017Adversarial Patchcited by 514
  6. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
  7. 2020What is being transferred in transfer learning?cited by 365
  8. 2019Hidden Trigger Backdoor Attackscited by 359
  9. 2020Attack of the Tails: Yes, You Really Can Backdoor Federated Learningcited by 307
  10. 2019Label-Consistent Backdoor Attackscited by 285
  11. 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Datacited by 258
  12. 2019A new Backdoor Attack in CNNs by training set corruption without label poisoningcited by 237
  13. 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 232
  14. 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
  15. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
  16. 2021Combined Scaling for Zero-shot Transfer Learningcited by 182
  17. 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 160
  18. 2022Backdoor Defense via Decoupling the Training Processcited by 149
  19. 2023SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction Consistencycited by 93
  20. 2021BACKDOORL: Backdoor Attack against Competitive Reinforcement Learningcited by 66
  21. 2022MM-BD: Post-Training Detection of Backdoor Attacks with Arbitrary Backdoor Pattern Types Using a Maximum Margin Statisticcited by 53
  22. 2020Backdoor Attacks against Transfer Learning with Pre-trained Deep Learning Modelscited by 43
  23. 2023Concrete Subspace Learning based Interference Elimination for Multi-task Model Fusioncited by 36
  24. 2022CorruptEncoder: Data Poisoning based Backdoor Attacks to Contrastive Learningcited by 28
  25. 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Mergecited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 8; 2025: 12; 2026: 12.

32 papers.

Sort:

By area:

  1. 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challengescited by 14
  2. 2024Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspacecited by 14
  3. 2025BadJudge: Backdoor Vulnerabilities of LLM-as-a-Judgecited by 13
  4. 2024LoBAM: LoRA-Based Backdoor Attack on Model Mergingcited by 10
  5. 2024Rethinking Weight-Averaged Model-mergingcited by 8
  6. 2024MergePrint: Merge-Resistant Fingerprints for Robust Black-box Ownership Verification of Large Language Modelscited by 6
  7. 2025BADTV: Unveiling Backdoor Threats in Third-Party Task Vectorscited by 3
  8. 2025Be Cautious When Merging Unfamiliar LLMs: A Phishing Model Capable of Stealing Privacycited by 3
  9. 2025Causal-Guided Detoxify Backdoor Attack of Open-Weight LoRA Modelscited by 3
  10. 2024Backdoor in Seconds: Unlocking Vulnerabilities in Large Pre-trained Models via Model Editingcited by 2
  11. 2024LADDER: Multi-objective Backdoor Attack via Evolutionary Algorithmcited by 2
  12. 2025LLM Hypnosis: Exploiting User Feedback for Unauthorized Knowledge Injection to All Userscited by 2
20 more
  1. 2025DisarmRAG: Stealthy Retriever-Centric Poisoning to Disable Self-Correction in Retrieval-Augmented Generation (Extended Version)cited by 2
  2. 2025Merge Now, Regret Later: The Hidden Cost of Model Merging Is Adversarial Transferabilitycited by 2
  3. 2026Colluding LoRA: A Compositional Vulnerability in LLM Safety Alignmentcited by 2
  4. 2024SyMerge: From Non-Interference to Synergistic Merging via Single-Layer Adaptationcited by 1
  5. 2025BadLingual: A Novel Lingual-Backdoor Attack against Large Language Modelscited by 1
  6. 2025Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defensescited by 1
  7. 2025Backdoor Unlearning by Linear Task Decompositioncited by 1
  8. 2026FineSteer: A Unified Framework for Fine-Grained Inference-Time Steering in Large Language Modelscited by 1
  9. 2026RogueMerge: Robust and Unified Attacks against LLM Model Mergingcited by 1
  10. 2026From Parameters to Feature Space: Task Arithmetic for Backdoor Mitigation in Model Mergingcited by 1
  11. 2025Multi-Level Collaboration in Model Mergingcited by 0
  12. 2025BackWeak: Backdooring Knowledge Distillation Simply with Weak Triggers and Fine-tuningcited by 0
  13. 2026The Art of (Mis)alignment: How Fine-Tuning Methods Effectively Misalign and Realign LLMs in Post-Trainingcited by 0
  14. 2026PASTA: A Patch-Agnostic Twofold-Stealthy Backdoor Attack on Vision Transformerscited by 0
  15. 2026Lightweight and Fast Backdoor Model Detectioncited by 0
  16. 2026Stemma: Induced Decision Regions Reveal LLM Provenancecited by 0
  17. 2026A Security-Oriented Lifecycle Model for Large Language Model Systemscited by 0
  18. 2026DiffSafeMerge: Mitigating Backdoor Inheritance in Diffusion Model Mergingcited by 0
  19. 2026A Single Suffix to Break Them All: Basin-Aware Jailbreaks for Merged Model Familiescited by 0
  20. 2026When Privacy Hurts Mergeability: Geometry-Aware Model Merging under Differential Privacycited by 0