Attention-Guided Generative Adversarial Networks for Unsupervised Image-to-Image Translation

Hao Tang, Dan Xu, Nicu Sebe, Yan Yan
3/28/2019
cs.CV

Official code: Ha0Tang/AttentionGAN (686 stars, PyTorch, last commit 2023-07-06).

Abstract

The state-of-the-art approaches in Generative Adversarial Networks (GANs) are able to learn a mapping function from one image domain to another with unpaired image data. However, these methods often produce artifacts and can only be able to convert low-level information, but fail to transfer high-level semantic part of images. The reason is mainly that generators do not have the ability to detect the most discriminative semantic part of images, which thus makes the generated images with low-quality. To handle the limitation, in this paper we propose a novel Attention-Guided Generative Adversarial Network (AGGAN), which can detect the most discriminative semantic object and minimize changes of unwanted part for semantic manipulation problems without using extra data and models. The attention-guided generators in AGGAN are able to produce attention masks via a built-in attention mechanism, and then fuse the input image with the attention mask to obtain a target image with high-quality. Moreover, we propose a novel attention-guided discriminator which only considers attended regions. The proposed AGGAN is trained by an end-to-end fashion with an adversarial loss, cycle-consistency loss, pixel loss and attention loss. Both qualitative and quantitative results demonstrate that our approach is effective to generate sharper and more accurate images than existing models. The code is available at https://github.com/Ha0Tang/AttentionGAN.

View on arXivView PDF

Code Implementations(1)

PyTorch

AttentionGAN for Unpaired Image-to-Image Translation & Multi-Domain Image-to-Image Translation

686100Shell, PythonJul 9, 20193 years agoNOASSERTION
adversarial-networksattention-modelcomputer-visioncyclegandeep-learning+9 more

Similar Papers

Cite this paper

@article{tang2019attentionguided,
  title  = {Attention-Guided Generative Adversarial Networks for Unsupervised Image-to-Image Translation},
  author = {Hao Tang and Dan Xu and Nicu Sebe and Yan Yan},
  year   = {2019},
  eprint = {1903.12296},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.12296}
}

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

Discussion