Universality Theorems for Generative Models

Valentin Khrulkov, Ivan V. OseledetsarXiv 2019

Abstract

Generative models, such as Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs), have demonstrated remarkable empirical success in modeling complex data distributions. However, the theoretical underpinnings of their ability to represent arbitrary data manifolds remain under-explored. This paper establishes "universality theorems" for generative models, proving that standard feedforward neural networks can approximate any compact data manifold to arbitrary precision under the Hausdorff distance. We extend these results to multiclass and cycle-consistent architectures, providing a geometric foundation for modern generative modeling.

Introduction

A central tenet of modern machine learning is the Manifold Hypothesis, which posits that high-dimensional data—such as natural images—resides on a lower-dimensional, curved manifold embedded in the high-dimensional space. The primary objective of a generative model is to learn a mapping from a simple latent space (e.g., a unit cube) to this complex data manifold.

While the Universal Approximation Theorem for functions is well-established, its application to the geometric task of manifold generation is not immediate. The fundamental question addressed here is whether a neural network architecture possesses the expressive capacity to represent any possible manifold topology, or if certain geometric "shapes" are inherently unreachable.

Geometric Methodology

To address these questions, the authors shift from purely statistical frameworks to a geometric approach. They utilize several key mathematical constructs:

  • Hausdorff Distance: This metric quantifies the "closeness" between the set of points produced by the generator and the target data manifold, focusing on the global shape rather than point-wise error.
  • Riemannian Geometry and Exponential Maps: The authors employ the exponential map to construct mappings from flat tangent spaces (analogous to latent spaces) onto curved manifolds.
  • Differential Topology: They analyze the topological properties of "expanding" layers—where the output dimension is greater than or equal to the input—to determine if the network preserves the fundamental topology of the latent space.
Visual representation of a neural network $f_\theta$ approximating a continuous map $f$ from a latent space $I_2$ to a target manifold $\mathcal{M}$.

Key Theoretical Insights

The Surjectivity Breakthrough

The authors prove that for any compact, connected manifold $\mathcal{M}$, there exists a continuous map from a $d$-dimensional cube that covers the entire manifold. This implies that a generator initialized from a simple latent box can, in principle, reach every region of a complex data manifold.

Modeling Multiclass and Disjoint Data

Real-world datasets often consist of disjoint manifolds (e.g., separate clusters for different classes). The paper demonstrates that a single connected latent space can model these disjoint structures by utilizing "tunnels"—narrow regions of the latent space that map to thin filaments connecting the otherwise separate manifolds.

Topology Preservation and Constraints

A significant finding is that "expanding" networks are generically diffeomorphisms. This suggests a topological constraint: an expanding network cannot change the fundamental topology of the latent space. For instance, transforming a simply-connected "blob" into a "donut" (torus) without "tearing" the space is technically impossible for such architectures, suggesting that bottlenecks or non-expanding layers may be necessary for certain topological transformations.

Main Results

The core contributions are summarized in the following theorems:

  • Theorem 5.1 (Geometric Universality): For any compact connected manifold $\mathcal{M}$ and any $\epsilon > 0$, there exists a feedforward network $f_\theta$ such that the Hausdorff distance between the generated set and $\mathcal{M}$ is less than $\epsilon$.
  • Theorem 5.2 (Multiclass Universality): The universality result extends to disconnected manifolds, provided a small measure $\delta$ of the latent space is allocated to the "tunnels" connecting disjoint components.
  • Theorem 7.1 (Cycle Models): The authors prove that two manifolds can be mapped to each other approximately bijectively, even with differing global topologies, by focusing on dense subsets. This provides a theoretical justification for CycleGAN-style architectures.

Discussion and Future Work

While this work proves the existence of universal generators, it does not address the constructibility or the optimization dynamics of training such models via stochastic gradient descent. Furthermore, the proofs do not provide explicit bounds on the required network width or depth relative to the manifold's curvature.

Future research should investigate the relationship between specific geometric properties (e.g., curvature) and the necessary capacity of the generator. Additionally, exploring how architectural choices like bottlenecks facilitate topological changes remains a promising direction for bridging the gap between theory and practice in generative modeling.

Summary updated

BibTeX
@misc{khrulkov2019universality,
  author = {Valentin Khrulkov and Ivan V. Oseledets},
  title = {{Universality Theorems for Generative Models}},
  year = {2019},
  eprint = {1905.11520},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.11520},
}
Figure