[Paper Review] On the Latent Space of Wasserstein Auto-Encoders
This paper proposes using random encoders in Wasserstein Auto-Encoders (WAEs) to improve robustness to latent space dimensionality mismatches, especially when the latent dimension exceeds the intrinsic data dimension. It demonstrates that random encoders outperform deterministic ones in both reconstruction quality and disentanglement, achieving state-of-the-art performance on the dSprites benchmark with 98.8% disentanglement and significantly better reconstruction than β-VAE.
We study the role of latent space dimensionality in Wasserstein auto-encoders (WAEs). Through experimentation on synthetic and real datasets, we argue that random encoders should be preferred over deterministic encoders. We highlight the potential of WAEs for representation learning with promising results on a benchmark disentanglement task.
Motivation & Objective
- To investigate how mismatched latent space dimensionality affects WAE performance.
- To address the limitations of deterministic encoders in WAEs when the latent dimension is larger than the intrinsic data dimension.
- To evaluate whether random encoders can enhance representation learning and generalization in WAEs.
- To benchmark WAEs with random encoders on disentanglement tasks, comparing performance to state-of-the-art methods like β-VAE.
Proposed method
- The authors use a min-min formulation of WAEs, minimizing the expected reconstruction loss plus a regularized optimal transport distance between the aggregated posterior and prior distributions.
- They compare deterministic encoders (fixed mean and variance) with random encoders (stochastic encoding distributions), using Gaussian and uniform priors.
- For regularization, they apply L1 penalties on encoder variances to prevent variance collapse in high-dimensional latent spaces.
- The model is trained using deep neural networks for both encoder and decoder, with the latent code sampled from a learned distribution during inference.
- Experiments are conducted on synthetic (fading squares) and real-world datasets (CelebA), with evaluation on disentanglement using the dSprites dataset.
- The disentanglement metric is computed via a linear classifier on latent codes, and reconstruction error is measured via mean squared error.
Experimental results
Research questions
- RQ1How does latent space dimensionality mismatch affect WAE performance?
- RQ2Can random encoders improve WAE performance when the latent dimension exceeds the intrinsic data dimension?
- RQ3How do WAEs with random encoders compare to β-VAEs in terms of disentanglement and reconstruction quality?
- RQ4Can WAEs achieve better disentanglement while maintaining superior reconstruction compared to state-of-the-art methods?
Key findings
- Random-encoder WAEs achieved 98.8% disentanglement on the 5-variable dSprites task, significantly outperforming β-VAE’s 85.4%.
- The best WAE achieved a test reconstruction error of 94.0±5.8, compared to β-VAE’s 156.1±5.7 on the same task.
- On the 4-variable disentanglement task, WAEs matched β-VAE’s 99.23% disentanglement while achieving a reconstruction error of 40.8±1.5 versus β-VAE’s 114.8±5.2.
- Random encoders outperformed deterministic encoders when d_Z ≫ d_I, particularly in high-dimensional latent spaces.
- With proper variance regularization, random-encoder WAEs effectively adapt to unknown intrinsic data dimensionality.
- Visual reconstructions confirmed that WAEs preserve image quality better than β-VAEs while achieving superior disentanglement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.