Skip to main content
QUICK REVIEW

[Paper Review] Beta-VAE Reproducibility: Challenges and Extensions

Miroslav Fil, Munib Mesinovic|arXiv (Cornell University)|Dec 28, 2021
Adversarial Robustness in Machine LearningComputer Science8 citations
TL;DR

This reproducibility study investigates the reliability of $β$-VAE's claimed disentanglement performance, demonstrating that original results are hard to reproduce due to selective reporting and hyperparameter sensitivity. It finds that $β<1$ often yields better disentanglement and reconstruction on complex datasets like MPI3DToy, and that high disentanglement scores do not guarantee qualitative disentanglement.

ABSTRACT

$β$-VAE is a follow-up technique to variational autoencoders that proposes special weighting of the KL divergence term in the VAE loss to obtain disentangled representations. Unsupervised learning is known to be brittle even on toy datasets and a meaningful, mathematically precise definition of disentanglement remains difficult to find. Here we investigate the original $β$-VAE paper and add evidence to the results previously obtained indicating its lack of reproducibility. We also further expand the experimentation of the models and include further more complex datasets in the analysis. We also implement an FID scoring metric for the $β$-VAE model and conclude a qualitative analysis of the results obtained. We end with a brief discussion on possible future investigations that can be conducted to add more robustness to the claims.

Motivation & Objective

  • To investigate the reproducibility of the original $β$-VAE paper's claims regarding disentangled representation learning.
  • To assess whether $β>1$ consistently improves disentanglement across diverse and complex datasets.
  • To evaluate the validity of quantitative disentanglement metrics by comparing them with qualitative human judgment.
  • To examine the trade-off between reconstruction quality and disentanglement using FID and MSE metrics.
  • To explore the impact of random seed selection and hyperparameter sensitivity on reported performance.

Proposed method

  • Re-implemented $β$-VAE from scratch and cross-validated with existing codebases to ensure training fidelity.
  • Extended experiments to include complex datasets: 3Dshapes and MPI3DToy, beyond the original 2Dshapes.
  • Applied the disentanglement metric (from Google, 2021) and FID score to evaluate representation quality and generation fidelity.
  • Used MSE loss in the VAE objective, showing equivalence to $β$-VAE under a calibrated Gaussian likelihood assumption.
  • Performed ablation studies across multiple random seeds and $β$ values to assess variance and robustness.
  • Conducted qualitative analysis of reconstructions and disentangled factors to validate quantitative metrics.

Experimental results

Research questions

  • RQ1To what extent can the original $β$-VAE results on disentanglement be reproduced under standard training protocols?
  • RQ2Does $β>1$ consistently yield better disentanglement scores on more complex datasets like MPI3DToy?
  • RQ3How well do quantitative disentanglement metrics correlate with human-perceived disentanglement quality?
  • RQ4What is the relationship between reconstruction quality (measured by FID and MSE) and disentanglement performance?
  • RQ5How do random seed selection and hyperparameter choices affect the reported performance of $β$-VAE?

Key findings

  • The original $β$-VAE results are difficult to reproduce, as they rely on discarding the worst 50% of random seeds and simplifying the learning task, both mentioned only in the appendix.
  • On the complex MPI3DToy dataset, $β<1$ yields better disentanglement scores than $β>1$, contradicting the original intuition.
  • High disentanglement metric scores do not imply qualitative disentanglement, as shown by visual inspection of generated factors.
  • Lower $β$ values produce better image reconstructions, as confirmed by lower MSE and improved FID scores.
  • FID scores are strongly correlated with reconstruction loss, and both align with visual quality of reconstructions.
  • The disentanglement metric itself can be artificially boosted by tuning its internal hyperparameters, raising concerns about its validity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.