Skip to main content
QUICK REVIEW

[Paper Review] Sliced-Wasserstein Autoencoder: An Embarrassingly Simple Generative Model

Soheil Kolouri, Pope, Phillip E.|arXiv (Cornell University)|Apr 5, 2018
Generative Adversarial Networks and Image SynthesisComputer Science22 references62 citations
TL;DR

SWAE regularizes autoencoders by matching the latent code distribution to a samplable prior using sliced-Wasserstein distance, avoiding adversarial training while achieving Wasserstein-like benefits.

ABSTRACT

In this paper we study generative modeling via autoencoders while using the elegant geometric properties of the optimal transport (OT) problem and the Wasserstein distances. We introduce Sliced-Wasserstein Autoencoders (SWAE), which are generative models that enable one to shape the distribution of the latent space into any samplable probability distribution without the need for training an adversarial network or defining a closed-form for the distribution. In short, we regularize the autoencoder loss with the sliced-Wasserstein distance between the distribution of the encoded training samples and a predefined samplable distribution. We show that the proposed formulation has an efficient numerical solution that provides similar capabilities to Wasserstein Autoencoders (WAE) and Variational Autoencoders (VAE), while benefiting from an embarrassingly simple implementation.

Motivation & Objective

  • Motivate scalable generative modeling with autoencoders using optimal transport and Wasserstein distances.
  • Propose a new autoencoder framework (SWAE) that enforces a predefined, samplable latent distribution without adversarial training.
  • Develop a simple, efficient numerical scheme to compute sliced-Wasserstein regularization in the encoder–decoder learning
  • Demonstrate SWAE on image datasets (MNIST, CelebA) and compare qualitative and embedding-space properties to other generative models.

Proposed method

  • Formulate SWAE as minimizing a combined objective: pX to pY Wasserstein term plus lambda times SWc(pZ, qZ).
  • Use a deterministic encoder phi and decoder psi to map X to latent Z and back, with pZ induced by phi.
  • Measure discrepancy between pZ and qZ with sliced-Wasserstein distance SWc, avoiding adversarial networks.
  • Approximate SWc by projecting onto a finite set of random directions theta on the unit sphere and computing 1D Wasserstein distances."
  • Compute the 1D Wasserstein distance via sorting empirical samples, enabling efficient SGD-based optimization.
  • Provide a practical algorithm (Algorithm 1) that alternates between encoding/decoding updates and latent-space matching through random projections.

Experimental results

Research questions

  • RQ1How can one enforce a flexible, samplable prior in the latent space of an autoencoder without adversarial training?
  • RQ2Does the sliced-Wasserstein distance provide a practical and effective surrogate for matching pZ to qZ in the encoder space?
  • RQ3Can SWAE achieve comparable generative and reconstruction quality to Wasserstein Autoencoders (WAE) and VAEs with simpler implementation?
  • RQ4What embedding-space properties arise when qZ is chosen to be specific distributions (e.g., ring, circle, uniform) on MNIST?
  • RQ5How does increasing latent dimension affect reconstruction and latent-space structure for more complex datasets like CelebA?

Key findings

  • SWAE successfully shapes the latent encoding distribution to predefined samplable priors (e.g., ring, uniform, circle, bowl) on MNIST, while preserving decodability.
  • On MNIST, the encoder embedding space closely follows the chosen qZ distributions and remains decodable by the trained decoder.
  • With CelebA, a higher-dimensional embedding (128D) is used to better capture data variability, and linear interpolations in the encoding space yield coherent decoded outputs.
  • SWAE achieves competitive qualitatively comparable results to methods relying on adversarial training, while avoiding adversarial optimization in the latent space.
  • Visualization experiments show convexity-like properties in the embedding space when qZ is uniform and embedding dimensionality is sufficient (e.g., 128D).
  • The proposed method provides an efficient numerical scheme based on 1D sorting and random projections, avoiding costly adversarial networks.

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.