Unsupervised multiple domain translation through controlled Disentanglement in variational autoencoder

Antonio Almudévar, Théo Mariotte, Alfonso Ortega Giménez, Marie Tahon

Introduction

Domain translation is the task of altering specific attributes of data—such as changing a digit's identity or a car's orientation—while maintaining invariant "style" features like color, thickness, or background. Traditionally, this field has been dominated by Generative Adversarial Networks (GANs). However, GANs are notoriously difficult to train, sensitive to hyperparameters, and prone to "mode collapse." This research introduces a stable alternative using Variational Autoencoders (VAEs) by implementing a structured latent space that naturally disentangles domain-specific information from style without requiring paired data.

Methodology

The proposed approach achieves controlled disentanglement through a modified VAE architecture. Unlike standard conditional VAEs that feed domain labels directly into the networks, this model uses a common, domain-agnostic encoder and decoder for all domains, forcing the latent space to organize itself effectively.

Dual Latent Spaces and Geometric Design

The latent representation is split into two independent variables: $z_l$, which captures domain-specific information (e.g., the identity of a digit), and $z_u$, which captures unlabeled "style" information. To facilitate translation, the latent space is designed with a specific geometric structure where each domain is assigned a unique neighborhood.

Geometric representation of domain translation in the latent space. Domains are mapped to specific regions, and translation is performed by rotating the domain-specific latent vector $z_l$.

Translation via Rotation

Translation from Domain A to Domain B is performed by encoding an image, extracting the domain-specific component ($z_l$), and mathematically rotating it until it aligns with the region assigned to Domain B. This rotated vector is then recombined with the original style vector ($z_u$) and decoded. By forcing these transformations to be linear rotations, the researchers ensure the latent space is predictable and computationally efficient.

End-to-end architecture for translating a digit '9' to a '5'. The model encodes the input, applies rotation matrices $T$ in the latent space to change the domain, and decodes the result while preserving style.

Experimental Results

The model was evaluated on three standard benchmarks: MNIST (handwritten digits), SVHN (Street View House Numbers), and Cars3D (3D car models at various angles).

Disentanglement Verification

To prove that domain and style were truly separated, the authors trained classifiers on the latent vectors. The domain-specific vector ($z_l$) predicted the correct class with 90-99% accuracy, while the style vector ($z_u$) performed near random (as low as 3.88% on Cars3D). This confirms that the style vector contains almost no information about the domain, demonstrating successful disentanglement.

Qualitative Performance

On the MNIST dataset, the proposed VAE produced digits that were more realistic and had significantly less background noise compared to StarGAN. In the Cars3D and SVHN tests, the model successfully changed the car's angle or the digit's identity while perfectly preserving the color and background of the original image.

Conclusion and Future Work

This work demonstrates that a well-structured VAE can achieve high-quality multi-domain translation without the adversarial complexity of GANs. While the model faces challenges with inherent correlations between style and domain (e.g., specific tilts in certain digits) and struggles with very rare samples, the use of geometric rotations provides a robust framework for unsupervised representation learning. Future research may explore non-linear transformations to handle even more diverse and complex datasets.

Summary updated

BibTeX
@inproceedings{almudevar2024unsupervised,
  author = {Antonio Almudévar and Théo Mariotte and Alfonso Ortega Giménez and Marie Tahon},
  title = {{Unsupervised multiple domain translation through controlled Disentanglement in variational autoencoder}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446649},
}
Figure