Deep Generative Models: Complexity, Dimensionality, and Approximation

Kevin Wang, Hongqian Niu, Yixin Wang, Didong LiarXiv 2025 · DOI

Abstract

Conventional wisdom in deep generative modeling suggests that the latent input dimension must be at least as large as the data's intrinsic dimension. This paper challenges that assumption, proving that ReLU neural networks can approximate high-dimensional distributions from inputs of any dimension—including 1D lines—by learning "space-filling" mappings. However, this flexibility comes with a significant computational cost: underestimating the data's true dimensionality leads to a super-exponential explosion in required network width.

Introduction: The Manifold Hypothesis and Latent Space

In machine learning, the Manifold Hypothesis posits that high-dimensional data, such as high-resolution images, resides on a much lower-dimensional geometric surface or "manifold." A long-standing theoretical guideline has been that to successfully model a $d$-dimensional manifold, the latent dimension $m$ of a generative model (like a GAN or VAE) should satisfy $m \ge d$.

This research investigates whether it is mathematically possible to model high-dimensional data using a "too small" latent space, the associated cost in model complexity (number of neurons), and how this choice influences the trade-off between approximation error and network size.

Methods: Space-Filling Curves in Neural Networks

The authors utilize Approximation Theory to study ReLU neural networks, introducing a novel approach based on space-filling curves. These are continuous paths that can visit every point within a higher-dimensional volume.

By treating the generative network as a "pushforward" function, the model maps a simple input distribution (e.g., a uniform 1D distribution) onto a complex target manifold. Unlike previous proofs that relied on local patch-pasting (requiring $m \ge d$), this strategy demonstrates that a network can learn increasingly "wiggly" curves that get arbitrarily close to any point on a higher-dimensional manifold. The complexity is analyzed using Monge-Ampère equations and Weyl’s Tube Theorem to quantify the neurons needed for a specific accuracy level ($\epsilon$).

Key Insights: The Complexity-Dimensionality Trade-off

The research identifies a fundamental "Trade-off Triangle" between Input Dimension, Approximation Error, and Network Complexity.

  • Complexity Explosion: When the input dimension $m$ is smaller than the manifold dimension $d$, the network width $p$ grows super-exponentially as the error $\epsilon$ decreases. Specifically, $p = O(D\epsilon^{-m/\alpha(m,\epsilon)})$, where $\alpha \to 0$ as $\epsilon \to 0$.
  • The Safety of Overestimation: Conversely, if the input dimension is larger than the data's intrinsic dimension ($m > d$), the complexity remains manageable (polynomial). This provides a theoretical basis for the common practice of using large latent spaces in real-world applications.
  • Visualizing Space-Filling: A 1D input does not simply map to a line; the network learns to fold the line repeatedly until it effectively covers the target 2D or 3D space.
Visualizing how a 1-dimensional curve can "fill out" a 2-dimensional square (left) or a 3-dimensional cylinder (right) through complex folding.

Datasets and Experimental Setup

The paper focuses on theoretical proofs validated by "toy" synthetic datasets to visualize the concepts:

  • 2D Unit Square: Mapping 1D and 2D inputs to a flat square.
  • 2D Cylinder: Mapping 1D and 2D inputs to a curved surface in 3D space.
  • 3D Unit Cube: Mapping 1D, 2D, and 3D inputs to a solid volume.

Results and Empirical Evidence

  • Theorem 3.1 (Existence): Establishes that for any $m \ge 1$, a ReLU network exists that can approximate a $d$-dimensional distribution within error $\epsilon$.
  • Simulation: In experiments mapping a 1D input to a 2D square, a small network (2 layers, 10 nodes) failed to fill the space. However, a larger network (5 layers, 200 nodes) successfully achieved low Wasserstein loss by "filling in" the manifold visually.
  • Statistical Guarantees: Theorem 3.2 shows that the model can learn from $n$ samples with an error rate of $n^{-1/(d+\delta)}$.

Limitations and Future Directions

While the paper proves the existence of these networks, it does not guarantee that standard optimization algorithms like SGD will find them. The highly oscillatory nature of space-filling curves may create a challenging optimization landscape. Future work could investigate lower bounds on complexity, the "union of manifolds" hypothesis, and the use of complexity phase transitions as a method for estimating intrinsic data dimensionality.

Summary updated

BibTeX
@misc{wang2025deep,
  author = {Kevin Wang and Hongqian Niu and Yixin Wang and Didong Li},
  title = {{Deep Generative Models: Complexity, Dimensionality, and Approximation}},
  year = {2025},
  eprint = {2504.00820},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.00820},
}
Figure