Introduction
Unpaired image-to-image (I2I) translation is a fundamental task in computer vision, aiming to map images from a source domain to a target domain without corresponding pairs. While established methods like CycleGAN effectively handle low-level texture changes, they often struggle with complex translations requiring significant shape or semantic modifications. The primary challenge lies in balancing style transformation with the preservation of the original image's content and structural integrity. Existing approaches frequently suffer from "content degradation," where backgrounds are unintentionally altered or the translated objects lose their spatial coherence.
Methodology: The GLA-Net Framework
To address these challenges, the authors propose GLA-Net, a framework that decomposes the translation task into global style alignment and local content alignment.
Global Alignment Network (Style)
GLA-Net utilizes an MLP-Mixer-based style encoder instead of traditional convolutional blocks. This encoder models the style of each domain as a multivariate Gaussian distribution, capturing mean and standard deviation parameters. These parameters are integrated into the translation process via an enhanced Adaptive Instance Normalization (AdaIN) layer, allowing for precise and diverse style injection.
Local Alignment Network (Content)
To ensure that only relevant objects are modified, GLA-Net incorporates a self-supervised local attention mechanism. Using a pre-trained transformer (DeiT), the model generates an attention map that identifies key objects without requiring manual masks. A novel local alignment loss (pixel-wise spatial-correlative loss) is then applied to maintain the spatial relationships of the original content, preventing artifacts in the background.
Experimental Evaluation
The researchers evaluated GLA-Net across five diverse datasets: Cityscapes, Cat → Dog, Horse → Zebra, Winter → Summer, and Night → Day.
Quantitative Results
GLA-Net consistently outperformed state-of-the-art (SOTA) baselines such as CUT, FSeSim, and U-GAT-IT. On the challenging Horse → Zebra benchmark, GLA-Net achieved a Fréchet Inception Distance (FID) of 37.7, a significant improvement over FSeSim (40.4) and CycleGAN (77.2). In the Cityscapes semantic-to-real task, it reached a pixel accuracy (pAcc) of 76.2%, surpassing FSeSim’s 69.4%.
Qualitative Comparison
Visual assessments highlight GLA-Net's ability to produce sharper, more realistic translations. As shown in the comparison below, GLA-Net maintains the integrity of the background (e.g., the grass and flowers) while applying crisp, anatomically correct stripes to the horses.
Conclusion and Future Directions
GLA-Net demonstrates that integrating global style modeling with local self-supervised attention effectively mitigates content degradation in unpaired I2I translation. While the model shows robust performance, the authors note limitations when source and target objects overlap or when objects occupy the majority of the frame. Future work will explore self-distillation techniques to further refine the attention mechanism and enhance performance in complex, cluttered scenes.
Summary updated