Attack Deterministic Conditional Image Generative Models for Diverse and Controllable Generation

Tianyi Chu, Wei Xing, Jiafu Chen, Zhizhong Wang, Jiakai Sun +3 more
3/13/2024
cs.CV

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chu2024attack,
  title  = {Attack Deterministic Conditional Image Generative Models for Diverse and Controllable Generation},
  author = {Tianyi Chu and Wei Xing and Jiafu Chen and Zhizhong Wang and Jiakai Sun and Lei Zhao and Haibo Chen and Huaizhong Lin},
  year   = {2024},
  eprint = {2403.08294},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.08294v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.08294.svg)](https://codeofpaper.com/paper/2403.08294)

Discussion