Abstract
One of the most prominent challenges in the field of diffractive imaging is the phase retrieval (PR) problem: In order to reconstruct an object from its diffraction pattern, the inverse Fourier transform must be computed. This is only possible given the full complex-valued diffraction data, i.e. magnitude and phase. However, in diffractive imaging, generally only magnitudes can be directly measured while the phase needs to be estimated. In this work we specifically consider ptychography, a sub-field of diffractive imaging, where objects are reconstructed from multiple overlapping diffraction images. We propose an augmentation of existing iterative phase retrieval algorithms with a neural network designed for refining the result of each iteration. For this purpose we adapt and extend a recently proposed architecture from the speech processing field. Evaluation results show the proposed approach delivers improved convergence rates in terms of both iteration count and algorithm runtime.
Introduction
In diffractive imaging techniques such as X-ray or electron microscopy, sensors are limited to recording only the intensity (magnitude) of radiation, resulting in the loss of critical phase information. Reconstructing a high-fidelity image of the object requires both magnitude and phase, a challenge known as the Phase Retrieval (PR) problem. Ptychography addresses this by capturing multiple overlapping diffraction patterns. Traditional solutions rely on iterative algorithms, like Alternating Projections (AP) or Difference Map (DM), which cycle between physical object space and diffraction space. However, these classical methods often suffer from slow convergence, sensitivity to initial conditions, and persistent "ghost artifacts."
Deep Iterative Projections (DIP)
The proposed Deep Iterative Projections (DIP) method integrates a convolutional neural network into the classical physics-based iterative process. Rather than a "black box" replacement, the network acts as a refiner within the loop.
The architecture is an adaptation of the Deep Griffin-Lim Iteration (DeGLI) from audio signal processing, leveraging the mathematical similarity between audio spectrograms and ptychographic data. Key technical innovations include:
- 4D Complex Convolutions: To handle the four-dimensional nature of ptychographic data (two spatial scan dimensions and two diffraction dimensions).
- Residual Learning: The network predicts the residual error of the current iteration, which is then subtracted to refine the estimate.
- Phase-Only Denoising: Utilizing a von-Mises distribution to simulate phase noise, providing a physically accurate noise model for circular phase data.
The models were trained on the MNIST dataset and evaluated for generalization on the Stanford Dogs dataset (resized to 64x64) to ensure the network learns the underlying physics of refinement rather than specific image features.
Results and Discussion
DIP demonstrates significantly faster convergence compared to traditional methods. While Alternating Projections often fails to reach low error thresholds within 100 iterations, DIP achieves target error levels in just 5 iterations.
Key findings include:
- Efficiency: On an NVIDIA V100 GPU, DIP reached the target error in approximately 0.54 seconds, a substantial improvement over the 1.36 seconds required by the Difference Map.
- Hybrid Synergy: DIP excels as a "super-initializer," quickly eliminating large-scale artifacts and ghosting. Combining 5 iterations of DIP with subsequent DM iterations yielded the highest overall reconstruction quality.
- Generalization: The network's success on the "off-dataset" Stanford Dogs images confirms its ability to learn fundamental ptychographic denoising.
Conclusion and Future Work
While DIP offers a powerful advancement for real-valued objects, future research will focus on extending the method to complex-valued "phase objects" common in biological applications. Additionally, the authors aim to test the framework on experimental data from synchrotrons and incorporate simultaneous probe estimation to handle real-world beam fluctuations.
Summary updated