NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compressive Ptychography using Deep Image and Generative Priors

Semih Barutcu, Doga Gürsoy, Aggelos K. KatsaggelosarXiv 2022 · DOI

Introduction

Ptychography is a powerful "lensless" imaging technique used to achieve nanometer-scale resolution. Unlike traditional microscopy, which relies on physical lenses that are often inefficient for X-rays, ptychography reconstructs an image by scanning a coherent beam across a sample and recording the resulting diffraction patterns. The core challenge lies in the "phase retrieval" problem: recovering the phase information lost during the intensity-only recording of diffraction.

Historically, solving this problem has required significant data redundancy. Traditional iterative algorithms, such as the Extended Ptychographic Iterative Engine (ePIE), typically necessitate a 60-80% overlap between adjacent scan spots. This requirement leads to slow mechanical scanning, limiting the ability to image large areas or capture fast dynamic processes. When overlap is reduced to speed up the process, these traditional methods often fail, producing images dominated by artifacts.

The PTYCHOGAN Framework

To overcome these limitations, researchers have introduced PTYCHOGAN, a hybrid deep-learning framework that leverages prior knowledge to reconstruct high-quality images from sparse, non-overlapping data.

Schematic of the ptychographic imaging process, highlighting the overlapping regions required by traditional methods.

PTYCHOGAN integrates two distinct deep-learning paradigms:

  1. Deep Generative Priors (DGP): The system utilizes a pre-trained StyleGAN2 model. Having been trained on a large dataset (Flickr-Faces-HQ), the model possesses a "latent space" representing valid structural features of the target domain. This provides a robust starting point for reconstruction.
  2. Deep Image Priors (DIP): To ensure the final image is physically consistent with the specific experimental measurements, the framework employs DIP. Instead of relying solely on pre-trained weights, the network's architecture itself acts as a regularizer. The weights are fine-tuned for each individual scan to minimize the difference between the predicted and measured diffraction patterns.

The optimization process is further refined through Progressive Adjustment Optimization, where layers are unfrozen sequentially, and a Discriminative Prior, which uses the GAN’s discriminator to ensure the reconstructed image remains realistic and free of non-physical noise.

Experimental Results and Key Insights

The effectiveness of PTYCHOGAN was evaluated using face images as a proxy for complex structural samples. Scans were simulated with varying levels of Poisson noise and overlap percentages ranging from 75% down to -50% (indicating gaps between scan points).

Visual comparison of reconstruction stages: initial generation, latent optimization, full weight optimization, and the ground truth (GT).

The "Zero Overlap" Breakthrough

The most significant finding is PTYCHOGAN's ability to maintain high fidelity even when there is zero or negative overlap. While traditional ePIE fails completely in these scenarios (SSIM ~0.15), PTYCHOGAN achieves SSIM scores above 0.90. By using AI priors to "fill in the gaps," the method allows for a 33% to 67% reduction in scanning time at synchrotron facilities.

Resilience to Noise

In high-noise environments, traditional analytical methods often produce "point-like" artifacts. PTYCHOGAN, bolstered by Total Variation (TV) regularization and its inherent architectural constraints, demonstrates superior noise resilience, maintaining structural integrity where other methods collapse.

Discussion and Future Directions

While PTYCHOGAN represents a leap forward in scanning efficiency, it faces two primary hurdles: computational cost and domain specificity. Currently, a single reconstruction takes 15-23 minutes on a high-end GPU, which is significantly slower than traditional analytical methods when sufficient data is available. Furthermore, the model's performance is tied to its training data; applying it to materials science would require pre-training on large-scale microscopic or crystallographic datasets.

Future research aims to address these issues through multi-GPU acceleration and the development of more generalized generative models capable of handling diverse scientific samples without extensive retraining.

Summary updated

BibTeX
@misc{barutcu2022compressive,
  author = {Semih Barutcu and Doga Gürsoy and Aggelos K. Katsaggelos},
  title = {{Compressive Ptychography using Deep Image and Generative Priors}},
  year = {2022},
  eprint = {2205.02397},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.02397},
}
Figure