Skip to main content
QUICK REVIEW

[Paper Review] Sinkhorn AutoEncoders

Giorgio Patrini, Rianne van den Berg|arXiv (Cornell University)|Oct 2, 2018
Generative Adversarial Networks and Image SynthesisComputer Science34 references30 citations
TL;DR

This paper introduces Sinkhorn AutoEncoders (SAE), a likelihood-free generative model that minimizes the p-Wasserstein distance between the data and generator distributions by optimizing reconstruction error and the p-Wasserstein distance between the aggregated posterior and prior in latent space. SAE uses differentiable Sinkhorn iterations to approximate optimal transport via backpropagation through the algorithm, enabling end-to-end training on arbitrary metric spaces and priors without reparameterization, with theoretical guarantees on convergence and generator capacity matching.

ABSTRACT

Optimal transport offers an alternative to maximum likelihood for learning generative autoencoding models. We show that minimizing the p-Wasserstein distance between the generator and the true data distribution is equivalent to the unconstrained min-min optimization of the p-Wasserstein distance between the encoder aggregated posterior and the prior in latent space, plus a reconstruction error. We also identify the role of its trade-off hyperparameter as the capacity of the generator: its Lipschitz constant. Moreover, we prove that optimizing the encoder over any class of universal approximators, such as deterministic neural networks, is enough to come arbitrarily close to the optimum. We therefore advertise this framework, which holds for any metric space and prior, as a sweet-spot of current generative autoencoding objectives. We then introduce the Sinkhorn auto-encoder (SAE), which approximates and minimizes the p-Wasserstein distance in latent space via backprogation through the Sinkhorn algorithm. SAE directly works on samples, i.e. it models the aggregated posterior as an implicit distribution, with no need for a reparameterization trick for gradients estimations. SAE is thus able to work with different metric spaces and priors with minimal adaptations. We demonstrate the flexibility of SAE on latent spaces with different geometries and priors and compare with other methods on benchmark data sets.

Motivation & Objective

  • To develop a flexible, likelihood-free framework for generative autoencoding that avoids the limitations of variational inference and maximum likelihood.
  • To formalize the equivalence between minimizing the p-Wasserstein distance between data and generator and optimizing reconstruction error plus latent p-Wasserstein distance to the prior.
  • To establish the trade-off hyperparameter γ as the Lipschitz constant of the generator, linking it to model capacity.
  • To demonstrate that deterministic neural networks as encoders can approximate the optimal solution arbitrarily closely, enabling universal approximation in latent space.
  • To enable training on arbitrary metric spaces and priors by using backpropagation through the Sinkhorn algorithm without requiring reparameterization.

Proposed method

  • The method formulates the p-Wasserstein distance minimization as an unconstrained min-min optimization over reconstruction error and the p-Wasserstein distance between the aggregated posterior and prior in latent space.
  • It introduces the Sinkhorn AutoEncoder (SAE), which approximates the latent p-Wasserstein distance using differentiable Sinkhorn iterations, enabling gradient-based optimization via backpropagation.
  • The algorithm treats the aggregated posterior as an implicit distribution over samples, eliminating the need for reparameterization or explicit density estimation.
  • The framework supports arbitrary metric spaces and priors, including non-Gaussian and structured priors such as Dirichlet and uniform distributions on hyperspheres.
  • It leverages the Monge-Kantorovich duality and data processing inequalities to justify the use of p-Wasserstein distance in latent space as a valid surrogate for the original objective.
  • The method is implemented end-to-end using neural networks for encoder and generator, with the Sinkhorn algorithm differentiable through its iterative projection steps.

Experimental results

Research questions

  • RQ1Can minimizing the p-Wasserstein distance between data and generator be reformulated as an unconstrained optimization over reconstruction and latent distribution distances?
  • RQ2What is the theoretical role of the trade-off hyperparameter γ in the context of generator capacity and Lipschitz continuity?
  • RQ3Can deterministic neural networks as encoders achieve arbitrarily close approximation to the optimal solution in the latent space?
  • RQ4Does the Sinkhorn algorithm enable effective, differentiable optimization of optimal transport in latent space without requiring density models or reparameterization?
  • RQ5How does the choice of prior—especially non-Gaussian or structured priors—impact the disentanglement and quality of generated samples?

Key findings

  • The p-Wasserstein distance between the data and generator distributions is equivalent to minimizing reconstruction error plus the p-Wasserstein distance between the aggregated posterior and prior in latent space, under mild regularity conditions.
  • The trade-off hyperparameter γ in the objective corresponds exactly to the Lipschitz constant of the generator, providing a principled interpretation of its role in controlling model capacity.
  • Optimizing the encoder over any universal approximator class, such as deterministic neural networks, allows the model to approach the optimal solution arbitrarily closely, validating the use of standard deep networks.
  • SAE achieves FID scores on par or better than competing methods (e.g., VAE, WAE, HVAE) on MNIST and CelebA, especially when using non-Gaussian priors like Dirichlet or hyperspherical uniforms.
  • On high-dimensional Gaussian priors, SAE and HAE suffer from mode collapse due to concentration of mass on thin annuli, but W2GAE and SWAE avoid this issue, suggesting sensitivity to prior geometry.
  • With a 16-dimensional Dirichlet(1/5) prior, SAE learns a structured latent space where each digit maps to a vertex, enabling clear interpolations and high-quality samples from vertices, though mismatches in low-probability regions persist.

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.