Phase Retrieval Under a Generative Prior

Paul Hand, Oscar Leong, Vladislav Voroninski

Introduction

Phase retrieval is a classic challenge in physical sciences such as X-ray crystallography, optics, and astronomical imaging. In these fields, sensors often only capture the intensity (magnitude) of a wave, losing the crucial "phase" information. Mathematically, the goal is to recover a signal $y_0$ from measurements $b = |Ay_0|$.

For years, the standard approach to solving this ill-posed problem was to assume the signal is sparse (mostly zeros in some basis). However, sparse phase retrieval suffers from a frustrating theoretical bottleneck: while information theory suggests we should be able to recover a signal with $O(k \log n)$ measurements, current efficient algorithms actually require $O(k^2 \log n)$. This "squared" gap means that as signals become more complex, the number of required measurements explodes.

Researchers have now developed a new method to break this bottleneck by replacing simple sparsity with the power of deep generative models. This approach, called Deep Phase Retrieval (DPR), achieves near-optimal sample complexity and avoids the "spurious local minima" that typically plague non-convex optimization.

Deep Phase Retrieval (DPR)

Instead of assuming the signal is sparse, DPR assumes the signal lives in the range of a pre-trained deep generative neural network $G(x)$, such as a Variational Autoencoder (VAE) or Generative Adversarial Network (GAN).

The core of the method is formulated as an empirical risk minimization problem: $$ \min_{x \in \mathbb{R}^k} f(x) := \frac{1}{2} \left\| |AG(x)| - |AG(x_0)| \right\|^2 $$

To solve this, the authors use a modified gradient descent algorithm. Because the objective function is non-convex, standard optimization might be expected to get stuck in "bad" local minima. However, the authors prove that for a $d$-layer ReLU network with random weights, the "landscape" of this function is remarkably well-behaved.

Objective function landscape showing favorable global geometry without spurious local minima.

The Algorithm: 1. Start with a random latent code $x$. 2. At each step, check if the current $x$ or its negation $-x$ yields a lower error (accounting for the symmetry of the phase retrieval problem). 3. Move in the descent direction. 4. Repeat until convergence.

Key Insights and Results

The Geometry of Success

The most significant theoretical contribution of this work is proving that the objective function has "favorable global geometry." Outside of two small neighborhoods (the true solution and a negative multiple of it), there is always a descent direction. This means gradient descent is highly unlikely to get stuck in a random "valley" far from the true solution. The "negation" trick in the algorithm successfully allows the solver to escape the region of the negative multiple, a common trap in phaseless problems.

Breaking the $k^2$ Barrier

By using a generative prior, the researchers demonstrated that they only need $O(kd^2 \log n)$ measurements. This effectively removes the restrictive $k^2$ requirement found in sparse methods, moving the practical requirements much closer to the information-theoretic optimum. Generative models act as "tighter" priors; while sparsity is a generic assumption, a GAN trained on a specific domain (like faces) inherently restricts the search space to plausible signals, allowing the algorithm to fill in missing phase information much more efficiently.

Empirical Performance

The authors validated DPR using synthetic Gaussian signals, MNIST handwritten digits (using a VAE), and CelebA face images (using a DCGAN).

  • Superior Sample Efficiency: In MNIST experiments, DPR achieved reasonable recovery with only 200 measurements. In contrast, the sparse recovery algorithm (SPARTA) needed 500, and general phase retrieval methods (like Wirtinger Flow or Gerchberg-Saxton) completely failed until they had over 1,000 measurements.
  • High-Fidelity Reconstruction: On the high-dimensional CelebA dataset ($n \approx 12,000$), DPR successfully reconstructed recognizable faces using only 500 measurements, a regime where traditional methods fail entirely.
MNIST reconstruction comparison at 200 measurements, demonstrating DPR's superior sample efficiency.

Limitations and Future Work

While highly effective, DPR has a few notable limitations:

  • Prior Dependency: The method's success depends entirely on the quality of the generative model. If the true signal $y_0$ cannot be represented by the generator $G(x)$ (i.e., it is "out-of-distribution"), the recovery will fail or be highly distorted.
  • Random Weights Assumption: The theoretical proofs rely on the network weights being random (Gaussian). Extending these geometric guarantees to the highly structured weights of learned networks remains an open challenge.
  • Computational Cost: Backpropagating through a deep generator at every iteration of the phase retrieval process is computationally heavier than the simple thresholding techniques used in sparse methods.

Summary updated

BibTeX
@inproceedings{hand2018phase,
  author = {Paul Hand and Oscar Leong and Vladislav Voroninski},
  title = {{Phase Retrieval Under a Generative Prior}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure