A Statistical Analysis of Wasserstein Autoencoders for Intrinsically Low-dimensional Data

Saptarshi Chakraborty, Peter L. Bartlett · DOI

Abstract

This paper provides the first rigorous statistical analysis of Wasserstein Autoencoders (WAEs), proving that their performance depends on the intrinsic dimension of the data rather than the high-dimensional space it lives in. By showing that WAEs can bypass the "curse of dimensionality," the authors bridge a significant gap between theoretical guarantees and the impressive empirical success of these models on complex data like natural images.

Introduction

Generative models like Variational Autoencoders (VAEs) and Wasserstein Autoencoders (WAEs) are widely used to learn complex data distributions. However, a massive disconnect exists between theory and practice. Standard statistical theory suggests that learning a distribution in high dimensions (e.g., a $128 \times 128$ pixel image, which has over 16,000 dimensions) should require an astronomical number of samples—the "curse of dimensionality." Yet, in practice, these models work well with relatively limited data.

The common intuition is that "natural" data sits on a much simpler, low-dimensional "manifold." While this intuition is widely accepted, formal proofs showing that WAEs specifically can exploit this low-dimensional structure to achieve faster convergence rates were missing until now.

Methods

The authors employ a statistical framework to analyze the expected excess risk of WAEs. Their approach involves:

  1. Oracle Inequality: Decomposing total error into approximation error, generalization error, and optimization error.
  2. Minkowski Dimension: Characterizing data complexity using the upper Minkowski dimension ($d_\mu$), which measures the "effective" dimensionality of the data support.
  3. Network Approximation Theory: Analyzing how ReLU neural networks approximate smooth (Hölder) functions restricted to low-dimensional structures.
  4. IPM and MMD: Providing bounds for WAE variants using GAN-style adversarial losses (Wasserstein-1 distance) and Maximum Mean Discrepancy (MMD) as latent space regularizers.

Key Insights

  • The Blessing of Low Dimensionality: The most critical insight is that the convergence rate of WAEs is $\tilde{O}(n^{-\frac{1}{2+d_\mu}})$. Crucially, the ambient dimension $d$ (the number of pixels) does not appear in the exponent. This explains why we can train these models on high-resolution images without needing trillions of samples.
  • Network Architecture: To achieve optimal convergence, the size of the encoder and generator networks should scale with the number of samples $n$, but the scaling factor is determined by the intrinsic dimension and the smoothness of the underlying data distribution.
  • Encoding/Decoding Guarantees: The authors prove that as data increases, the encoder's output converges to the target latent distribution, and the generator accurately maps those latent codes back to the original data points.

Experimental Validation

To validate the theory, the authors used a pre-trained Bi-directional GAN (BiGAN) trained on ImageNet to generate synthetic images with controlled intrinsic dimensions ($d_{int} = 2$ and $d_{int} = 16$).

FID scores and reconstruction errors for GAN-WAE and MMD-WAE. The results show that performance is significantly better for lower intrinsic dimensions ($d_{int}=2$ vs $d_{int}=16$), supporting the theory that WAEs exploit low-dimensional data structures.

In these synthetic tests, the FID scores and reconstruction errors were significantly lower for data with $d_{int}=2$ compared to $d_{int}=16$, even though the images were the same resolution. This empirically confirms that the "intrinsic" complexity is the primary bottleneck for learning.

Limitations and Future Work

  • Optimization Error: The analysis treats optimization error as a fixed threshold. Because WAE loss landscapes are non-convex, calculating or minimizing this term remains a challenge.
  • Single Chart Assumption: The proof assumes the data manifold can be represented by a single smooth mapping. Real-world manifolds might require multiple overlapping maps.
  • Minimax Optimality: Whether these are the absolute fastest possible rates (minimax optimality) for WAEs remains an open question.

Summary updated

BibTeX
@inproceedings{chakraborty2024statistical,
  author = {Saptarshi Chakraborty and Peter L. Bartlett},
  title = {{A Statistical Analysis of Wasserstein Autoencoders for Intrinsically Low-dimensional Data}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=WjRPZsfeBO},
}
Figure