Abstract
This paper investigates the phase retrieval problem, which aims to recover a signal from the magnitudes of its linear measurements. We develop statistically and computationally efficient algorithms for the situation when the measurements are corrupted by sparse outliers that can take arbitrary values. We propose a novel approach to robustify the gradient descent algorithm by using the sample median as a guide for pruning spurious samples in initialization and local search. Adopting the Poisson loss and the reshaped quadratic loss respectively, we obtain two algorithms termed median-TWF and median-RWF, both of which provably recover the signal from a near-optimal number of measurements when the measurement vectors are composed of i.i.d. Gaussian entries, up to a logarithmic factor, even when a constant fraction of the measurements are adversarially corrupted. We further show that both algorithms are stable in the presence of additional dense bounded noise. Our analysis is accomplished by developing non-trivial concentration results of median-related quantities, which may be of independent interest. We provide numerical experiments to demonstrate the effectiveness of our approach.
Introduction
Phase retrieval is a fundamental challenge in computational imaging and signal processing, appearing in fields such as X-ray crystallography, astronomical imaging, and optics. In these applications, sensors typically record only the intensity (magnitude) of a wave, while the phase information is lost. Mathematically, the goal is to recover a signal $x \in \mathbb{R}^n$ from measurements $y_i = |\langle a_i, x \rangle|^2$, where $a_i$ are known measurement vectors.
While recent non-convex algorithms like Wirtinger Flow (WF) and its variants have made high-dimensional phase retrieval computationally feasible, they possess a significant vulnerability: extreme sensitivity to outliers. In practical settings, data can be corrupted by sensor malfunctions or adversarial interference. Even a small number of measurements with massive, arbitrary values can severely bias the gradient descent process, leading standard algorithms to fail. Previous attempts to address this either required prior knowledge of the outlier count or were too computationally expensive for large-scale signals.
The Median-Truncated Approach
This research introduces a robust framework for phase retrieval using Median-Truncated Gradient Descent. The core innovation lies in replacing standard mean-based pruning strategies with a strategy guided by the sample median.
In traditional truncated algorithms, the sample mean is used to set thresholds for discarding "bad" data points. However, the mean is notoriously sensitive to outliers; a single massive corruption can shift the mean significantly, rendering the threshold ineffective. In contrast, the median is a robust statistic that remains stable even if nearly half the data is corrupted. By leveraging the median, the proposed algorithms can identify and ignore outliers without needing to know the exact percentage of corruption beforehand—a property referred to as being "oblivious."
Two Robust Algorithms
The paper develops two specific algorithmic implementations:
- median-TWF: Based on the Poisson loss function (Truncated Wirtinger Flow).
- median-RWF: Based on a reshaped quadratic loss (Reshaped Wirtinger Flow). This version treats the problem more like a linear least-squares task by removing the square on the measurement term, which results in a more regular objective function curvature.
Both algorithms follow a rigorous two-stage process:
- Robust Initialization: A spectral method is employed to find a starting guess. To prevent outliers from biasing this initial estimate, a median-based mask is used to discard suspicious samples.
- Median-Truncated Gradient Loop: During the iterative search, the algorithm calculates residuals (the difference between current estimates and observed measurements). It only utilizes samples whose residuals fall within a specific range of the median residual, effectively pruning outliers on the fly.
Theoretical Guarantees and Performance
The authors provide a rigorous theoretical analysis using synthetic datasets consisting of i.i.d. Gaussian signal and measurement vectors. To test robustness, they introduced sparse vectors with arbitrary magnitudes (adversarial noise) and additional dense bounded noise to simulate "dirty" real-world environments.
Key Findings
- Linear Convergence: Both algorithms converge to the true signal at a geometric rate, ensuring computational efficiency comparable to standard non-robust methods.
- Sample Complexity: The algorithms require approximately $m \sim n \log n$ measurements to recover a signal of length $n$. While this includes a logarithmic factor not present in some noise-free theories, it represents a near-optimal complexity for robust recovery.
- High Outlier Tolerance: Numerical experiments demonstrate that
median-RWFcan achieve perfect recovery even when 15-20% of the measurements are completely corrupted. In comparison, standard Truncated Wirtinger Flow (TWF) often fails when as little as 2% of the data is corrupted. - Stability: The methods are not only robust against sparse adversarial outliers but also remain stable when standard background noise is present, making them suitable for practical applications.
Mathematical Contributions
A significant portion of the paper's technical depth lies in the development of new concentration results for median-related quantities. Proving that the sample median of a high-dimensional random process stays close to its population counterpart is significantly more complex than proving similar results for the mean, as the median is a non-linear operator. These new mathematical tools may have applications in other areas of robust high-dimensional statistics.
Limitations and Future Directions
While the median-truncated approach offers a major step forward in robust phase retrieval, some questions remain. There is a small logarithmic gap ($ \log n$) in sample complexity between these robust methods and the theoretical limits of non-robust methods; it is currently unclear if this is a fundamental requirement for robustness or a limitation of the proof techniques. Additionally, while the current analysis focuses on Gaussian measurement vectors, many real-world applications use structured matrices (e.g., Coded Diffraction Patterns). Extending these median-based guarantees to structured measurements and complex-valued signals remains an important area for future research.
Summary updated