DOT-VAE: Disentangling One Factor at a Time

Vaishnavi Patil, Matthew Evanusa, Joseph F. JáJá · DOI

Abstract

Learning interpretable, disentangled representations from raw data remains a fundamental challenge in unsupervised deep learning. While Variational Autoencoders (VAEs) provide a stable framework for representation learning, they often struggle to isolate independent factors of variation without prior knowledge of the data's underlying structure. We present DOT-VAE (Disentangling One Factor at a Time), a novel framework that iteratively discovers latent factors. By combining disjoint latent spaces, sequential training, and causal interventions, DOT-VAE outperforms existing state-of-the-art VAE-based methods in both interpretability and quantitative metrics, effectively bridging the gap between VAE stability and GAN-level disentanglement.

Introduction

In deep learning, the goal of representation learning is to transform high-dimensional data into a lower-dimensional latent space. However, these learned representations are typically "entangled," meaning a single latent dimension might influence multiple semantic attributes simultaneously (e.g., a single neuron responding to both lighting and object shape). Disentanglement aims to separate these into distinct, independent variables that correspond to human-interpretable factors.

Unsupervised disentanglement is particularly challenging because real-world data is often noisy and contains correlated factors. Existing models like $\beta$-VAE assume a fixed number of independent factors, while GAN-based approaches like InfoGAN, though interpretable, are prone to mode collapse and require manual tuning of the factor count. DOT-VAE addresses these limitations by learning factors sequentially, allowing the model to adapt to the inherent complexity of the dataset without prior labels.

Methodology

DOT-VAE utilizes a multi-stage approach to isolate latent factors through four primary strategies:

1. Disjoint Latent Sets

The model partitions the latent space into two distinct components: a disentangled space ($c$) for structured, interpretable factors, and an entangled space ($z$) for residual noise or data-specific features that do not represent global factors of variation.

2. Iterative "One at a Time" Learning

Unlike standard VAEs that attempt to learn all latent dimensions simultaneously, DOT-VAE employs a sequential training schedule. The model begins by training only the first dimension of the disentangled space ($c$). Once the reconstruction loss saturates—indicating the factor has been captured—the model proceeds to the next dimension. This iterative process prevents "competition" between dimensions, a common cause of entanglement in joint-learning frameworks.

3. Causal Interventions (Wake-Sleep)

Drawing inspiration from the Wake-Sleep algorithm, DOT-VAE performs causal interventions during training. The model modifies a single latent dimension, generates a new image, and tasks the encoder with identifying which dimension was changed and the magnitude of that change. This feedback loop forces the generator to associate specific latent dimensions with distinct semantic transformations.

4. Adversarial Latent Network

To maintain data fidelity during interventions, an adversarial discriminator is employed within the latent space. This ensures that the distribution of manipulated encodings remains consistent with the distribution of original data encodings, preventing the generator from producing unrealistic images during the intervention phase.

Experimental Results

The performance of DOT-VAE was evaluated on three benchmark datasets: dSprites (2D shapes), 3DShapes (3D objects), and CelebA (real-world celebrity faces).

Quantitative Performance

DOT-VAE demonstrated superior performance over state-of-the-art VAE models, including $\beta$-TCVAE and FactorVAE, across standard metrics such as the Mutual Information Gap (MIG) and Disentanglement, Completeness, and Informativeness (DCI). Notably, on the 3DShapes dataset, DOT-VAE achieved a FactorVAE score of 0.95, significantly outperforming the 0.81–0.83 range typical of its competitors.

Qualitative Analysis

On the complex CelebA dataset, DOT-VAE successfully isolated multiple semantic factors, including hair color, skin tone, and lighting conditions. While previous unsupervised methods typically identify only two or three factors on such noisy data, DOT-VAE discovered a broader range of identifiable attributes. Furthermore, the model demonstrated an ability to "turn off" unused dimensions once all factors in a dataset were exhausted, effectively discovering the true dimensionality of the data's variation.

Discussion and Future Work

DOT-VAE provides a robust framework for unsupervised disentanglement by treating the discovery of latent factors as a sequential causal process. This approach mitigates the need for pre-defining the number of factors and improves the clarity of the learned representations.

However, the iterative nature of the model introduces complexity in determining the optimal "saturation" point for each factor. Future research will focus on automating this training schedule and exploring multi-dataset learning, where factors learned in one domain (e.g., color) can be transferred or reused in another. Additionally, the authors aim to investigate the model's potential in lifelong learning scenarios to prevent the catastrophic forgetting of previously isolated factors.

Summary updated

BibTeX
@inproceedings{patil2022dot,
  author = {Vaishnavi Patil and Matthew Evanusa and Joseph F. JáJá},
  title = {{DOT-VAE: Disentangling One Factor at a Time}},
  booktitle = {Icann},
  year = {2022},
  doi = {10.1007/978-3-031-15919-0\_10},
}
Figure