[Paper Review] Attention-Guided Generative Adversarial Networks for Unsupervised Image-to-Image Translation
This paper proposes Attention-Guided Generative Adversarial Networks (AGGAN) for unsupervised image-to-image translation, introducing a novel generator with built-in attention mechanisms to detect discriminative semantic parts and produce attention/content masks for high-quality, artifact-free image translation. The method achieves state-of-the-art results in generating sharper, more realistic images with improved semantic consistency and detail preservation, especially in facial expression transfer, without requiring paired data or external models.
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.
Motivation & Objective
- To address the limitation of existing GAN-based image-to-image translation models in failing to preserve high-level semantic structures and producing artifacts during translation.
- To enable unsupervised image translation without requiring paired training data or additional models for object mask prediction.
- To develop a generator that can automatically detect and focus on discriminative semantic parts (e.g., eyes, mouth) while preserving irrelevant background and unwanted regions.
- To introduce an attention-guided discriminator that evaluates only the attended regions, improving training stability and localization accuracy.
- To achieve end-to-end training with adversarial, cycle-consistency, pixel-wise, and attention losses for improved image quality and semantic fidelity.
Proposed method
- The proposed AGGAN uses two generators with built-in attention modules that output both an attention mask (highlighting discriminative parts) and a content mask (preserving non-discriminative regions).
- The generators fuse the input image with the attention mask and content mask to generate high-quality translated images, minimizing changes to non-relevant regions.
- A novel attention-guided discriminator is introduced that only evaluates the attended regions, improving localization and reducing noise in adversarial feedback.
- The model is trained end-to-end using a combination of adversarial loss, cycle-consistency loss, pixel-wise loss, and attention loss to ensure fidelity and consistency.
- The attention mechanism is integrated directly into the generator architecture, enabling self-supervised discovery of salient features without external supervision.
- The framework is compatible with existing GAN architectures and can be easily adapted to other image translation tasks.
Experimental results
Research questions
- RQ1Can a built-in attention mechanism in the generator improve the localization of discriminative semantic parts during unsupervised image-to-image translation?
- RQ2Does an attention-guided discriminator that focuses only on attended regions lead to better image quality and reduced artifacts?
- RQ3Can the proposed AGGAN generate sharper, more realistic images with clearer facial details and correct expressions without paired training data?
- RQ4How does the attention mask generation correlate with image quality and semantic consistency across different datasets?
- RQ5To what extent do the proposed losses (attention, pixel, cycle-consistency) contribute to the overall performance improvement?
Key findings
- The proposed AGGAN achieves the best quantitative performance on AR Face, Bu3dfe, and CelebA datasets compared to state-of-the-art models, including fully-supervised methods like Pix2pix and ContrastGAN.
- On the AR Face dataset, ablation studies show that removing any component—especially the attention-guided generator or attention loss—significantly degrades image quality, confirming their critical role.
- Visualization results demonstrate that the attention mask consistently focuses on key facial regions like eyes and mouth, which are most relevant for expression transfer, while preserving hair, cheeks, and background as content mask.
- The attention mask evolves during training, improving alignment with image quality over time, indicating effective learning of discriminative features.
- The model achieves superior results in generating realistic facial expressions with clearer details and fewer artifacts compared to CycleGAN, DualGAN, and DiscoGAN.
- Despite requiring only a single generator and discriminator per domain, AGGAN matches or exceeds the performance of models like ContrastGAN, which rely on additional object mask annotations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.