Why Phase Retrieval Matters

Why Phase Retrieval Matters

In coherent imaging, the measured signal has both amplitude and phase: Es=∣Esβˆ£β€‰ejΟ•E_s = |E_s|\,e^{j\phi}. Many RF systems, however, can only measure the intensity ∣Es∣2|E_s|^2 (or amplitude ∣Es∣|E_s|) β€” the phase Ο•\phi is lost. Recovering x\mathbf{x} from {∣⟨ai,x⟩∣2}\{|\langle \mathbf{a}_i, \mathbf{x} \rangle|^2\} is the phase retrieval problem, a fundamentally non-linear inverse problem that is harder than the linear problems of Chapter 11--Chapter 14.

The point is that phase is not a minor detail β€” it carries the dominant structural information in images. Losing the phase and reconstructing from magnitude alone produces catastrophic artifacts, not graceful degradation. This motivates the dedicated algorithms of this chapter.

Definition:

The Phase Retrieval Problem

Given: Intensity measurements yi=∣⟨ai,x0⟩∣2y_i = |\langle \mathbf{a}_i, \mathbf{x}_0 \rangle|^2, i=1,…,Mi = 1, \ldots, M, where ai∈CN\mathbf{a}_i \in \mathbb{C}^N are known measurement vectors and x0∈CN\mathbf{x}_0 \in \mathbb{C}^N is the unknown signal.

Find: x^\hat{\mathbf{x}} such that ∣⟨ai,x^⟩∣2=yi|\langle \mathbf{a}_i, \hat{\mathbf{x}} \rangle|^2 = y_i for all ii.

Key properties:

  • The problem is non-linear (quadratic in x\mathbf{x}).
  • It has a global phase ambiguity: ejΟ•x0e^{j\phi}\mathbf{x}_0 is also a solution for any Ο•βˆˆ[0,2Ο€)\phi \in [0, 2\pi).
  • For generic (Gaussian) measurements, Mβ‰₯4Nβˆ’4M \geq 4N - 4 intensity measurements are sufficient for unique recovery (up to global phase) in the complex case.
  • For Fourier measurements (common in imaging), additional measurements or constraints are needed.
,

Phase Retrieval

The problem of recovering a complex-valued signal x\mathbf{x} from magnitude-only (phaseless) measurements yi=∣⟨ai,x⟩∣2y_i = |\langle \mathbf{a}_i, \mathbf{x}\rangle|^2. A non-linear inverse problem with inherent global phase ambiguity.

Related: The Lifting Trick, The Intensity Loss Function

Global Phase Ambiguity

The fundamental ambiguity in phase retrieval: if x0\mathbf{x}_0 is a solution, then ejΟ•x0e^{j\phi}\mathbf{x}_0 produces identical intensity measurements for any Ο•βˆˆ[0,2Ο€)\phi \in [0, 2\pi). Recovery is therefore defined up to a global phase factor.

Related: The Phase Retrieval Problem

Historical Note: The Oppenheim--Lim Experiment (1981)

1980s

In a landmark 1981 paper, Alan Oppenheim and Jae Lim demonstrated that phase carries far more perceptual information than amplitude in images. They swapped the amplitude and phase spectra of two images and showed that the resulting hybrid always resembles the image whose phase was used, not the one whose amplitude was used.

This experiment β€” now a staple of signal processing courses β€” established that edge locations, object positions, and spatial structure are encoded in the phase spectrum, while amplitude controls only overall contrast and energy distribution. The result motivated decades of research into phase retrieval algorithms.

Theorem: Uniqueness of Phase Retrieval from Generic Measurements

Let a1,…,aM∈CN\mathbf{a}_1, \ldots, \mathbf{a}_M \in \mathbb{C}^N be generic (e.g., i.i.d. Gaussian) measurement vectors. If Mβ‰₯4Nβˆ’4M \geq 4N - 4, then any signal x0∈CN\mathbf{x}_0 \in \mathbb{C}^N is determined uniquely (up to global phase) by the intensity measurements yi=∣⟨ai,x0⟩∣2y_i = |\langle \mathbf{a}_i, \mathbf{x}_0\rangle|^2.

That is, if ∣⟨ai,x⟩∣2=∣⟨ai,x0⟩∣2|\langle \mathbf{a}_i, \mathbf{x}\rangle|^2 = |\langle \mathbf{a}_i, \mathbf{x}_0\rangle|^2 for all ii, then x=ejΟ•x0\mathbf{x} = e^{j\phi}\mathbf{x}_0 for some Ο•βˆˆ[0,2Ο€)\phi \in [0, 2\pi).

Each intensity measurement yi=∣⟨ai,x⟩∣2y_i = |\langle \mathbf{a}_i, \mathbf{x}\rangle|^2 constrains x\mathbf{x} to lie on a circle (manifold of constant inner-product magnitude). With sufficiently many such constraints from generic directions, the intersection shrinks to a single orbit {ejΟ•x0}\{e^{j\phi}\mathbf{x}_0\}.

Definition:

Common Measurement Models for Phase Retrieval

