# RogueMerge: Robust and Unified Attacks against LLM Model Merging

DevFeed: [RogueMerge: Robust and Unified Attacks against LLM Model Merging](<https://devfeed.tech/articles/roguemerge-robust-and-unified-attacks-against-llm-model-merging-113994.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.03344>)

Author: Jinghuai Zhang, Yetian He, Kunlin Cai, Han Zhao, Fnu Suya, Yuan Tian

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [amplify](<https://devfeed.tech/tags/amplify.md>), [approximation](<https://devfeed.tech/tags/approximation.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attack](<https://devfeed.tech/tags/attack.md>), [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [backdoor](<https://devfeed.tech/tags/backdoor.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [better](<https://devfeed.tech/tags/better.md>), [can](<https://devfeed.tech/tags/can.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [llm](<https://devfeed.tech/tags/llm.md>), [model](<https://devfeed.tech/tags/model.md>), [robust](<https://devfeed.tech/tags/robust.md>)

## AI overview

RogueMerge targets the supply-chain risk of merging unverified task vectors into LLM weights. It jointly optimizes attacks to remain effective after merging, uses stochastic min-max optimization with meta-gradient descent to account for unknown merge configurations, and applies distributionally robust optimization with a first-order Taylor approximation to generalize across attack prompts. The abstract reports stronger results than prior attacks across four threats, six merging algorithms, and more than 170 merged LLMs, with stability across merging settings and resistance to standard defenses.

## Source excerpt

arXiv:2606.03344v3 Announce Type: replace Abstract: Model merging composes specialized capabilities into a single LLM by aggregating task-specific LLMs sourced from unverified public platforms, exposing a critical supply-chain attack surface: Because any malicious behavior can be encoded into a task vector, and merging grants third-party vectors direct write access to model weights, an attacker-provided task vector can enable or amplify diverse downstream threats. Prior work only examines backdoor attacks against model merging for classifiers using static arithmetic heuristics, which fail to effectively achieve diverse attacks on generative LLMs for three reasons: (i) LLMs rely on autoregressive decoding, where even a minor parameter drift introduced by merging compounds across tokens and rapidly degrades the attack. (ii) Attackers have no knowledge of the victim's merging configurations, causing a static attack vector optimized in isolation to be easily diluted or neutralized. (iii) Practical threat induction must generalize to attack prompts unseen during optimization, which static vectors cannot adequately encode. In light of these gaps, we present RogueMerge, the first unified attack framework addressing all three challenges. To handle autoregressive generation, we replace static arithmetic with a joint optimization that explicitly enforces attack success after merging. To better simulate unknown merging settings, we formulate attack injection as a stochastic min-max optimization problem and solve it via meta-gradient descent. To generalize across heterogeneous attack prompts, we employ distributionally robust optimization and derive a tractable first-order Taylor approximation at LLM scale, with a provable error bound. Across four threats, six merging algorithms, and over 170 merged LLMs, RogueMerge consistently outperforms prior attacks. It also remains stable across diverse merging settings and resists standard defenses.