arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2212.05400cs.CVcs.CRcs.LG
收藏

如何对扩散模型植入后门?

How to Backdoor Diffusion Models?

National Tsing Hua University(国立清华大学);The Chinese University of Hong Kong(香港中文大学);IBM Research(IBM研究院)

Sheng-Yen Chou, Pin-Yu Chen, Tsung-Yi Ho

AI总结:

本文首次研究扩散模型的后门攻击鲁棒性,提出BadDiffusion攻击框架,可通过训练篡改或微调预训练模型植入后门,验证了其高可用性与目标特异性,并探索了风险缓解对策。

摘要:

扩散模型是基于深度学习的最先进生成模型,其训练原理是通过逐步加噪与去噪来学习前向和反向扩散过程。为更好地理解扩散模型的局限性与潜在风险,本文首次开展了扩散模型针对后门攻击的鲁棒性研究。具体而言,我们提出了BadDiffusion这一新型攻击框架,该框架在模型训练期间对扩散过程进行篡改以植入后门。在推理阶段,植入后门的扩散模型在处理常规数据输入时的表现与未被篡改的生成器完全一致,而在接收到植入的触发信号时,会错误生成攻击者设计的特定目标输出。对于基于这类问题模型构建的下游任务与应用而言,这一严重风险可能造成可怕后果。我们在多种后门攻击设置下开展了大量实验,结果表明BadDiffusion能持续生成兼具高可用性与目标特异性的被篡改扩散模型。更糟糕的是,仅通过微调干净的预训练扩散模型来植入后门,就能让BadDiffusion具备成本效益。我们还探索了一些可降低风险的潜在对策。我们的研究结果呼吁人们关注扩散模型的潜在风险与可能被滥用的问题。我们的代码可在https://github.com/IBM/BadDiffusion获取。

英文摘要:

Diffusion models are state-of-the-art deep learning empowered generative models that are trained based on the principle of learning forward and reverse diffusion processes via progressive noise-addition and denoising. To gain a better understanding of the limitations and potential risks, this paper presents the first study on the robustness of diffusion models against backdoor attacks. Specifically, we propose BadDiffusion, a novel attack framework that engineers compromised diffusion processes during model training for backdoor implantation. At the inference stage, the backdoored diffusion model will behave just like an untampered generator for regular data inputs, while falsely generating some targeted outcome designed by the bad actor upon receiving the implanted trigger signal. Such a critical risk can be dreadful for downstream tasks and applications built upon the problematic model. Our extensive experiments on various backdoor attack settings show that BadDiffusion can consistently lead to compromised diffusion models with high utility and target specificity. Even worse, BadDiffusion can be made cost-effective by simply finetuning a clean pre-trained diffusion model to implant backdoors. We also explore some possible countermeasures for risk mitigation. Our results call attention to potential risks and possible misuse of diffusion models. Our code is available on https://github.com/IBM/BadDiffusion.

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

↑