Introduction
Image-to-image translation aims to map images from a source domain to a target domain while preserving the underlying structure. A significant challenge in this field is "image transfiguration," where the goal is to translate only a specific object of interest (e.g., a horse into a zebra) without affecting the background or surrounding environment. Traditional unsupervised models like CycleGAN often suffer from "background tinting" or unwanted global changes. While recent state-of-the-art methods address this using complex attention mechanisms or additional mask annotations, this paper proposes a streamlined framework that achieves high-quality transfiguration using a shared discriminator and a staged training strategy.
Methodology
The proposed architecture simplifies the traditional dual-GAN setup by employing a single, shared discriminator ($D_{shared}$) instead of two separate ones.
Shared Discriminator and Reconstruction Loss
The shared discriminator is trained to classify images as belonging to either Domain A or Domain B, conditioned on the input. To ensure background preservation, the authors replace the standard cycle-consistency loss with a single-direction $L_1$ pixel reconstruction loss. This loss encourages the generator to maintain the median pixel values of the input, effectively penalizing unnecessary changes to the background.
Staged Training with Image Pools
To stabilize the adversarial learning process, the authors introduce a two-stage training approach utilizing image pools ($I_{AB}$ and $I_{BA}$). These pools store a history of generated images to prevent mode oscillation.
- Stage 1: Focuses on interleaving translated images with source domain images to establish the basic mapping.
- Stage 2: Refines target domain features by feeding the output of one generator into the other, simulating a cyclic translation process to enhance detail.
Experimental Setup
The model was evaluated on two benchmark datasets from ImageNet:
- Horse $\leftrightarrow$ Zebra: 939 horse and 1177 zebra images.
- Apples $\leftrightarrow$ Oranges: 996 apple and 1020 orange images.
Performance was measured using Kernel Inception Distance (KID) and Frechet Inception Distance (FID), which quantify the quality and diversity of the generated images.
Results and Discussion
The proposed method demonstrates superior performance in preserving backgrounds compared to baseline models.
Quantitative Performance
In the Horse $\rightarrow$ Zebra task, the method achieved a KID of 3.00, significantly outperforming CycleGAN (10.25) and UNIT (11.22). It performed comparably to AttentionGAN (2.03), which uses much more complex attention layers. In the Apples $\rightarrow$ Oranges task, the method achieved a KID of 4.40, surpassing both CycleGAN (8.48) and AttentionGAN (10.03).
Qualitative Comparison
Visual results confirm that the shared discriminator approach effectively isolates the object of interest. Unlike CycleGAN or DualGAN, which often apply a color tint to the entire image, the proposed model keeps the grass, sky, and even text in the background intact.
Conclusion
This research demonstrates that complex attention modules are not strictly necessary for high-quality image transfiguration. By utilizing a shared discriminator and a carefully designed staged training process with $L_1$ reconstruction loss, the model achieves state-of-the-art results with a simpler architecture. Future work may involve integrating attention mechanisms into this shared-discriminator framework to further push the boundaries of image translation quality.
Summary updated