arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14845cs.LGcs.CV
收藏

通过线性任务分解进行后门遗忘

Backdoor Unlearning by Linear Task Decomposition

EPFL(苏黎世联邦理工学院);Cyber-Defence Campus, armasuisse(网络安全校园,armasuisse)

Amel Abdelraheem, Alessandro Favero, Gerome Bovet, Pascal Frossard

AI总结:

本研究通过线性任务分解,发现后门在模型权重空间中与良性任务解耦,据此提出一种简单遗忘方法,在已知攻击时近乎完美遗忘并保留96%干净准确率,未知时也能有效移除后门。

摘要:

基础模型通过跨多种任务的广泛泛化能力,彻底改变了计算机视觉领域。然而,它们仍然极易受到对抗性扰动和针对性后门攻击的影响。缓解此类漏洞仍然是一个开放的挑战,尤其是考虑到模型的大规模特性使得重新训练以确保安全变得不可行。现有的后门移除方法依赖于代价高昂的微调来覆盖有害行为,并且常常会降低其他无关任务的性能。这引发了一个问题:是否可以在不损害模型通用能力的情况下移除后门。在这项工作中,我们解决了这个问题,并研究了后门如何在模型权重空间中被编码,发现它们与其他良性任务是解耦的。具体来说,这种分离使得能够隔离和擦除后门对模型的影响,同时对干净性能的影响最小。基于这一见解,我们引入了一种利用这种解耦的简单遗忘方法。通过使用基于CLIP的模型和常见对抗性触发器的广泛实验,我们表明,在已知攻击的情况下,我们的方法实现了近乎完美的遗忘,同时平均保留了96%的干净准确率。此外,我们证明,即使攻击及其存在未知,我们的方法也能通过使用逆向工程的触发器进行适当估计,成功遗忘后门。总体而言,与现有的最先进防御方法相比,我们的方法始终在遗忘效果和干净准确率之间取得更好的权衡。

英文摘要:

Foundation models have revolutionized computer vision by enabling broad generalization across diverse tasks. Yet, they remain highly susceptible to adversarial perturbations and targeted backdoor attacks. Mitigating such vulnerabilities remains an open challenge, especially given that the large-scale nature of the models prohibits retraining to ensure safety. Existing backdoor removal approaches rely on costly fine-tuning to override the harmful behavior, and can often degrade performance on other unrelated tasks. This raises the question of whether backdoors can be removed without compromising the general capabilities of the models. In this work, we address this question and study how backdoors are encoded in the model weight space, finding that they are disentangled from other benign tasks. Specifically, this separation enables the isolation and erasure of the backdoor's influence on the model with minimal impact on clean performance. Building on this insight, we introduce a simple unlearning method that leverages such disentanglement. Through extensive experiments with CLIP-based models and common adversarial triggers, we show that, given the knowledge of the attack, our method achieves approximately perfect unlearning, while retaining, on average, 96% of clean accuracy. Additionally, we demonstrate that even when the attack and its presence are unknown, our method successfully unlearns backdoors by proper estimation using reverse-engineered triggers. Overall, our method consistently yields better unlearning and clean accuracy tradeoffs when compared to present state-of-the-art defenses.

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

↑