arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.16746cs.CRcs.AIcs.LG
收藏

LoBAM:基于LoRA的模型合并后门攻击

LoBAM: LoRA-Based Backdoor Attack on Model Merging

Duke University(杜克大学);University of Louisville(路易斯维尔大学)

Ming Yin, Jingyang Zhang, Jingwei Sun, Minghong Fang, Hai Li, Yiran Chen

AI总结:

针对模型合并场景下使用LoRA微调导致后门攻击效力降低的问题,提出LoBAM方法,通过智能放大恶意权重,在最少训练资源下实现高成功率的隐蔽后门攻击。

摘要:

模型合并是一种新兴技术,它整合在不同任务上微调的多个模型,以创建在多个领域均表现优异的多功能模型。同时,这种方案也可能带来后门攻击的机会,单个恶意模型就能危及合并模型的完整性。现有研究试图通过假设拥有大量计算资源来证明此类攻击的风险,重点关注攻击者能够完全微调预训练模型的场景。然而,随着机器学习模型规模的不断增大,这种假设可能不再可行。在资源受限且攻击者只能采用低秩适应(Low-Rank Adaptation, LoRA)等技术来生成恶意模型的实际场景中,攻击是否仍然有效并构成威胁尚不清楚。在本研究中,我们首先发现使用LoRA进行微调时,攻击效力会显著降低。然后,我们提出了LoBAM,这是一种以最少训练资源获得高攻击成功率的方法。LoBAM的核心思想是以智能方式放大恶意权重,从而有效增强攻击效力。我们通过在各种模型合并场景下的大量实证实验证明,我们的设计能够提高攻击成功率。此外,我们还表明该方法具有高度隐蔽性,难以被检测和防御。

英文摘要:

Model merging is an emerging technique that integrates multiple models fine-tuned on different tasks to create a versatile model that excels in multiple domains. This scheme, in the meantime, may open up backdoor attack opportunities where one single malicious model can jeopardize the integrity of the merged model. Existing works try to demonstrate the risk of such attacks by assuming substantial computational resources, focusing on cases where the attacker can fully fine-tune the pre-trained model. Such an assumption, however, may not be feasible given the increasing size of machine learning models. In practice where resources are limited and the attacker can only employ techniques like Low-Rank Adaptation (LoRA) to produce the malicious model, it remains unclear whether the attack can still work and pose threats. In this work, we first identify that the attack efficacy is significantly diminished when using LoRA for fine-tuning. Then, we propose LoBAM, a method that yields high attack success rate with minimal training resources. The key idea of LoBAM is to amplify the malicious weights in an intelligent way that effectively enhances the attack efficacy. We demonstrate that our design can lead to improved attack success rate through extensive empirical experiments across various model merging scenarios. Moreover, we show that our method is highly stealthy and is difficult to detect and defend against.

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

↑