22
A Geometric Analysis of Phase Retrieval Qing Qu Electrical Engineering Columbia University Joint with Ju Sun, John Wright (Columbia University)

A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

A Geometric Analysis of PhaseRetrieval

Qing QuElectrical EngineeringColumbia University

Joint with Ju Sun, John Wright (Columbia University)

Page 2: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Missing phase problem

Phase retrieval: Given phaseless information of a complex signal,recover the signal

Coherent Diffraction Imaging1

Applications: X-raycrystallography,diffraction imaging (left),optics, astronomicalimaging, and microscopy

For a complex signal x ∈ Cn, given |Fx|, recover x.

1Image courtesy of [Shechtman et al., 2015]

Page 3: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Generalized phase retrieval

For a complex signal x ∈ Cn, given |Fx|, recover x.

Generalized phase retrieval:

For a complex signal x ∈ Cn, given generalized measurementsof the form |a∗

kx| for k = 1, . . . ,m, recover x.

... in practice, generalizedmeasurements by designsuch as masking, grating,structured illumination,etc 2

2Image courtesy of [Candès et al., 2015b]

Page 4: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

A nonconvex formulation

• Given yk = |a∗kx| for k = 1, . . . ,m, recover x (up to a

global phase).• A natural nonconvex formulation (see

also [Candès et al., 2015b])

minz∈Cn

f(z).=

1

2m

m∑k=1

(y2k − |a∗kz|2)2.

Page 5: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

A Curious Experiment

• Assume akmk=1 are i.i.d. complex Gaussian

ak = (Xk + iYk) /√2, Xk, Yk ∼ N(0, In).

• Run gradient descent on the nonconvex formulation f(z)

zr+1 = zr − µ∇zf(z(r)).

Page 6: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Visualization of low-dimensional function landscape

• Plot of f(z) with z ∈ R2, global minimizer x = [1; 0] andm → +∞.

• All the critical points are ±x, 0, and saddle points±[0; 1/

√2].

• The saddle points can be escaped following the negativecurvature direction along ±x.

Page 7: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

A glimpse into high dimensional geometry

When m ≥ Ω(n log3 n), it holds with probability at least 1− cm−1

• The only local/global minimizers of f(z) are the solution setX =

xeiθ : θ ∈ [0, 2π)

.

• The whole space Cn can be partitioned into negativecurvature R1, large gradient Rz

2 , Rh2 , and strong

convexity R3 regions.

Page 8: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Quantatively,[xeiϕ(z)

xeiϕ(z)

]∗

∇2f(z)

[xeiϕ(z)

xeiϕ(z)

]≤ −C1 ∥x∥4 , ∀z ∈ R1,

z∗∇zf(z)

∥z∥≥ C2 ∥x∥2 ∥z∥ , ∀z ∈ Rz

2 ,

R (h(z)∗∇zf(z))

∥h(z)∥≥ C3 ∥x∥2 ∥z∥ , ∀z ∈ Rh

2 ,[g(z)

g(z)

]∗

∇2f(z)

[g(z)

g(z)

]≥ C4 ∥x∥2 , ∀z ∈ R3,

Page 9: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

R1.=

z : 8 |x∗z|2 + 401

100∥x∥2 ∥z∥2 ≤ 398

100∥x∥4

,

Rz2

.=

z : R (⟨z,∇zE [f ]⟩) ≥ 1

100∥z∥4 + 1

500∥x∥2 ∥z∥2

,

Rh2

.=

z :

11

20∥x∥ ≤ ∥z∥ ≤ ∥x∥ ,dist(z, X) ≥

∥x∥3

,

R (⟨h(z),∇zE [f ]⟩) ≥ 1

250∥x∥2 ∥z∥ ∥h(z)∥

,

R3.=

z : dist(z, X) ≤ ∥x∥ /

√7.

Page 10: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Ridable saddle function

Ridable-saddle (strict-saddle) functions A function f : M 7→ Ris (α, β, γ, δ)-ridable (α, β, γ, δ > 0 ) if any point x ∈ M obeysat least one of the following:

1) [Strong gradient] ∥grad f(x)∥ ≥ β;2) [Negative curvature] There exists v ∈ TxM with ∥v∥ = 1

such that ⟨Hess f(x)[v],v⟩ ≤ −α;3) [Strong convexity around minimizers] There exists alocal minimizer x⋆ such that ∥x− x⋆∥ ≤ δ, and for all y ∈ Mthat is in 2δ neighborhood of x⋆, ⟨Hess f(y)[v],v⟩ ≥ γ forany v ∈ TyM with ∥v∥ = 1.

(TxM is the tangent space of M at point x)

Page 11: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Summary of the results

minz∈Cn

f(z).=

1

2m

m∑k=1

(y2k − |a∗kz|2)2.

Theorem (Informal, Sun, Q., Wright ’16)

