Abstract
Image-to-image (I2I) translation has seen significant progress, yet two major challenges remain: the requirement for paired training data and the inability to produce diverse, multimodal outputs from a single input. We present a framework that achieves diverse translation using unpaired data by disentangling images into a shared, domain-invariant content space and a domain-specific attribute space. By sampling or swapping vectors within the attribute space, our model generates multiple realistic variations of an input image, such as varying lighting conditions or artistic styles, while preserving structural integrity.
Introduction
Traditional image-to-image translation models, such as CycleGAN, have successfully addressed the lack of paired training data by employing cycle consistency. However, these models are typically deterministic, mapping one input to exactly one output. In reality, many translation tasks are inherently multimodal; for instance, a single sketch of a shoe could correspond to numerous color and texture combinations. While models like BicycleGAN provide diversity, they rely on paired data, which is often unavailable in real-world scenarios. This work bridges the gap by enabling multimodal translation in an unpaired setting.
Methodology
The core of our approach is the concept of Disentangled Representations. We hypothesize that images can be decomposed into two distinct components:
- Content Space ($\mathcal{C}$): This space captures domain-invariant information, such as the pose of a face or the shape of a landscape. This representation is shared across both domains.
- Attribute Space ($\mathcal{A}$): This space captures domain-specific style and texture, such as the specific brushstrokes of a painter or the time of day in a photograph.
Architectural Innovations
To ensure effective disentanglement and high-quality generation, we introduce several key components:
- Content Discriminator: To force the content space to be truly domain-invariant, a discriminator attempts to identify the source domain of a content vector. The encoders are trained to produce vectors that "fool" this discriminator, effectively stripping away domain-specific cues.
- Cross-Cycle Consistency Loss: Unlike standard cycle consistency ($x \to y \to x$), which assumes a bijective mapping, we propose a "cross-cycle" approach. We take two unpaired images, swap their attribute vectors to generate intermediate results, and then swap them back to reconstruct the original images. This allows the model to learn from unpaired data while maintaining structural consistency.
- Latent Regression Loss: To prevent "mode collapse"—where the generator ignores the attribute vector—we require the model to be able to reconstruct the original attribute vector from the generated image.
Experiments and Results
We evaluated our model, DRIT, across several diverse datasets, including Yosemite (Summer $\leftrightarrow$ Winter), Artworks (Monet $\leftrightarrow$ Photo), and Edge-to-Shoes.
Qualitative and Quantitative Performance
Qualitative results demonstrate that our model generates significantly more diverse and realistic images compared to baselines like "CycleGAN + noise." Quantitatively, we used the Learned Perceptual Image Patch Similarity (LPIPS) metric to measure diversity, where our model consistently outperformed CycleGAN and UNIT. In user studies, DRIT was frequently preferred for its realism and adherence to the target style.
Domain Adaptation
Beyond visual synthesis, we tested the utility of our generated images for data augmentation. In a digit recognition task (MNIST to MNIST-M), using DRIT-generated data improved classification accuracy to 91.54%, a substantial increase over CycleGAN's 74.5%.
Discussion and Limitations
Our findings suggest that disentanglement is the primary driver of diversity in unpaired I2I translation. By isolating style into a low-dimensional attribute space, we enable "example-guided translation," where a user can provide a specific reference image to dictate the style of the output.
However, the model currently struggles with attributes requiring significant geometric transformations, such as changing the skeletal structure of an animal. Furthermore, the quality of translation is highly dependent on the content discriminator; any leakage of domain-specific information into the content space reduces the purity of the resulting translation. Future work will explore extending this framework to video-to-video translation and multi-domain tasks.
Summary updated