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

攻击确定性条件图像生成模型以实现多样化和可控生成

Attack Deterministic Conditional Image Generative Models for Diverse and Controllable Generation

Zhejiang University(浙江大学);Nanjing University of Science and Technology(南京理工大学)

Tianyi Chu, Wei Xing, Jiafu Chen, Zhizhong Wang, Jiakai Sun, Lei Zhao, Haibo Chen, Huaizhong Lin

AI总结:

本文提出一种即插即用的PGD类攻击方法,通过向预训练确定性条件生成模型的输入条件添加微小扰动,在不改变网络结构或参数的情况下实现多样化且可控的图像生成,并验证了其有效性。

摘要:

现有的基于生成对抗网络(GAN)的条件图像生成模型通常对相同的条件输入产生固定输出,这对于高度主观的任务(如大掩码图像修复或风格迁移)是不合理的。另一方面,基于GAN的多样化图像生成方法需要重新训练或微调网络,或设计复杂的噪声注入函数,这计算成本高昂、任务特定,或难以生成高质量结果。鉴于许多确定性条件图像生成模型已能产生高质量但固定的结果,我们提出了一个有趣的问题:预训练的确定性条件图像生成模型是否可能在不改变网络结构或参数的情况下生成多样化结果?为了回答这个问题,我们从对抗攻击的角度重新审视条件图像生成任务,并提出了一种简单高效的即插即用投影梯度下降(PGD)类方法,用于多样化和可控的图像生成。关键思想是通过向输入条件添加微小扰动来攻击预训练的确定性生成模型。这样,无需调整网络结构或微调预训练模型即可生成多样化结果。此外,我们还可以通过根据参考文本或图像指定攻击方向来控制生成的多样化结果。我们的工作为将对抗攻击应用于低级视觉任务打开了大门,在多种条件图像生成任务上的实验证明了所提方法的有效性和优越性。

英文摘要:

Existing generative adversarial network (GAN) based conditional image generative models typically produce fixed output for the same conditional input, which is unreasonable for highly subjective tasks, such as large-mask image inpainting or style transfer. On the other hand, GAN-based diverse image generative methods require retraining/fine-tuning the network or designing complex noise injection functions, which is computationally expensive, task-specific, or struggle to generate high-quality results. Given that many deterministic conditional image generative models have been able to produce high-quality yet fixed results, we raise an intriguing question: is it possible for pre-trained deterministic conditional image generative models to generate diverse results without changing network structures or parameters? To answer this question, we re-examine the conditional image generation tasks from the perspective of adversarial attack and propose a simple and efficient plug-in projected gradient descent (PGD) like method for diverse and controllable image generation. The key idea is attacking the pre-trained deterministic generative models by adding a micro perturbation to the input condition. In this way, diverse results can be generated without any adjustment of network structures or fine-tuning of the pre-trained models. In addition, we can also control the diverse results to be generated by specifying the attack direction according to a reference text or image. Our work opens the door to applying adversarial attack to low-level vision tasks, and experiments on various conditional image generation tasks demonstrate the effectiveness and superiority of the proposed method.

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

↑