Skip to main content
QUICK REVIEW

[Paper Review] Gaussian mixture models with Wasserstein distance

Benoit Gaujac, Ilya Feige|arXiv (Cornell University)|Jun 12, 2018
Generative Adversarial Networks and Image SynthesisComputer Science26 references7 citations
TL;DR

This paper proposes Gaussian Mixture Wasserstein Autoencoders (GM-WAEs), which use Optimal Transport via the Wasserstein distance to train generative models with both discrete and continuous latent variables. The method successfully trains models on MNIST without modifying the objective or hyperparameters, achieving high discrete latent fidelity (76% accuracy) and meaningful sample generation.

ABSTRACT

Generative models with both discrete and continuous latent variables are highly motivated by the structure of many real-world data sets. They present, however, subtleties in training often manifesting in the discrete latent being under leveraged. In this paper, we show that such models are more amenable to training when using the Optimal Transport framework of Wasserstein Autoencoders. We find our discrete latent variable to be fully leveraged by the model when trained, without any modifications to the objective function or significant fine tuning. Our model generates comparable samples to other approaches while using relatively simple neural networks, since the discrete latent variable carries much of the descriptive burden. Furthermore, the discrete latent provides significant control over generation.

Motivation & Objective

  • Address the challenge of training generative models with both discrete and continuous latent variables, especially when the discrete component is under-leveraged in standard VAEs.
  • Overcome the instability and poor convergence of Variational Autoencoders (VAEs) in training Gaussian Mixture Latent Variable Models (GM-LVMs), particularly in unsupervised settings.
  • Demonstrate that the Optimal Transport framework—specifically the Wasserstein Autoencoder (WAE) objective—enables more effective training of GM-LVMs than traditional VAEs.
  • Show that the discrete latent variable is fully utilized without architectural or objective modifications, enabling better control over generation and improved reconstruction fidelity.

Proposed method

  • Formulate a hierarchical generative model where the data distribution is modeled as a mixture of Gaussians over continuous latent variables, with a discrete categorical latent variable governing the mixture components.
  • Use the Wasserstein Autoencoder (WAE) framework to minimize the optimal transport (Wasserstein) distance between the true data distribution and the model's generated distribution.
  • Train the model using a variational posterior $ q_{D}(k|x) $ and $ q_{C}(z|k,x) $, with the objective function based on the WAE's distributional matching loss.
  • Leverage the weaker topology induced by the Wasserstein distance to stabilize training and allow better alignment between the variational posterior and the prior.
  • Apply UMAP dimensionality reduction to visualize the continuous latent space and assess cluster structure and alignment with the prior.
  • Evaluate discrete latent fidelity using a simple label assignment protocol: assign each discrete latent $ k $ to the digit class with the highest average posterior probability, then compute classification accuracy on the test set.

Experimental results

Research questions

  • RQ1Can the Wasserstein Autoencoder framework effectively train Gaussian Mixture Latent Variable Models (GM-LVMs) in the unsupervised setting, where VAEs typically fail?
  • RQ2Does the use of Optimal Transport in place of the VAE objective lead to better utilization of the discrete latent variable in GM-LVMs?
  • RQ3To what extent does the discrete latent variable in a GM-WAE learn meaningful, class-specific representations without supervision or objective modifications?
  • RQ4How well do the continuous and discrete latent variables in the GM-WAE model reconstruct data and generate realistic samples compared to standard VAEs or GANs?

Key findings

  • The GM-WAE model successfully trains on MNIST in the unsupervised setting without modifying the objective function or requiring significant hyperparameter tuning.
  • The discrete latent variable is fully leveraged by the model, achieving a digit-class assignment accuracy of 76% on the test set, significantly outperforming basic K-means clustering (50–60%).
  • The model generates high-quality, realistic samples from the prior distribution, demonstrating effective disentanglement and meaningful structure in the latent space.
  • Visualizations using UMAP show that the continuous latent space $ z $ forms distinct, overlapping clusters corresponding to digit classes, with strong alignment between the variational posterior and the prior.
  • The discrete variational distribution $ q_{D}(k|x) $ learns to assign different digit classes to different discrete latent components, though with some overlap (e.g., 9s assigned to $ k=0,4,9 $), reflecting natural variations in digit handwriting.
  • The model maintains close proximity between the variational posterior and the prior, indicating effective distributional matching and stable training via the WAE objective.

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.