NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Fast and Provable Algorithm for Sparse Phase Retrieval

Jian-Feng Cai, Yu Long, Ruixue Wen, Jiaxi Ying

TL;DR

This paper introduces a novel second-order algorithm for sparse phase retrieval that achieves quadratic convergence—a significant leap from the linear convergence of traditional first-order methods. By cleverly combining two different loss functions and restricting Newton-type updates to a small subset of variables, the authors maintain the computational efficiency of simpler methods while drastically reducing the number of iterations required to reach a high-precision solution.

The Challenge of Sparse Phase Retrieval

Phase retrieval is the challenge of reconstructing a signal from only the magnitude (intensity) of its measurements, discarding the phase information. This is a classic problem in fields like X-ray crystallography, optical imaging, and diffraction imaging. In many modern applications, the underlying signal is sparse, meaning most of its components are zero.

While many algorithms exist to solve this, they generally fall into two camps:

  1. Convex methods: These are accurate but computationally crushing for high-dimensional data.
  2. Nonconvex first-order methods: These are efficient per iteration but slow to converge (exhibiting linear convergence), requiring many steps to reach high precision.

The authors aim to bridge this gap by creating an algorithm that is both "fast" (requiring very few iterations) and "provable" (having solid mathematical guarantees for success).

A Dual-Loss Second-Order Approach

The proposed algorithm follows a two-stage strategy: Initialization (getting a good "ballpark" guess) and Refinement (honing in on the exact signal). The core innovation lies in the refinement stage, which uses a unique Dual-Loss Strategy:

  • Support Identification: The algorithm uses an amplitude-based loss ($f_A$) to identify which variables are likely non-zero (the "free" variables). The authors note that the amplitude loss has better curvature near the true solution, making it superior for finding the signal's structure.
  • Newton Update: Once the support is identified, it uses an intensity-based loss ($f_I$) to perform a second-order Newton update. Because the update is only calculated for the $s$ "free" variables (where $s$ is the sparsity level), the algorithm avoids solving massive $n \times n$ systems. Instead, it solves a small $s \times s$ system, keeping the per-iteration cost comparable to first-order methods.
  • Hard Thresholding: To maintain sparsity throughout the process, the algorithm applies a thresholding operator that keeps only the $s$ largest components.

Key Insights

  • The "Best of Both Worlds" Loss: The most surprising insight is that using one loss function to find the "where" (support) and another to find the "how much" (Newton step) yields faster convergence than using either one alone.
  • Efficiency via Sparsity: By restricting the second-order (Hessian) calculations to the active support, the authors bypass the $O(n^3)$ complexity usually associated with Newton methods. This makes second-order optimization viable for high-dimensional signal processing.
  • Non-Asymptotic Guarantees: Unlike many Newton-type methods that are only "eventually" fast, the authors provide a non-asymptotic proof. They show exactly how many iterations are needed to reach a specific error tolerance.

Key Results and Performance

The authors evaluated their algorithm using synthetic Gaussian data (the standard benchmark for proving phase retrieval performance) and wavelet-transformed signals to simulate real-world applications.

  • Quadratic Convergence: In noise-free scenarios, the algorithm's error squares at each step after a few initial iterations. This is the first algorithm for sparse phase retrieval to theoretically establish this rate, drastically reducing the required iterations compared to peers.
Relative error vs. iterations in a noise-free scenario (s=100).
  • Sample Complexity: The algorithm successfully recovers signals using $m = \Omega(s^2 \log n)$ measurements, which is highly competitive with other state-of-the-art nonconvex methods. It achieves a high probability of success with fewer measurements than many baselines.
Probability of success vs. number of measurements for sparsity s=25.
  • Massive Speedups: In a 30,000-dimensional test using wavelet-transformed signals (208 non-zero coefficients), the proposed method achieved a high-quality reconstruction in just 2.6 seconds. For comparison, the popular CoPRAM algorithm took 117.6 seconds, and the HTP algorithm took 6.6 seconds.
  • Robustness: The method remains effective even when the exact sparsity level $s$ is unknown or when the measurements are corrupted by noise.

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Sample Complexity Gap: The theoretical information-theoretic limit for sparse phase retrieval is $O(s \log(n/s))$. The $s^2$ factor in the proposed $\Omega(s^2 \log n)$ requirement remains a bottleneck for both this and other existing provable algorithms.
  • Initialization Dependence: Like most nonconvex methods, the "refinement" stage relies on a good starting point from the "initialization" stage. If the initial guess is too far off, the quadratic convergence guarantees do not apply.
  • Noise Performance: While the algorithm is robust to noise in practice, the theoretical proof of quadratic convergence is limited to the noise-free case. In noisy environments, the rate reverts to linear, though empirical results show it still outpaces first-order peers.

Summary updated

BibTeX
@inproceedings{cai2024fast,
  author = {Jian-Feng CAI and Yu Long and Ruixue WEN and Jiaxi Ying},
  title = {{A Fast and Provable Algorithm for Sparse Phase Retrieval}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=BlkxbI6vzl},
}
Figure