1. Gaussian measurements (generic): ai∼CN(0,I)\mathbf{a}_i \sim \mathcal{CN}(\mathbf{0}, \mathbf{I}). Theoretical gold standard; Mβ‰₯4NM \geq 4N suffices for recovery.

2. Fourier measurements (coded diffraction patterns): ai=Dβ„“Fek\mathbf{a}_i = \mathbf{D}_\ell \mathbf{F} \mathbf{e}_k, where F\mathbf{F} is the DFT and Dβ„“\mathbf{D}_\ell is a diagonal mask. Multiple masks (Lβ‰₯3L \geq 3) with M=LNM = LN total measurements ensure recovery.

3. Short-time Fourier transform (STFT): ym,k=βˆ£βˆ‘nxn wnβˆ’m eβˆ’j2Ο€kn/N∣2y_{m,k} = |\sum_n x_n\,w_{n-m}\,e^{-j2\pi kn/N}|^2. Natural for time-frequency analysis; redundancy from overlapping windows provides the extra measurements.

4. RF imaging (scattered field magnitude): yi=∣[Ac]i∣2y_i = |[\mathbf{A}\mathbf{c}]_i|^2 where A\mathbf{A} is the imaging forward model and c\mathbf{c} is the reflectivity vector. The structure of A\mathbf{A} (Fourier-like) determines recovery feasibility.

,

Example: Impact of Phase Loss on RF Image Reconstruction

Setup: 2D RF imaging with Nt=4N_t = 4, Nr=8N_r = 8, Nf=32N_f = 32. Scene: 5 point scatterers. SNR = 25 dB.

Reconstruction method NMSE (dB)
With full complex data (FISTA) βˆ’25.3-25.3
With magnitude only, no phase retrieval βˆ’4.1-4.1
With magnitude only + Wirtinger flow βˆ’19.7-19.7

Explain the massive gap between coherent and magnitude-only reconstruction and why phase retrieval partially closes it.

The Importance of Phase in Imaging

Demonstrates the importance of phase information in imaging.

Top-left: Original scene (point or extended targets). Top-right: Reconstruction from full complex data. Bottom-left: Reconstruction using only amplitude spectrum (phase set to zero). Bottom-right: Reconstruction using only phase spectrum (amplitude set to uniform).

The phase-only reconstruction retains spatial structure (edges, positions), while the amplitude-only reconstruction loses all spatial information β€” confirming the Oppenheim--Lim finding.

Parameters
32

Common Mistake: Phase Retrieval Has Inherent Ambiguities Beyond Global Phase

Mistake:

A common error is assuming that once the global phase is fixed, the solution is unique. For Fourier measurements, additional ambiguities exist:

  • Conjugate inversion: xΛ‰βˆ’n\bar{\mathbf{x}}_{-n} (complex conjugate of the time-reversed signal) has the same Fourier magnitude.
  • Spatial shift: xnβˆ’n0\mathbf{x}_{n-n_0} has the same Fourier magnitude (shift theorem).
  • These form a group of "trivial ambiguities" specific to Fourier phase retrieval.

For generic (non-Fourier) measurements, only the global phase ambiguity remains β€” one motivation for using coded or random measurement designs.

Correction:

When evaluating phase retrieval algorithms, always align the recovered signal to the true signal before computing error metrics:

dist(x^,x0)=minβ‘Ο•βˆˆ[0,2Ο€)βˆ₯x^βˆ’ejΟ•x0βˆ₯2.\text{dist}(\hat{\mathbf{x}}, \mathbf{x}_0) = \min_{\phi \in [0, 2\pi)} \|\hat{\mathbf{x}} - e^{j\phi}\mathbf{x}_0\|_2.

For Fourier measurements, also check conjugate-inversion and shift ambiguities.

Quick Check

For a complex signal x0∈C128\mathbf{x}_0 \in \mathbb{C}^{128} with generic (Gaussian) measurement vectors, approximately how many intensity measurements MM are needed for unique recovery up to global phase?

Mβ‰₯128M \geq 128

Mβ‰₯256M \geq 256

Mβ‰₯508M \geq 508

Mβ‰₯16384M \geq 16384

Why This Matters: WiFi RSSI and IoT Sensing

Phase retrieval is not just an optics problem β€” it arises naturally in RF systems. WiFi RSSI (Received Signal Strength Indicator) reports only the power ∣h∣2|h|^2 of the channel, not the complex channel coefficient hh. Many low-cost IoT sensors similarly output only signal strength.

Indoor localization and imaging systems based on RSSI measurements face exactly the phase retrieval problem: they must reconstruct spatial information from magnitude-only data. The algorithms of Sections 16.2--16.4 apply directly, with the WiFi propagation model replacing the generic measurement matrix.

See full treatment in Phase Retrieval in RF Imaging

Key Takeaway

Phase retrieval recovers a complex signal from magnitude-only measurements β€” a non-linear inverse problem that is fundamentally harder than linear reconstruction. Phase carries the dominant structural information in images: edges, positions, and layout. For generic measurements, Mβ‰₯4NM \geq 4N intensity samples suffice for unique recovery; Fourier measurements require additional constraints. Without phase retrieval, magnitude-only RF imaging produces catastrophic artifacts β€” a roughly 20 dB NMSE penalty.