Skip to main content
QUICK REVIEW

[Paper Review] Latent Variables on Spheres for Autoencoders in High Dimensions

Deli Zhao, Jiapeng Zhu|arXiv (Cornell University)|Dec 21, 2019
Generative Adversarial Networks and Image SynthesisComputer Science27 references6 citations
TL;DR

This paper proposes Spherical Auto-Encoder (SAE), a simple yet effective method that replaces variational inference in VAEs with spherical normalization on high-dimensional latent spaces. By leveraging high-dimensional geometry, SAE achieves superior reconstruction and generation performance while being robust to prior distributions and latent dimensionality, outperforming VAE in both quantitative metrics and qualitative samples on MNIST and FFHQ datasets.

ABSTRACT

Variational Auto-Encoder (VAE) has been widely applied as a fundamental generative model in machine learning. For complex samples like imagery objects or scenes, however, VAE suffers from the dimensional dilemma between reconstruction precision that needs high-dimensional latent codes and probabilistic inference that favors a low-dimensional latent space. By virtue of high-dimensional geometry, we propose a very simple algorithm, called Spherical Auto-Encoder (SAE), completely different from existing VAEs to address the issue. SAE is in essence the vanilla autoencoder with spherical normalization on the latent space. We analyze the unique characteristics of random variables on spheres in high dimensions and argue that random variables on spheres are agnostic to various prior distributions and data modes when the dimension is sufficiently high. Therefore, SAE can harness a high-dimensional latent space to improve the inference precision of latent codes while maintain the property of stochastic sampling from priors. The experiments on sampling and inference validate our theoretical analysis and the superiority of SAE.

Motivation & Objective

  • To address the dimensional dilemma in VAEs, where high-dimensional latent spaces hurt variational inference despite improving reconstruction.
  • To explore whether high-dimensional spheres can provide a geometric foundation for robust latent representations independent of prior distributions.
  • To develop a simple alternative to variational inference that maintains stochastic sampling while improving inference precision.
  • To validate that spherical latent spaces are distribution-agnostic and exhibit distance convergence in high dimensions.
  • To demonstrate SAE's superiority over VAE in reconstruction, generation, and robustness across varying latent dimensions and priors.

Proposed method

  • Proposes SAE as a vanilla autoencoder with spherical normalization: latent codes are constrained to the unit sphere $\mathbb{S}^{d_z-1}$ and centered via $\mathbf{z}^\top \mathbf{1} = 0$.
  • Employs high-dimensional sphere geometry to argue that random variables on spheres are agnostic to prior distributions when dimension $d_z$ is large.
  • Theoretical analysis shows that the Wasserstein distance between two random sets of latent variables on a high-dimensional sphere converges to a constant, implying distribution-robustness.
  • Uses volume concentration in high dimensions to justify that spherical normalization preserves information and improves inference precision.
  • Replaces variational inference with spherical inference—no probabilistic prior is assumed, only normalization on the sphere.
  • Applies the method to MNIST and FFHQ datasets, comparing SAE with VAE using standard metrics like FID, SWD, and MSE.

Experimental results

Research questions

  • RQ1Can spherical normalization in high-dimensional latent spaces mitigate the dimensional dilemma in VAEs?
  • RQ2Do random variables on high-dimensional spheres exhibit distribution-agnostic properties, making them robust to different prior distributions?
  • RQ3Does the Wasserstein distance between random samples on a high-dimensional sphere converge to a constant, indicating intrinsic geometric stability?
  • RQ4Can a simple spherical normalization improve reconstruction and generation performance compared to variational inference in VAEs?
  • RQ5How does SAE perform across varying latent dimensions and diverse probability priors in sampling and inference tasks?

Key findings

  • SAE achieves a Fréchet Inception Distance (FID) of 91.02 on FFHQ faces, significantly lower than VAE’s 134.22, indicating superior image quality.
  • SAE reduces the Structural Similarity Index (SSIM) loss and MSE, with a reconstruction MSE of 0.063 compared to VAE’s 0.091 on FFHQ.
  • The SAE model maintains consistent face generation quality across four different priors (normal, uniform, Poisson, chi-squared), while VAE’s output quality varies significantly with prior.
  • Reconstruction error in SAE monotonically decreases with increasing latent dimension, whereas VAE’s error increases beyond 512 dimensions, indicating SAE avoids the curse of dimensionality.
  • Qualitative results show SAE preserves fine details like sunglasses and facial structures better than VAE, with less blurriness in reconstructions.
  • Theoretical analysis confirms that the Wasserstein distance between two random sets of points on a high-dimensional sphere converges to a constant, supporting the distribution-robustness of SAE.

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.