Abstract
Bayesian inverse problems often face a trade-off between the accuracy of non-amortized variational inference and the speed of amortized methods. This paper proposes an iterative framework that bridges the "amortization gap" by utilizing gradient-based summary statistics within a conditional normalizing flow (CNF) architecture. By iteratively refining the posterior estimate using the score of the likelihood, the method achieves high-fidelity reconstructions in high-dimensional tasks like transcranial ultrasound imaging without requiring additional training data.
Introduction
Bayesian inverse problems involve recovering hidden parameters $x$ from noisy, indirect observations $y$. In practice, researchers typically choose between two Variational Inference (VI) paradigms: non-amortized VI, which is highly accurate but computationally expensive due to per-observation optimization, and amortized VI, which is fast but often suffers from an "amortization gap"—an approximation error caused by limited model capacity or training data. This work introduces an iterative amortized procedure that uses local gradient information to refine posterior approximations, aiming to combine the speed of amortization with the iterative accuracy of optimization.
Methodology
The core innovation is an iterative refinement loop inspired by unrolled gradient descent. Instead of a single-step prediction, the model performs $L$ iterations to move from an initial guess to a refined posterior:
- Initial Estimate: Start with a fiducial point $x_0$.
- Gradient-Based Summary Statistics: Compute the "score"—the gradient of the log-likelihood—at the current estimate. This score serves as a maximally informative summary statistic, indicating how to adjust $x$ to better fit the observed data $y$.
- Probabilistic Update: A Conditional Normalizing Flow (CNF) processes the score and current estimate to predict a distribution of updates $\Delta x$. CNFs are used to capture complex, non-Gaussian uncertainties.
- Refinement: The estimate is updated (e.g., $x_{i+1} = x_i + \text{mean}(\Delta x)$), and the process repeats for $L$ iterations.
This approach leverages the local informativeness of the score, allowing the network to learn iterative corrections rather than a complex global mapping. Crucially, this refinement does not require additional training data; it re-uses existing training pairs more effectively by training a sequence of flows on the residuals of previous steps.
Experimental Results
The framework was evaluated on two benchmarks: a Gaussian toy problem with a known analytical solution and a high-dimensional Transcranial Ultrasound Computed Tomography (TUCT) task. For the TUCT task, MRI volumes from the FASTMRI dataset were used to generate brain "speed-of-sound" maps, with the forward operator simulated using the Devito finite-difference software.
In the Gaussian case, the iterative method demonstrated clear convergence toward the analytical ground truth. As shown in the figure below, both the posterior mean and the full covariance matrix align more closely with the ground truth as the number of iterations increases.
For the TUCT task, the iterative refinement significantly improved reconstruction quality across several metrics:
- PSNR: Improved from 40.45 dB (one-shot) to 43.27 dB after three iterations.
- SSIM: Increased from 0.977 to 0.985.
- RMSE: Dropped from 0.00964 to 0.00708.
Visually, the posterior mean became sharper with each iteration, and the method successfully recovered the full posterior covariance, identifying higher uncertainty in regions with limited sensor coverage.
Discussion and Limitations
The "score" acts as a powerful feedback mechanism; as the estimate $x_i$ approaches the ground truth, the score becomes more informative, creating a virtuous cycle of refinement. While this method requires training multiple flows (one per iteration) and necessitates a differentiable forward operator to calculate gradients, it offers a significant leap in accuracy for amortized Bayesian inference. Future work may explore different update statistics beyond the posterior mean and methods for handling non-differentiable or "black-box" simulators through surrogate models.
Summary updated