arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.05762cs.LGcs.CRcs.CV
收藏

TrojDiff:多目标扩散模型的特洛伊木马攻击

TrojDiff: Trojan Attacks on Diffusion Models with Diverse Targets

UIUC(伊利诺伊大学厄巴纳-香槟分校);UC Berkeley(加州大学伯克利分校)

Weixin Chen, Dawn Song, Bo Li

摘要:

扩散模型在图像合成和分子设计等领域取得了巨大的成功。由于这种成功取决于从不同来源收集的大规模训练数据,因此这些收集的数据的可信度难以控制或审计。在这项工作中,我们的目标是探索潜在的训练数据操纵下的扩散模型的漏洞,并试图回答:有多难执行木马攻击训练有素的扩散模型?这种特洛伊木马攻击可以达到的敌对目标是什么?为了回答这些问题,我们提出了一个有效的特洛伊木马攻击扩散模型,TrojDiff,它优化了木马的扩散和生成过程中的训练。特别是,我们在木马扩散过程中设计了新的过渡,将敌对目标扩散到有偏的高斯分布中,并提出了一种新的木马生成过程的参数化,从而为攻击提供了一个有效的训练目标。此外,我们考虑了三种类型的对抗性目标:特洛伊扩散模型将始终输出属于域内分布(In-D2 D攻击),域外分布(Out-D2 D攻击)和一个特定实例(D2 I攻击)的某个类的实例。我们在CIFAR-10和CelebA数据集上针对DDPM和DDIM扩散模型评估TrojDiff。我们表明,TrojDiff总是实现高攻击性能下使用不同类型的触发器的不同的敌对目标,而在良性环境的性能是保留的。该代码可在https://github.com/chenweixin107/TrojDiff上获得。

英文摘要:

Diffusion models have achieved great success in a range of tasks, such as image synthesis and molecule design. As such successes hinge on large-scale training data collected from diverse sources, the trustworthiness of these collected data is hard to control or audit. In this work, we aim to explore the vulnerabilities of diffusion models under potential training data manipulations and try to answer: How hard is it to perform Trojan attacks on well-trained diffusion models? What are the adversarial targets that such Trojan attacks can achieve? To answer these questions, we propose an effective Trojan attack against diffusion models, TrojDiff, which optimizes the Trojan diffusion and generative processes during training. In particular, we design novel transitions during the Trojan diffusion process to diffuse adversarial targets into a biased Gaussian distribution and propose a new parameterization of the Trojan generative process that leads to an effective training objective for the attack. In addition, we consider three types of adversarial targets: the Trojaned diffusion models will always output instances belonging to a certain class from the in-domain distribution (In-D2D attack), out-of-domain distribution (Out-D2D-attack), and one specific instance (D2I attack). We evaluate TrojDiff on CIFAR-10 and CelebA datasets against both DDPM and DDIM diffusion models. We show that TrojDiff always achieves high attack performance under different adversarial targets using different types of triggers, while the performance in benign environments is preserved. The code is available at https://github.com/chenweixin107/TrojDiff.

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

↑