Let ak ∼iid CN (0, 1). When m ≥ Ω(n log3(n)), w.h.p.,

• All local (and global) minimizers are of the form xeiϕ.• f is (c, c/(n logm), c, c/(n logm))-ridable over Cn for some

c > 0.

Page 12: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Comparison with the literature

• SDP relaxations and their analysis:[Candès et al., 2013a] SDP relaxation[Candès et al., 2013b] Guarantees for m ∼ n logn, adaptive[Candès and Li, 2014] Guarantees for m ∼ n, non-adaptive[Candès et al., 2015a] Coded diffraction patterns[Waldspurger et al., 2015] SDP relaxation in phase space

• Nonconvex methods (spectral init. + local refinement):[Netrapalli et al., 2013] Spectral init. sample splitting[Candès et al., 2015b] Spectral init. + gradient descent, m ∼ n logn.[White et al., 2015] Spectral init. + gradient descent[Chen and Candès, 2015] Spectral init. + truncation, m ∼ n.

This work: a global characterization of the geometry of theproblem. Algorithms succeed independent of initialization,m ∼ n log3 n.

Page 13: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Other measurement models for GPR

Other measurements

• Coded diffraction model [Candès et al., 2015a]

• Convolutional model (with Yonina Eldar): y = |a⊛ x|

Page 14: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Generalization to low-rank matrix recovery/completion

Suppose X ∈ Rn×n with rank(X) = r(r ≪ n) and X ⪰ 0, canwe recovery X given linear measurement:

yk = tr(AkX) (1 ≤ k ≤ m) ?

Nonconvex formulation: consider the factorization X = FF ∗

with F ∈ Rn×r, solve

minF∈Rn×r

g(F ).=

1

2m

m∑k=1

(yk − tr (F ∗AkF ))2 .

In the matrix completion/recovery setting,[Ge et al., 2016, Bhojanapalli et al., 2016] show that

• All local minimizers are global.• The function g(F ) is also a ridable saddle function.

Page 15: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Generalization to low-rank matrix recovery/completion

Suppose X ∈ Rn×n with rank(X) = r(r ≪ n) and X ⪰ 0, canwe recovery X given linear measurement:

yk = tr(AkX) (1 ≤ k ≤ m) ?

Nonconvex formulation: consider the factorization X = FF ∗

with F ∈ Rn×r, solve

minF∈Rn×r

g(F ).=

1

2m

m∑k=1

(yk − tr (F ∗AkF ))2 .

In the matrix completion/recovery setting,[Ge et al., 2016, Bhojanapalli et al., 2016] show that

• All local minimizers are global.• The function g(F ) is also a ridable saddle function.

Page 16: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Algorithmic possibilities

• Second-order trust-region method (described here,[Conn et al., 2000], [Nesterov and Polyak, 2006])

• Curvilinear search [Goldfarb, 1980]• Noisy/stochastic gradient descent [Ge et al., 2015]• ...

Page 17: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Second-order methods can escape ridable saddles

Taylor expansion at a saddle point x:

f(δ;x) = f(x) +1

2δ∗∇2f(x)δ.

Choosing δ = vneg, then

f(δ;x)− f(x) ≤ −1

2|λneg|∥vneg∥2.

Guaranteed decrease in f when movement is small such that theapproximation is reasonably good.

Page 18: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Trust-region method - Euclidean Space

Generate iterates x0,x1,x2, . . . by

• Forming a second order approximation of the objective f(x) about xk:

f(δ;xk) = f(xk) + ⟨∇f(xk), δ⟩+1

2δ∗Bkδ.

and minimizing the approximation within a small radius - the trust region

δ⋆ ∈ argmin∥δ∥≤∆

f(δ;xk) (Trust-region subproblem)

• Next iterate is xk+1 = xk + δ⋆.

Can choose Bk = ∇2f(x(k)) or an approximation.

Page 19: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

The trust-region subproblem

δ⋆ ∈ argmin∥δ∥≤∆

f(δ;xk) (Trust-region subproblem)

• QCQP, but can be solved in polynomial time by:Root finding [Moré and Sorensen, 1983]SDP relaxation [Rendl and Wolkowicz, 1997].

• In practice, only need an approximate solution (withcontrollable quality) to ensure convergence.

Page 20: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

Proof of convergence

• Strong gradient or negative curvature=⇒ at least a fixed reduction in f(x) at each iteration

• Strong convexity near a local minimizer=⇒ quadratic convergence ∥xk+1 − x⋆∥ ≤ c ∥xk − x⋆∥2.

Theorem (Very informal)For ridable-saddle functions, starting from an arbitrary initializa-tion, the iteration sequence with sufficiently small trust-region sizeconverges to a local minimizer in polynomial number of steps.

