mlsanityData to 14 Oct 2026

Merge Hijacking: Backdoor Attacks to Model Merging of Large Language Models

arXiv 2505.23561 ↗First posted 29 May 2025cs.CRcited by 7

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Model merging for Large Language Models (LLMs) directly fuses the parameters of different models finetuned on various tasks, creating a unified model for multi-domain tasks. However, due to potential vulnerabilities in models available on open-source platforms, model merging is susceptible to backdoor attacks. In this paper, we propose Merge Hijacking, the first backdoor attack targeting model merging in LLMs. The attacker constructs a malicious upload model and releases it. Once a victim user merges it with any other models, the resulting merged model inherits the backdoor while maintaining utility across tasks. Merge Hijacking defines two main objectives-effectiveness and utility-and achieves them through four steps. Extensive experiments demonstrate the effectiveness of our attack across different models, merging algorithms, and tasks. Additionally, we show that the attack remains effective even when merging real-world models. Moreover, our attack demonstrates robustness against two inference-time defenses (Paraphrasing and CLEANGEN) and one training-time defense (Fine-pruning).

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 27 of its 42 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

27 of 42 references.

Closest ancestors · 5

Same direction, newest first

  1. 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection31 Jul
  2. 2023BadGPT: Exploring Security Vulnerabilities of ChatGPT via Backdoor Attacks to InstructGPT21 Feb
  3. 2023Backdoor Attacks to Pre-trained Unified Foundation Models18 Feb
  4. 2021BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Models6 Oct
  5. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May

Other references · 22

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  4. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  5. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  6. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  8. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 580
  9. 2023A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPTcited by 368
  10. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
  11. 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 200
  12. 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 133
10 more
  1. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 115
  2. 2023SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction Consistencycited by 97
  3. 2021Backdoor Pre-trained Models Can Transfer to Allcited by 86
  4. 2024DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Samplingcited by 81
  5. 2023Improving Large Language Model Fine-tuning for Solving Math Problemscited by 49
  6. 2024BadMerging: Backdoor Attacks Against Model Mergingcited by 34
  7. 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Mergecited by 26
  8. 2020Natural Backdoor Attack on Text Datacited by 22
  9. 2024LoBAM: LoRA-Based Backdoor Attack on Model Mergingcited by 12
  10. 2024Physical Backdoor: Towards Temperature-based Backdoor Attacks in the Physical Worldcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 6.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Merger-as-a-Stealer: Stealing Targeted PII from Aligned LLMs with Model Merging
  2. 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
  3. 2026Patcher: Post-Hoc Patching of Backdoored Large Language Models
  4. 2024Neutralizing Backdoors through Information Conflicts for Large Language Models
  5. 2026When Safe Models Merge into Danger: Exploiting Latent Vulnerabilities in LLM Fusion
  6. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
  7. 2025Backdoor Collapse: Eliminating Unknown Threats via Known Backdoor Aggregation in Language Models
  8. 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models