Abstract
In phase retrieval, the goal is to recover a signal $\mathbf{x}\in\mathbb{C}^N$ from the magnitudes of linear measurements $\mathbf{Ax}\in\mathbb{C}^M$. While recent theory has established that $M\approx 4N$ intensity measurements are necessary and sufficient to recover generic $\mathbf{x}$, there is great interest in reducing the number of measurements through the exploitation of sparse $\mathbf{x}$, which is known as compressive phase retrieval. In this work, we detail a novel, probabilistic approach to compressive phase retrieval based on the generalized approximate message passing (GAMP) algorithm. We then present a numerical study of the proposed PR-GAMP algorithm, demonstrating its excellent phase-transition behavior, robustness to noise, and runtime. Our experiments suggest that approximately $M\geq 2K\log_2(N/K)$ intensity measurements suffice to recover $K$-sparse Bernoulli-Gaussian signals for $\mathbf{A}$ with i.i.d Gaussian entries and $K\ll N$. Meanwhile, when recovering a 6k-sparse 65k-pixel grayscale image from 32k randomly masked and blurred Fourier intensity measurements at 30~dB measurement SNR, PR-GAMP achieved an output SNR of no less than 28~dB in all of 100 random trials, with a median runtime of only 7.3 seconds. Compared to the recently proposed CPRL, sparse-Fienup, and GESPAR algorithms, our experiments suggest that PR-GAMP has a superior phase transition and orders-of-magnitude faster runtimes as the sparsity and problem dimensions increase.
1. Introduction
Phase retrieval is a fundamental problem in physical imaging sciences, including X-ray crystallography, astronomy, and microscopy, where sensors capture only the intensity (magnitude) of light, losing all phase information. Mathematically, this involves recovering a complex-valued signal $\mathbf{x}$ from measurements $y_m = |[\mathbf{Ax}]_m + w_m|$. Standard recovery typically requires a large number of measurements ($M \approx 4N$). However, if the signal is sparse, it should theoretically be recoverable with far fewer measurements—a challenge known as compressive phase retrieval.
Existing solutions face significant trade-offs. Convex relaxation techniques like "lifting" are accurate but computationally explosive ($O(N^3)$ complexity), making them impractical for high-resolution images. Iterative Fienup-style methods are fast but prone to local minima. Local search methods like GESPAR are effective for very high sparsity but scale poorly as the number of non-zero elements increases.
2. The PR-GAMP Algorithm
We propose PR-GAMP (Phase Retrieval via Generalized Approximate Message Passing), which treats phase retrieval as a statistical inference problem. Derived from loopy belief propagation, GAMP provides a computationally efficient framework for signal recovery by approximating the posterior distribution of the signal.
Key technical components of PR-GAMP include:
- Rician Likelihood Modeling: To accurately account for noise in magnitude-only measurements, we utilize a Rician distribution rather than a standard Gaussian model.
- Sparsity-Inducing Priors: A Bernoulli-Gaussian prior is employed to model the signal's sparsity, informing the algorithm that most signal components are zero.
- Expectation-Maximization (EM): An integrated EM procedure automatically estimates unknown parameters, such as noise variance, on the fly.
- Numerical Stability: To ensure convergence in non-convex landscapes, we incorporate damping, variance normalization, and multiple random restarts.
3. Experimental Results
The performance of PR-GAMP was evaluated using synthetic data and large-scale image recovery tasks.
3.1 Phase Transition and Efficiency
Numerical studies reveal that PR-GAMP exhibits a sharp phase transition. For $K$-sparse signals of length $N$, the algorithm typically succeeds when the number of measurements $M$ satisfies $M \ge 2K \log_2(N/K)$. This empirical boundary holds steady across different sparsity levels.
3.2 Comparison with State-of-the-Art
PR-GAMP significantly outperforms existing methods like GESPAR and Fienup in terms of the sparsity levels it can handle. While GESPAR's performance degrades rapidly as sparsity increases, PR-GAMP maintains a high success rate for much denser signals. Furthermore, PR-GAMP requires approximately four times the measurements of a "phase oracle" (an idealized version of GAMP that knows the phase) to achieve successful recovery.
3.3 Runtime and Scalability
A major advantage of PR-GAMP is its $O(MN)$ complexity, dominated by matrix-vector multiplications. In practical tests, PR-GAMP recovered a 65k-pixel image in a median time of 7.3 seconds. In contrast, GESPAR required 80 seconds for a problem nearly 300 times smaller ($N=225$), highlighting PR-GAMP's superior scalability for high-resolution imaging.
4. Conclusion
PR-GAMP offers a powerful solution for compressive phase retrieval, combining the speed of iterative methods with the accuracy of probabilistic inference. It achieves a superior phase transition and scales linearly with problem size. Future work includes extending the algorithm to handle signals sparse in transform domains and developing more robust convergence guarantees for structured sensing matrices.
Summary updated