Normalizing flows are powerful generative models that transform a simple base distribution (like a Gaussian) into a complex target distribution using a sequence of invertible, deterministic mappings. However, they face a fundamental geometric hurdle: because these mappings are continuous and bijective (diffeomorphisms), they must preserve the topology of the base distribution.
If your target data consists of two disconnected clusters, a standard flow is forced to stretch the single "blob" of the Gaussian to cover both. To remain continuous, it must leave a "bridge" of probability mass between those clusters—mass that doesn't exist in the real data. This topological constraint leads to numerical instability and poor density estimation.
To solve this, researchers have moved toward Stochastic Normalizing Flows, which interleave deterministic transformations with stochastic steps to "break" the rigid continuity of the flow.
Breaking the Topological Bridge
The core intuition behind stochastic flows is that randomness allows the model to "jump" or "prune" probability mass. In a purely deterministic flow, every point in the base distribution must map to exactly one point in the target. Hao Wu and Frank Noé demonstrated in Stochastic Normalizing Flows that by integrating MCMC or Langevin dynamics steps between flow layers, the model can relax these strict bijectivity constraints.
These stochastic layers act as a "cleanup" mechanism. While the deterministic layers do the heavy lifting of moving mass toward the modes, the stochastic steps allow the model to sample from disconnected regions without needing a continuous path between them. This effectively eliminates the artificial probability bridges that plague standard flows.
Infinite Mixtures and Continuous Indexing
Another way to bypass topological limits is to treat the flow not as a single path, but as a mixture of many possible paths. Anthony L. Caterini and Arnaud Doucet introduced Continuously Indexed Flows (CIFs) in Localised Generative Flows.
Instead of one global bijection, CIFs use a continuous latent variable to index a family of bijections. You can think of this as an infinite mixture of flows. By marginalizing over this index variable, the model can represent complex, disjointed topologies that a single diffeomorphism could never reach. The latent variable essentially "chooses" which mode a sample belongs to, allowing the model to redistribute mass more effectively than a single global transformation.
Resampling and Filtering
If the problem is that flows can't easily create "holes" in probability space, why not simply filter out the unwanted mass?
Vincent Stimper and Bernhard Schölkopf proposed this in Resampling Base Distributions of Normalizing Flows. They use Learned Accept/Reject Sampling (LARS) to modify the base distribution itself. By learning which parts of the initial Gaussian should be "rejected," the flow can start with a base distribution that already has disconnected components.
Similarly, in the context of astronomical imaging, He Sun and Katherine L. Bouman developed alpha-Deep Probabilistic Inference. Their approach allows the neural network to create the necessary "bridges" between modes during training but then uses importance sampling to filter them out. This ensures the final representation remains physically accurate and disjointed where necessary.
A Unified View via Markov Chains
This shift from deterministic to stochastic transformations suggests that flows, diffusion models, and VAEs are more similar than they appear. Paul Hagemann and Gabriele Steidl formalized this in Generalized Normalizing Flows via Markov Chains.
By viewing a generative model as a pair of Markov chains—one moving from noise to data and another from data to noise—we can see that standard flows are just a special case where the transition kernels are deterministic. By re-introducing stochastic kernels (like Metropolis-Hastings steps), we gain the ability to prune mass from low-density regions. This "Grand Unified Theory" framing shows that adding noise isn't just a trick for stability; it is a fundamental requirement for modeling the complex, disconnected landscapes of real-world data.