Recurrent Inference Machines for Solving Inverse Problems

Patrick Putzky, Max WellingarXiv 2017

Abstract

Recurrent Inference Machines (RIMs) offer a novel approach to solving inverse problems by learning the inference algorithm itself. Unlike traditional methods that rely on hand-crafted priors and iterative optimizers, RIMs utilize a Recurrent Neural Network (RNN) to iteratively refine signal estimates. By incorporating the gradient of the data-likelihood, RIMs learn an implicit prior and navigate complex solution spaces, achieving state-of-the-art performance in tasks like denoising and super-resolution while demonstrating significant generalization capabilities.

Introduction: The Challenge of Inverse Problems

In signal processing, "inverse problems" involve reconstructing an original signal $x$ from noisy or corrupted observations $y$. Common examples include image denoising, super-resolution, and inpainting. The traditional approach employs Maximum A Posteriori (MAP) estimation, which balances a data-likelihood term (modeling the corruption process) with a prior term (modeling the expected structure of a "clean" signal).

However, this approach faces a significant trade-off: simple priors lead to tractable but mediocre results, while complex, expressive priors (like deep neural networks) often result in non-convex optimization challenges. While "unrolled" deep learning methods have attempted to address this by mapping iterative algorithms to network layers, they remain constrained by the underlying algorithm's design.

Methods: Learning the Algorithm

The authors introduce Recurrent Inference Machines (RIM), which treat the entire inference process as a learning task for a Recurrent Neural Network (RNN). Instead of unrolling a pre-defined algorithm, the RIM learns to become the optimizer.

Architecture of the Recurrent Inference Machine (RIM). (A) Traditional iterative optimization. (B) The RIM cell replacing the explicit prior and optimizer. (C) Unrolled RIM over T steps.

Key components of the RIM include:

  • Likelihood Gradient Integration: The RIM is "physics-aware," taking the gradient of the likelihood—which indicates the discrepancy between the current estimate and observed data—as an input at each step.
  • Implicit Prior Learning: There is no explicit formula for the prior. Instead, the RNN learns the statistical regularities of clean signals through its internal weights.
  • Memory and Curvature Estimation: Utilizing a Gated Recurrent Unit (GRU), the model maintains a memory of its progress, allowing it to estimate "curvature" (similar to second-order optimizers) and adaptively update the signal over multiple iterations.
  • Turing Completeness: As RNNs are Turing complete, they can theoretically implement any inference algorithm, making the RIM a truly learned optimizer.

Experimental Setup

The models were primarily evaluated on the BSD-300 (Berkeley Segmentation Dataset). Training involved 400,000 patches (32x32) from the training set, while testing was conducted on the full 100-image test set and the Roth & Black 68-image subset.

Key Insights

  • Iterative Refinement: Unlike "one-shot" models, RIMs learn the process of refinement, enhancing robustness.
  • Domain Knowledge Abstraction: By using the likelihood gradient, the RIM decouples the physics of corruption from the statistics of the signal.
  • Zero-Shot Task Generalization: A RIM trained on one task (e.g., deconvolution) can often be applied to another (e.g., inpainting) by simply updating the likelihood gradient, as the learned prior remains valid.
  • Parameter Efficiency: The RIM for super-resolution uses only ~500,000 parameters, making it more efficient than many larger contemporary models.

Results

The RIM demonstrated superior performance across multiple benchmarks. In image denoising ($\sigma=25$), it achieved a PSNR of 30.84, surpassing CBM3D (30.18). In factor-3 super-resolution, it reached a PSNR of 28.51, outperforming SRCNN (28.20).

Performance comparison (PSNR) of RIM against other methods across various inverse problems including Gaussian, Binary, and Fourier random projections, as well as inpainting.

Qualitatively, RIMs produce more naturalistic images with fewer artifacts compared to classical MAP-based methods like EPLL, which often produce grainy textures.

Limitations and Future Work

While powerful, the current RIM framework focuses largely on linear measurement problems ($y = Ax + n$). Future research could explore non-linear problems and the behavior of the model over much longer iteration sequences than the 20 steps used in training. Potential applications include medical imaging (MRI/CT) and radio astronomy, where forward models are well-defined but signal reconstruction is complex.

Summary updated

BibTeX
@misc{putzky2017recurrent,
  author = {Patrick Putzky and Max Welling},
  title = {{Recurrent Inference Machines for Solving Inverse Problems}},
  year = {2017},
  eprint = {1706.04008},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.04008},
}
Figure