NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Image-to-image translation for cross-domain disentanglement

Abel Gonzalez-Garcia, Joost van de Weijer, Yoshua Bengio

This NeurIPS 2018 paper by Gonzalez-Garcia et al. tackles a fundamental challenge in computer vision: how to translate an image from one "domain" to another (e.g., from a map to a satellite view) while precisely controlling which parts of the image stay the same and which parts change.

TL;DR

The authors introduce cross-domain disentanglement, a method that splits an image's internal representation into "shared" features (common to both domains) and "exclusive" features (unique to one). By using a novel cross-domain autoencoder, the model enables diverse image generation, style transfer, and highly accurate image retrieval without needing manual labels.

What Problem Does This Paper Address?

Standard image-to-image (I2I) translation models, like the famous pix2pix, are often deterministic—they produce one fixed output for one input. However, real-world translation is often "one-to-many." For instance, if you translate a grayscale sketch of a shoe into a photo, there are many plausible colors and textures that shoe could have.

Conceptual overview of cross-domain disentanglement

The core difficulty is disentanglement. Most models "smush" all information (shape, color, lighting) into a single vector. This makes it impossible to say, "Keep the shape from Image A, but take the color from Image B." Furthermore, existing models often struggle with "cross-domain retrieval"—finding the corresponding image in a different domain based on content rather than just pixel similarity.

Methods

The authors propose a bidirectional framework using Generative Adversarial Networks (GANs) and a specific architectural split:

  1. The Latent Split: The encoder breaks the image representation into two parts:
  2. Shared ($\mathcal{S}$): Information present in both domains (e.g., the digit "5" or the silhouette of a car).
  3. Exclusive ($\mathcal{E}$): Information unique to a domain (e.g., the specific color of a digit's background or the lighting on a 3D model).
  4. Cross-Domain Autoencoders: This is the paper's key innovation. To force the "exclusive" part to actually be exclusive, the model tries to reconstruct an image from Domain X using the shared features of its pair in Domain Y and its own exclusive features. If the reconstruction is successful, it proves the exclusive part captured exactly what was missing from the other domain.
Cross-domain autoencoders swapping shared and exclusive features
  1. Gradient Reversal Layer (GRL): To ensure the exclusive features don't "leak" shared information, they use a GRL. This effectively trains the encoder to make the exclusive features useless for predicting anything about the other domain.
  2. No Skip Connections: Unlike the standard U-Net used in many I2I tasks, this model avoids skip connections. Skip connections often bypass the bottleneck, allowing "entangled" information to flow directly to the output. By removing them and using a larger latent bottleneck ($8 \times 8 \times 512$), they force the model to learn a cleaner disentangled representation.

Datasets

The model was evaluated on a mix of synthetic and realistic datasets:

  • MNIST Variations: MNIST-CD (Colored Digit) and MNIST-CB (Colored Background).
  • 3D CAD Models: Cars and Chairs rendered from multiple viewpoints.
  • Realistic Pairs: The Facades dataset (architectural labels to photos) and the Maps dataset (satellite images to street maps).

Key Insights and Ideas

  • Consistency through Cross-Pollination: The cross-domain autoencoder acts as a "consistency check." By swapping shared features between domains during training, the model learns that "content" is a universal language, while "style" is domain-specific.
  • Retrieval via Shared Space: Because the shared latent space is forced to be identical for paired images, you can perform cross-domain retrieval by simply finding the nearest neighbor in the shared feature space. This works even if the images look nothing alike at the pixel level.
  • Visual Analogies: The architecture naturally supports "visual analogies" (e.g., "Make this car have the same orientation as that car"). This is achieved by mixing the shared features of a query image with the exclusive features of a reference image.

Key Results

  • Superior Retrieval: On the MNIST variations, the shared features achieved a 99.9% Recall@1 for finding paired images, compared to only ~30-40% when using raw pixels.
  • Outperforming State-of-the-Art: The model outperformed BicycleGAN (a leading multi-modal I2I model at the time) on the LPIPS metric, which measures how perceptually similar generated images are to ground truth. For example, on 3D car translation, this model achieved an LPIPS score of 8.30 vs BicycleGAN's 10.61 (lower is better).
  • Realistic Retrieval: On the Maps and Facades datasets, the model significantly outperformed BicycleGAN in retrieval tasks, proving that the disentanglement generalizes to complex, real-world textures.

Limitations and Future Work

  • Paired Data Requirement: The current formulation relies on paired images (e.g., a photo and its exact semantic map). While many datasets exist, this is more restrictive than "unpaired" methods like CycleGAN.
  • Training Complexity: Balancing multiple GAN losses, reconstruction losses, and the GRL can be a "hyperparameter headache," requiring careful tuning to prevent one loss from dominating.
  • Architectural Trade-offs: Removing skip connections helps disentanglement but can sometimes result in a loss of fine-grained spatial details in very high-resolution images. Future work could explore ways to re-introduce detail without re-entangling the representation.

Summary updated

BibTeX
@inproceedings{gonzalezgarcia2018image,
  author = {Abel Gonzalez-Garcia and Joost van de Weijer and Yoshua Bengio},
  title = {{Image-to-image translation for cross-domain disentanglement}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=B1ZBlvbd-H},
}
Figure