arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.04175cs.CRcs.CVcs.MM
收藏

文本到图像扩散模型容易通过多模态数据投毒被植入后门

Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning

Peking University(北京大学);Tsinghua University(清华大学);ShengShu(盛树)

Shengfang Zhai, Yinpeng Dong, Qingni Shen, Shi Pu, Yuejian Fang, Hang Su

AI总结:

本文系统调查了文本到图像扩散模型的后门攻击风险,提出多模态后门攻击框架BadT2I,在像素、对象和风格三个视觉语义级别注入后门,并证明Stable Diffusion等大规模模型可通过少量微调步骤被轻易植入后门。

摘要:

借助条件机制,最先进的扩散模型在引导图像生成方面取得了巨大成功,特别是在文本到图像合成中。为了更好地理解文本到图像合成的训练过程和潜在风险,我们对文本到图像扩散模型上的后门攻击进行了系统调查,并提出了BadT2I,这是一个通用的多模态后门攻击框架,能够在不同语义级别篡改图像合成。具体而言,我们在视觉语义的三个层面上执行后门攻击:Pixel-Backdoor、Object-Backdoor和Style-Backdoor。通过利用正则化损失,我们的方法在保持其对良性输入效用的同时,将后门高效注入大规模文本到图像扩散模型。我们在广泛使用的文本到图像扩散模型Stable Diffusion上进行了实证实验,证明大规模扩散模型可以在几个微调步骤内被轻易植入后门。我们进行了额外的实验以探索不同类型文本触发器的影响,以及在进一步训练期间的后门持久性,为后门防御方法的开发提供见解。此外,我们的调查可能有助于未来文本到图像模型的版权保护。

英文摘要:

With the help of conditioning mechanisms, the state-of-the-art diffusion models have achieved tremendous success in guided image generation, particularly in text-to-image synthesis. To gain a better understanding of the training process and potential risks of text-to-image synthesis, we perform a systematic investigation of backdoor attack on text-to-image diffusion models and propose BadT2I, a general multimodal backdoor attack framework that tampers with image synthesis in diverse semantic levels. Specifically, we perform backdoor attacks on three levels of the vision semantics: Pixel-Backdoor, Object-Backdoor and Style-Backdoor. By utilizing a regularization loss, our methods efficiently inject backdoors into a large-scale text-to-image diffusion model while preserving its utility with benign inputs. We conduct empirical experiments on Stable Diffusion, the widely-used text-to-image diffusion model, demonstrating that the large-scale diffusion model can be easily backdoored within a few fine-tuning steps. We conduct additional experiments to explore the impact of different types of textual triggers, as well as the backdoor persistence during further training, providing insights for the development of backdoor defense methods. Besides, our investigation may contribute to the copyright protection of text-to-image models in the future.

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

↑