Introduction
Unsupervised image-to-image translation aims to map images from a source domain to a target domain without paired training data. While existing Generative Adversarial Networks (GANs) have made significant strides, they primarily focus on set-level constraints, attempting to match the global distribution of the target domain. This holistic approach often neglects instance-level correspondences—the specific relationships between semantic parts of an object—leading to visual artifacts and mode collapse where the generator ignores unique input details.
The Deep Attention GAN (DA-GAN) Framework
To address these limitations, the Deep Attention GAN (DA-GAN) introduces a framework that operates at the instance level. The architecture is composed of four primary modules:
- Deep Attention Encoder (DAE): The DAE identifies $N$ key semantic regions within an image. Instead of a single global vector, it produces structured latent representations by predicting attention coordinates and generating masks to isolate specific "instances" or parts.
- Generator (G): The generator utilizes these structured instance-level representations to reconstruct the image in the target domain, ensuring that local semantic features are preserved or appropriately transformed.
- Dual Discriminators ($D_1, D_2$): $D_1$ enforces domain-level realism, while $D_2$ operates on the target domain to ensure the model maintains auto-encoding capabilities, which significantly mitigates mode collapse.
The training process is further stabilized by a Consistency Loss, which ensures that the source image and its translation share the same latent instances, and a Symmetry Loss to promote deterministic and reversible mappings.
Experimental Results
The DA-GAN was evaluated across diverse tasks, including bird transfiguration, text-to-image synthesis, and domain adaptation.
Text-to-Image and Image-to-Image Translation
On the CUB-200-2011 dataset, DA-GAN demonstrated superior performance in generating high-fidelity images from text descriptions. It achieved an Inception Score of 5.6, a substantial improvement over StackGAN's 3.7. Qualitatively, DA-GAN excels at maintaining the identity of the subject while accurately reflecting the requested domain changes.
As shown in the figure above, DA-GAN's attention mechanism (highlighted by yellow boxes) allows it to focus on specific parts like the head and back. In contrast, methods like StackGAN (red boxes) or CycleGAN often produce blurred results or fail to correctly map geometric changes, such as beak shape or plumage patterns.
Domain Adaptation
In digit translation tasks (SVHN-to-MNIST), DA-GAN reached a classification accuracy of 94.6%, outperforming other unsupervised methods like UNIT (90.53%). This highlights the model's ability to learn robust features that transcend domain boundaries.
Conclusion
DA-GAN represents a shift from global to instance-level image translation. By integrating a deep attention mechanism, the model provides a more controllable and semantically consistent way to bridge different visual domains. While performance remains dependent on the quality of the learned attention masks, the framework sets a new benchmark for high-quality, unsupervised image synthesis.
Summary updated