Optimization for Amortized Inverse Problems

Tianci Liu, Tong Yang, Quan Zhang, Qi Lei

Overview

The authors introduce Amortized Inverse Problem Optimization (AIPO), a novel strategy for reconstructing images from corrupted data using deep generative priors. By decomposing a single, highly non-convex optimization task into a sequence of progressively harder sub-problems, AIPO avoids the local minima that plague standard gradient descent. This approach leads to significantly more accurate and robust image reconstructions, particularly when dealing with complex or out-of-distribution data.

The Challenge of Inverse Problems

Inverse problems involve reconstructing an original signal—such as a clean, high-resolution image—from a noisy, blurred, or incomplete observation. Because these problems are inherently "ill-posed" (meaning multiple original signals could produce the same corrupted observation), researchers rely on priors. Priors are mathematical models that describe the expected characteristics of a "natural" image, helping to guide the reconstruction toward a plausible solution.

Recently, deep generative models like Normalizing Flows (NFs) have become popular priors because they can explicitly model the probability distribution of complex data. However, integrating these priors creates a "Maximum A Posteriori" (MAP) optimization problem that is notoriously difficult to solve. The loss landscape is highly non-convex, meaning standard gradient descent algorithms often get trapped in poor local minima or fail entirely depending on their starting point (initialization sensitivity).

The AIPO Methodology

The core innovation of this paper is the AIPO algorithm. Instead of attempting to solve the difficult MAP problem with a fixed regularization weight ($\lambda$) all at once, AIPO "amortizes" the difficulty through a graduated optimization approach:

  1. Start Simple: The algorithm begins with $\lambda = 0$. At this stage, the problem is essentially a Maximum Likelihood Estimation (MLE) constrained purely by the observation. This is generally much easier to solve and provides a well-defined starting point.
  2. Incremental Complexity: The algorithm gradually increases $\lambda$ in small steps, slowly introducing the influence of the generative prior.
  3. Warm Starts: The solution found at step $i$ serves as the starting point for step $i+1$. Because the change in $\lambda$ is small, the optimal solution for the new step is likely very close to the previous one, keeping the optimizer within a "well-behaved" region of the loss landscape.
  4. Normalizing Flow Priors: The paper specifically focuses on using NFs (like RealNVP and GLOW) as the generative prior. Unlike GANs, NFs are invertible and allow for exact likelihood calculations, making the optimization process more principled.

Key Insights

  • The "Path" Matters: The most critical insight is that the path taken through the hyperparameter space matters just as much as the final objective. By following the path of optimal solutions from $\lambda=0$ to the target $\lambda$, AIPO can reach global minima that are inaccessible via direct optimization.
  • Initialization is the Bottleneck: Standard methods often fail because they start from random noise or zero. AIPO proves that starting from a data-constrained MLE and then "easing" the prior in is a vastly superior strategy.
  • Robustness to the Prior: AIPO makes the reconstruction process less sensitive to the specific choice of $\lambda$. In standard methods, if $\lambda$ is too high, the non-convexity of the prior overwhelms the data; AIPO manages this trade-off gracefully.
  • Theoretical Grounding: Unlike many heuristic optimization tricks, the authors provide a theoretical guarantee. They show that under specific smoothness and local property assumptions, AIPO is guaranteed to find an $\epsilon$-approximate global minimum.

Key Results

The researchers evaluated AIPO on three classic tasks: Denoising, Noisy Compressed Sensing (NCS), and Inpainting. They used the CelebA dataset for "in-distribution" testing and various out-of-distribution (OOD) samples (like sketches, cartoons, and paintings) to test robustness.

Qualitative Clarity and OOD Success

Visual results demonstrate that AIPO recovers fine details—such as eye shapes or background textures—that baseline methods turn into blurry artifacts. Furthermore, AIPO showed remarkable performance on OOD images. While standard methods often forced OOD images to look like "average faces" (the training distribution), AIPO successfully reconstructed the unique features of non-human subjects like Pikachu.

Qualitative comparison of image reconstruction methods on Test and OOD samples.

Quantitative Superiority

AIPO consistently achieved lower MAP loss and higher Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM) than baselines (random, zero, or simple MLE initialization). For example, in high-noise denoising, AIPO's PSNR was often 1-2 dB higher than the best baseline.

Quantitative evaluation of AIPO against baselines across different noise levels and generative priors.

Limitations and Future Work

While highly effective, AIPO has a few limitations that present opportunities for future research:

  • Computational Overhead: Solving a sequence of optimization problems is inherently more computationally expensive than solving one. While AIPO converges faster in each sub-step, it still requires more bookkeeping.
  • Linear vs. Non-linear Operators: Most of the forward operators tested were linear. While the theory doesn't strictly require linearity, practical performance on highly non-linear distortions (like extreme blurring or atmospheric turbulence) remains an open question.
  • Adaptive Stepping: Finding the "optimal" schedule for increasing $\lambda$ automatically for any given image remains a challenge, though the authors do propose an initial adaptive version of the algorithm.

Summary updated

BibTeX
@inproceedings{liu2023optimization,
  author = {Tianci Liu and Tong Yang and Quan Zhang and Qi Lei},
  title = {{Optimization for Amortized Inverse Problems}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=U86dkQE5jT},
}
Figure