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

Disentangling Learning Representations with Density Estimation

Eric Yeats, Frank Liu, Hai Li

TL;DR

The Gaussian Channel Autoencoder (GCAE) is a new framework for unsupervised disentanglement that overcomes the "curse of dimensionality" by focusing on conditional density estimation. By minimizing Dual Total Correlation (DTC) instead of the standard Total Correlation (TC), GCAE achieves more reliable and robust feature learning that remains stable even as the number of latent dimensions increases.

What Problem Does This Paper Address?

In representation learning, "disentanglement" is the holy grail: we want a model to learn features that correspond to independent, interpretable factors of variation (like the shape, color, or position of an object in an image). While Variational Autoencoders (VAEs) are the standard tool for this, they suffer from significant reliability issues.

The authors argue that the root of these issues is the curse of dimensionality in density estimation. Existing methods like FactorVAE try to minimize "Total Correlation" (TC) to make latent variables independent. However, calculating TC requires estimating a high-dimensional joint probability distribution, which becomes exponentially harder as you add more latent variables. When this estimation fails, disentanglement fails.

Methods

The authors introduce the Gaussian Channel Autoencoder (GCAE). Its architecture is a noisy autoencoder where Gaussian noise is injected into the latent space to "smooth" it, ensuring the existence of well-defined probability densities.

The core innovations are:

  • Dual Total Correlation (DTC): Unlike TC, which looks at the joint distribution, DTC can be decomposed into a series of conditional distributions.
  • Discriminator-based Estimation: GCAE uses $m$ small discriminator networks (where $m$ is the number of latent dimensions) to estimate these conditional densities using the "density-ratio trick." This allows the model to capture complex relationships between variables without trying to model the entire high-dimensional space at once.
  • Excess Entropy Power Loss ($L_{EEP}$): A novel loss function that stabilizes training by weighing the information loss against the "entropy power" (related to variance) of each latent feature.
The GCAE architecture uses $m$ discriminators to estimate conditional distributions, avoiding the joint density estimation trap.

Datasets

The model was evaluated on two distinct data modalities:

  1. Beamsynthesis: A time-series dataset consisting of 360 samples from a particle accelerator simulation, governed by two factors: duty cycle and frequency.
  2. dSprites: A classic disentanglement benchmark containing over 700,000 synthetic images of 2D shapes with five independent factors (shape, scale, orientation, x-position, and y-position).

Key Insights and Ideas

  • Conditional > Joint: The paper's "aha moment" is demonstrated in Figure 1. As the number of dimensions ($m$) grows, the error in estimating a joint distribution skyrockets, while the error for conditional distributions remains low and stable. This justifies the switch from TC to DTC.
  • Robustness to Latent Size: Because GCAE relies on conditional estimates, its performance doesn't degrade when you increase the size of the latent space. In contrast, methods like FactorVAE become less robust as $m$ increases.
  • A Reliable Unsupervised Metric: The authors found that their summed information loss ($L_{\Sigma I}$) has a strong negative correlation ($r = -0.823$) with supervised disentanglement scores. This means $L_{\Sigma I}$ can serve as a rare, effective indicator of how well a model is disentangling during training, even without ground-truth labels.
Figure 1: Empirical KL divergence between the true and estimated distributions as training itera- tion and distribution dimensionality increase. Training parameters are kept the same between both experiments. We employ Monte-Carlo estimators of KL divergence, leading to transient negative values when KL is near zero.

Key Results

GCAE consistently achieved competitive or superior scores across four major metrics: Mutual Information Gap (MIG), Factor Score, SAP, and DCI.

  • On Beamsynthesis, GCAE scored highest or second-highest on every metric with significantly lower variance than $\beta$-VAE.
  • On dSprites, GCAE showed high reliability. While $\beta$-VAE can achieve high peak scores, it only does so within a very narrow hyperparameter range. GCAE, however, performs well across a broad range of its regularization parameter ($\lambda$).

Limitations and Future Work

Despite its performance, GCAE has a few trade-offs:

  • Computational Cost: Training $m$ separate discriminators is more computationally intensive than the single discriminator used in FactorVAE.
  • Optimization Sensitivity: The discriminators are sensitive to the choice of learning rate and optimizer, requiring careful tuning.
  • Information Capacity: The injected Gaussian noise ($\sigma$) that helps disentanglement also acts as a bottleneck, potentially limiting the amount of information the latent space can hold.

Future work could involve finding more efficient ways to estimate these conditional densities or exploring how GCAE scales to even more complex, real-world datasets.

Summary updated

BibTeX
@inproceedings{yeats2023disentangling,
  author = {Eric Yeats and Frank Liu and Hai Li},
  title = {{Disentangling Learning Representations with Density Estimation}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=EMvG1Jdhw_8},
}
Figure