Toward Fast and Provably Accurate Near-field Ptychographic Phase Retrieval

Mark A. Iwen, Michael Perlmutter, Mark Philip RoacharXiv 2021

Abstract

Ptychography is an imaging technique which involves a sample being illuminated by a coherent, localized probe of illumination. When the probe interacts with the sample, the light is diffracted and a diffraction pattern is detected. Then the sample (or probe) is shifted laterally in space to illuminate a new area of the sample whilst ensuring sufficient overlap. Near-field Ptychography (NFP) occurs when the sample is placed at a short defocus distance having a large Fresnel number. In this paper, we prove that certain NFP measurements are robustly invertible (up to an unavoidable global phase ambiguity) by constructing a point spread function and physical mask which leads to a well-conditioned lifted linear system. We then apply a block phase retrieval algorithm using weighted angular synchronization and prove that the proposed approach accurately recovers the measured sample. Finally, we also propose using a Wirtinger Flow for NFP problems and numerically evaluate that alternate approach both against our main proposed approach, as well as with NFP measurements for which our main approach does not apply.

1. Introduction

In computational microscopy, ptychography has emerged as a powerful technique for imaging objects by scanning them with a localized beam and recording the resulting diffraction patterns. The core challenge, known as the "phase retrieval" problem, arises because detectors only measure the intensity (magnitude) of light, losing the phase information necessary to reconstruct a crisp image. While Far-Field Ptychography (FFP)—where the detector is far from the sample—is mathematically well-understood, Near-Field Ptychography (NFP) presents unique complexities. NFP occurs when the sample is close to the detector (a high Fresnel number), a common scenario in X-ray imaging and high-resolution optical microscopy. Until now, NFP lacked rigorous theoretical guarantees for recovery, often forcing practitioners to rely on slow, "black-box" optimization heuristics.

2. Mathematical Framework and Notation

To establish a rigorous foundation for NFP recovery, we define several key mathematical operations. Central to our approach is the use of circular indexing and circular convolution, which allow us to model the periodic nature of certain physical measurement setups. The notation used throughout this work is summarized in the table below:

Summary of mathematical notation, including circular indexing, DFT definitions, and convolution operators.

These definitions, particularly the circular convolution $(\mathbf{x} * \mathbf{y})_n$ and the discrete Fourier transform $\widehat{\mathbf{x}}$, are instrumental in proving the equivalence between near-field and far-field measurement models.

3. Algorithmic Approaches

We propose two distinct algorithmic strategies to address the NFP phase retrieval problem:

3.1 NFP-BlockPR (Algorithm 1)

This is our primary contribution. We demonstrate that if a specific type of periodic Point Spread Function (PSF) and a locally supported mask are utilized, NFP measurements can be mathematically rearranged into a form identical to FFP. We then apply a "lifted" linear system to recover the signal's autocorrelation and utilize weighted angular synchronization (based on graph Laplacians) to recover the phases. This method provides the first theoretical error guarantees for near-field imaging.

3.2 NFP-Wirtinger Flow (Algorithm 2)

For scenarios where the mask is not locally supported or the PSF is non-periodic, we adapt Wirtinger Flow—a non-convex gradient descent strategy. While this method offers greater flexibility, it is computationally more intensive and lacks the same level of provable "guaranteed success" from a random initialization compared to BlockPR.

4. Key Insights: The "Near-is-Far" Equivalence

A striking insight of this work is that NFP is essentially FFP in disguise. By carefully choosing the measurement geometry, the complex convolutions of the near-field can be mapped directly onto the simpler Fourier-type measurements of the far-field. Furthermore, by employing a weighted graph Laplacian for angular synchronization—treating signal entries as nodes in a graph and their relative phases as edges—we achieve error bounds that scale linearly ($O(d)$) with the signal dimension $d$. This represents a significant improvement over the quadratic ($O(d^2)$) bounds found in previous far-field literature.

5. Numerical Results and Discussion

We evaluated our methods using synthetic datasets consisting of randomly generated complex-valued signals $x \in \mathbb{C}^d$ and additive i.i.d. Gaussian noise. Our results demonstrate:

  • Provable Accuracy: Theorem 1 provides a formal guarantee that the signal can be recovered up to a global phase ambiguity, even in noisy environments.
  • Computational Efficiency: In simulations with $d=945$, Algorithm 1 achieved reconstruction errors comparable to 500 iterations of Wirtinger Flow but in a fraction of the time.
  • Initialization Utility: Algorithm 1 serves as an excellent "warm start" for Algorithm 2, significantly accelerating convergence when strict conditions for BlockPR are not met.
  • Robustness: Increased overlap or support size of the mask ($\delta$) correlates with improved noise robustness.

6. Conclusion and Future Work

This research bridges the gap between near-field and far-field ptychography. While Algorithm 1 requires specific PSF and mask conditions, it provides a robust theoretical framework for NFP. Future work will focus on developing efficient, provably accurate algorithms for globally supported masks and optimizing the memory requirements of the "lifting" technique for high-resolution 2D and 3D imaging applications.

Summary updated

BibTeX
@misc{iwen2021toward,
  author = {Mark A. Iwen and Michael Perlmutter and Mark Philip Roach},
  title = {{Toward Fast and Provably Accurate Near-field Ptychographic Phase Retrieval}},
  year = {2021},
  eprint = {2112.10804},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.10804},
}
Figure