potentialpaper

Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defenses in Model Merging

Stanisław Pawlak, Jan Dubiński, Daniel Marczak, Bartłomiej Twardowski

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Model merging (MM) recently emerged as an effective method for combining large deep learning models. However, it poses significant security risks. Recent research shows that it is highly susceptible to backdoor attacks, which introduce a hidden trigger into a single fine-tuned model instance that allows the adversary to control the output of the final merged model at inference time. In this work, we propose a simple framework for understanding backdoor attacks by treating the attack itself as a task vector. Backdoor Vector (BV)\textit{Backdoor Vector (BV)} is calculated as the difference between the weights of a fine-tuned backdoored model and the clean fine-tuned one, which reveals new insights: analogies reflect backdoor transfer, addition injects attacks, and subtraction helps to remove them. Furthermore, we propose a novel method that enhances backdoor resilience through merging dubbed Sparse Backdoor Vector (SBV)\textit{Sparse Backdoor Vector (SBV)} that combines multiple attacks into a single one. We identify the core vulnerability behind backdoor threats in MM: inherent triggers\textit{inherent triggers} that exploit adversarial weaknesses in the base model. To counter this, we propose Injection BV Subtraction (IBVS)\textit{Injection BV Subtraction (IBVS)} -- a vector-based, assumption-free defense against backdoors in MM. Our results show that SBVs surpass prior attacks by being the first to leverage merging for backdoor attacks, while IBVS provides a lightweight, general defense that remains effective even when the backdoor threat is entirely unknown.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…