Self-supervised learning for phase retrieval

Victor Sechaud, Patrice Abry, Laurent Jacques, Julián TachellaarXiv 2025 · DOI

Abstract

Phase retrieval is a challenging non-linear inverse problem essential in various scientific imaging domains, such as X-ray crystallography and astronomy. Traditional deep learning approaches rely on supervised training with paired ground-truth data, which is often unavailable in practice. This work introduces a self-supervised learning (SSL) framework based on Equivariant Imaging (EI) that leverages physical symmetries—specifically translation invariance—to reconstruct signals from magnitude measurements alone. Our results demonstrate that this self-supervised approach matches supervised performance at high sampling rates and significantly outperforms classical iterative methods.

Introduction

In many scientific fields, sensors can measure the intensity of a wave but lose the phase information. Mathematically, this phase retrieval problem is expressed as observing $y = |Ax|^2$, where $x$ is the hidden signal and $A$ is a measurement operator. Reconstructing $x$ from $y$ is notoriously difficult due to the non-linearity and inherent ambiguities of the squaring operation. While supervised deep learning has shown promise, the requirement for large datasets of "perfect" ground-truth images limits its applicability in specialized physics and medical imaging. This paper explores whether a neural network can learn to solve this problem using only the measurements themselves.

Methodology

The proposed method utilizes the Equivariant Imaging (EI) framework. The core principle is that natural images belong to a manifold defined by certain symmetries; for instance, a shifted image remains a valid image of the same class. The training strategy employs two primary loss functions:

  1. Measurement Consistency (MC): This ensures the network's prediction $\hat{x}$, when passed through the forward physical model $|A\hat{x}|^2$, matches the observed data $y$. The authors found that an amplitude-based loss (comparing square roots) provides better robustness to noise than intensity-based loss.
  2. Equivariance Loss: This forces the network to be consistent under transformations. If a measurement $y$ is transformed (e.g., translated), the reconstruction from that transformed measurement should match the transformed version of the original reconstruction.

By minimizing these losses, the network learns the underlying structure of the data without ever seeing a ground-truth example. To handle the inherent global phase ambiguity ($e^{i\phi}$), the authors utilize Cosine Similarity as both a metric and a loss component.

Experimental Setup

The framework was evaluated using MNIST digits transformed into complex-valued signals ($x = e^{ix_0}$). The measurement operator $A$ was modeled using random Gaussian complex matrices to simulate diffusing media, a common scenario in optical imaging. Performance was measured across varying sampling rates $\alpha = m/n$, where $m$ is the number of measurements and $n$ is the signal dimension.

Results and Analysis

Cosine Similarity vs. sampling rate $\alpha$ for supervised and self-supervised methods.

Quantitative analysis shows that for sampling rates $\alpha > 0.5$, the self-supervised method ($\mathcal{L}_A + \mathcal{L}_{EI}$) achieves a Cosine Similarity nearly identical to the fully supervised baseline ($\mathcal{L}_{SUP}$), approaching a value of 1.0. Notably, the amplitude-based loss consistently outperformed the intensity-based measurement consistency loss ($\mathcal{L}_{CM} + \mathcal{L}_{EI}$).

Visual comparison of reconstructions across different sampling rates.

Qualitative results highlight the robustness of the SSL approach compared to classical iterative solvers like Gradient Descent, which often fail to produce recognizable structures. However, a performance "cliff" is observed at very low sampling rates ($\alpha < 0.3$). As seen in the visual reconstructions, the self-supervised model's output degrades into noise at $\alpha = 0.2$, whereas the supervised model maintains some structural integrity. This suggests that while SSL is highly effective, it requires a minimum information density to successfully resolve the non-linear ambiguities of phase retrieval.

Conclusion

This work demonstrates that physical symmetries can effectively substitute for labeled data in non-linear inverse problems. By combining measurement consistency with equivariance, the proposed framework allows for high-quality phase retrieval in settings where ground truth is inaccessible. Future research will focus on extending this to more complex transformation groups and real-world biological imaging data.

Summary updated

BibTeX
@misc{sechaud2025self,
  author = {Victor Sechaud and Patrice Abry and Laurent Jacques and Julián Tachella},
  title = {{Self-supervised learning for phase retrieval}},
  year = {2025},
  eprint = {2509.26203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.26203},
}
Figure