arXiv:2510.08016cs.LGcs.AI2025-10被引 2

用任务向量视角揭示模型合并中的后门攻击机制并提出新防御方法

Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defenses

  • 将后门攻击视为任务向量,通过权重差提取后门向量(BV)
  • 提出稀疏后门向量(SBV)使攻击更隐蔽且具更强迁移性
  • 无需假设即可防御未知后门的注入向量减法(IBVS)方法

模型合并(MM)虽能有效整合大型深度学习模型,但存在严重安全风险。近期研究发现,其极易遭受后门攻击——攻击者在单个微调模型中植入隐藏触发器,从而在推理时控制最终合并模型的输出。本文提出一种新框架,将攻击本身视为任务向量,通过计算受污染模型与干净模型微调后的权重差,得到后门向量(BV),揭示了攻击的新理解,并构建更有效的相似性与迁移性度量方法。进一步提出稀疏后门向量(SBV)策略,通过融合多个攻击生成单一高效攻击,显著提升攻击效果,是首个利用合并增强后门能力的方法。我们识别出核心漏洞:基础模型中固有的触发器利用了对抗性弱点。为此提出无假设防御方法注入向量减法(IBVS),可有效抵御未知后门,且轻量高效。

原文摘要 · Abstract (English)

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)$ is calculated as the difference between the weights of a fine-tuned backdoored model and fine-tuned clean model. BVs reveal new insights into attacks understanding and a more effective framework to measure their similarity and transferability. Furthermore, we propose a novel method that enhances backdoor resilience through merging dubbed $Sparse\ Backdoor\ Vector\ (SBV)$ that combines multiple attacks into a single one. We identify the core vulnerability behind backdoor threats in MM: $inherent\ triggers$ that exploit adversarial weaknesses in the base model. To counter this, we propose $Injection\ BV\ Subtraction\ (IBVS)$ - an assumption-free defense against backdoors in MM. Our results show that SBVs surpass prior attacks and is the first method to leverage merging to improve backdoor effectiveness. At the same time, IBVS provides a lightweight, general defense that remains effective even when the backdoor threat is entirely unknown.

后门攻击模型合并安全防御任务向量

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。