Phase Retrieval with Holography and Untrained Priors: Tackling the Challenges of Low-Photon Nanoscale Imaging

Hannah Lawrence, David A. Barmherzig, Henry Li, Michael Eickenberg, Marylou Gabrié

Abstract

Phase retrieval is the inverse problem of recovering a signal from magnitude-only Fourier measurements, and underlies numerous imaging modalities, such as Coherent Diffraction Imaging (CDI). A variant of this setup, known as holography, includes a reference object that is placed adjacent to the specimen of interest before measurements are collected. The resulting inverse problem, known as holographic phase retrieval, is well-known to have improved problem conditioning relative to the original. This innovation, i.e. Holographic CDI, becomes crucial at the nanoscale, where imaging specimens such as viruses, proteins, and crystals require low-photon measurements. This data is highly corrupted by Poisson shot noise, and often lacks low-frequency content as well. In this work, we introduce a dataset-free deep learning framework for holographic phase retrieval adapted to these challenges. The key ingredients of our approach are the explicit and flexible incorporation of the physical forward model into an automatic differentiation procedure, the Poisson log-likelihood objective function, and an optional untrained deep image prior. We perform extensive evaluation under realistic conditions. Compared to competing classical methods, our method recovers signal from higher noise levels and is more resilient to suboptimal reference design, as well as to large missing regions of low frequencies in the observations. Finally, we show that these properties carry over to experimental data acquired on optical wavelengths. To the best of our knowledge, this is the first work to consider a dataset-free machine learning approach for holographic phase retrieval.

Introduction

Coherent Diffraction Imaging (CDI) is a cornerstone technique for nanoscale visualization in biological and materials sciences. However, CDI faces a fundamental physical limitation: detectors record only the intensity of the diffracted light, losing the phase information necessary for direct image reconstruction. This necessitates solving the "phase retrieval" problem—an ill-posed inverse problem.

Nanoscale imaging introduces further complications. To preserve delicate specimens like viruses or proteins, researchers must operate in a "low-photon regime," where measurements are dominated by Poisson shot noise. Additionally, physical hardware such as beamstops often block the center of the detector, resulting in missing low-frequency data. While holographic CDI—placing a known reference near the sample—improves the mathematical conditioning of the problem, classical iterative algorithms like Hybrid Input-Output (HIO) often fail under extreme noise or when the reference placement violates strict geometric conditions.

Methodology

We propose a dataset-free deep learning framework that leverages automatic differentiation and physics-informed priors to overcome these hurdles. Unlike standard deep learning, our approach does not require large training datasets; instead, it optimizes a reconstruction for each specific observation in real-time.

HolOpt-P: Direct Pixel Optimization

HolOpt-P utilizes the PyTorch framework to directly optimize the pixel values of the reconstructed image. The core innovation is the use of a Poisson log-likelihood objective function. Unlike the standard Mean Squared Error (MSE), which assumes Gaussian noise, the Poisson loss accurately models the physics of low-photon detection, providing superior stability in high-noise environments.

HolOpt-P-DD: Untrained Deep Image Priors

To further regularize the reconstruction, we introduce HolOpt-P-DD, which incorporates a "Deep Decoder" architecture. Instead of optimizing pixels directly, we optimize the weights of an untrained neural network. The architectural constraints of the network (upsampling and 1x1 convolutions) act as an inductive bias, naturally filtering out high-frequency noise while preserving the structured features of natural images.

Results and Discussion

Our framework was evaluated against standard benchmarks (SET12, BIO10, COIL100) and real-world optical data.

Noise and Missing Data Resilience

The proposed methods demonstrate remarkable robustness. In the low-photon regime (e.g., 1 photon per pixel), HolOpt-P-DD produces recognizable reconstructions where classical HIO fails entirely. Furthermore, the framework effectively "inpaints" missing low-frequency data caused by beamstops, outperforming traditional Wiener or inverse filtering techniques.

Breaking Geometric Constraints

A significant advantage of our approach is the relaxation of the "holographic separation condition." Classical methods require the reference to be placed at a specific distance from the sample. Our differentiable forward model allows for much closer reference placement—even touching the sample—without sacrificing reconstruction quality.

Comparison of reconstruction methods: Ground Truth vs. Classical HIO and the proposed HolOpt-P framework.

Real-World Validation

Tests on experimental optical data (using a He-Ne laser) confirmed these findings. HolOpt-P provided the most visually accurate reconstructions, successfully avoiding the shadowing artifacts common in classical baselines. While the computational cost is higher (~92s for HolOpt-P-DD vs. ~27s for HIO on a V100 GPU), the improvement in image quality justifies the trade-off for high-stakes nanoscale imaging.

Conclusion

This work presents the first dataset-free machine learning approach for holographic phase retrieval. By integrating a Poisson-based physical model with untrained neural priors, we achieve high-fidelity reconstructions in challenging low-photon and missing-data scenarios. Future work will focus on validating the framework with X-ray holographic CDI data and refining hyperparameter selection through automated heuristics like Fréchet Inception Distance (FID).

Summary updated

BibTeX
@inproceedings{lawrence2021phase,
  author = {Hannah Lawrence and David A. Barmherzig and Henry Li and Michael Eickenberg and Marylou Gabrié},
  title = {{Phase Retrieval with Holography and Untrained Priors: Tackling the Challenges of Low-Photon Nanoscale Imaging}},
  booktitle = {MSML},
  year = {2021},
  url = {https://openreview.net/forum?id=27Cn9sWBQVe},
}
Figure