Skip to main content
QUICK REVIEW

[Paper Review] UVCGAN: UNet Vision Transformer cycle-consistent GAN for unpaired image-to-image translation

D. Torbunov, Yi Huang|arXiv (Cornell University)|Mar 4, 2022
Generative Adversarial Networks and Image SynthesisComputer Science11 citations
TL;DR

UVCGAN proposes a novel unpaired image-to-image translation model that enhances CycleGAN by integrating a Vision Transformer (ViT) into the generator architecture, combined with gradient penalty and self-supervised pre-training. This approach achieves state-of-the-art performance on benchmark datasets while strictly preserving cycle-consistency, outperforming more complex models in both image quality and content fidelity.

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. 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.

Motivation & Objective

  • Address the gap in scientific simulation by bridging the discrepancy between simulated and real experimental data using unpaired image-to-image translation.
  • Revise the classic CycleGAN framework to enhance performance without relaxing cycle-consistency, which is critical for scientific validity.
  • Improve long-range spatial dependency modeling in image translation by replacing the U-Net backbone with a Vision Transformer.
  • Ensure training stability and generalization through advanced techniques like gradient penalty and self-supervised pre-training.
  • Promote reproducibility by releasing code, hyperparameters, and pre-trained models via an open-source repository.

Proposed method

  • Replace the U-Net generator in CycleGAN with a Vision Transformer (ViT) encoder-decoder architecture to model long-range dependencies more effectively.
  • Integrate the cycle-consistency loss to enforce one-to-one mapping between source and translated images, preserving semantic content.
  • Apply gradient penalty (GP) during adversarial training to stabilize GAN optimization and prevent mode collapse.
  • Use self-supervised pre-training on ImageNet or similar datasets to initialize the ViT encoder, improving feature learning and convergence.
  • Train the model end-to-end using two adversarial generators (A→B and B→A) with cycle-consistency and perceptual losses.
  • Employ a multi-head self-attention mechanism in the ViT to enable the model to focus on semantically relevant image regions, such as eyes and mouths.

Experimental results

Research questions

  • RQ1Can a Vision Transformer-based generator improve image translation quality in unpaired image-to-image translation while maintaining strict cycle-consistency?
  • RQ2How do gradient penalty and self-supervised pre-training contribute to the performance gains in UVCGAN compared to standard CycleGAN?
  • RQ3Does the integration of ViT into the CycleGAN framework lead to better preservation of content and identity in translated images?
  • RQ4Can UVCGAN outperform more complex, modern models without relaxing the cycle-consistency constraint?
  • RQ5To what extent do attention maps in the ViT highlight meaningful, human-aligned regions in the input images, indicating interpretability and relevance?

Key findings

  • UVCGAN outperforms previous state-of-the-art models on multiple benchmarks, including Horse→Zebra, Apple→Orange, and others, achieving higher FID and LPIPS scores.
  • On the Horse→Zebra dataset, UVCGAN achieved an FID of 11.0 and LPIPS of 0.85±0.09, surpassing models like SPA-GAN and AdaIN-SPADE.
  • The ablation study confirmed that both gradient penalty and self-supervised pre-training are essential—removing either led to significant performance drops.
  • Attention visualization showed that the model focuses on key facial regions (eyes and mouth), aligning with human visual attention patterns and indicating meaningful feature learning.
  • UVCGAN achieved superior performance on ImageNet-based translation tasks, with FID of 1.77±0.21 and LPIPS of 1.77±0.21, demonstrating strong generalization.
  • Despite higher training cost than original CycleGAN, UVCGAN's environmental impact remains significantly lower than that of more complex diffusion or normalizing flow models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.