Generative Patch Priors for Practical Compressive Image Recovery

Rushil Anirudh, Suhas Lohit, Pavan K. Turaga · DOI

Abstract

This paper introduces Generative Patch Priors (GPP), a framework for solving inverse problems like compressive sensing by modeling the statistical manifold of small image patches. Unlike traditional deep generative priors that are restricted to specific image classes (e.g., faces), GPP leverages the universality of local image textures. By optimizing latent vectors for independent patches and incorporating a robust self-calibration mechanism, GPP generalizes to arbitrary resolutions and real-world sensor imperfections. Our results show that GPP significantly outperforms existing unsupervised methods by significant margins, particularly in data-scarce regimes.

Introduction

Computational imaging frequently involves inverse problems, where a high-fidelity image must be reconstructed from limited, noisy, or compressed measurements. Success in these tasks depends heavily on the "prior"—the mathematical model of what constitutes a natural image.

Traditional priors, such as sparsity, are general but often fail when measurements are extremely sparse (e.g., 1% sampling). Conversely, Deep Generative Priors (using pre-trained GANs) provide powerful structural constraints but are limited by their training distribution; a GAN trained on faces cannot reconstruct a landscape. Furthermore, training high-resolution GANs for all natural images is computationally prohibitive. Additionally, real-world sensors often suffer from calibration drift (gain and shift errors), which can lead to catastrophic failure in standard reconstruction algorithms.

Methodology

The core innovation of this work is the shift from image-level modeling to patch-level modeling.

Generative Patch Prior (GPP)

Instead of a global image generator, the authors train a DCGAN on small patches (e.g., 32x32 pixels). Because local patches are statistically simpler than full images, the resulting "patch manifold" is highly expressive and capable of representing a vast array of natural textures and structures found in any image, regardless of global content.

Compositional Recovery

To reconstruct a full image, the algorithm optimizes the latent vectors ($z$) for every patch independently to minimize the error relative to the observed measurements. These optimized patches are then tiled to form the final high-resolution output.

Iterative reconstruction process using Generative Patch Priors (GPP).

Self-Calibration (SC)

To bridge the "real-world gap," the authors introduce a joint optimization strategy for sensor parameters. Modeling sensor error as a linear transformation $y = (a\Phi + b\mathbf{1})x$ (where $a$ is gain and $b$ is shift), the method uses alternating optimization. It iteratively estimates image patches and then updates the calibration parameters $a$ and $b$ in closed form.

Experimental Evaluation

The authors evaluated GPP across several datasets:

  • Training: CIFAR-10, Tiny ImageNet, and MIT Places were used to train the patch generators.
  • Benchmarks: Standard images (Barbara, Lena, etc.) and the CelebA dataset were used for recovery testing.
  • Real-World Data: Measurements from a physical block-compressive imager tested the self-calibration mechanism.

Key Results and Insights

  • Superior Performance: At a 1% measurement rate, GPP achieved a PSNR improvement of approximately 4dB over the Deep Image Prior (DIP) on standard benchmarks.
  • Generalizability vs. Efficiency: GPP occupies a "Goldilocks zone." It is more general than class-specific GANs (which fail on out-of-distribution images) and more efficient than sparsity priors (which require more data).
  • Resolution Independence: Since GPP operates on patches, a generator trained on 32x32 data can successfully recover 4K images.
  • Robustness to Calibration Errors: In scenarios with unknown sensor shifts, standard methods failed (PSNR ~8dB), while GPP+SC successfully recovered the signal (PSNR ~21.6dB).
  • Versatility: The framework proved effective for linear compressive sensing, non-linear Phase Retrieval, and Inpainting.

Discussion and Future Work

While GPP offers significant advantages, it is currently slower than feed-forward supervised networks due to its optimization-based nature. Additionally, independent patch recovery can lead to "blocking artifacts" at patch boundaries. While the authors mitigate this using BM3D filtering, future work may involve developing "compositional priors" that enforce boundary smoothness during the optimization process and conducting a more rigorous theoretical analysis of the joint calibration-reconstruction landscape.

Summary updated

BibTeX
@inproceedings{anirudh2020generative,
  author = {Rushil Anirudh and Suhas Lohit and Pavan K. Turaga},
  title = {{Generative Patch Priors for Practical Compressive Image Recovery}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2020},
  doi = {10.1109/wacv48630.2021.00258},
}
Figure