arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.08016cs.LGcs.AIcs.CR
收藏

后门向量:后门攻击与防御的任务算术视角

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

Warsaw University of Technology(华沙技术大学);NASK National Research Institute(国家研究机构NASK);IDEAS NCBR;IDEAS Research Institute(IDEAS研究所);Computer Vision Center, Universitat Autonoma de Barcelona(巴塞罗那自治大学计算机视觉中心)

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

AI总结:

本研究从任务算术视角提出后门向量框架,通过稀疏后门向量增强攻击,并设计注入后门向量减法实现无假设的通用防御,提升模型合并安全性。

摘要:

模型合并(MM)最近成为组合大型深度学习模型的有效方法。然而,它带来了显著的安全风险。近期研究表明,模型合并极易受到后门攻击的影响,这种攻击在单个微调模型实例中引入隐藏触发器,使攻击者能够在推理时控制最终合并模型的输出。在这项工作中,我们提出了一个简单的框架来理解后门攻击,将攻击本身视为一个任务向量。后门向量(BV)被计算为微调后的带后门模型与微调后的干净模型权重之间的差值。后门向量揭示了攻击理解的新见解,并提供了一个更有效的框架来衡量它们的相似性和可迁移性。此外,我们提出了一种新颖的方法,通过合并来增强后门韧性,称为稀疏后门向量(SBV),它将多个攻击合并为一个。我们识别了模型合并中后门威胁背后的核心漏洞:利用基础模型中对抗性弱点的固有触发器。为了应对这一点,我们提出了注入后门向量减法(IBVS)——一种针对模型合并中后门的无假设防御。我们的结果表明,稀疏后门向量超越了先前的攻击,并且是第一个利用合并来提高后门有效性的方法。同时,注入后门向量减法提供了一种轻量级、通用的防御,即使在后门威胁完全未知的情况下也能保持有效。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