[Paper Review] GAN-Based Priors for Quantifying Uncertainty
This paper proposes using a Generative Adversarial Network (GAN)-learned prior distribution within a Bayesian inference framework to quantify uncertainty in high-dimensional inverse problems. By mapping complex, non-Gaussian priors to a low-dimensional latent space, the method enables accurate posterior estimation for image recovery tasks, achieving state-of-the-art performance in out-of-distribution detection, image inpainting with variance estimation, and physics-driven inverse problems such as image denoising and heat conduction reconstruction.
Bayesian inference is used extensively to quantify the uncertainty in an inferred field given the measurement of a related field when the two are linked by a mathematical model. Despite its many applications, Bayesian inference faces challenges when inferring fields that have discrete representations of large dimension, and/or have prior distributions that are difficult to characterize mathematically. In this work we demonstrate how the approximate distribution learned by a deep generative adversarial network (GAN) may be used as a prior in a Bayesian update to address both these challenges. We demonstrate the efficacy of this approach on two distinct, and remarkably broad, classes of problems. The first class leads to supervised learning algorithms for image classification with superior out of distribution detection and accuracy, and for image inpainting with built-in variance estimation. The second class leads to unsupervised learning algorithms for image denoising and for solving physics-driven inverse problems.
Motivation & Objective
- To address the challenge of modeling complex, high-dimensional priors in Bayesian inference for image and physical field recovery.
- To enable uncertainty quantification in inverse problems where traditional priors (e.g., L2, H1) fail to capture realistic data distributions.
- To develop an efficient Bayesian inference framework that leverages GANs to approximate complex posterior distributions in latent space.
- To demonstrate the method's effectiveness across diverse tasks: image classification with OOD detection, image inpainting with active learning, image denoising, and physics-driven inverse problems.
Proposed method
- Train a GAN on a dataset (e.g., MNIST) to learn a complex, non-Gaussian prior distribution over the latent space.
- Use the trained GAN generator to map samples from a simple latent prior (e.g., Gaussian) to the data manifold, forming the prior in the observation space.
- Perform Bayesian inference by sampling from the posterior in the low-dimensional latent space using MCMC, then map samples back to the data space via the generator.
- Estimate the maximum a posteriori (MAP), mean, and pixel-wise variance of the inferred field using the posterior samples.
- Use the estimated variance to guide active learning strategies, such as selecting the next measurement window in image inpainting.
- Validate the method on both supervised (classification, inpainting) and unsupervised (denoising, inverse problems) tasks, comparing against standard priors like L2 and H1.
Experimental results
Research questions
- RQ1Can a GAN-based prior improve uncertainty quantification in Bayesian inference for high-dimensional image recovery problems?
- RQ2How does the GAN prior compare to standard Gaussian priors (L2, H1) in reconstructing images from noisy or incomplete measurements?
- RQ3Can the estimated pixel-wise variance from the GAN-based posterior be used effectively to detect out-of-distribution inputs in image classification?
- RQ4To what extent can the uncertainty estimate guide active learning in iterative image inpainting?
- RQ5Does the GAN-based posterior converge to the true posterior in physics-driven inverse problems with known ground truth?
Key findings
- The GAN-based prior achieved perfect out-of-distribution detection on MNIST vs. NotMNIST inputs, with a clear separation in the ∥ŷ − xMAP∥ measure.
- For image inpainting, the method used variance estimates to guide active window selection, achieving accurate reconstruction with only four windows.
- In image denoising, the MAP estimate was accurate at low and medium noise (σx = 0.1, 1), but the high variance at σx = 10 correctly signaled low confidence, preventing misinterpretation of incorrect reconstructions.
- For the heat conduction inverse problem, the GAN-based posterior produced a MAP estimate very close to the true initial condition, outperforming L2 and H1 priors.
- The pixel-wise variance estimates from the GAN-based posterior were spatially consistent with known uncertainty regions (e.g., edges), and closely matched the true posterior variance computed via Monte Carlo.
- In all tested problems, the GAN-based posterior converged to the true posterior, as confirmed by comparison with MCMC approximations in low-dimensional parameter spaces.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.