Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspace
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
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2013Describing Textures in the Wildcited by 2,125
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
- 2021Merging Models with Fisher-Weighted Averagingcited by 621
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
38 more
- 2019Label-Consistent Backdoor Attackscited by 296
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
- 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 235
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 221
- 2022Patching open-vocabulary models by interpolating weightscited by 190
- 2023Composing Parameter-Efficient Modules with Arithmetic Operationscited by 156
- 2022BackdoorBench: A Comprehensive Benchmark of Backdoor Learningcited by 128
- 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 115
- 2024Representation Surgery for Multi-Task Model Mergingcited by 96
- 2023AdapterSoup: Weight Averaging to Improve Generalization of Pretrained Language Modelscited by 84
- 2024LoraRetriever: Input-Aware LoRA Retrieval and Composition for Mixed Tasks in the Wildcited by 68
- 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 64
- 2024Merging LoRAs like Playing LEGO: Pushing the Modularity of LoRA to Extremes Through Rank-Wise Clusteringcited by 59
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
- 2022Stop Wasting My Time! Saving Days of ImageNet and BERT Training with Latest Weight Averagingcited by 54
- 2024Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Modelscited by 54
- 2023Shared Adversarial Unlearning: Backdoor Mitigation by Unlearning Shared Adversarial Examplescited by 43
- 2024Model Merging and Safety Alignment: One Bad Model Spoils the Bunchcited by 43
- 2024A safety realignment framework via subspace-oriented model fusion for large language modelscited by 41
- 2023Concrete Subspace Learning based Interference Elimination for Multi-task Model Fusioncited by 37
- 2023Merging by Matching Models in Task Parameter Subspacescited by 36
- 2024BadMerging: Backdoor Attacks Against Model Mergingcited by 34
- 2022TrojViT: Trojan Insertion in Vision Transformerscited by 31
- 2022One-shot Neural Backdoor Erasing via Adversarial Weight Maskingcited by 28
- 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Mergecited by 26
- 2024LoRATK: LoRA Once, Backdoor Everywhere in the Share-and-Play Ecosystemcited by 24
- 2024Have You Merged My Model? On The Robustness of Large Language Model IP Protection Methods Against Model Mergingcited by 19
- 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learningcited by 19
- 2023Merging Decision Transformers: Weight Averaging for Forming Multi-Task Policiescited by 15
- 2023Forgetting before Learning: Utilizing Parametric Arithmetic for Knowledge Updating in Large Language Modelscited by 15
- 2023Revisiting and Exploring Efficient Fast Adversarial Training via LAW: Lipschitz Regularization and Auto Weight Averagingcited by 14
- 2024Persistent Backdoor Attacks in Continual Learningcited by 13
- 2024Towards Efficient Pareto Set Approximation via Mixture of Experts Based Model Fusioncited by 11
- 2023Single Image Backdoor Inversion via Robust Smoothed Classifierscited by 10
- 2024Towards Unified Robustness Against Both Backdoor and Adversarial Attackscited by 10
- 2023BrainWash: A Poisoning Attack to Forget in Continual Learningcited by 9
- 2024SMILE: Zero-Shot Sparse Mixture of Low-Rank Experts Construction From Pre-Trained Foundation Modelscited by 9
- 2023Adversarial Robust Memory-Based Continual Learnercited by 5
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2025: 11; 2026: 3.
14 papers.
Sort:
By area:
- 2025Backdoor Cleaning without External Guidance in MLLM Fine-tuningcited by 35
- 2025Eigenspectrum Analysis of Neural Networks without Aspect Ratio Biascited by 10
- 2025SafeLawBench: Towards Safe Alignment of Large Language Modelscited by 9
- 2025Knowledge Fusion of Large Language Models Via Modular SkillPackscited by 8
- 2025Adversarial Cooperative Rationalization: The Risk of Spurious Correlations in Even Clean Datasetscited by 6
- 2025Be Cautious When Merging Unfamiliar LLMs: A Phishing Model Capable of Stealing Privacycited by 4
- 2025Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Modelscited by 3
- 2026TCAP: Tri-Component Attention Profiling for Unsupervised Backdoor Detection in MLLM Fine-Tuningcited by 3
- 2025Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defensescited by 2
- 2025Unifying Adversarial Perturbation for Graph Neural Networkscited by 1
- 2025Backdoor Unlearning by Linear Task Decompositioncited by 1
- 2025Defending against Backdoor Attacks via Module Switchingcited by 0
- 2026DiffSafeMerge: Mitigating Backdoor Inheritance in Diffusion Model Merging10 Aug 2026
- 2026When Skills Meet Safety: Benchmarking and Characterizing the Adaptive Jailbreak Robustness of Skill-Merged LLMs9 Aug 2026
- 2026TCAP: Tri-Component Attention Profiling for Unsupervised Backdoor Detection in MLLM Fine-Tuning29 Jan 2026
- 2025Backdoor Unlearning by Linear Task Decomposition16 Oct 2025
- 2025Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Models16 Oct 2025
- 2025Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defenses9 Oct 2025
- 2025Unifying Adversarial Perturbation for Graph Neural Networks30 Aug 2025
- 2025SafeLawBench: Towards Safe Alignment of Large Language Models7 Jun 2025
- 2025Eigenspectrum Analysis of Neural Networks without Aspect Ratio Bias6 Jun 2025
- 2025Knowledge Fusion of Large Language Models Via Modular SkillPacks24 May 2025
- 2025Backdoor Cleaning without External Guidance in MLLM Fine-tuning22 May 2025
- 2025Adversarial Cooperative Rationalization: The Risk of Spurious Correlations in Even Clean Datasets4 May 2025
- 2025Eigenspectrum Analysis of Neural Networks without Aspect Ratio Biascited by 10
- 2025Knowledge Fusion of Large Language Models Via Modular SkillPackscited by 8
- 2025Adversarial Cooperative Rationalization: The Risk of Spurious Correlations in Even Clean Datasetscited by 6
- 2025Be Cautious When Merging Unfamiliar LLMs: A Phishing Model Capable of Stealing Privacycited by 4
- 2025Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defensescited by 2
- 2025Unifying Adversarial Perturbation for Graph Neural Networkscited by 1
- 2025Backdoor Unlearning by Linear Task Decompositioncited by 1
- 2025Defending against Backdoor Attacks via Module Switchingcited by 0
- 2025Backdoor Unlearning by Linear Task Decomposition16 Oct 2025
- 2025Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defenses9 Oct 2025
- 2025Unifying Adversarial Perturbation for Graph Neural Networks30 Aug 2025
- 2025Eigenspectrum Analysis of Neural Networks without Aspect Ratio Bias6 Jun 2025
- 2025Knowledge Fusion of Large Language Models Via Modular SkillPacks24 May 2025
- 2025Adversarial Cooperative Rationalization: The Risk of Spurious Correlations in Even Clean Datasets4 May 2025
- 2025Defending against Backdoor Attacks via Module Switching8 Apr 2025
- 2025Be Cautious When Merging Unfamiliar LLMs: A Phishing Model Capable of Stealing Privacy17 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2026From Parameters to Feature Space: Task Arithmetic for Backdoor Mitigation in Model Merging
- 2026Towards Merging-conditional Backdoor Unalignment against Large Language Models
- 2025Merge Hijacking: Backdoor Attacks to Model Merging of Large Language Models
- 2022Understanding Impacts of Task Similarity on Backdoor Attack and Detection
- 2025Disrupting Model Merging: A Parameter-Level Defense Without Sacrificing Accuracy
- 2025BADTV: Unveiling Backdoor Threats in Third-Party Task Vectors
- 2024Context is the Key: Backdoor Attacks for In-Context Learning with Vision Transformers
- 2026Asymmetric Collapse in Model Merging: When Refusal Over- writes Recognition