Introduction
Image-to-image (I2I) translation is a foundational task in computer vision, aiming to map images from a source domain to a target domain while preserving the underlying content. While established frameworks like CycleGAN have demonstrated success in tasks such as seasonal transformation or artistic style transfer, they often suffer from "structural inconsistency" and "limited diversity." These models frequently resort to hiding source information in low-level pixel noise to satisfy cycle-consistency constraints rather than learning the actual semantic structure of the scene.
SCONE-GAN (Semantic COntrastive learning-based GAN) addresses these challenges by introducing a framework that "understands" scene structure through Graph Convolutional Networks (GCNs) and enhances stylistic variety via contrastive learning. By moving beyond simple pixel-to-pixel mapping, SCONE-GAN produces high-fidelity translations that maintain the integrity of complex landscapes and urban environments.
The Challenge: Beyond Pixel-Level Mapping
Traditional I2I models often fail in two critical areas:
- Structural Inconsistency: Without a semantic understanding of the scene, models may lose the relationships between objects. For instance, during a summer-to-winter translation, a mountain might erroneously merge into the sky because the model lacks a concept of object boundaries.
- The "Trivial Solution" Problem: Many models produce predictable, repetitive outputs. Because they rely on simple noise vectors or rigid cycle-consistency, they fail to capture the diverse range of lighting, weather, and atmospheric conditions present in the real world.
SCONE-GAN identifies that the root cause is often the cycle-consistency loss itself, which can encourage the generator to "cheat" by embedding invisible signals in the output to facilitate the reverse translation, rather than performing a true semantic transformation.
Methodology
SCONE-GAN introduces three primary innovations to ensure structural and stylistic fidelity:
1. Spatio-Structural Modeling with GCNs
To preserve the spatial relationships between objects, SCONE-GAN utilizes Graph Convolutional Networks. The framework extracts semantic segments from the images and constructs a graph where nodes represent specific objects. A dedicated spatio-structural loss ensures that the topological relationship between these nodes remains consistent throughout the translation process, preventing the "melting" effect seen in earlier models.
2. Contrastive Learning (InfoMax) for Diversity
To boost the diversity of generated images, the model employs a contrastive learning framework. By maximizing the mutual information (InfoMax) between the generated image and a provided style reference image, the generator is encouraged to inherit specific stylistic features—such as the depth of snow or the warmth of a sunset—rather than relying on a generic noise vector. This makes the diversity of the output both high and controllable.
3. Multi-Part Loss Objective
The training process is governed by a comprehensive loss function:
- Adversarial Loss: Drives the generation of realistic textures.
- Cycle-consistency Loss: Maintains the fundamental content mapping.
- Style Modeling Loss: Ensures the output aligns with the reference style.
- Spatio-structural Loss: Maintains object-level spatial integrity via GCNs.
- InfoMax Loss: Enhances diversity through contrastive learning on image patches.
Experimental Results
The authors evaluated SCONE-GAN against state-of-the-art baselines, including CycleGAN, CUT, MUNIT, and DRIT++, across four datasets: Yosemite (seasonal), Monet2photo (artistic), Cityscapes (urban), and Nordlandsbanen (long-form seasonal train footage).
Quantitative Performance
SCONE-GAN demonstrated superior performance in both realism and diversity:
- Fréchet Inception Distance (FID): On the Yosemite dataset, SCONE-GAN achieved an FID of 51.70, significantly outperforming CUT (64.17) and CycleGAN (71.20). A lower FID indicates that the generated distribution is closer to the real-world image distribution.
- LPIPS (Diversity Score): The model achieved a diversity score of 0.40 on Yosemite, nearly doubling the scores of several competing frameworks, proving its ability to generate varied outputs based on different style references.
Qualitative and Human Evaluation
In Amazon Mechanical Turk (AMT) perceptual studies, participants consistently rated SCONE-GAN's outputs as more realistic than those of its competitors. The model successfully preserved the identity of trees, roads, and mountains while applying complex domain shifts, avoiding the artifacts and structural collapses common in baseline models.
Limitations and Future Work
While SCONE-GAN represents a significant step forward, it currently relies on external pre-trained segmentation models and feature extractors (such as simCLR). In scenarios where these pre-trained models fail to accurately identify objects—observed in some edge cases within the Cityscapes and Monet2photo datasets—the translation quality can degrade.
Future research will focus on integrating segmentation and feature extraction directly into the end-to-end training pipeline. This would eliminate the dependency on external frameworks and allow SCONE-GAN to adapt to niche domains where pre-trained semantic segmentors are unavailable.
Conclusion
SCONE-GAN demonstrates that incorporating semantic awareness and contrastive learning is essential for high-quality image-to-image translation. By prioritizing scene structure over pixel-level consistency, the framework provides a robust solution for generating diverse, realistic, and structurally sound imagery across a wide variety of domains.
Summary updated