A Sober Look at the Unsupervised Learning of Disentangled Representations and their Evaluation

Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Rätsch, Sylvain Gelly, Bernhard Schölkopf, Olivier Bachem

Abstract

The goal of unsupervised disentanglement is to learn representations where individual latent variables correspond to independent factors of variation in the data. This paper presents a rigorous challenge to the field, proving that unsupervised disentanglement is theoretically impossible without inductive biases. Through a large-scale empirical study involving over 14,000 models, the authors demonstrate that current state-of-the-art methods are highly sensitive to non-algorithmic factors like random seeds and hyperparameter choices. Moreover, the study reveals that increased disentanglement does not reliably improve sample efficiency in downstream tasks, suggesting a need for the field to move toward more explicit supervision and practical utility.

Introduction

In representation learning, "disentanglement" refers to the separation of independent factors of variation—such as the color, shape, or orientation of an object—into distinct latent variables. For years, the machine learning community has pursued the "holy grail" of learning these representations in a purely unsupervised manner, primarily using variants of Variational Autoencoders (VAEs). The underlying assumption was that such representations would naturally lead to better sample efficiency and more interpretable models. This paper provides a "reality check" by examining whether these assumptions hold up under theoretical and empirical scrutiny.

The Theoretical Impossibility of Unsupervised Disentanglement

The authors provide a formal proof (Theorem 1) demonstrating that unsupervised disentanglement is fundamentally impossible without inductive biases. They show that for any generative model, there exists an infinite family of "entangled" latent spaces that result in the exact same marginal distribution of the observed data.

Without prior assumptions about the data distribution or the model architecture (inductive biases), an unsupervised algorithm has no objective way to distinguish a "correct" disentangled representation from an entangled one. This implies that any success in current unsupervised methods is likely due to implicit biases in the model or the training process rather than the algorithm itself.

A Massive Empirical Study

To investigate the state of the field, the authors conducted a large-scale experiment using disentanglement_lib, a standardized framework they developed.

  • Scale: Over 14,000 models were trained across various datasets and hyperparameter settings.
  • Methods: Six state-of-the-art unsupervised methods were evaluated: $\beta$-VAE, AnnealedVAE, FactorVAE, $\beta$-TCVAE, DIP-VAE-I, and DIP-VAE-II.
  • Datasets: The study used eight datasets, including standard benchmarks (dSprites, Cars3D, SmallNORB, Shapes3D, MPI3D) and new stochastic variants (Color-dSprites, Noisy-dSprites, Scream-dSprites) designed to test robustness to noise.

Key Findings and the "Unsupervised Paradox"

The empirical results highlight several critical issues in current disentanglement research:

1. The Role of Randomness and Hyperparameters

The choice of random seed and hyperparameters (such as the regularization strength $\beta$) often had a greater impact on the final disentanglement score than the choice of the algorithm itself. A "lucky" run of a simple $\beta$-VAE could easily outperform a more complex method like FactorVAE.

2. The Validation Problem

While these models are trained without labels, identifying which model is actually "disentangled" currently requires ground-truth labels to calculate metrics. This creates an "unsupervised paradox": to select the best "unsupervised" model, one must use the very supervision the method was intended to avoid.

3. Metric Disagreement

The study found that popular disentanglement metrics (e.g., MIG, SAP, DCI) often disagree. A model that scores highly on one metric might perform poorly on another, indicating that there is no consensus on how to define or measure disentanglement.

4. Downstream Task Performance

Contrary to the common belief that disentanglement improves sample efficiency, the authors found no consistent correlation between disentanglement scores and the performance of downstream classifiers trained on limited data. In many instances, simple entangled representations performed just as well as their disentangled counterparts.

Conclusion and Future Directions

The paper concludes that the field must move past the myth of purely unsupervised disentanglement. The authors suggest several paths forward:

  1. Explicit Inductive Biases: Researchers should be intentional about the assumptions built into their models.
  2. Weak Supervision: Incorporating limited supervision or using structured data (like video frames) where changes are constrained can provide the necessary guidance.
  3. Focus on Practical Utility: Instead of chasing abstract disentanglement scores, the community should focus on concrete benefits such as fairness, generalization, and abstract reasoning.

By grounding the field in theoretical reality and large-scale evidence, this work serves as a foundational call to action for more robust and honest representation learning research.

Summary updated

BibTeX
@article{locatello2020sober,
  author = {Francesco Locatello and Stefan Bauer and Mario Lucic and Gunnar Rätsch and Sylvain Gelly and Bernhard Schölkopf and Olivier Bachem},
  title = {{A Sober Look at the Unsupervised Learning of Disentangled Representations and their Evaluation}},
  journal = {J. Mach. Learn. Res.},
  year = {2020},
  url = {https://openreview.net/forum?id=mge_97g2Ihh},
}
Figure