Worked out examples in [Sun et al., 2015, Sun et al., 2016];See also promise of 1-st order method [Ge et al., 2015, Lee et al., 2016].

Page 21: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

References I

[Bhojanapalli et al., 2016] Bhojanapalli, S., Neyshabur, B., and Srebro, N. (2016). Global optimality of localsearch for low rank matrix recovery. arXiv preprint arXiv:1605.07221.

[Candès et al., 2013a] Candès, E. J., Eldar, Y. C., Strohmer, T., and Voroninski, V. (2013a). Phase retrieval viamatrix completion. SIAM Journal on Imaging Sciences, 6(1).

[Candès and Li, 2014] Candès, E. J. and Li, X. (2014). Solving quadratic equations via phaselift when there areabout as many equations as unknowns. Foundations of Computational Mathematics, 14(5):1017–1026.

[Candès et al., 2015a] Candès, E. J., Li, X., and Soltanolkotabi, M. (2015a). Phase retrieval from codeddiffraction patterns. Applied and Computational Harmonic Analysis, 39(2):277–299.

[Candès et al., 2015b] Candès, E. J., Li, X., and Soltanolkotabi, M. (2015b). Phase retrieval via wirtinger flow:Theory and algorithms. Information Theory, IEEE Transactions on, 61(4):1985–2007.

[Candès et al., 2013b] Candès, E. J., Strohmer, T., and Voroninski, V. (2013b). Phaselift: Exact and stablesignal recovery from magnitude measurements via convex programming. Communications on Pure andApplied Mathematics, 66(8):1241–1274.

[Chen and Candès, 2015] Chen, Y. and Candès, E. J. (2015). Solving random quadratic systems of equations isnearly as easy as solving linear systems. arXiv preprint arXiv:1505.05114.

[Conn et al., 2000] Conn, A. R., Gould, N. I. M., and Toint, P. L. (2000). Trust-region Methods. Society forIndustrial and Applied Mathematics, Philadelphia, PA, USA.

[Ge et al., 2015] Ge, R., Huang, F., Jin, C., and Yuan, Y. (2015). Escaping from saddle points—online stochasticgradient for tensor decomposition. In Proceedings of The 28th Conference on Learning Theory, pages 797–842.

[Ge et al., 2016] Ge, R., Lee, J. D., and Ma, T. (2016). Matrix completion has no spurious local minimum. arXivpreprint arXiv:1605.07272.

[Goldfarb, 1980] Goldfarb, D. (1980). Curvilinear path steplength algorithms for minimization which usedirections of negative curvature. Mathematical programming, 18(1):31–40.

Page 22: A Geometric Analysis of Phase Retrieval - Qing Qu · Comparison with the literature • SDP relaxations and their analysis: [Candès et al., 2013a] SDP relaxation [Candès et al.,

References II

[Lee et al., 2016] Lee, J. D., Simchowitz, M., Jordan, M. I., and Recht, B. (2016). Gradient descent convergesto minimizers. arXiv preprint arXiv:1602.04915.

[Moré and Sorensen, 1983] Moré, J. J. and Sorensen, D. C. (1983). Computing a trust region step. SIAMJournal on Scientific and Statistical Computing, 4(3):553–572.

[Nesterov and Polyak, 2006] Nesterov, Y. and Polyak, B. T. (2006). Cubic regularization of newton method andits global performance. Mathematical Programming, 108(1):177–205.

[Netrapalli et al., 2013] Netrapalli, P., Jain, P., and Sanghavi, S. (2013). Phase retrieval using alternatingminimization. In Advances in Neural Information Processing Systems, pages 2796–2804.

[Rendl and Wolkowicz, 1997] Rendl, F. and Wolkowicz, H. (1997). A semidefinite framework for trust regionsubproblems with applications to large scale minimization. Mathematical Programming, 77(1):273–299.

[Shechtman et al., 2015] Shechtman, Y., Eldar, Y. C., Cohen, O., Chapman, H. N., Miao, J., and Segev, M.(2015). Phase retrieval with application to optical imaging: A contemporary overview. Signal ProcessingMagazine, IEEE, 32(3):87–109.

[Sun et al., 2015] Sun, J., Qu, Q., and Wright, J. (2015). Complete dictionary recovery over the sphere. arXivpreprint arXiv:1504.06785.

[Sun et al., 2016] Sun, J., Qu, Q., and Wright, J. (2016). A geometric analysis of phase retreival. arXiv preprintarXiv:1602.06664.

[Waldspurger et al., 2015] Waldspurger, I., dAspremont, A., and Mallat, S. (2015). Phase recovery, maxcut andcomplex semidefinite programming. Mathematical Programming, 149(1-2):47–81.

[White et al., 2015] White, C. D., Ward, R., and Sanghavi, S. (2015). The local convexity of solving quadraticequations. arXiv preprint arXiv:1506.07868.