Self-supervised physics-informed generative networks for phase retrieval from a single X-ray hologram

Xiaogang Yang, Dawit Hailu, Vojtech Kulvait, Thomas Jentschke, Silja Flenner, Imke Greving, Stuart I. Campbell, Johannes Hagemann, Christian G. Schroer, Tak Ming Wong, Julian MoosmannarXiv 2025 · DOI

Abstract

Phase retrieval from a single X-ray hologram is a critical challenge in high-resolution imaging of weak absorbers. Traditional methods require either extensive manual tuning or large labeled datasets. This paper introduces SelfPhish, a self-supervised, physics-informed generative network that recovers both phase and absorbance from a single measurement without prior training. By integrating a Fresnel propagation physics engine into a GAN architecture, the model achieves high-fidelity reconstructions across synthetic and experimental synchrotron data, offering a robust solution for unique experimental setups where ground truth data is unavailable.

The Challenge of X-ray Phase Retrieval

In X-ray imaging, "phase contrast" provides a significant advantage over standard absorption-based methods. Many biological and high-tech materials are "weak absorbers"—they are nearly transparent to X-rays but still shift the phase of the X-ray wave. Capturing this phase shift allows for the visualization of fine structures that would otherwise be invisible.

Experimental setup for X-ray holographic imaging in the Fresnel regime.

However, detectors can only measure intensity, not phase. When an X-ray wave interacts with a sample and hits a sensor, the phase information is lost, leaving behind a "hologram" of interference patterns. Recovering the original phase from this single intensity measurement is a classic ill-posed inverse problem: multiple different objects could theoretically produce the same hologram. Existing solutions typically fall into two camps: classical iterative methods requiring expert manual tuning, or standard deep learning models requiring massive amounts of labeled training data—data that is often impossible to obtain for unique synchrotron experiments.

The SelfPhish Framework

To address these limitations, the researchers developed SelfPhish, a "Self-supervised Physics-Informed" approach. Unlike traditional deep learning, SelfPhish does not require a pre-existing dataset. Instead, it "learns" the optimal reconstruction for each specific image by treating the problem as a self-supervised optimization task.

The SelfPhish architecture, combining a generator, a forward physics model, and a discriminator.

The architecture is built on three main pillars:

  1. The Generator (G): A neural network that takes the raw hologram as input and predicts the object's absorbance and phase shift.
  2. The Forward Physics Model: A fixed mathematical layer based on Fresnel propagation theory. This "physics engine" takes the Generator’s predictions and calculates what the resulting hologram should look like based on known physical laws.
  3. The Discriminator (D): An adversarial network that compares the "fake" hologram (generated by the physics model) to the "real" measured hologram.

By baking the physics directly into the training loop, the network iterates on a single image until the Generator produces a phase and absorbance map that, when propagated through the physics model, perfectly matches the experimental data.

Experimental Validation

The study evaluated SelfPhish using both synthetic phantoms and real-world experimental data:

  • Simulated Data: 3D volumes of randomly placed spheres and a realistic magnesium-gadolinium (Mg-10Gd) screw implant were used to test the algorithm against varying distances (Fresnel numbers) and noise levels.
  • Synchrotron Data: Real-world datasets were acquired at the P05 beamline at PETRA III (DESY), including a corroded magnesium alloy and a complex biological sample: a spider attachment hair.

Key Insights and Results

  • No Training Data Required: By treating reconstruction as an image-specific optimization, SelfPhish eliminates the need for "ground truth" datasets.
  • High Fidelity and Robustness: In simulations, the model achieved a Mean Structural Similarity Index (MSSIM) of 0.971 to 0.990. It remained stable under moderate noise levels where traditional methods, like the Transport of Intensity Equation (TIE), often produced artifacts or blurred results.
  • Simultaneous Retrieval: SelfPhish retrieves both phase and absorbance simultaneously, making it highly effective for complex, real-world materials that are not purely phase-objects.
  • Biological Success: 3D reconstructions of the spider hair revealed fine structures like microtrichia and spatulae with high clarity, matching the quality of more data-intensive methods.
  • Efficiency: Reconstructions typically take 1.5 to 3 minutes on a single NVIDIA A100 GPU. Furthermore, "transfer learning" allows weights from one slice of a 3D scan to be reused for the next, significantly accelerating 3D tomography.

Limitations and Future Outlook

While SelfPhish represents a significant step forward, some challenges remain. At extremely high noise levels, the model can become unstable or overfit the noise. Additionally, it still requires manual setting of certain hyperparameters, such as the absorption factor ($\alpha$).

Future work will focus on automating parameter selection and extending the model to handle "partially coherent" beams. This expansion would allow the framework to be used with laboratory-scale X-ray sources, moving beyond the requirement for massive synchrotron facilities.

Summary updated

BibTeX
@misc{yang2025self,
  author = {Xiaogang Yang and Dawit Hailu and Vojtech Kulvait and Thomas Jentschke and Silja Flenner and Imke Greving and Stuart I. Campbell and Johannes Hagemann and Christian G. Schroer and Tak Ming Wong and Julian Moosmann},
  title = {{Self-supervised physics-informed generative networks for phase retrieval from a single X-ray hologram}},
  year = {2025},
  eprint = {2508.15530},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.15530},
}
Figure