Global and Local Alignment Networks for Unpaired Image-to-Image Translation

Guanglei Yang, Hao Tang, Humphrey Shi, Mingli Ding, Nicu Sebe +3 more
11/19/2021
cs.CV

Official code: ygjwd12345/GLANet (32 stars, Python, last commit 2021-11-23).

Abstract

The goal of unpaired image-to-image translation is to produce an output image reflecting the target domain's style while keeping unrelated contents of the input source image unchanged. However, due to the lack of attention to the content change in existing methods, the semantic information from source images suffers from degradation during translation.

Show full abstract

In the paper, to address this issue, we introduce a novel approach, Global and Local Alignment Networks (GLA-Net). The global alignment network aims to transfer the input image from the source domain to the target domain. To effectively do so, we learn the parameters (mean and standard deviation) of multivariate Gaussian distributions as style features by using an MLP-Mixer based style encoder. To transfer the style more accurately, we employ an adaptive instance normalization layer in the encoder, with the parameters of the target multivariate Gaussian distribution as input. We also adopt regularization and likelihood losses to further reduce the domain gap and produce high-quality outputs. Additionally, we introduce a local alignment network, which employs a pretrained self-supervised model to produce an attention map via a novel local alignment loss, ensuring that the translation network focuses on relevant pixels. Extensive experiments conducted on five public datasets demonstrate that our method effectively generates sharper and more realistic images than existing approaches. Our code is available at https://github.com/ygjwd12345/GLANet.

View on arXivView PDF

Code Implementations(1)

ygjwd12345/GLANetOfficial100%
322Python, CudaNov 16, 20215 years ago

Similar Papers

Cite this paper

@article{yang2021global,
  title  = {Global and Local Alignment Networks for Unpaired Image-to-Image Translation},
  author = {Guanglei Yang and Hao Tang and Humphrey Shi and Mingli Ding and Nicu Sebe and Radu Timofte and Luc Van Gool and Elisa Ricci},
  year   = {2021},
  eprint = {2111.10346},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.10346}
}

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

Discussion