Phase Retrieval: From Computational Imaging to Machine Learning: A tutorial

Jonathan Dong, Lorenzo Valzania, Antoine Maillard, Thanh-An Pham, Sylvain Gigan, Michael Unser · DOI

This tutorial paper provides a comprehensive bridge between the physics of optical imaging and the mathematical rigor of machine learning, focusing on the "Phase Problem"—a challenge that has puzzled scientists for over 70 years.

TL;DR

Phase retrieval is the art of recovering a complex-valued signal from only its intensity measurements. This paper unifies classical optical techniques with modern machine learning, demonstrating how neural network theory and deep priors are transforming this non-convex problem from a computational headache into a solvable engineering task.

What Problem Does This Paper Address?

In many imaging fields—from X-ray crystallography to astronomy—detectors can only record the intensity (energy) of a wave, losing the phase information. Mathematically, we try to solve $y = |Ax|^2$, where $y$ is our data and $x$ is the object we want to see.

Because the phase is missing, the problem is "non-convex." This means there isn't a single clear path to the solution; algorithms can easily get stuck in "local minima" (wrong answers that look plausible). The authors address the gap between practitioners who need to know which algorithm to use for their specific hardware and theorists who are trying to define the fundamental limits of what can be recovered.

Methods

The authors categorize phase retrieval into four physical models:

  1. Fourier: Standard lens-based imaging.
  2. Coded-illumination: Using structured light or "ptychography" (scanning a probe).
  3. Coded-detection: Taking multiple shots at different focus positions.
  4. Random: Imaging through scattering media (like skin or fog).

They review three generations of algorithms:

  • Classical Projections: Iteratively bouncing between the "data" and "physical constraints" (e.g., the Gerchberg-Saxton algorithm).
  • Spectral & Bayesian Methods: Using "informed initializations" based on eigenvectors or Approximate Message Passing (AMP) to find the right neighborhood for the solution.
  • Deep Learning: Replacing hand-crafted math (like sparsity) with Deep Priors. This includes Plug-and-Play (PnP) methods that use a pre-trained CNN as a "denoiser" inside the reconstruction loop, and Deep Image Prior (DIP), which uses the structure of a neural network itself to regularize the image without any prior training.

Datasets

As a tutorial/review paper, it does not introduce a new benchmark dataset. Instead, it evaluates the discussed algorithms using:

  • Synthetic Random Signals: To test theoretical limits and "state evolution" predictions.
  • Natural Images: Specifically using classical art (e.g., Leonardo da Vinci’s Lady with an Ermine) to demonstrate how algorithms handle the complex textures and structures found in real-world imaging.

Key Insights and Ideas

  • The Neural Network Analogy: One of the most powerful "aha" moments is that phase retrieval is mathematically identical to training a single-layer neural network with a quadratic activation function. This allows imaging scientists to steal powerful tools from the ML community.
  • The "Hard Phase": Theory shows there is a "computational gap." For certain measurement-to-pixel ratios, a solution exists (it’s information-theoretically possible), but no known algorithm can find it in a reasonable amount of time.
  • Initialization is Everything: Standard gradient descent often fails if started randomly. Using a "Spectral Method" to find a smart starting point allows simple algorithms to reach the global optimum.
  • Injectivity Threshold: The paper highlights the "4d-4" conjecture, suggesting you generally need about four times as many measurements as pixels to guarantee a unique solution without extra information.

Key Results

  • AMP Superiority: In random settings, Approximate Message Passing (AMP) reaches the theoretical "Information-Theoretic" limit, achieving perfect recovery at much lower sampling rates than classical methods.
  • Deep Learning vs. Sparsity: CNN-based priors (like PnP and RED) consistently outperform classical "sparsity" (L1 regularization) because they capture the "manifold" of natural images much more effectively.
  • PhaseLift Complexity: While mathematically elegant, convex relaxation methods like PhaseLift are noted as being computationally "explosive" for large images (a $100 \times 100$ image requires an optimization space of $10^8$ dimensions).

Limitations and Future Work

  • The "Structured" Gap: Most strong theoretical guarantees (like those for AMP) only hold for perfectly random matrices. Real-world Fourier-based imaging systems are "structured," and the theory for these remains an open challenge.
  • Hallucinations: The authors warn that deep learning models can be "unstable." Because they are so good at making things look like natural images, they might "hallucinate" features that aren't actually in the physical object.
  • Data Scarcity: Many ML methods require massive training sets, which are often unavailable in specialized scientific or medical imaging contexts. Developing "unsupervised" or "self-supervised" methods (like DIP) is a key future direction.

Summary updated

BibTeX
@article{dong2023phase,
  author = {Jonathan Dong and Lorenzo Valzania and Antoine Maillard and Thanh-An Pham and Sylvain Gigan and Michael Unser},
  title = {{Phase Retrieval: From Computational Imaging to Machine Learning: A tutorial}},
  journal = {IEEE Signal Process. Mag.},
  year = {2023},
  doi = {10.1109/msp.2022.3219240},
}
Figure