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

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).

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.1571
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Y. P. Xu, Zenghui Yuan, Lichao Sun, Pan Zhou et al.
1 links
Topic Modeling
article

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

Y. P. Xu, Zenghui Yuan, Lichao Sun, Pan Zhou, Jiawen Shi
article en

Abstract

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).

National Natural Science Foundation of China
Gender equality
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Merge Hijacking: Backdoor Attacks to Model Merging of Large Language Models — Y. P. Xu, Zenghui Yuan, et al. · (2025) | TGRS Research Map | TGRS