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

当LoRA背叛时:通过伪装成无害适配器对文本到图像模型进行后门攻击

When LoRA Betrays: Backdooring Text-to-Image Models by Masquerading as Benign Adapters

People’s Public Security University of China(中国人民公安大学)

Liangwei Lyu, Jiaqi Xu, Jianwei Ding, Qiyao Deng

AI总结:

研究提出MasqLoRA攻击框架,通过独立LoRA模块在文本到图像扩散模型中隐蔽注入恶意行为,实验显示其攻击成功率高达99.8%。

摘要:

低秩适应(LoRA)已成为高效微调文本到图像扩散模型的领先技术,其在开源平台的广泛采用促进了模型共享和定制的文化。然而,使LoRA具有吸引力的模块化和即插即用的灵活性也引入了更广泛的攻击面。为突出这一风险,我们提出了Masquerade-LoRA(MasqLoRA),这是首个系统性的攻击框架,利用独立的LoRA模块作为攻击载体,隐蔽地将恶意行为注入到文本到图像扩散模型中。MasqLoRA通过冻结基础模型参数,仅更新低秩适配器权重,使用少量“触发词-目标图像”对进行操作。这使攻击者能够训练一个独立的后门LoRA模块,该模块嵌入了一个隐含的跨模态映射:当模块被加载并提供特定的文本触发词时,模型会生成预定义的视觉输出;否则,其行为与良性模型不可区分,确保攻击的隐蔽性。实验结果表明,MasqLoRA可以以最小的资源开销进行训练,并实现了高达99.8%的攻击成功率。MasqLoRA揭示了AI供应链中严重的独特威胁,突显了对以LoRA为中心的共享生态系统进行专门防御机制的紧迫需求。

英文摘要:

Low-Rank Adaptation (LoRA) has emerged as a leading technique for efficiently fine-tuning text-to-image diffusion models, and its widespread adoption on open-source platforms has fostered a vibrant culture of model sharing and customization. However, the same modular and plug-and-play flexibility that makes LoRA appealing also introduces a broader attack surface. To highlight this risk, we propose Masquerade-LoRA (MasqLoRA), the first systematic attack framework that leverages an independent LoRA module as the attack vehicle to stealthily inject malicious behavior into text-to-image diffusion models. MasqLoRA operates by freezing the base model parameters and updating only the low-rank adapter weights using a small number of "trigger word-target image" pairs. This enables the attacker to train a standalone backdoor LoRA module that embeds a hidden cross-modal mapping: when the module is loaded and a specific textual trigger is provided, the model produces a predefined visual output; otherwise, it behaves indistinguishably from the benign model, ensuring the stealthiness of the attack. Experimental results demonstrate that MasqLoRA can be trained with minimal resource overhead and achieves a high attack success rate of 99.8%. MasqLoRA reveals a severe and unique threat in the AI supply chain, underscoring the urgent need for dedicated defense mechanisms for the LoRA-centric sharing ecosystem.

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

↑