mlsanityData to 14 Oct 2026

Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspace

arXiv 2410.13910 ↗First posted 17 Oct 2024cs.CR cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

Model merging has gained significant attention as a cost-effective approach to integrate multiple single-task fine-tuned models into a unified one that can perform well on multiple tasks. However, existing model merging techniques primarily focus on resolving conflicts between task-specific models, they often overlook potential security threats, particularly the risk of backdoor attacks in the open-source model ecosystem. In this paper, we first investigate the vulnerabilities of existing model merging methods to backdoor attacks, identifying two critical challenges: backdoor succession and backdoor transfer. To address these issues, we propose a novel Defense-Aware Merging (DAM) approach that simultaneously mitigates task interference and backdoor vulnerabilities. Specifically, DAM employs a meta-learning-based optimization method with dual masks to identify a shared and safety-aware subspace for model merging. These masks are alternately optimized: the Task-Shared mask identifies common beneficial parameters across tasks, aiming to preserve task-specific knowledge while reducing interference, while the Backdoor-Detection mask isolates potentially harmful parameters to neutralize security threats. This dual-mask design allows us to carefully balance the preservation of useful knowledge and the removal of potential vulnerabilities. Compared to existing merging methods, DAM achieves a more favorable balance between performance and security, reducing the attack success rate by 2-10 percentage points while sacrificing only about 1% in accuracy. Furthermore, DAM exhibits robust performance and broad applicability across various types of backdoor attacks and the number of compromised models involved in the merging process. Our codes and models are available at https://github.com/Yangjinluan/DAM.

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

Builds on

53 of 67 references.

References · 53

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2013Describing Textures in the Wildcited by 2,125
  3. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  4. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  5. 2022Editing Models with Task Arithmeticcited by 1,120
  6. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  7. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  8. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
  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. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
38 more
  1. 2019Label-Consistent Backdoor Attackscited by 296
  2. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
  3. 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 235
  4. 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 221
  5. 2022Patching open-vocabulary models by interpolating weightscited by 190
  6. 2023Composing Parameter-Efficient Modules with Arithmetic Operationscited by 156
  7. 2022BackdoorBench: A Comprehensive Benchmark of Backdoor Learningcited by 128
  8. 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 115
  9. 2024Representation Surgery for Multi-Task Model Mergingcited by 96
  10. 2023AdapterSoup: Weight Averaging to Improve Generalization of Pretrained Language Modelscited by 84
  11. 2024LoraRetriever: Input-Aware LoRA Retrieval and Composition for Mixed Tasks in the Wildcited by 68
  12. 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 64
  13. 2024Merging LoRAs like Playing LEGO: Pushing the Modularity of LoRA to Extremes Through Rank-Wise Clusteringcited by 59
  14. 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
  15. 2022Stop Wasting My Time! Saving Days of ImageNet and BERT Training with Latest Weight Averagingcited by 54
  16. 2024Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Modelscited by 54
  17. 2023Shared Adversarial Unlearning: Backdoor Mitigation by Unlearning Shared Adversarial Examplescited by 43
  18. 2024Model Merging and Safety Alignment: One Bad Model Spoils the Bunchcited by 43
  19. 2024A safety realignment framework via subspace-oriented model fusion for large language modelscited by 41
  20. 2023Concrete Subspace Learning based Interference Elimination for Multi-task Model Fusioncited by 37
  21. 2023Merging by Matching Models in Task Parameter Subspacescited by 36
  22. 2024BadMerging: Backdoor Attacks Against Model Mergingcited by 34
  23. 2022TrojViT: Trojan Insertion in Vision Transformerscited by 31
  24. 2022One-shot Neural Backdoor Erasing via Adversarial Weight Maskingcited by 28
  25. 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Mergecited by 26
  26. 2024LoRATK: LoRA Once, Backdoor Everywhere in the Share-and-Play Ecosystemcited by 24
  27. 2024Have You Merged My Model? On The Robustness of Large Language Model IP Protection Methods Against Model Mergingcited by 19
  28. 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learningcited by 19
  29. 2023Merging Decision Transformers: Weight Averaging for Forming Multi-Task Policiescited by 15
  30. 2023Forgetting before Learning: Utilizing Parametric Arithmetic for Knowledge Updating in Large Language Modelscited by 15
  31. 2023Revisiting and Exploring Efficient Fast Adversarial Training via LAW: Lipschitz Regularization and Auto Weight Averagingcited by 14
  32. 2024Persistent Backdoor Attacks in Continual Learningcited by 13
  33. 2024Towards Efficient Pareto Set Approximation via Mixture of Experts Based Model Fusioncited by 11
  34. 2023Single Image Backdoor Inversion via Robust Smoothed Classifierscited by 10
  35. 2024Towards Unified Robustness Against Both Backdoor and Adversarial Attackscited by 10
  36. 2023BrainWash: A Poisoning Attack to Forget in Continual Learningcited by 9
  37. 2024SMILE: Zero-Shot Sparse Mixture of Low-Rank Experts Construction From Pre-Trained Foundation Modelscited by 9
  38. 2023Adversarial Robust Memory-Based Continual Learnercited by 5

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 11; 2026: 3.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026From Parameters to Feature Space: Task Arithmetic for Backdoor Mitigation in Model Merging
  2. 2026Towards Merging-conditional Backdoor Unalignment against Large Language Models
  3. 2025Merge Hijacking: Backdoor Attacks to Model Merging of Large Language Models
  4. 2022Understanding Impacts of Task Similarity on Backdoor Attack and Detection
  5. 2025Disrupting Model Merging: A Parameter-Level Defense Without Sacrificing Accuracy
  6. 2025BADTV: Unveiling Backdoor Threats in Third-Party Task Vectors
  7. 2024Context is the Key: Backdoor Attacks for In-Context Learning with Vision Transformers
  8. 2026Asymmetric Collapse in Model Merging: When Refusal Over- writes Recognition