Skip to main content
QUICK REVIEW

[Paper Review] A Geometric Perspective on Variational Autoencoders

Clément Chadebec, Stéphanie Allassonnière|arXiv (Cornell University)|Sep 15, 2022
Generative Adversarial Networks and Image SynthesisComputer Science10 citations
TL;DR

This paper proposes a geometric rethinking of Variational Autoencoders (VAEs) by modeling the latent space as a Riemannian manifold using learned posterior covariances. By sampling uniformly from the intrinsic Riemannian metric instead of the standard Gaussian prior, the method improves generation quality—achieving state-of-the-art FID scores on MNIST and CelebA without architectural changes, and showing strong robustness in low-data regimes.

ABSTRACT

This paper introduces a new interpretation of the Variational Autoencoder framework by taking a fully geometric point of view. We argue that vanilla VAE models unveil naturally a Riemannian structure in their latent space and that taking into consideration those geometrical aspects can lead to better interpolations and an improved generation procedure. This new proposed sampling method consists in sampling from the uniform distribution deriving intrinsically from the learned Riemannian latent space and we show that using this scheme can make a vanilla VAE competitive and even better than more advanced versions on several benchmark datasets. Since generative models are known to be sensitive to the number of training samples we also stress the method's robustness in the low data regime.

Motivation & Objective

  • Address the issue of blurry generations in vanilla VAEs by reinterpreting the latent space through a geometric lens.
  • Overcome limitations of the standard Gaussian prior and distribution mismatch between prior and aggregated posterior.
  • Improve interpolation and generation fidelity by leveraging the intrinsic Riemannian structure of the latent space.
  • Demonstrate that a simple geometric sampling scheme can outperform more complex VAE variants, especially in low-data regimes.
  • Provide a plug-in method applicable to various VAE architectures, including recent models like VAMP-VAE and VAEGAN.

Proposed method

  • Model the latent space as a Riemannian manifold using the inverse of the posterior covariance matrices as the Riemannian metric tensor: $\mathbf{G}(x) = \mathbf{\Sigma}(x)^{-1}$.
  • Construct a Riemannian metric by interpolating between local metrics at training data points using a weighted average based on geodesic distance.
  • Sample from the uniform distribution on the learned Riemannian manifold, which ensures smooth and faithful exploration of the latent space.
  • Use a regularization parameter $\rho$ to balance local and global influence in metric interpolation, preventing over-smoothing or disconnection.
  • Apply the Riemannian sampling scheme to both standard and advanced VAEs without modifying the model architecture or training process.
  • Define the Riemannian metric as a pull-back of the standard Euclidean metric via the inverse of the posterior covariance, linking it to information geometry.

Experimental results

Research questions

  • RQ1Can the latent space of a vanilla VAE be naturally interpreted as a Riemannian manifold using the posterior covariance structure?
  • RQ2Does sampling from the intrinsic uniform distribution on the learned Riemannian manifold improve generation quality compared to standard Gaussian sampling?
  • RQ3Can this geometric sampling method outperform more complex VAE architectures, especially in low-data regimes?
  • RQ4How does the proposed method compare to two-stage VAEs that re-estimate the aggregated posterior distribution?
  • RQ5To what extent can this geometric sampling scheme be generalized and integrated into modern VAE variants?

Key findings

  • The proposed Riemannian sampling scheme achieves a Fréchet Inception Distance (FID) of 9.9 on MNIST and 49.6 on CelebA, outperforming the baseline VAE and the two-stage VAE of [15].
  • On the same benchmark, the method reduces FID from 67.2 (prior-based) to 60.9 on CelebA and from 34.5 to 32.7 on MNIST when applied to VAMP-VAE.
  • For AAE and VAEGAN, the FID drops from 19.1 to 11.7 and from 8.7 to 6.1 respectively, demonstrating consistent gains across architectures.
  • The method shows superior robustness in low-data regimes, with performance gains increasing as training data size decreases.
  • The geometric sampling scheme improves generation quality even when applied to state-of-the-art models like VAMP-VAE, VAEGAN, and IWAE, indicating broad applicability.
  • The Riemannian metric is shown to be equivalent to the pull-back metric induced by the posterior covariance, grounding the method in differential geometry.

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.