UVCGAN: UNet Vision Transformer cycle-consistent GAN for unpaired image-to-image translation

Dmitrii Torbunov, Yi Huang, Haiwang Yu, Jin Huang, Shinjae Yoo +3 more
3/4/2022
160 citations
cs.CVeess.IV
transformer-attention

Official code: LS4GAN/uvcgan (153 stars, Python, last commit 2025-01-06). 1 more implementation below.

Abstract

Unpaired image-to-image translation has broad applications in art, design, and scientific simulations. One early breakthrough was CycleGAN that emphasizes one-to-one mappings between two unpaired image domains via generative-adversarial networks (GAN) coupled with the cycle-consistency constraint, while more recent works promote one-to-many mapping to boost diversity of the translated images.

Show full abstract

Motivated by scientific simulation and one-to-one needs, this work revisits the classic CycleGAN framework and boosts its performance to outperform more contemporary models without relaxing the cycle-consistency constraint. To achieve this, we equip the generator with a Vision Transformer (ViT) and employ necessary training and regularization techniques. Compared to previous best-performing models, our model performs better and retains a strong correlation between the original and translated image. An accompanying ablation study shows that both the gradient penalty and self-supervised pre-training are crucial to the improvement. To promote reproducibility and open science, the source code, hyperparameter configurations, and pre-trained model are available at https://github.com/LS4GAN/uvcgan.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
LS4GAN/uvcganOfficial153Python–2025-01-06
LS4GAN/benchmarkingCommunity12Python–2024-10-29
LS4GAN/uvcganOfficial100%

Code accompanying UVCGAN paper

15325Python, ShellFeb 14, 20221 years agoNOASSERTION
LS4GAN/benchmarkingCommunity100%

Release detailed information for the benchmarking algorithms

121PythonFeb 25, 20222 years ago

Similar Papers

Cite this paper

@article{torbunov2022uvcgan,
  title  = {UVCGAN: UNet Vision Transformer cycle-consistent GAN for unpaired image-to-image translation},
  author = {Dmitrii Torbunov and Yi Huang and Haiwang Yu and Jin Huang and Shinjae Yoo and Meifeng Lin and Brett Viren and Yihui Ren},
  year   = {2022},
  eprint = {2203.02557},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.02557}
}

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

Discussion