Most algorithms for solving inverse problems—such as image denoising or compressed sensing—rely on a convenient but often unrealistic assumption: that noise is simple, white Gaussian noise. This paper introduces a novel framework that uses normalizing flows to model both the image prior and the noise distribution. By doing so, it enables the successful reconstruction of signals even when they are buried under highly structured, non-Gaussian interference.
The Challenge of Structured Noise
In signal processing, an inverse problem involves recovering an original, clean signal $x$ from a noisy observation $y$, defined by the equation $y = f(x) + \delta$. Here, $f$ represents a forward operator (like blurring, downsampling, or compression) and $\delta$ represents the noise.
Traditionally, researchers have relied on two major assumptions to solve these problems:
- Sparsity: The signal $x$ is sparse in some domain (like wavelets).
- Gaussian Noise: The noise $\delta$ follows a simple bell curve distribution.
While deep generative models (like GANs and VAEs) have largely replaced sparsity as a powerful "prior" for what a natural image should look like, most methods still cling to the Gaussian noise assumption. However, real-world noise is often highly structured—think of hand-drawn scribbles on a photo, atmospheric distortions, or specific patterns of sensor interference. If an algorithm expects Gaussian "white" noise but encounters a structured pattern, it will likely fail to produce a clean reconstruction, treating the structured noise as part of the true signal.
A Dual Flow-Based Approach
The authors propose a general formulation using Normalizing Flows. A normalizing flow is a type of generative model that learns an invertible, exact mapping between a simple distribution (like a standard Gaussian) and a complex one (like the high-dimensional space of natural images).
The key innovation in this paper is treating both the signal prior ($p_G$) and the noise distribution ($p_\Delta$) as normalizing flows. This dual-flow approach leads to two main optimization strategies:
- MAP (Maximum A Posteriori) Formulation: Because normalizing flows provide a tractable, exact likelihood for the signal, the model can minimize a loss function that perfectly balances two objectives: "how well the reconstruction matches the noise model" and "how likely the reconstruction is to be a real image."
- MLE (Maximum Likelihood Estimation) Formulation: If the signal prior is a GAN or VAE (where exact likelihood is hard to compute), the framework optimizes to find a signal within the generator's range that maximizes the likelihood under the flow-based noise model.
To handle known "out-of-distribution" issues—where flow models sometimes assign high probability density to noisy images—the authors introduce a smoothing parameter ($\beta$) to control the relative weight of the signal prior during optimization.
Key Results: Seeing Through the Noise
The researchers evaluated their method across several complex reconstruction tasks using datasets like CelebA-HQ (high-quality faces) and MNIST (handwritten digits).
Structured Denoising
To test the model's ability to handle highly structured interference, the authors used colored MNIST digits as a "noise" source, superimposing them onto CelebA faces.
By modeling the noise as a distribution ($p_\Delta$) rather than applying a simple $L_2$ penalty, the algorithm "understands" the structure of the interference. It recognizes that the colored digits belong to the noise distribution and effectively ignores them during reconstruction.
In this task, the dual-flow method significantly outperformed standard baselines like BM3D and traditional GAN-based priors. It was the only method capable of "seeing through" the structured MNIST noise to recover the underlying face.
1-Bit Compressed Sensing and Robustness
The framework's flexibility allows for swapping in different forward operators ($f$). In a highly non-linear task where only the sign of the measurements is known (1-bit compressed sensing), the flow-based approach achieved the same reconstruction quality as the best baselines while using 2x fewer measurements.
Furthermore, the method showed superior performance on Out-of-Distribution (OOD) images (like dogs or household objects) compared to GAN-based methods. Because a flow model has an unrestricted range—unlike a GAN's fixed, low-dimensional manifold—it can represent images it hasn't seen before, albeit with lower probability.
Limitations and Future Directions
While powerful, the approach has a few limitations:
- Optimization Landscapes: The method relies on gradient descent. The loss landscapes for complex flows can be non-convex, potentially leading to local minima.
- Pre-training Requirement: The framework requires a pre-trained flow model for the specific type of noise expected. If the noise structure changes unexpectedly, the model may need retraining.
- Computational Cost: Normalizing flows can be computationally expensive to evaluate and optimize compared to simpler analytical priors.
Future work may extend this framework to blind source separation, where neither the signal nor the noise distribution is fully known beforehand, or explore integrating more general generative models like Energy-Based Models (EBMs) or Score-based diffusion models.
Summary updated