Weakly-Supervised Disentanglement Without Compromises

Francesco Locatello, Ben Poole, Gunnar Rätsch, Bernhard Schölkopf, Olivier Bachem, Michael Tschannen

Introduction

In representation learning, the goal is to transform complex inputs, such as images, into vectors where each dimension corresponds to a single, independent physical property (e.g., object rotation, background color). This property, known as disentanglement, is highly desirable for downstream tasks. However, a landmark study by Locatello et al. (2019b) proved that learning these factors from independent images without supervision is theoretically impossible. Purely unsupervised models are notoriously unreliable, with their success often depending on random initialization.

While full supervision—labeling every factor in every image—is a solution, it is prohibitively expensive. This paper proposes a "middle ground": weak supervision. By observing pairs of images where only a few factors have changed (similar to natural temporal consistency in video), we can reliably learn disentangled representations that bypass the theoretical limitations of unsupervised learning.

Methods: Bypassing the Impossibility Theorem

The authors introduce a framework for weakly-supervised disentanglement based on the observation of pairs $(x_1, x_2)$. These pairs share a subset of underlying factors while others differ.

The proposed generative model uses pairs of observations that share latent factors, enabling identifiability.

Identifiability and Adaptive Algorithms

The paper provides a mathematical proof that using pairs with shared factors makes the model "identifiable," meaning there is a unique solution to the disentanglement problem. To implement this, the authors developed two adaptive models: Ada-GVAE and Ada-ML-VAE.

Unlike previous weakly-supervised approaches that required knowing which or how many factors changed, these models use an "adaptive" heuristic. By employing an elbow method based on KL divergence, the models automatically infer which latent dimensions are shared. For these shared dimensions, the model averages the latent distributions of the two images, forcing the encoding of shared information into specific dimensions.

Experimental Results

The study involved an extensive evaluation of over 15,000 models across five major benchmarks: dSprites (2D shapes), Cars3D, SmallNORB (3D objects), Shapes3D, and MPI3D (a real-world robotic arm dataset).

DCI Disentanglement scores across five datasets. The adaptive models (6 and 7) show superior performance and significantly lower variance compared to unsupervised baselines (0-5).

Key Insights

  • Reliability: As shown in the performance metrics, the adaptive models consistently outperform unsupervised baselines. Crucially, they exhibit much lower variance, meaning they are less dependent on "luck" during training.
  • Model Selection: In the unsupervised setting, picking the best model requires ground-truth labels. The authors found that in the weakly-supervised setting, the reconstruction loss serves as an excellent proxy for disentanglement performance, allowing for model selection without human-labeled data.
  • Downstream Utility: Disentangled features were found to be fundamentally better for "strong" generalization (e.g., training on red objects and testing on blue ones). They also enabled the training of fairer classifiers and improved sample efficiency in abstract reasoning tasks like Raven’s Progressive Matrices.

Conclusion and Future Work

By moving from single images to pairs, the "theoretical impossibility" of disentanglement vanishes. This suggests that the natural structure of the world—where most things stay the same over short periods—provides a powerful, naturally occurring supervision signal.

While the method assumes "sparse" changes (not everything changes at once), it marks a significant step toward practical representation learning. Future work may explore extending these averaging mechanisms to more complex, non-synthetic video streams containing noise and occlusions.

Summary updated

BibTeX
@inproceedings{locatello2020weakly,
  author = {Francesco Locatello and Ben Poole and Gunnar Rätsch and Bernhard Schölkopf and Olivier Bachem and Michael Tschannen},
  title = {{Weakly-Supervised Disentanglement Without Compromises}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure