Abstract
Real-world data with underlying structure, such as pictures of faces, are hypothesized to lie on a low-dimensional manifold. This manifold hypothesis has motivated state-of-the-art generative algorithms that learn low-dimensional data representations. Unfortunately, a popular generative model, normalizing flows, cannot take advantage of this. Normalizing flows are based on successive variable transformations that are, by design, incapable of learning lower-dimensional representations. In this paper we introduce noisy injective flows (NIF), a generalization of normalizing flows that can go across dimensions. NIF explicitly map the latent space to a learnable manifold in a high-dimensional data space using injective transformations. We further employ an additive noise model to account for deviations from the manifold and identify a stochastic inverse of the generative process. Empirically, we demonstrate that a simple application of our method to existing flow architectures can significantly improve sample quality and yield separable data embeddings.
Introduction
The manifold hypothesis suggests that high-dimensional data, such as $64 \times 64$ pixel images, resides on a much lower-dimensional surface. Most successful generative models, like Variational Autoencoders (VAEs) or GANs, exploit this by compressing data into a compact latent space. However, Normalizing Flows (NFs)—valued for their exact likelihood evaluation—are traditionally limited by a bijectivity constraint. This "dimension-preserving straitjacket" requires the latent code to match the input dimensionality (e.g., 4,096 dimensions for a 4,096-pixel image), forcing the model to represent every bit of high-dimensional noise. This often leads to lower-quality samples and entangled representations where signal and noise are inseparable.
Methodology: Noisy Injective Flows
We propose Noisy Injective Flows (NIF) to allow flows to operate across dimensions. The NIF framework introduces three primary components to bridge the gap between high-dimensional pixels and low-dimensional manifolds.
- Injective Transformations: Instead of a bijection, NIF uses an injective function $f$ that maps a low-dimensional latent vector $z$ to a high-dimensional data space.
- Additive Noise Model: Recognizing that real-world data rarely sits perfectly on a manifold, we incorporate a noise term: $x = f(z) + \epsilon$.
- Stochastic Inverse: Since injective maps with noise are not perfectly invertible, we define a stochastic inverse $q(z|x)$, providing a principled mapping from data back to the latent space.
Training is conducted by maximizing a new Evidence Lower Bound (ELBO), which naturally balances manifold density modeling with a penalty for data distance from the manifold.
Key Results and Insights
The NIF architecture was evaluated against standard Normalizing Flows on benchmark datasets including CelebA, Fashion MNIST, and CIFAR-10.
Visual Quality and the "Noise Knob"
A unique feature of NIF is the noise parameter $s$. During inference, setting $s=0$ allows for sampling directly from the learned manifold, resulting in crisper, "idealized" images. On the CelebA dataset, NIF-64 achieved a Fréchet Inception Distance (FID) of 30.96, significantly outperforming the baseline NF's score of 63.07.
Embedding Separability
By constraining the model to capture data essence in a lower-dimensional space, NIF produces more organized embeddings.
As illustrated in the UMAP projections, CIFAR-10 data points in the NIF-64 latent space naturally cluster by class. In contrast, standard NF embeddings show almost no class-based structure, highlighting NIF's ability to separate meaningful content from high-dimensional noise.
Conclusion
Noisy Injective Flows provide a principled generalization of normalizing flows that can navigate across dimensions. By explicitly modeling the data manifold and accounting for noise, NIF improves both sample quality and representation learning. Future work will address the computational complexity of Jacobian determinants for larger latent spaces and explore more sophisticated noise models.
Summary updated