Zero-shot Image-to-Image Translation

Gaurav Parmar, Krishna Kumar Singh, Richard Zhang, Yijun Li, Jingwan Lu +1 more
2/6/2023
cs.CVcs.GRcs.LG

No official code found. Best implementation: pix2pixzero/pix2pix-zero (1,149 stars, MIT, last commit 2024-10-16). 2 more below.

Abstract

Large-scale text-to-image generative models have shown their remarkable ability to synthesize diverse and high-quality images. However, it is still challenging to directly apply these models for editing real images for two reasons. First, it is hard for users to come up with a perfect text prompt that accurately describes every visual detail in the input image. Second, while existing models can introduce desirable changes in certain regions, they often dramatically alter the input content and introduce unexpected changes in unwanted regions. In this work, we propose pix2pix-zero, an image-to-image translation method that can preserve the content of the original image without manual prompting. We first automatically discover editing directions that reflect desired edits in the text embedding space. To preserve the general content structure after editing, we further propose cross-attention guidance, which aims to retain the cross-attention maps of the input image throughout the diffusion process. In addition, our method does not need additional training for these edits and can directly use the existing pre-trained text-to-image diffusion model. We conduct extensive experiments and show that our method outperforms existing and concurrent works for both real and synthetic image editing.

View on arXivView PDF

Code Implementations(3)

MIT

Zero-shot Image-to-Image Translation [SIGGRAPH 2023]

1,14984PythonFeb 7, 20232 years agoMIT
MIT

zero-shot image-to-image translation, diffusion model, prompt, image-to-image translation, MirrorDiffusion: Stabilizing Diffusion Process in Zero-shot Image Translation by Prompts Redescription and Beyond, IEEE Signal Processing Letters(SPL)

274PythonJan 6, 20242 years agoMIT

PyTorch Implementation of "ZstGAN: An Adversarial Approach for Unsupervised Zero-Shot Image-to-Image Translation"

428PythonMay 29, 20197 years ago

Similar Papers

Cite this paper

@article{parmar2023zeroshot,
  title  = {Zero-shot Image-to-Image Translation},
  author = {Gaurav Parmar and Krishna Kumar Singh and Richard Zhang and Yijun Li and Jingwan Lu and Jun-Yan Zhu},
  year   = {2023},
  eprint = {2302.03027},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.03027v1}
}

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/2302.03027.svg)](https://codeofpaper.com/paper/2302.03027)

Discussion