Phase Retrieval via Polytope Optimization: Geometry, Phase Transitions, and New Algorithms

Oussama Dhifallah, Christos Thrampoulidis, Yue M. Lu

I Introduction

Among the most well-established methods are those based on semidefinite relaxation (e.g., ), which operate by lifting the original nn-dimensional natural parameter space to a higher dimensional matrix space. Despite the strong theoretical performance guarantees enjoyed by these convex-relaxation methods, the aforementioned lifting step significantly increases the computational complexity and memory requirement for the resulting algorithms. To address these challenges, recent work studies algorithms that directly solve the nonconvex formulations of the phase retrieval problem. Typically, such nonconvex methods follow a two-step approach, combining a careful initialization step with further local refinement such as iterative gradient descent .

Taking a different approach, two groups of authors independently proposed a simple yet highly effective scheme that is based on convex programming in the original nn-dimensional signal space. The resulting method, referred to as PhaseMax in , relaxes the nonconvex equality constraints in (1) to convex inequality constraints, and solves the following linear program:

I-B Contributions

In this paper, we present an exact performance analysis of the PhaseMax method in the high-dimensional (n→∞n\to\infty) limit. In particular, we show that a phase transition phenomenon takes place, with a simple analytical formula characterizing the phase transition boundary. Moreover, we extend the idea of PhaseMax by proposing a new nonconvex formulation of the phase retrieval problem and an accompanying iterative algorithm. We show that this new algorithm, which we call PhaseLamp, has provably superior recovery guarantees over the original PhaseMax method. In what follows, we highlight our main results with more technical details.

1. Exact performance analysis of PhaseMax. We quantify the performance of PhaseMax in terms of the normalized mean squared error (NMSE), defined as

The NMSE depends on two parameters: the oversampling ratio

and the quality of the initial guess xinit\boldsymbol{x}_{\text{init}}, measured via the input cosine similarity

Note that the parameter ρinit\rho_{\text{init}} quantifies the degree of alignment between the target vector ξ\boldsymbol{\xi} and the initial guess xinit\boldsymbol{x}_{\text{init}}.

As one of the main contributions of our work, we derive the following asymptotically exact characterization of PhaseMax, under the assumption that the sensing vectors are drawn from the normal distribution: as m,n→∞m,n\rightarrow\infty with their ratio α\alpha fixed,

and f(ρinit,α)f(\rho_{\text{init}},\alpha) is a positive function that can be explicitly determined by solving a one-dimensional deterministic fixed point equation (see Theorem 2). We note that the asymptotic characterization in (4) establishes an exact phase transition boundary on the minimum required number of measurements for PhaseMax to be successful: for any fixed sampling ratio α\alpha, there is a critical threshold ρc(α)\rho_{\text{c}}(\alpha) such that PhaseMax perfectly recovers ξ\boldsymbol{\xi} if and only if the input cosine similarity ρinit>ρc(α)\rho_{\text{init}}>\rho_{c}(\alpha).

Figure 1 illustrates our asymptotic characterization and compares it with results from numerical simulations. Specifically, the red curve in the figure shows the phase transition boundary ρc(α)\rho_{c}(\alpha), which can be seen to have excellent agreement with the actual performance of the algorithm. In , the authors show that PhaseMax is successful with high probability if

which is plotted as the blue curve in Figure 1. We can see that our theoretical prediction serves to tighten the sufficient condition given in (6).

2. Nonconvex formulation and new algorithms. The insights gained from the exact analysis of PhaseMax lead us to a new nonconvex formulation of the phase retrieval problem:

Note that (7) is indeed a nonconvex problem, as we aim to maximize a convex function over a convex domain. We propose an efficient iterative method, which we call PhaseLamp, to solve (7). The name comes from the fact that the algorithm is based on the idea of successive linearization and maximization over a polytope, where in each step we solve a PhaseMax problem with the initialization given by the estimate from the previous iteration.

We complement PhaseLamp with performance guarantees. Due to the iterative nature of PhaseLamp, the analysis here is more challenging than that of PhaseMax. By carefully characterizing the stationary points of (7), we prove that a sufficient condition for PhaseLamp to perfectly recover the target signal ξ\boldsymbol{\xi} (or, −ξ-\boldsymbol{\xi}) is

where ρs(α)\rho_{s}(\alpha) is determined explicitly by solving a one-dimensional deterministic equation (see (4) and Theorem 5.) Importantly, ρs(α)\rho_{s}(\alpha) is strictly smaller than ρc(α)\rho_{c}(\alpha) as defined in (5). Therefore, the proposed PhaseLamp method has (strictly) superior recovery performance over PhaseMax with respect to the minimum number of measurements needed to guarantee perfect solution of (1).

We illustrate this improvement in Figure 1, where it is shown that PhaseLamp has significantly better recovery performance, especially in the more challenging, and arguably the more practically relevant regime of small input cosine similarities ρinit\rho_{\text{init}}. Moreover, the numerical simulations shown at the same figure suggest that, although (8) is only a sufficient condition, it nevertheless provides a good estimate of the actual performance of the algorithm. Finally, as yet another variation on the theme of performing phase retrieval via polytope optimization, we propose in Section IV-C a weighted version of PhaseLamp. This new version is empirically shown to further outperform PhaseLamp.

Although our theoretical analysis is carried out for generic Gaussian measurements, the proposed PhaseLamp algorithm and its weighted version perform well under more realistic measurement models that arise in phase retrieval applications. In Figure 2, we compare the performance of PhaseLamp to PhaseMax and three other leading methods in the literature, where the measurement model corresponds to coded-diffraction patterns . In this experiment, PhaseLamp successfully recovers the underlying image and outperforms the other competing methods. More details about the setup of this experiment as well as additional numerical results can be found in Section V.

I-C Related Work

The performance of PhaseMax has been previously investigated in the literature. Existing analysis shows that PhaseMax can achieve exact signal recovery from a nearly optimal number of random linear measurements. Specifically, in the case where the sensing vectors are drawn from the Gaussian distribution, the required number of measurements for perfect reconstruction is shown to be linear with respect to the underlying dimension, i.e., m=c nm=c\,n, for some constant cc that depends on the quality of the initial guess xinit\boldsymbol{x}_{\text{init}}. The analysis in gives various upper bounds on the constant cc. In a more recent work , a subset of the authors of the current paper were able to pinpoint the exact value of cc, but the analysis in uses the nonrigorous replica method from statistical physics. Therefore, the precise nature of the results of our paper serves to(a) tighten up the previously known performance bounds of PhaseMax as given in ; and (b) rigorously verify the predictions based on the replica method given in . Moreover, our novel theoretical analysis builds upon an exact characterization of the geometry of the feasibility set of the PhaseMax problem in (2). This geometric insight plays a key role in both the formulation and the analysis of the improved PhaseLamp method proposed in this paper.

Our analysis builds upon the recently developed convex Gaussian min-max theorem (CGMT) , which involves a tight version of a classical Gaussian comparison inequality. The CGMT framework has been successfully applied to derive precise performance guarantees for structured signal recovery under (noisy) linear Gaussian measurements, e.g., . In , the CGMT is used to study signal recovery from a class of nonlinear measurements. However, this excludes magnitude-only or quadratic measurements that are relevant for the phase retrieval problem considered here.

This paper is a significantly extended version of our earlier conference paper , which announced our results with proof sketches. A limitation of our work is that we only consider the real-valued version of the phase retrieval problem. Very recently, our analysis techniques have been extended by the authors of to the complex-valued case. As another limitation, we assume that we have access to noiseless measurements as in (1). However, we believe that our technical approaches based on CGMT can be generalized to study the case of noisy measurements as well as robust versions of PhaseMax (see, e.g., ).

I-D Paper Outline

The rest of the paper is organized as follows. Central to our work is an exact characterization of the geometric properties of the feasibility polytope of the optimization in (2). Thus, we start by presenting in Section II a rigorous high dimensional analysis of this polytope. Section III focuses on PhaseMax, where we establish accurate performance guarantees for this method in the high-dimensional limit. The new nonconvex formulation (7) and the accompanying PhaseLamp algorithm are introduced in Section IV. We also provide sufficient conditions for PhaseLamp to achieve perfect recovery. Additional simulation results are shown in Section V, comparing PhaseLamp (and its weighted variation) with several other existing algorithms for the phase retrieval problem. Section VI collects the proofs and technical details of all the results introduced in the previous sections. We conclude the paper in Section VII.

I-E Technical Assumptions and Notation

The asymptotic predictions derived in this paper are based on the following assumptions.

The sensing vectors {ai}1≤i≤m\left\{\boldsymbol{a}_{i}\right\}_{1\leq i\leq m} are drawn independently from a Gaussian distribution with zero mean and covariance matrix In\boldsymbol{I}_{n}.

m=m(n)m=m(n) with αn=m(n)/n→α>0\alpha_{n}=m(n)/n\rightarrow\alpha>0 as n→∞n\rightarrow\infty, where α>1\alpha>1.

The initial guess xinit\boldsymbol{x}_{\text{init}} has a positive correlation with the target signal vector ξ\boldsymbol{\xi}, i.e., ξTxinit>0\boldsymbol{\xi}^{T}\boldsymbol{x}_{\text{init}}>0.

The assumption in (A.3) can be made without loss of generality, as both ξ\boldsymbol{\xi} and −ξ-\boldsymbol{\xi} are valid target signals. Similarly, the assumptions made in (A.4) only serve to simplify the notation but they are not restrictive either, thanks to the rotational invariance of the Gaussian distribution and since the optimization problem (2) is scale invariant.

For any set A\mathcal{A} in a finite-dimensional Euclidean space, we define its L2L_{2} norm as

II Polytope geometry

In this section, we study the geometry of the feasibility set of PhaseMax in (2), which is given as follows:

Under the assumption of Gaussian sensing vectors, Cfeas{\mathcal{C}}_{\rm feas} forms a high-dimensional random polytope. It is essential, both for the analysis of PhaseMax and also for motivating PhaseLamp, to understand the exact structure of the above polytope.

Before we delve into the details of our analysis, we provide a visualization of Cfeas{\mathcal{C}}_{\rm feas} via a simulation example, which aims to explain intuitively why PhaseMax is expected to succeed at recovering the unknown signal as the number of measurements increases. Specifically, Figure 3 shows a projection of the random polytope Cfeas{\mathcal{C}}_{\rm feas} as a function of the number of measurements mm.

Note that as the number mm of constraints increases, the feasibility set Cfeas{\mathcal{C}}_{\rm feas} looks more and more like a needle pointed towards the target signal vectors ξ\boldsymbol{\xi} and −ξ-\boldsymbol{\xi}. This observation suggests the existence of a phase transition behavior in the performance of PhaseMax method. In particular, the target signal vector ξ\boldsymbol{\xi} has the highest correlation with the initial guess vector xinit\boldsymbol{x}_{\text{init}} among all the feasible vectors as long as mm is sufficiently large (as a function of the correlation of xinit\boldsymbol{x}_{\text{init}} with ξ\boldsymbol{\xi}). Of course, if we hope to make this observation rigorous, we need to develop formal analytic results regarding the properties of the random high-dimensional set Cfeas{\mathcal{C}}_{\rm feas}. Despite the challenge of the task at hand, we show in the next sections that this is possible.

II-B The Sufficient Feasible Set

Note that what determines the error in a solution x\boldsymbol{x} of either (2) or (7) are the magnitudes of ∣x1−1∣|\boldsymbol{x}_{1}-1| and of ∥x~∥2\|\widetilde{\boldsymbol{x}}\|_{2}. This essentially simplifies our task to that of understanding the geometry of the two dimensional projection of Cfeas{\mathcal{C}}_{\rm feas}:

Assume that the oversampling ratio α>1\alpha>1. Define the deterministic set Dfeasϵ{\mathcal{D}}_{\rm feas}^{\epsilon} as follows

where ϵ>0\epsilon>0. Then, for all ϵ>0\epsilon>0 it holds that

The take away message of Theorem 1, whose proof is detailed in Appendix A-A, is that the random feasibility set Sfeas\mathcal{S}_{\text{feas}} is essentially a subset (with high-probability in the large system limit) of any ϵ\epsilon-perturbation of the following deterministic set

Hence, in order to understand the properties of Sfeas\mathcal{S}_{\text{feas}}, it is essential to study the properties of Dfeas{\mathcal{D}}_{\rm feas}.

We start with a visualization of Dfeas{\mathcal{D}}_{\rm feas} for different values of the oversampling ratio α\alpha in Figure 4. Observe that, for sufficiently large oversampling ratio α\alpha, Dfeas{\mathcal{D}}_{\rm feas} looks like a needle pointed towards the target signal vectors ξ\boldsymbol{\xi} and −ξ-\boldsymbol{\xi}. Recall, that this is consistent with the observations of Section II-A. Furthermore, note that Dfeas{\mathcal{D}}_{\rm feas} is always convex and bounded.

The following lemma, which is proved in Appendix B-A, formalizes these observations.

The deterministic set Dfeas{\mathcal{D}}_{\rm feas} satisfies the following properties:

For α≥2\alpha\geq 2 and s∈[−1, 1]s\in[-1,~{}1], the maximum radius rmax(s)r_{\text{max}}(s) of the set Dfeas{\mathcal{D}}_{\rm feas} satisfies cd(s,rmax(s))=rmax(s)/αc_{d}(s,r_{\text{max}}(s))=r_{\text{max}}(s)/\alpha. Moreover, for s=0s=0, rmax(0)>0r_{\text{max}}(0)>0.

For any α>1\alpha>1 and ϵ>0\epsilon>0, the set Dfeasϵ{\mathcal{D}}^{\epsilon}_{\rm feas} is compact. Moreover, it satisfies Dfeasϵ1⊆Dfeasϵ2\mathcal{D}_{\text{feas}}^{\epsilon_{1}}\subseteq\mathcal{D}_{\text{feas}}^{\epsilon_{2}} for any 0<ϵ1≤ϵ20<\epsilon_{1}\leq\epsilon_{2} and we have

II-C Sufficient Condition for PhaseMax

With Theorem 1 and Lemma 1 at hand, we have established an exact characterization of the high-dimensional geometry of the feasibility set of PhaseMax. Naturally, this leads to a sufficient condition under which its solution x^{\widehat{\boldsymbol{x}}} is the true unknown vector ξ\boldsymbol{\xi}.

All we need in addition to Theorem 1 is the following simple observation regarding x^\widehat{\boldsymbol{x}}, which follows directly by its optimality in the optimization problem in (2).

The optimal solution set of PhaseMax is a subset of the following deterministic set

Without loss of generality, we can assume (due to symmetry) that ρinit≥0\rho_{\text{init}}\geq 0. Let x^\widehat{\boldsymbol{x}} be an optimal solution of (2) and partition it as follows x^T=[s  x~]T.\widehat{\boldsymbol{x}}^{T}={[s~{}~{}{{\widetilde{\boldsymbol{x}}}}]}^{T}. From optimality it holds:

This implies that  ⁣∥η~∥2r≥η1−η1s\mathinner{\!\left\lVert\widetilde{\boldsymbol{\eta}}\right\rVert}_{2}r\geq\eta_{1}-\eta_{1}s with r= ⁣∥x~∥2r=\mathinner{\!\left\lVert{\widetilde{\boldsymbol{x}}}\right\rVert}_{2}. Recalling that

and rearranging terms, completes the proof of the lemma. ∎

With these at hand, we have shown that in the high dimensional limit the solution of PhaseMax belongs to the intersection of the sets Dfp(ρinit){\mathcal{D}}_{\text{fp}}(\rho_{\text{init}}) and Dfeas{\mathcal{D}}_{\rm feas}. Therefore, a natural sufficient condition for perfect recovery is that this intersection only contains the desired points ξ\boldsymbol{\xi} and −ξ-\boldsymbol{\xi}. Proposition 1 below formalizes this geometric condition and Figure 5 serves as a numerical illustration of it.

Note that in the high dimensional limit the solution of PhaseMax should belong to the intersection of the sets Dfp(ρinit){\mathcal{D}}_{\text{fp}}(\rho_{\text{init}}) and Dfeas{\mathcal{D}}_{\rm feas}. This fact leads us to a sufficient condition for perfect recovery of PhaseMax as stated in the following Proposition.

Selecting the input cosine similarity in this way guarantees that for any ϵ>0\epsilon>0 there exists δ>0\delta>0 such that

which means that for any k≥k0k\geq k_{0} and 0≤δ≤δ0/20\leq\delta\leq\delta_{0}/2, we have Dfeasϵk∩Dfp(ρinit)⊄Bδ\mathcal{D}_{\text{feas}}^{\epsilon_{k}}\cap{\mathcal{D}}_{\rm fp}(\rho_{\text{init}})\not\subset\mathcal{B}^{\delta}. Now, define the following set

III Precise Analysis of PhaseMax

In Section II-C we derived a sufficient condition for perfect recovery of PhaseMax. In this section, we establish a tight such result by further assuming that the initial guess vector xinit\boldsymbol{x}_{\text{init}} is independent of the sensing vectors {ai}1≤i≤m\left\{\boldsymbol{a}_{i}\right\}_{1\leq i\leq m} and the target signal ξ\boldsymbol{\xi}. In particular, we precisely characterize the minimum required number of measurements as a function of the input cosine similarity ρinit\rho_{\text{init}} so that PhaseMax finds the true vector ξ\boldsymbol{\xi}. Moreover, when this is not possible we precisely quantify the NMSE.

In order to state our results we need a few definitions. For any fixed cosine similarity ρinit\rho_{\text{init}} and fixed oversampling ratio α>2\alpha>2, define s∗s^{\ast} as follows:

where the function gαg_{\alpha} (parametrized by α\alpha) is given by

with cα=1/tan(π/α)c_{\alpha}=1/\text{tan}\left(\pi/\alpha\right) and

We are now ready to state the main result of this section. Its proof uses the recently developed CGMT framework and is deferred to Section VI-C.

Assume that xinit\boldsymbol{x}_{\text{init}} is independent of the sensing vectors {ai}1≤i≤m\left\{\boldsymbol{a}_{i}\right\}_{1\leq i\leq m} and of the target signal ξ\boldsymbol{\xi}. For any fixed input cosine similarity ρinit>0\rho_{\text{init}}>0 and any fixed oversampling ratio α>2\alpha>2, let s∗,r∗s^{\ast},r^{\ast} be defined as in (25) and (28), respectively. Then, the NMSE of the PhaseMax method converges in probability as follows:

Moreover, the optimal cost and the optimal solution x^\widehat{\boldsymbol{x}} of PhaseMax satisfy the following :

where x^=[s(x^)  x~(x^)T]T\widehat{\boldsymbol{x}}=[s(\widehat{\boldsymbol{x}})~{}~{}\widetilde{\boldsymbol{x}}(\widehat{\boldsymbol{x}})^{T}]^{T} and r(x^)= ⁣∥x~(x^)∥2r(\widehat{\boldsymbol{x}})=\mathinner{\!\left\lVert\widetilde{\boldsymbol{x}}(\widehat{\boldsymbol{x}})\right\rVert}_{2}.

Theorem 2 accurately predicts the NMSE of PhaseMax in the large system limit. The formulae involve solving the one-dimensional deterministic maximization problem in (25). In Section VI-C2 we show that this optimization is strictly concave, thus, s∗s^{\ast} is unique and can be efficiently determined by solving a fixed point equation.

Clearly, we can use the formula on the NMSE given by Theorem 2 to quantify necessary and sufficient conditions under which zero error is achieved. This is the content of the next theorem, which we prove in Section VI-C3.

Theorem 3 establishes a precise phase transition behavior on the performance of PhaseMax: for any fixed oversampling ratio α>2\alpha>2, there is a critical cosine similarity ρc(α)\rho_{c}(\alpha) such that the algorithm perfectly recovers the target signal vector ξ\boldsymbol{\xi} if and only if ρinit≥ρc(α)\rho_{\text{init}}\geq\rho_{c}(\alpha).

III-B Numerical Simulations

The numerical results presented in this section aim to verify the validity of Theorems 2 and 3. First, Figure 6 illustrates the NMSE of PhaseMax as a function of the input cosine similarity given in (3), for two different values of the oversampling ratio α\alpha. For the simulations, we solve the convex optimization problem (2) using the techniques introduced in and we set the signal dimension as n=1000n=1000. Note that the asymptotic prediction of Theorem 2 is in excellent agreement with the actual performance of the PhaseMax method in finite dimensions. Of course, the same holds true for the recovery condition of Theorem 3: the theoretical values ρinit(α=3)≈0.63\rho_{\text{init}}(\alpha=3)\approx 0.63 and ρinit(α=5)≈0.37\rho_{\text{init}}(\alpha=5)\approx 0.37 perfectly match with the simulation results Next, Figure 6 plots the NMSE of PhaseMax as a function of the oversampling ratio, for two different values of the input cosine similarity. Again, the figure highlights the sharpness of the results in Theorems 2 and 3.

IV Nonconvex Formulation and New Algorithms

In this section, we propose and study an improved algorithm over PhaseMax, which we call PhaseMax. The natural idea behind PhaseLamp is to solve a sequence of PhaseMax problems. Interestingly, we provide an interpretation of this algorithm as an iterative method for solving the non-convex phase-retrieval problem formulation in (7). This interpretation leads to strong performance guarantees for PhaseLamp in Section IV-B. Finally, in Section IV-C we propose yet one more recovery algorithm, which is also based on optimization over polytopes and which appears to outperform both PhaseMax and PhaseLamp in numerical simulations.

We begin our exposition by arguing in Proposition 2 that, given enough measurements, the solution to the system of quadratic equations in (1) can be found by solving the optimization problem in (7). The proof is in Appendix B-B.

Assume that α\alpha satisfies α>ππ−2\alpha>\frac{\pi}{\pi-2}. Then, the set of optimal solutions of the PhaseLamp problem (7) converges to the set {ξ,−ξ}\{\boldsymbol{\xi},-\boldsymbol{\xi}\} in the sense that sup⁡x^∈Slamp(min⁡{ ⁣∥x^−ξ∥2, ⁣∥x^+ξ∥2})\sup_{\widehat{\boldsymbol{x}}\in\mathcal{S}_{\text{lamp}}}(\min\{\mathinner{\!\left\lVert\widehat{\boldsymbol{x}}-\boldsymbol{\xi}\right\rVert}_{2},\mathinner{\!\left\lVert\widehat{\boldsymbol{x}}+\boldsymbol{\xi}\right\rVert}_{2}\}) converges to zero in probability, where Slamp\mathcal{S}_{\text{lamp}} denotes the set of optimal solutions of the PhaseLamp problem given in (7).

According to the proposition, if the number of measurements satisfies α>ππ−2≈2.752\alpha>\frac{\pi}{\pi-2}\approx 2.752, then one can hope of solving the phase-retrieval problem by finding the optimal solution of the optimization problem in (7). Unfortunately, (7) is clearly non-convex since it involves maximizing a convex function over a convex set.

In this section, we propose solving (7) by using a standard minorization-maximization (MM) approach as follows. Start by observing that because of convexity the cost function  ⁣∥x∥22\mathinner{\!\left\lVert\boldsymbol{x}\right\rVert}_{2}^{2} satisfies

Equivalently, the function mk\mathchar58x→xkTxk+2xkT(x−xk)m_{k}\mathrel{\mathop{\mathchar 58\relax}}\boldsymbol{x}\to\boldsymbol{x}_{k}^{T}\boldsymbol{x}_{k}+2\boldsymbol{x}_{k}^{T}\left(\boldsymbol{x}-\boldsymbol{x}_{k}\right) is a minorizer of the function m\mathchar58x→ ⁣∥x∥22m\mathrel{\mathop{\mathchar 58\relax}}\boldsymbol{x}\to\mathinner{\!\left\lVert\boldsymbol{x}\right\rVert}_{2}^{2}. Moreover, the function mkm_{k} satisfies mk(xk)=m(xk)m_{k}(\boldsymbol{x}_{k})=m(\boldsymbol{x}_{k}). Hence, it is natural to attempt solving (7), via the following iterative scheme

which is of course equivalent to the following:

However, due to the non-convexity of (7), PhaseLamp is not guaranteed in general to converge to the desired global optimal solution of (7). The main theoretical result of this section involves identifying sufficient conditions under which this is indeed the case. Before formalizing those in Section IV-B, it is instructive to consider the performance of PhaseLamp on two different problem instances as shown in Figure 7. Specifically, we present simulation results for the following two cases: (a) α=3\alpha=3 and ρinit=0.1\rho_{\text{init}}=0.1 (Figure 7), and (b) α=4\alpha=4 and ρinit=0.1\rho_{\text{init}}=0.1 (Figure 7). First, in both instances α>2.752\alpha>2.752; hence Proposition 2 guarantees that the optimal solutions of (7) coincide with the target vectors ξ\boldsymbol{\xi} or −ξ-\boldsymbol{\xi}. However, as mentioned PhaseLamp is not always guaranteed to find the optimal solutions of (7). For example, it fails to do so in Figure 7, but it succeeds in Figure 7. The sufficient conditions derived in the next section provide rigorous theoretical justifications to these observations.

IV-B Performance Guarantees for PhaseLamp

Clearly, PhaseLamp in the form of (34) can be naturally viewed as an iterative and bootstrapped version of the PhaseMax method (2) where at each iteration k≥1k\geq 1 , the optimal solution at the previous iteration is used as an (improved) initial guess for a new iteration of PhaseMax. In other words, the cosine similarity ρoutk\rho^{k}_{\text{out}} between the PhaseMax solution at iteration kk and the target signal vector ξ\boldsymbol{\xi} serves as the input cosine similarity ρinitk+1\rho^{k+1}_{\text{init}} at iteration k+1k+1. One may then imagine leveraging the analysis of PhaseMax in Section III to obtain similar sharp results for PhaseLamp. Unfortunately, more effort and several new arguments are required; the challenge becomes that, after the first iteration of PhaseLamp, the initial guess vector becomes dependent on the sensing vectors {ai,1≤i≤m}\{\boldsymbol{a}_{i},1\leq i\leq m\}.

In this section, we overcome these challenges, thus obtaining strong performance guarantees for PhaseLamp. Our arguments are geometric in nature, similar in nature (but somewhat more involved) to the proof of Proposition 1 in Section II-C.

On the one hand, the solution to each iteration of (34) is constrained to live in the feasibility set of PhaseMax. Thus, the same is true for the converging solution (cc. fixed point) of PhaseLamp. Combining this with Theorem 1, which obtains a sharp characterization of the high-dimensional geometry of this feasibility set (cc. its two dimensional projection), we conclude that the fixed points of PhaseLamp belong with probability approaching 1 as n→∞n\rightarrow\infty to the set Dfeasϵ{\mathcal{D}}_{\rm feas}^{\epsilon}, for any ϵ>0\epsilon>0.

On the other hand, any fixed point x^\widehat{\boldsymbol{x}} of PhaseLamp satisfies

From this and feasibility of the target vector ξ\boldsymbol{\xi}, it holds

Concluding, the fixed points of PhaseLamp belong to the following set

Overall, we have shown that in the limit of high-dimensions, the set of all possible fixed points of PhaseLamp belongs to the intersection of the two sets Dfeasϵ{\mathcal{D}}^{\epsilon}_{\rm feas} and Dopt{\mathcal{D}}_{\text{opt}}. The sets Dfeas{\mathcal{D}}_{\rm feas} and Dopt{\mathcal{D}}_{\text{opt}} are illustrated in Figure 8 for α=7.\alpha=7. Note that any ϵ\epsilon-perturbation of the shaded region union the points (1,0)(1,0) and (−1,0)(-1,0) (ie., the set Dfeasϵ∩Dopt{\mathcal{D}}^{\epsilon}_{\rm feas}\cap{\mathcal{D}}_{\text{opt}}, for any ϵ>0\epsilon>0) represents the set of possible fixed points of PhaseLamp. Clearly PhaseLamp is successful when it escapes the shaded region of “bad” stationary points. Hence, the question becomes: for given α\alpha, what values of initial correlation ρinit\rho_{\text{init}} guarantee escaping the bad region? We answer this in Section VI-D; we defer the details to that latter section and only present the final result below.

The theorem below provides an efficient sufficient condition for perfect recovery using PhaseLamp.

where θα∗\theta^{\ast}_{\alpha} is the unique solution in the interval (0,π/2)(0,\pi/2) of the following equation:

Note that the sufficient condition for PhaseMax and PhaseLamp given in (17) and (37), respectively, are valid for any initial guess vector xinit\boldsymbol{x}_{\text{init}}, which can depend on the sensing vectors {ai,1≤i≤m}\{\boldsymbol{a}_{i},1\leq i\leq m\} and the target signal ξ\boldsymbol{\xi}. It can be noticed that the PhaseLamp largely improves the performance of the PhaseMax method for dependent and independent initial guess vector xinit\boldsymbol{x}_{\text{init}}.

For a better interpretation of the theorem, we have depicted the sufficient recovery condition in Figure 9. In particular, the theorem guarantees that all pairs (α,ρinit)(\alpha,\rho_{\text{init}}) that are above the blue dashed curve lead to perfect recovery performance of PhaseLamp. In the same figure, we also depict in red dashed line the corresponding sufficient condition of PhaseMax from Proposition 1. Clearly, these results indicate that PhaseLamp outperforms PhaseMax in the sense that it achieves perfect recovery for a larger range of input parameters (α,ρinit)(\alpha,\rho_{\text{init}}).

IV-B2 Independent initialization

Similar to Section III, if the initial vector x0=xinit\boldsymbol{x}_{0}=\boldsymbol{x}_{\text{init}} is independent of the sensing vectors and of the target vector, then we can obtain sharper recovery guarantees as shown in the proposition below. For the statement of the proposition it is convenient to first define the following:

where cα=1/tan(π/α)c_{\alpha}=1/\text{tan}\left(\pi/\alpha\right), and

where gα(⋅)g_{\alpha}(\cdot) is the function defined in (26).

The sufficient condition of the theorem is depicted in blue solid line in Figure 9. Observe that it is a ”stronger” condition than that of Theorem 4 when the initialization vector is independent of the sensing vectors and of the true signal. Also, observe by comparison with the red solid line, which represents the result of Theorem 3, that PhaseLamp outperforms Phasemax. In fact, this statement is provable since the condition of Theorem 3 is not only sufficient, but also necessary.

Finally, despite the condition of Theorem 5 being only a sufficient one, the simulation results in Figure 1 suggest that it still provides a reasonably tight bound on the actual performance of PhaseLamp.

IV-C Weighted PhaseLamp

The Weighted PhaseLamp (WPhaseLamp) method is an alternative nonconvex formulation of the phase retrieval problem. Specifically, it consists of formulating the phase retrieval problem as a quadratic program

and ω(⋅)\omega(\cdot) is a preprocessing function. Note that the cost function of the optimization problem (41) is a weighted version of the PhaseLamp problem formulated in (7) where the weights depend on the sensing vectors {ai,0≤i≤m}\{\boldsymbol{a}_{i},0\leq i\leq m\} and the target signal vector ξ\boldsymbol{\xi}. It can also be noticed that the problem given in (41) is the spectral initialization problem where only the unit norm constraint is replaced by the linear PhaseMax constraints.

In general, the preprocessing function ω(⋅)\omega(\cdot) can have negative output values . Hence, the matrix Dm\boldsymbol{D}_{m} is indefinite in general. This means that the cost function of the problem (41) is not convex or concave in general. Write the matrix Dm\boldsymbol{D}_{m} as follows

where Dm(1)\boldsymbol{D}_{m}^{(1)} is constructed using the negative eigenvalues of Dm\boldsymbol{D}_{m} and Dm(2)\boldsymbol{D}_{m}^{(2)} is constructed using the negatives of the positive eigenvalues of Dm\boldsymbol{D}_{m}. This means that the cost function of the Weighted PhaseLamp problem (41) can be expressed as a difference of concave functions. Therefore, one can use the convex-concave procedure to efficiently solve the Weighted PhaseLamp problem (41). Specifically, the proposed Weighted PhaseLamp algorithm consists of the following iterative scheme

The analysis of the Weighted PhaseLamp method is left for future work. Next, we provide a simulation example to compare the recovery performance of the Weighted PhaseLamp, the PhaseLamp and the PhaseMax methods. To this end, we set the signal dimension to n=200n=200 and we initialize the algorithms randomly. Figure 10 plots the NMSE as a function of the oversampling ratio α\alpha. It can be noticed that the Weighted PhaseLamp method provides a better recovery performance as compared to the PhaseLamp method and the PhaseMax method for the considered preprocessing functions. Note that the critical oversampling ratio αc\alpha_{c} needed by the Weighted PhaseLamp method for ω\mathchar58y→y2\omega\mathrel{\mathop{\mathchar 58\relax}}y\to y^{2} is around αc≈3\alpha_{c}\approx 3. Whereas, it is around αc≈4\alpha_{c}\approx 4 for the PhaseLamp method. Additionally note that the optimal preprocessing function introduced in outperforms the preprocessing function ω\mathchar58y→y2\omega\mathrel{\mathop{\mathchar 58\relax}}y\to y^{2}.

V Additional Numerical Results

In this section, we present additional simulation results and we compare the performance of polytope-optimization based methods (i.e, PhaseMax, PhaseLamp, WPhaseLamp) to other existing recovery methods in the literature; in particular, Fienup , Wirtinger Flow (WF) , Truncated amplitude flow (TAF) , PhaseLift . All algorithms are initialized using the optimal spectral initialization proposed in and the optimization problems are solved using the PhasePack . In our simulations we consider the following two cases on the measurement vectors: (1) random complex Gaussian measurements, and (2) coded diffraction patterns.

First, we consider sensing vectors that follow a circularly symmetric normal distribution, i.e., ai∼CN(0,In),1≤i≤m\boldsymbol{a}_{i}\sim\mathcal{CN}(0,{\boldsymbol{I}_{n}}),1\leq i\leq m. In Figure 11, we plot the NMSE values (average over independent problem realizations) as a function of the oversampling ratio α\alpha. Observe that WPhaseLamp appears to outperform the rest of the recovery methods. Also, note that PhaseLamp behaves worse than the PhaseMax for small values of α\alpha (cf. gets stuck in the bad regime of fixed points discussed in Section IV-B), but it achieves perfect recovery earlier than the latter.

V-B Fourier Measurements

Next, we consider a type of measurements that falls under the category of coded diffraction patterns, where the measurement vectors ai\boldsymbol{a}_{i}’s are the pointwise products between the kthk^{th} Fourier vector fk\boldsymbol{f}_{k} and a random modulation pattern with i.i.d. symmetric Bernoulli entries ϕl\boldsymbol{\phi}_{l}, where i=(k,l)i=(k,l) and 1≤k≤n1\leq k\leq n, 1≤l≤α1\leq l\leq\alpha. The simulation results are presented in Figure 12. Note that the PhaseLamp and the WPhaseLamp methods provide similar recovery performance. Moreover, their performance is superior to the rest of the algorithms for α≥3\alpha\geq 3.

VI Technical Details: Gaussian Min-Max Inequalities

The Gordon’s Gaussian comparison inequality compares the min-max value of two doubly indexed Gaussian processes based on how their autocorrelation functions compare. The inequality is quite general (see ), but for our purposes we only need its application to the following two Gaussian processes:

Put in words: a high-probability lower bound on the AO is a high-probability lower bound on the PO. The premise is that it is often much simpler to lower bound the AO rather than the PO.

VI-A2 Convex Gaussian Min-Max Theorem (CGMT)

In words, concentration of the optimal cost of the AO problem around μ\mu implies concentration of the optimal cost of the corresponding PO problem around the same value μ\mu.

VI-B High-dimensional Analysis

We apply the CGMT and the GMT to characterize the asymptotic NMSE of the PhaseMax optimization in (2) as in (29) and (32) and to prove Theorem 1, respectively. To show Theorem 1, we study the asymptotic behavior of the following optimization problem

where the function cdc_{d} is defined in (10) and its closed-form expression is given in (62) and where Sfeas{\mathcal{S}}_{\rm feas} is a random set defined in Section II-B.

To achieve the above goals, we start by writing the optimization problems (2), (7) and (49) in the form of a PO as in (46a), which in turn leads to a corresponding AO optimization problem. Then, we analyze the AO problem. First, define the following general optimization problem

where pp and Gx\mathcal{G}_{\boldsymbol{x}} are a general cost function and a general feasibility set, respectively. In this section, we are interested in the analysis of the following three cases:

In this section, we assume that α>2\alpha>2. Next, the objective is to precisely analyze the problem (50) in the large system limit when C1{\bf C}_{1} holds using the CGMT framework. Moreover, the objective is to provide a high-probability lower bound on the problem (50) when C2{\bf C}_{2} or C3{\bf C}_{3} holds using the GMT framework. Specifically, we show that the conditions of the CGMT (when C1{\bf C}_{1} holds) and GMT (when C2{\bf C}_{2}/C3{\bf C}_{3} holds) are satisfied. Then, we formulate, simplify and analyze the corresponding AO.

VI-B2 Formulating the PO

Note that the GMT and CGMT assume that the feasibility sets are compact. We start our theoretical analysis by showing that the compactness assumption is guaranteed.

Assume that α>2\alpha>2 and Kn\mathcal{K}_{n} is the feasibility set of the PhaseMax problem formulated in (2). Then, there exists τ>0\tau>0 such that

where τ\tau is a finite constant independent of nn.

The proof of Lemma 3 is deferred to appendix A-E. Based on Lemma 3, the optimization problem given in (50) is equivalent to the following problem with probability going to one as nn goes to ∞\infty

where λn\lambda_{n} is deterministic, finite and dependent on nn. Moreover, assume that Vn\mathcal{V}_{n} denotes the set of optimal solutions of the problem (51) and Vn(λn)\mathcal{V}_{n}(\lambda_{n}) denotes the set of optimal solutions of the minimization problem in (52).

If C2{\bf C}_{2} or C3{\bf C}_{3} holds, we have Vn(λn)≤VnV_{n}(\lambda_{n})\leq V_{n}.

The proof of the above proposition is deferred to Appendix A-B. Proposition 3 shows that under condition C1{\bf C}_{1}, the precise high-dimensional analysis of the optimization problem (50) can be achieved by analyzing the problem (52). Moreover, it shows that under conditions C2{\bf C}_{2} or C3{\bf C}_{3}, deriving a high-probability lower bound on (52) leads to a high-probability lower bound on (51). Note that the above proposition also guarantees the compactness assumption of the GMT and CGMT.

Based on Proposition 3, we proceed with analyzing the optimization problem (52). Note that the set Sx\mathcal{S}_{\boldsymbol{x}} can be rewritten as follows

Further, note that the constraint sets are convex compact and ψ\psi is convex-concave on Sx×Su(n)\mathcal{S}_{\boldsymbol{x}}\times\mathcal{S}_{\boldsymbol{u}}(n) if C1{\bf C}_{1} holds, i.e. p(x1,x~)=−η1x1−η~Tx~p({x}_{1},\widetilde{\boldsymbol{x}})=-\eta_{1}x_{1}-\widetilde{\boldsymbol{\eta}}^{T}\widetilde{\boldsymbol{x}}, where x=[x1 x~T]T\boldsymbol{x}=[x_{1}~{}\widetilde{\boldsymbol{x}}^{T}]^{T}.

VI-B3 Formulating and simplifying the AO

We are now ready to formulate the corresponding AO problem as follows

Moreover, define the following optimization problem

where p(s,r)=−s2−r2p(s,r)=-s^{2}-r^{2} if C2{\bf C}_{2} holds and p(s,r)=r2−αcd(s,r)p(s,r)=r^{2}-\alpha c_{d}(s,r) if C3{\bf C}_{3} holds. In addition, assume that Zn{Z}_{n} is the optimal objective and Zn\mathcal{Z}_{n} is the projected set of optimal solutions of the minimization problem in (VI-B3), i.e.

where Sn{\mathcal{S}}_{n} is the set of optimal solutions of the minimization problem in (VI-B3). Also, assume that Z~1,n\widetilde{Z}_{1,n} Z~2,n\widetilde{Z}_{2,n} are the optimal objectives and Z~1,n\mathcal{\widetilde{Z}}_{1,n} and Z~2,n\mathcal{\widetilde{Z}}_{2,n} are the sets of optimal (s,r)(s,r) of the problems (VI-B3) and (60), respectively.

The proof of the above proposition is deferred to Appendix A-C. It essentially shows that under condition C1{\bf C}_{1}, it suffices to precisely analyze the optimization problem (VI-B3) in the large system limit to determine the properties of the problem (VI-B3). Moreover, it shows that under conditions C2{\bf C}_{2} or C3{\bf C}_{3}, deriving a high-probability lower bound on (60) leads to a high-probability lower bound on (VI-B3).

Now that we have simplified the AO to a minimization problem as in (VI-B3) and (60), we are ready to study its asymptotic behavior in the regime m,n→∞,m/n→αm,n\rightarrow\infty,m/n\rightarrow\alpha.

VI-C CGMT for the PhaseMax Method

In this part, we focus on the PhaseMax problem which means that we assume that the cost function pp is given by p(x)=−η1x1−η~Tx~p({\boldsymbol{x}})=-\eta_{1}x_{1}-\widetilde{\boldsymbol{\eta}}^{T}\widetilde{\boldsymbol{x}}, where x=[x1 x~T]T\boldsymbol{x}=[x_{1}~{}\widetilde{\boldsymbol{x}}^{T}]^{T}.

Note that Section VI-B shows that the precise high-dimensional analysis of the problem (VI-B3) can be achieved by precisely analyzing the problem (VI-B3). Hence, the main objective of this part is to study the asymptotic properties of the optimization problem (VI-B3). To this end, define the following deterministic optimization problem

where the function cdc_{d} is defined in (10) and its closed-form expression is given by

and where the function Υ\Upsilon can be expressed as follows

The following proposition studies the asymptotic properties of the optimization problem (VI-B3) in detail. The proof of the proposition is provided in Appendix A-D.

Assume that the oversampling ratio satisfies α>2\alpha>2. Let Vn∗\mathcal{V}^{\ast}_{n} and Vn∗V^{\ast}_{n} be the set of optimal solutions and the optimal objective value of the problem (VI-B3) and let V∗\mathcal{V}^{\ast} and V∗V^{\ast} be the set of optimal solutions and the optimal objective value of the deterministic problem formulated in (61). Then, we have

The above proposition shows that the set of optimal solutions and the optimal objective value of the problem (VI-B3) concentrate around the set of optimal solutions and the optimal objective value of the deterministic problem (61).

VI-C2 Solving the scalar performance optimization

In what follows, we focus on simplifying the deterministic problem (61). The following lemma, which is proved in Appendix B-C, simplifies the deterministic optimization problem (61).

The optimization problem (61) admits a unique solution in the variable zz which is given by

Additionally, it is equivalent to the two-dimensional problem

We call the deterministic two-dimensional optimization problem in (65) as the scalar performance optimization (SPO).Recall that the SPO in (65) is the converging limit of the problem in (VI-B3). In what follows, we solve the SPO problem for the optimal ss and rr. The following lemma, which is proved in Appendix B-D, further simplifies the optimization problem (65) by showing that it has a unique optimal rr for any feasible variable ss.

Fix ss such that  ⁣∣s∣≤1\mathinner{\!\left\lvert s\right\rvert}\leq 1 and α>2\alpha>2. Then, the following optimization problem

admits a unique global optimal solution given by

Based on P.2 in Lemma 1, the set Dfeas\mathcal{D}_{\text{feas}} is compact. Hence, we can always find a large enough constant B~>0\widetilde{B}>0 such that s2+rα(s)2<B~s^{2}+r_{\alpha}(s)^{2}<\widetilde{B}, for all ss such that  ⁣∣s∣≤1\mathinner{\!\left\lvert s\right\rvert}\leq 1. Therefore, choosing BB in (65) such that B=B~B=\widetilde{B} guarantees that the optimal value of rr in (65) is given by (67). Substituting this value back in (65) and using P.2 in Lemma 1, we can now optimize over ss by solving the following:

where gα(s)=(rα(s))2−α cd(rα(s),s)g_{\alpha}(s)=(r_{\alpha}(s))^{2}-\alpha~{}c_{d}(r_{\alpha}(s),s). A few algebraic manipulations show that the function gαg_{\alpha} is as given in (26) and show that (68) is equivalent to (25) in the statement of Theorem 2. To show the equivalence, further note that η1\eta_{1} and η~\widetilde{\boldsymbol{\eta}} in (68) are related to the input cosine similarity ρinit\rho_{\text{init}}, defined in (3), as follows (recall: ξ=e1\boldsymbol{\xi}=\boldsymbol{e}_{1}.),

Finally, note that the optimization in (68) is a strictly concave program as shown in the following lemma.

For any fixed α>2\alpha>2, the optimization problem formulated in (68) is strictly concave.

The proof of the above lemma is detailed in Appendix B-E. Based on Lemmas 4, 5 and 6, the deterministic optimization problem (61) has a unique global optimal solution. Based Propositions 4 and 5, the optimal objective value and the projected set of optimal solutions of the AO problem (VI-B3) concentrate around the optimal objective value and the set of optimal (s,r)(s,r) of the deterministic problem (61). Again, given the uniqueness of the solution of the problem (61), based on the proof of Proposition 5 and using the CGMT, the optimal objective value and the projected set of optimal solutions of the PO problem (52) concentrate around the optimal objective value and the set of optimal (s,r)(s,r) of the deterministic problem (61). Now, using the result stated in Proposition 3, the optimal objective value and the projected set of optimal solutions of PhaseMax (2) concentrate around the optimal objective value and the set of optimal (s,r)(s,r) of the deterministic problem (61).

Therefore, the optimal objective value of the PhaseMax problem (2) converges in probability to the optimal objective value of the problem (68), i.e,

Moreover, any optimal solution x^\widehat{\boldsymbol{x}} of the PhaseMax problem (2) satisfies the following

where s∗s^{\ast} is the solution of the problem (68), rα(s)r_{\alpha}(s) is given in (67), r(x^)= ⁣∥x~(x^)∥2r(\widehat{\boldsymbol{x}})=\mathinner{\!\left\lVert\widetilde{\boldsymbol{x}}(\widehat{\boldsymbol{x}})\right\rVert}_{2}, and x^=[s(x^)  x~(x^)T]T\widehat{\boldsymbol{x}}=[s(\widehat{\boldsymbol{x}})~{}~{}\widetilde{\boldsymbol{x}}(\widehat{\boldsymbol{x}})^{T}]^{T}. Note that the above convergence results are valid for α>2\alpha>2. This then gives us the statement of Theorem 2.

VI-C3 Phase transition calculations

In this section, we compute the phase transition boundary of the PhaseMax method. Our goal is to find necessary and sufficient conditions under which the solution ^x\widehat{}\boldsymbol{x} of PhaseMax is, with high probability, equal to ξ=e1\boldsymbol{\xi}=\boldsymbol{e}_{1}. Mapping this to the SPO in (65), we seek conditions under which s∗=1s^{\ast}=1 and r∗=0r^{\ast}=0.

Assume that α>2\alpha>2. From the strict concavity result in Lemma 6, perfect recovery happens if and only if the derivative of the cost function of the optimization problem (25) at s=1s=1 is nonnegative. By performing a Taylor expansion of the function s→(rα(s))2−α cd(rα(s),s)s\to\sqrt{(r_{\alpha}(s))^{2}-\alpha~{}c_{d}(r_{\alpha}(s),s)} at s=1s=1, the derivative of the cost function of the optimization problem (68) at s=1s=1 can be expressed as follows

Hence, the necessary and sufficient condition for perfect recovery of the PhaseMax method is given by

for α>2\alpha>2. Equivalently, the oversampling ratio α\alpha and the input cosine similarity given in (3) must satisfy the condition given in (32). This then gives us the statement of Theorem 3.

VI-D Sufficient Condition for PhaseLamp

In this subsection, we focus on the PhaseLamp problem. We prove the sufficient conditions for perfect recovery of PhaseLamp stated in Theorems 4 and 5. To this end, fix the oversampling ratio α\alpha such that α>2\alpha>2.

Note that the fixed points of the PhaseLamp algorithm are elements of the following deterministic set

The following lemma, which is proved in Appendix B-F, analyzes the system given in (73).

The system given in (73) has a unique solution. Moreover, bd(Dopt)⊄Dfeas\text{bd}(\mathcal{D}_{\text{opt}})\not\subset\mathcal{D}_{\text{feas}} .

Note that the point (0,0)(0,0) is in the set bd(Dfeas)\text{bd}(\mathcal{D}_{\text{feas}}) and it is also in the set bd(Dopt)\text{bd}(\mathcal{D}_{\text{opt}}). Moreover, observe that the target signal vector (1,0)(1,0) is in bd(Dfeas)\text{bd}(\mathcal{D}_{\text{feas}}) and bd(Dopt)\text{bd}(\mathcal{D}_{\text{opt}}). Based on Lemma 7, the intersection between bd(Dfeas)\text{bd}({\mathcal{D}}_{\text{feas}}) and bd(Dopt)\text{bd}({\mathcal{D}}_{\text{opt}}) is {(0,0),(s^,r^),(1,0)}\{(0,0),(\widehat{s},\widehat{r}),(1,0)\} where (s^,r^)(\widehat{s},\widehat{r}) is the unique solution of the system in (73). Given that the solutions of (73) satisfies r2+s2=sr^{2}+s^{2}=s and s∈(0, 1)s\in(0,~{}1), we have s^∈(0, 1)\widehat{s}\in(0,~{}1) and r^>0\widehat{r}>0. Also, Lemma 1 shows that the maximum radius of Dfeas\mathcal{D}_{\text{feas}} is strictly positive for s=0s=0. Hence, Lemma 7 essentially shows that all the points (s,r)(s,r) satisfying s^<s<1\widehat{s}<s<1 are not elements of the following set Dfeas∩Dopt\mathcal{D}_{\text{feas}}\cap\mathcal{D}_{\text{opt}}.

Assuming that s=sin⁡(θ)2s=\sin(\theta)^{2} where θ∈(0,π/2)\theta\in(0,\pi/2), the system in (73) can be rewritten as follows

Based on Lemma 7, equation (VI-D1) has a unique solution in (0, π/2)(0,~{}\pi/2). Denote this solution by θα∗\theta_{\alpha}^{\ast}.

VI-D2 PhaseMax properties

The PhaseLamp method solves a PhaseMax problem as given in (34) at iteration k+1k+1. Given that the target signal vectors ξ\boldsymbol{\xi} and −ξ-\boldsymbol{\xi} are feasible for the problem (34), the optimal solution xk+1{\boldsymbol{x}}_{k+1} at iteration k+1k+1 satisfies the following inequality

where we express xkT=[η1k  η~kT]{\boldsymbol{x}}_{k}^{T}=[\eta_{1k}~{}~{}{\widetilde{\boldsymbol{\eta}}_{k}}^{T}] and xk+1T=[s  x~k+1T]{\boldsymbol{x}}_{k+1}^{T}={[s~{}~{}{{\widetilde{\boldsymbol{x}}}_{k+1}}^{T}]}. Given that the vectors ξ\boldsymbol{\xi} and −ξ-\boldsymbol{\xi} are both valid targets, one can assume without loss of generality that η1k≥0\eta_{1k}\geq 0, for all k≥0k\geq 0. Based on the Cauchy Schwarz inequality, (75) can be rewritten as follows

where r= ⁣∥x~k+1∥2r=\mathinner{\!\left\lVert{{\widetilde{\boldsymbol{x}}}_{k+1}}\right\rVert}_{2}. Now, define the input cosine similarity ρinitk\rho_{\text{init}}^{k} at iteration k+1k+1 as follows

where x0=xinit\boldsymbol{x}_{0}=\boldsymbol{x}_{\text{init}} denotes the initial guess of PhaseMax and ρinit0\rho_{\text{init}}^{0} is the input cosine similarity of PhaseMax, i.e. ρinit0=ρinit\rho_{\text{init}}^{0}=\rho_{\text{init}}. Note that the following equality holds for any k≥0k\geq 0 (recall: ξ=e1\boldsymbol{\xi}=\boldsymbol{e}_{1}.)

Hence, any optimal solution of PhaseLamp at iteration k+1k+1 satisfies the following inequality r≥χk(1−s)r\geq\chi_{k}(1-s). This implies that any optimal solution of PhaseLamp at iteration k+1k+1 belongs to the following set

Now, we provide another property which guarantees that PhaseLamp escapes the bad set of stationary points and converge to the target signal vector. To this end, fix the iteration index k≥0k\geq 0. Based on P.3 in Lemma 1, the intersection between the boundary of the set Dfeas{\mathcal{D}}_{\rm feas} and the boundary of the set Dfp(ρinitk){\mathcal{D}}_{\text{fp}}(\rho_{\text{init}}^{k}) for s∈(0,1)s\in(0,1) and r>0r>0 satisfies

where χk\chi_{k} is defined in (76) and it satisfies χk≥0\chi_{k}\geq 0. Note that if χk=0\chi_{k}=0, the boundary of the set Dfp(ρinitk){\mathcal{D}}_{\text{fp}}(\rho_{\text{init}}^{k}) is the set of (s,r)(s,r) such that r=0r=0. Therefore the system given in (77) has no solutions. The following lemma, which is proved in Appendix B-G, analyzes the system given in (77) in further details.

The system given in (77) has at most one solution. When (77) has a solution, the intersection between the set bd(Dfp(ρinitk))\text{bd}({\mathcal{D}}_{\text{fp}}(\rho_{\text{init}}^{k})) and the line s=0s=0 is not in the set Dfeas{\mathcal{D}}_{\rm feas}.

VI-D3 Sufficient condition for general initialization

Now, define ρ^s(α)\widehat{\rho}_{s}(\alpha) such that

Given that θα∗∈(0 π/2)\theta_{\alpha}^{\ast}\in(0~{}\pi/2), we have 0<ρ^s(α)<10<\widehat{\rho}_{s}(\alpha)<1. The following lemma shows that selecting the input cosine similarity of PhaseMax such that it is higher than ρ^s(α)\widehat{\rho}_{s}(\alpha) guarantees that all the input cosine similarities of the PhaseLamp procedure are higher than ρ^s(α)\widehat{\rho}_{s}(\alpha).

Select the input cosine similarity of PhaseMax ρinit\rho_{\text{init}} such that ρinit>ρ^s(α)\rho_{\text{init}}>\widehat{\rho}_{s}(\alpha). Then, the input cosine similarity ρinitk\rho_{\text{init}}^{k} at iteration k+1k+1 of PhaseLamp satisfy the following

The proof of the above lemma is deferred to Appendix B-H. Based on Lemma 9, we obtain ρinitk>ρ^s(α)\rho_{\text{init}}^{k}>\widehat{\rho}_{s}(\alpha) for any k≥0k\geq 0. Therefore, we conclude that 0≤s≤s^0\leq s\leq\widehat{s} are not elements of the set Dfeas∩Dopt∩Dfp(ρinitk)\mathcal{D}_{\text{feas}}\cap\mathcal{D}_{\text{opt}}\cap{\mathcal{D}}_{\text{fp}}(\rho_{\text{init}}^{k}). Now, based on Lemma 7, all the points (s,r)(s,r) satisfying s^<s<1\widehat{s}<s<1 are not elements of the set Dfeas∩Dopt\mathcal{D}_{\text{feas}}\cap\mathcal{D}_{\text{opt}}. Based on P.2 in Lemma 1, we conclude that selecting the input cosine similarity of PhaseMax ρinit\rho_{\text{init}} in this way guarantees that

VI-D4 Sufficient condition for independent initialization

Note that the sufficient condition ρinit>ρ^s(α)\rho_{\text{init}}>\widehat{\rho}_{s}(\alpha) is valid for any initial guess vectors xinit\boldsymbol{x}_{\text{init}}, which can dependent on the sensing vectors {ai\mathchar581≤i≤m}\{\boldsymbol{a}_{i}\mathrel{\mathop{\mathchar 58\relax}}1\leq i\leq m\} and the target signal vector ξ\boldsymbol{\xi}. Next, we focus on the case when the initial guess vector xinit\boldsymbol{x}_{\text{init}} is independent of the sensing vectors {ai\mathchar581≤i≤m}\{\boldsymbol{a}_{i}\mathrel{\mathop{\mathchar 58\relax}}1\leq i\leq m\} and the target signal vector ξ\boldsymbol{\xi}. To improve the above condition, we further exploit the properties of the problem (34) and PhaseMax (2) as given in the following property.

Property: The optimization problem (34) is scale invariant for any k≥0k\geq 0. Based on Theorem 2, the optimal solution x^\widehat{\boldsymbol{x}} of PhaseMax satisfies the following

with s∈[0, 1]s\in[0,~{}1], cα=1/tan(π/α)c_{\alpha}=1/\text{tan}\left(\pi/\alpha\right), x^=[s(x^)  x~(x^)T]T\widehat{\boldsymbol{x}}=[s(\widehat{\boldsymbol{x}})~{}~{}\widetilde{\boldsymbol{x}}(\widehat{\boldsymbol{x}})^{T}]^{T} and r(x^)= ⁣∥x~(x^)∥2r(\widehat{\boldsymbol{x}})=\mathinner{\!\left\lVert\widetilde{\boldsymbol{x}}(\widehat{\boldsymbol{x}})\right\rVert}_{2}. Based on Section VI-C, we know that rα(s)r_{\alpha}(s) is the unique solution to the optimization problem (66), for any s∈[0, 1]s\in[0,~{}1]. This means that ∀ s∈[0, 1]\forall~{}s\in[0,~{}1], (s,rα(s))∈Dfeas(s,r_{\alpha}(s))\in\mathcal{D}_{\text{feas}}.

The above property shows that it suffices to select ρinit>ρs(α)\rho_{\text{init}}>\rho_{s}(\alpha) to guarantee (81), where ρs(α)\rho_{s}(\alpha) is determined such that the optimal solution of the following optimization problem

is s^α\widehat{s}_{\alpha} the unique solution of the following system of equations

where the function gαg_{\alpha} is defined in (26).

Figure 13 illustrates the above sufficient condition for α=5\alpha=5. Note that due to the scale invariance of the optimization problem (34), it is sufficient to select ρs(α)\rho_{s}(\alpha) such that the solution of the PhaseMax problem in the large system limit is determined by the intersection between the equations rα(s)=cα2+1−s2−cαr_{\alpha}(s)=\sqrt{c_{\alpha}^{2}+1-s^{2}}-c_{\alpha} (cyan curve) and r=1−ρ^s(α)2/ρ^s(α) sr={\sqrt{1-\widehat{\rho}_{s}(\alpha)^{2}}/\widehat{\rho}_{s}(\alpha)}~{}s (magenta curve).

Note that the unique solution s^α\widehat{s}_{\alpha} of (84) can be expressed as follows

where aα=1−ρ^s(α)2ρ^s(α)a_{\alpha}=\frac{\sqrt{1-\widehat{\rho}_{s}(\alpha)^{2}}}{\widehat{\rho}_{s}(\alpha)}. Given that ρ^s(α)\widehat{\rho}_{s}(\alpha) is selected such that (78) is satisfied, we have ρ^s(α)2=sin⁡(θα∗)2\widehat{\rho}_{s}(\alpha)^{2}=\sin(\theta_{\alpha}^{\ast})^{2} where θα∗\theta_{\alpha}^{\ast} is the unique solution of (VI-D1). This means that aα=tan⁡(θα∗)−1a_{\alpha}=\tan(\theta_{\alpha}^{\ast})^{-1} and s^α\widehat{s}_{\alpha} can be rewritten as follows

To ensure that s^α\widehat{s}_{\alpha} is the optimal solution of the optimization problem (83), the first derivative of the cost function of the problem (83) should be zero at s^α\widehat{s}_{\alpha}. Note that the first derivative of the cost function of problem (83) can be expressed as

This means that the sufficient input cosine similarity ρs(α)\rho_{s}(\alpha) satisfies the following

VI-D5 Convergence analysis

Now, assume that the input cosine similarity satisfies ρinit>ρ^s(α)\rho_{\text{init}}>\widehat{\rho}_{s}(\alpha) for general initial guess and it satisfies ρinit>ρs(α)\rho_{\text{init}}>{\rho}_{s}(\alpha) for independent initial guess. This means that (81) is satisfied. Based on Lemma 1, an input cosine similarity selected in this way ensures that for any ϵ>0\epsilon>0 there exists δ>0\delta>0 such that

for any j≥0j\geq 0, where lim⁡j→0δϵj=0\lim_{j\to 0}\delta_{\epsilon_{j}}=0 and Flamp\mathcal{F}_{\text{lamp}} denotes the set of fixed points of the PhaseLamp algorithm. This implies that the set Flamp\mathcal{F}_{\text{lamp}} converges to the set {ξ}\{\boldsymbol{\xi}\} in the sense that sup⁡x^∈Flamp ⁣∥x^−ξ∥2\sup_{\widehat{\boldsymbol{x}}\in\mathcal{F}_{\text{lamp}}}\mathinner{\!\left\lVert\widehat{\boldsymbol{x}}-\boldsymbol{\xi}\right\rVert}_{2} converges to zero in probability. This then gives us the statement of Theorems 4 and 5.

VII Conclusion

We presented in this paper an asymptotically exact characterization of the performance of the PhaseMax method for phase retrieval. Specifically, our analysis reveals a sharp phase transition behavior in the performance of the method as one varies the oversampling ratio and the input cosine similarity. Our analysis is based on the CGMT, and the results match previous predictions derived from the non-rigorous replica method. Moreover, we also presented a new nonconvex formulation of the phase retrieval problem and PhaseLamp, an iterative algorithm based on linearization and maximization over a polytope. We provided a sufficient condition for PhaseLamp to perfectly retrieve the target vector. Simulation results confirm the validity of our theoretical predictions. They also show that the proposed iterative algorithm significantly improves the recovery performance of the PhaseMax method.

Appendix A Probabilistic Analysis

and where ρ\mathchar58x→max⁡(x,0)\rho\mathrel{\mathop{\mathchar 58\relax}}x\to\max(x,0). Define the following problem

Next, we study the asymptotic properties of the problem (A-A). Specifically, we study the convergence properties (with growing nn) of the formulation given in (A-A). Based on the proof of Proposition 5 provided in Appendix A-D, we have the following convergence

Using GMT and based on Section VI-B, it holds that

Now, define the deterministic set Dfeasϵ{\mathcal{D}}_{\rm feas}^{\epsilon} as follows

Therefore, the convergence result in (98) is equivalent to the following

A-B Proof of Proposition 3

First, we appropriately write the optimization problem in (51) as a min-max program. Start with the following equivalent formulation:

where the function x→\mathds1{x}x\to\mathds{1}\{x\} is defined as follows: \mathds1{x}=0\mathds{1}\{x\}=0 if x≤0x\leq 0 and \mathds1{x}=+∞\mathds{1}\{x\}=+\infty if x>0x>0. Therefore, (101) is equivalent to the following optimization problem

The GMT and the CGMT assumes that the feasibility sets of the optimization variables x\boldsymbol{x} and u\boldsymbol{u} are compact. Clearly, this assumption is not satisfied by the min-max problem (A-B) since the feasibility set of the variable u\boldsymbol{u} is not compact. Case 1: Assume that C2{\bf C}_{2} or C3{\bf C}_{3} holds. It can be noticed that the optimal objective of (52) is smaller than the optimal objective of (A-B) with probability one, i.e. Vn(λn)≤VnV_{n}(\lambda_{n})\leq V_{n}. Case 2: Assume that C1{\bf C}_{1} holds. Define the following optimization problem

Let K~n\widetilde{\mathcal{K}}_{n} be the feasibility set of the optimization problem (104). Clearly, the feasibility set K~n\widetilde{\mathcal{K}}_{n} is a polytope with nonempty extreme point set. Moreover, the cost function of the problem in (104) is lower bounded in the feasibility set K~n\widetilde{\mathcal{K}}_{n}. Then, using the result in [32, Corollary 32.3.4], the optimal objective value Cn(λn)C_{n}(\lambda_{n}) is achieved at one of the vertices of the polytope K~n\widetilde{\mathcal{K}}_{n}. Define the set E~\widetilde{\mathcal{E}} as follows

where the set E(K~n)\mathcal{E}(\widetilde{\mathcal{K}}_{n}) denotes the set of all extreme points of the polytope K~n\widetilde{\mathcal{K}}_{n}. Since the polytope K~n\widetilde{\mathcal{K}}_{n} has a finite number of extreme points, the set E~\widetilde{\mathcal{E}} has a finite cardinality.

Assume that λn≥ ⁣∥xinit∥2wnn/ζn\lambda_{n}\geq\mathinner{\!\left\lVert\boldsymbol{x}_{\text{init}}\right\rVert}_{2}w_{n}\sqrt{n}/\zeta_{n} where ζn\zeta_{n} is defined as follows

Case 2.b: Assume that the set E~\widetilde{\mathcal{E}} is nonempty. Then, for any extreme point (xT,zT)(\boldsymbol{x}^{T},\boldsymbol{z}^{T}) of the polytope K~n\widetilde{\mathcal{K}}_{n} which belongs to the set E~\widetilde{\mathcal{E}}, we have

Finally, consider the event En={A\mathchar58  ⁣∥Kn∥2≤τ}E_{n}=\{\boldsymbol{A}\mathrel{\mathop{\mathchar 58\relax}}~{}\mathinner{\!\left\lVert\mathcal{K}_{n}\right\rVert}_{2}\leq\tau\}, then, we have the following

where the function ρ\mathchar58x→max⁡(x,0)\rho\mathrel{\mathop{\mathchar 58\relax}}x\to\max(x,0). Denote by V^n\widehat{V}_{n} the cost function of the problem (107) and V~n\widetilde{V}_{n} the cost function of the problem (108). Further, assume that x^n\widehat{\boldsymbol{x}}_{n} is an optimal solution of the problem (107) and x~n\widetilde{\boldsymbol{x}}_{n} is an optimal solution of the problem (108). It is clear that V^n(x^n)=V~n(x^n)\widehat{V}_{n}(\widehat{\boldsymbol{x}}_{n})=\widetilde{V}_{n}(\widehat{\boldsymbol{x}}_{n}) and also

Since the all zero vector is in the polytope Kn\mathcal{K}_{n}, VnV_{n} is finite with probability one. Moreover, since

we obtain the following convergence result

where Vn\mathcal{V}_{n} denotes the set of optimal solutions of the problem (107) and Vn(λn)\mathcal{V}_{n}(\lambda_{n}) denotes the set of optimal solutions of the problem (108).

The above two cases give us the statement in Proposition 3.

A-C Proof of Proposition 4

It can be noticed that the optimization problem (VI-B3) can be rewritten as follows:

Next, observe that if we fix  ⁣∣u∣\mathinner{\!\left\lvert\boldsymbol{u}\right\rvert}, then the optimal u\boldsymbol{u} satisfies sign(u)=sign( ⁣∥x~∥2g+qx1)\text{sign}(\boldsymbol{u})=\text{sign}\left(\mathinner{\!\left\lVert\widetilde{\boldsymbol{x}}\right\rVert}_{2}\boldsymbol{g}+\boldsymbol{q}x_{1}\right) which simplifies the optimization to the following

Define the following optimization problem

Next, we show that the analysis of the optimization problem

can be achieved by analyzing the following problem

where yn∈X2∗(λn)\boldsymbol{y}_{n}\in\mathcal{X}_{2}^{\ast}(\lambda_{n}) and y~n∈X2∗(nλn)\widetilde{\boldsymbol{y}}_{n}\in\mathcal{X}_{2}^{\ast}(\sqrt{n}\lambda_{n}). This implies that

Now, for nj≥max⁡(nj0,n0)n_{j}\geq\max(n_{j_{0}},n_{0}), we have

where this is true for any ϵ>0\epsilon>0. Taking ϵ≤δ\epsilon\leq\delta gives a contradiction. This implies that

In what follows, we analyze the problem (A-C) where the sequence λn<∞\lambda_{n}<\infty satisfies λn⟶n→∞∞\lambda_{n}\overset{n\to\infty}{\longrightarrow}\infty. In the optimization problem (A-C), one can fix the norm of u\boldsymbol{u} and optimize over its direction. This leads to the following optimization problem

where the function hh is defined in (58). Therefore, (A-C) is equivalent to the following problem

where the function ρ\mathchar58x→max⁡(x,0)\rho\mathrel{\mathop{\mathchar 58\relax}}x\to\max(x,0). Now, we distinguish between two cases: Case 1: Assume that C1{\bf C}_{1} holds, i.e. p(x1,x~)=−η1x1−η~Tx~p({x}_{1},\widetilde{\boldsymbol{x}})=-\eta_{1}x_{1}-\widetilde{\boldsymbol{\eta}}^{T}\widetilde{\boldsymbol{x}}. The final step in simplifying the AO problem is as follows. For fixed value of x1x_{1} (say x1=s>0x_{1}=s>0), and for fixed norm of x~\widetilde{\boldsymbol{x}} (say,  ⁣∥x~∥2=r\mathinner{\!\left\lVert\widetilde{\boldsymbol{x}}\right\rVert}_{2}=r), we optimize over the direction of x~\widetilde{\boldsymbol{x}}. First, fix  ⁣∥x~∥2=r\mathinner{\!\left\lVert\widetilde{\boldsymbol{x}}\right\rVert}_{2}=r such that s2+r2≤B, r≥0s^{2}+r^{2}\leq B,~{}r\geq 0 and fix z=η~Tx~/ ⁣∥η~∥2z=\widetilde{\boldsymbol{\eta}}^{T}\widetilde{\boldsymbol{x}}/\mathinner{\!\left\lVert\widetilde{\boldsymbol{\eta}}\right\rVert}_{2} and solve the following optimization problem

To solve the optimization problem (129), we write h\boldsymbol{h} as follows h=(hTη~ ⁣∥η~∥2)η~ ⁣∥η~∥2+(wTh)w\boldsymbol{h}=\left(\frac{\boldsymbol{h}^{T}\widetilde{\boldsymbol{\eta}}}{\mathinner{\!\left\lVert\widetilde{\boldsymbol{\eta}}\right\rVert}_{2}}\right)\frac{\widetilde{\boldsymbol{\eta}}}{\mathinner{\!\left\lVert\widetilde{\boldsymbol{\eta}}\right\rVert}_{2}}+\left(\boldsymbol{w}^{T}\boldsymbol{h}\right)\boldsymbol{w}, where η~ ⁣∥η~∥2\frac{\widetilde{\boldsymbol{\eta}}}{\mathinner{\!\left\lVert\widetilde{\boldsymbol{\eta}}\right\rVert}_{2}} and w\boldsymbol{w} form an orthonormal basis for the two dimensional subspace spanned by η~\widetilde{\boldsymbol{\eta}} and h\boldsymbol{h}. Thus, (129) becomes

It is clear that the optimal x~\widetilde{\boldsymbol{x}} should be in the span of η~\widetilde{\boldsymbol{\eta}} and h\boldsymbol{h} which means that

Therefore, the optimal objective value of the problem (130) can be expressed as follows

where  ⁣∣z∣≤r\mathinner{\!\left\lvert z\right\rvert}\leq r. Assume that η^=η~ ⁣∥η~∥2\widehat{\boldsymbol{\eta}}=\frac{\widetilde{\boldsymbol{\eta}}}{\mathinner{\!\left\lVert\widetilde{\boldsymbol{\eta}}\right\rVert}_{2}}, then, the optimization problem reduces to the following problem

where the function cnc_{n} is defined in (57), λ~n=m(n)λn\widetilde{\lambda}_{n}=\sqrt{m(n)}\lambda_{n}, and where p(s,r)=−s2−r2p(s,r)=-s^{2}-r^{2} if C2{\bf C}_{2} holds and p(s,r)=r2−αcd(s,r)p(s,r)=r^{2}-\alpha c_{d}(s,r) if C3{\bf C}_{3} holds.

Note that (118) and (126) hold for all cases C1{\bf C}_{1}, C2{\bf C}_{2} and C3{\bf C}_{3}. This, then, leads us to the statement in Proposition 4.

A-D Proof of Proposition 5

Assume that the oversampling ratio satisfies α>2\alpha>2. We show Proposition 5 in three steps. The first two steps study the asymptotic properties of the random function cnc_{n}. Then, these properties are used to prove Proposition 5 in the final step. To this end, consider the random function fnf_{n} defined as follows

Step 1: We start by showing that the functions fnf_{n} and c~n\mathchar58(s,r)→−cn(s,r)/m(n)\widetilde{c}_{n}\mathrel{\mathop{\mathchar 58\relax}}(s,r)\to-c_{n}(s,r)/\sqrt{m(n)} have the same pointwise limit. Moreover, the function fnf_{n} converges pointwise to the function (s,r)→cd(s,r)(s,r)\to\sqrt{c_{d}(s,r)}, where the function cdc_{d} is defined in (10) and its closed-form expression is given in (62). To prove the above property, fix ss and rr such that (s,r)∈S(s,r)\in\mathcal{S}. Using the weak law of large number (WLLN), we have

Now, fix ϵ>0\epsilon>0 and consider the probability event En={(q,g)\mathchar58  ⁣∣c~n(s,r)−cd(s,r)∣>ϵ}E_{n}=\{(\boldsymbol{q},\boldsymbol{g})\mathrel{\mathop{\mathchar 58\relax}}~{}\mathinner{\!\left\lvert\widetilde{c}_{n}(s,r)-\sqrt{c_{d}(s,r)}\right\rvert}>\epsilon\}. Then, we have

where AA is the event {(q,g)\mathchar58 min⁡( ⁣∣q∣− ⁣∣rg+sq∣)≤0}\{(\boldsymbol{q},\boldsymbol{g})\mathrel{\mathop{\mathchar 58\relax}}~{}\min(\mathinner{\!\left\lvert\boldsymbol{q}\right\rvert}-\mathinner{\!\left\lvert r\boldsymbol{g}+s\boldsymbol{q}\right\rvert})\leq 0\}. The probability of the event AcA^{c} is given by

Equation (136) can be rewritten as follows

Given that {qi}i=1m(n)\{q_{i}\}_{i=1}^{m(n)} are i.i.d. standard Gaussian random variable, the above equation can be rewritten as follows

where Φ\Phi denotes the cumulative distribution function of the standard normal random variable. We know that ϵ>0\epsilon>0 and  ⁣∣s∣<1\mathinner{\!\left\lvert s\right\rvert}<1, hence, we obtain the following inequality 2Φ(−m(n)ϵ/(1− ⁣∣s∣))<12\Phi\left(-{\sqrt{m(n)}{\epsilon}}/{(1-\mathinner{\!\left\lvert s\right\rvert})}\right)<1, for all m(n)>0m(n)>0. This leads to the following

Hence, we can conclude that c~n(s,r)\widetilde{c}_{n}(s,r) converges in probability to cd(s,r)\sqrt{c_{d}(s,r)} for any ss and rr such that r=0r=0 and  ⁣∣s∣<1\mathinner{\!\left\lvert s\right\rvert}<1. Case 2: if r=0r=0 and  ⁣∣s∣≥1\mathinner{\!\left\lvert s\right\rvert}\geq 1 or r≠0r\neq 0. In this case, note that

We can conclude that −cn(s,r)/m(n)-c_{n}(s,r)/\sqrt{m(n)} converges in probability to cd(s,r)\sqrt{c_{d}(s,r)} in this case.

Based on Case 1 and Case 2, the functions fnf_{n} and c~n\widetilde{c}_{n} have the same pointwise limit which is the function (s,r)→cd(s,r)(s,r)\to\sqrt{c_{d}(s,r)}. Moreover, the function cdc_{d} is given by

It can be checked that the function cdc_{d} is as given in (62).

Step 2: The first step mainly shows that the functions fnf_{n} and c~n\mathchar58(s,r)→−cn(s,r)/m(n)\widetilde{c}_{n}\mathrel{\mathop{\mathchar 58\relax}}(s,r)\to-c_{n}(s,r)/\sqrt{m(n)} have the same pointwise limit. In the second step, we show that they also converge uniformly in probability to the same function. First, assume that the function fnf_{n} converges uniformly to some function f∗f^{\ast} and fix ϵ>0\epsilon>0. This means that

Consider the following three functions f1,n\mathchar58(s,r)→c~n(s,r)−f∗(s,r)f_{1,n}\mathrel{\mathop{\mathchar 58\relax}}(s,r)\to\widetilde{c}_{n}(s,r)-f^{\ast}(s,r), f2,n\mathchar58(s,r)→c~n(s,r)−fn(s,r)f_{2,n}\mathrel{\mathop{\mathchar 58\relax}}(s,r)\to\widetilde{c}_{n}(s,r)-f_{n}(s,r) and f3,n\mathchar58(s,r)→fn(s,r)−f∗(s,r)f_{3,n}\mathrel{\mathop{\mathchar 58\relax}}(s,r)\to f_{n}(s,r)-f^{\ast}(s,r). It is clear that

Consider the following probability events

Consider the following two functions g1,n\mathchar58(s,r)→min⁡( ⁣∣q∣− ⁣∣rg+sq∣)g_{1,n}\mathrel{\mathop{\mathchar 58\relax}}(s,r)\to\min(\mathinner{\!\left\lvert\boldsymbol{q}\right\rvert}-\mathinner{\!\left\lvert r\boldsymbol{g}+s\boldsymbol{q}\right\rvert}) and g2,n\mathchar58(s,r)→ ⁣∥( ⁣∣q∣− ⁣∣rg+sq∣)∧0∥2g_{2,n}\mathrel{\mathop{\mathchar 58\relax}}(s,r)\to\mathinner{\!\left\lVert(\mathinner{\!\left\lvert\boldsymbol{q}\right\rvert}-\mathinner{\!\left\lvert r\boldsymbol{g}+s\boldsymbol{q}\right\rvert})\wedge\mathbf{0}\right\rVert}_{2}. The function f2,nf_{2,n} can be expressed as follows

Define the set C\mathcal{C} as C={(s,r)∈S\mathchar58 g1,n(s,r)>0}\mathcal{C}=\{(s,r)\in\mathcal{S}\mathrel{\mathop{\mathchar 58\relax}}~{}g_{1,n}(s,r)>0\} and PP as the probability of the event {(q,g)\mathchar58sup⁡(s,r)∈S ⁣∣f2,n(s,r)∣>ϵ2}\{(\boldsymbol{q},\boldsymbol{g})\mathrel{\mathop{\mathchar 58\relax}}\sup\limits_{\begin{subarray}{c}(s,r)\in\mathcal{S}\end{subarray}}\mathinner{\!\left\lvert f_{2,n}(s,r)\right\rvert}>\frac{\epsilon}{2}\}. Then, we have

Given that {qi}i=1m(n)\{q_{i}\}_{i=1}^{m(n)} are i.i.d. standard Gaussian random variable, we get

where Φ\Phi denotes the cumulative distribution function of the standard normal random variable. Since ϵ>0\epsilon>0, we obtain the following inequality 2Φ(−m(n)ϵ2)<1, ∀m(n)>02\Phi\left(-\sqrt{{m(n)}}\frac{\epsilon}{2}\right)<1,~{}\forall m(n)>0, which means that

which means that the function c~n\widetilde{c}_{n} converges uniformly to the function f∗f^{\ast}. Now, if we repeat the above steps with fnf_{n} replaced by c~n\widetilde{c}_{n}, we obtain the second direction.

where η^=η~/ ⁣∥η~∥2\widehat{\boldsymbol{\eta}}=\widetilde{\boldsymbol{\eta}}/\mathinner{\!\left\lVert\widetilde{\boldsymbol{\eta}}\right\rVert}_{2} and define the deterministic function QQ on the set D\mathcal{D} as follows

Fix (s,r,z)(s,r,z) in the set D\mathcal{D}. Given that h\boldsymbol{h} is independent of η^\widehat{\boldsymbol{\eta}}, we have hTη^/m(n)→n→∞0\boldsymbol{h}^{T}\widehat{\boldsymbol{\eta}}/\sqrt{m(n)}\xrightarrow[]{n\to\infty}0. Furthermore, using the WLLN, we have  ⁣∥h∥22/m(n)→n→∞1α\mathinner{\!\left\lVert\boldsymbol{h}\right\rVert}_{2}^{2}/{m(n)}\xrightarrow[]{n\to\infty}\frac{1}{{\alpha}}. Therefore, based on the first step, the function QnQ_{n} converges pointwise to the function QQ.

Define sup⁡Df(s,r,z)\sup_{\mathcal{D}}f(s,r,z) as sup⁡(s,r,z)∈Df(s,r,z)\sup_{(s,r,z)\in\mathcal{D}}f(s,r,z). Consider the following three functions

Since hTη~/m(n)→n→∞0\boldsymbol{h}^{T}\widetilde{\boldsymbol{\eta}}/\sqrt{m(n)}\xrightarrow[]{n\to\infty}0 and sup⁡D ⁣∣z∣\sup_{\mathcal{D}}\mathinner{\!\left\lvert z\right\rvert} is positive and finite, we obtain

Given that sup⁡D ⁣∣r2−z2∣\sup_{\mathcal{D}}\mathinner{\!\left\lvert\sqrt{r^{2}-z^{2}}\right\rvert} is positive and finite, we obtain

for any fixed ss and rr in the set S\mathcal{S}. Assume that gg and qq are i.i.d. Gaussian random variables. The function (s,r)→min⁡( ⁣∣q∣− ⁣∣rg+sq∣,0)2(s,r)\to\min(\mathinner{\!\left\lvert q\right\rvert}-\mathinner{\!\left\lvert rg+sq\right\rvert},0)^{2} is bounded in the set S\mathcal{{S}}, i.e.

Note that the right hand side of (153) has a finite expectation and the function (s,r,q,g)→min⁡( ⁣∣q∣− ⁣∣rg+sq∣,0)2(s,r,q,g)\to\min(\mathinner{\!\left\lvert q\right\rvert}-\mathinner{\!\left\lvert rg+sq\right\rvert},0)^{2} is continuous in the variables ss, rr, qq and gg. Hence, it is a measurable function in the variables qq and gg. Moreover, the set S\mathcal{S} is compact. Based on [33, lemma 2.4], we conclude that

where ⟶u.p\overset{u.p}{\longrightarrow} denotes the uniform convergence in probability. Based on the fact that  ⁣∣x−y∣≤ ⁣∣x−y∣\mathinner{\!\left\lvert\sqrt{x}-\sqrt{y}\right\rvert}\leq\sqrt{\mathinner{\!\left\lvert x-y\right\rvert}} for any x≥0x\geq 0, y≥0y\geq 0, we have

Therefore, for any fixed ϵ>0\epsilon>0, we obtain the following inequality

Based on (154) and (A-D), the function fnf_{n} converges uniformly in probability to the function (s,r)→cd(s,r)(s,r)\to\sqrt{c_{d}(s,r)} which means that

Based on Lemmas 4, 5 and 6, the optimization problem (61) have a unique optimal solution. Denote by (s∗,r∗,z∗)(s^{\ast},r^{\ast},z^{\ast}) the unique optimal solution of the problem (61) and V∗V^{\ast} the corresponding optimal objective value. Fix δ>0\delta>0 and define the sets D~(δ)\widetilde{\mathcal{D}}(\delta) and D^(δ)\widehat{\mathcal{D}}(\delta) as follows: D~(δ)={(s,r,z)∈D\mathchar58 (  ⁣∣s−s∗∣2+ ⁣∣r−r∗∣2+ ⁣∣z−z∗∣2)1/2≤δ}\widetilde{\mathcal{D}}(\delta)=\{(s,r,z)\in\mathcal{D}\mathrel{\mathop{\mathchar 58\relax}}~{}(\,\mathinner{\!\left\lvert s-s^{\ast}\right\rvert}^{2}+\mathinner{\!\left\lvert r-r^{\ast}\right\rvert}^{2}+\mathinner{\!\left\lvert z-z^{\ast}\right\rvert}^{2})^{1/2}\leq\delta\} and D^(δ)=D∖{(s,r,z)∈D\mathchar58 (  ⁣∣s−s∗∣2+ ⁣∣r−r∗∣2+ ⁣∣z−z∗∣2)1/2<δ}\widehat{\mathcal{D}}(\delta)=\mathcal{D}\setminus\{(s,r,z)\in\mathcal{D}\mathrel{\mathop{\mathchar 58\relax}}~{}(\,\mathinner{\!\left\lvert s-s^{\ast}\right\rvert}^{2}+\mathinner{\!\left\lvert r-r^{\ast}\right\rvert}^{2}+\mathinner{\!\left\lvert z-z^{\ast}\right\rvert}^{2})^{1/2}<\delta\}. Consider the following optimization problems

where Γn\Gamma_{n} is the cost function of the problem (VI-B3) and Γ\Gamma is the cost function of the problem (61). Moreover, consider the following optimization problems

Given that the sets D~(δ)\widetilde{\mathcal{D}}(\delta) and D^(δ)\widehat{\mathcal{D}}(\delta) are compact and using the above analysis, we have V~n(δ)→n→∞V~(δ)\widetilde{V}_{n}(\delta)\xrightarrow[]{n\to\infty}\widetilde{V}(\delta) and V^n(δ)→n→∞V^(δ)\widehat{V}_{n}(\delta)\xrightarrow[]{n\to\infty}\widehat{V}(\delta). Furthermore, we have V~(δ)<V^(δ)\widetilde{V}(\delta)<\widehat{V}(\delta), then, there exists γ>0\gamma>0 such that V~(δ)+γ<V^(δ)\widetilde{V}(\delta)+\gamma<\widehat{V}(\delta). Since V~n(δ)→n→∞V~(δ)\widetilde{V}_{n}(\delta)\xrightarrow[]{n\to\infty}\widetilde{V}(\delta) and V^n(δ)→n→∞V^(δ)\widehat{V}_{n}(\delta)\xrightarrow[]{n\to\infty}\widehat{V}(\delta), we have

Therefore, we have the following convergence result

Since V~(δ)+γ<V^(δ)\widetilde{V}(\delta)+\gamma<\widehat{V}(\delta), we conclude that for any for any δ>0\delta>0, we have

Therefore, we conclude that for any δ>0\delta>0, we have

where Vn∗\mathcal{V}_{n}^{\ast} denotes the set of optimal solutions of the optimization problem (VI-B3). Given the uniqueness of the optimal solution of the problem (61), we obtain

where V∗\mathcal{V}^{\ast} denotes the set of optimal solutions of the optimization problem (61). This then gives us the statement of Proposition 5.

A-E Proof of Lemma 3

Fix the oversampling ratio such that α>2\alpha>2. The objective is to show that ∃ T>0\exists~{}T>0 such that

where TT is a finite constant independent of nn. To this end, consider the following optimization problem

where TT is a finite constant independent of nn and it satisfies c∗<T≤τc^{\ast}<T\leq\tau where c∗c^{\ast} is the optimal objective value of the following problem

Since  ⁣∥ST∩Kn∥2≤ ⁣∥Kn∥2\mathinner{\!\left\lVert\mathcal{S}_{T}\cap\mathcal{K}_{n}\right\rVert}_{2}\leq\mathinner{\!\left\lVert\mathcal{K}_{n}\right\rVert}_{2}, we obtain the following inequality

Note that the feasibility set Kn\mathcal{K}_{n} is convex. Assume that  ⁣∥Kn∥2≥T\mathinner{\!\left\lVert\mathcal{K}_{n}\right\rVert}_{2}\geq T, then, there exists x∈Kn\boldsymbol{x}\in\mathcal{K}_{n} such that  ⁣∥x∥2≥T\mathinner{\!\left\lVert\boldsymbol{x}\right\rVert}_{2}\geq T. Given that the all zero vector is in the convex set Kn\mathcal{K}_{n}, T ⁣∥x∥2x∈Kn\frac{T}{\mathinner{\!\left\lVert\boldsymbol{x}\right\rVert}_{2}}\boldsymbol{x}\in\mathcal{K}_{n}. Therefore, we have T ⁣∥x∥2x∈ST∩Kn\frac{T}{\mathinner{\!\left\lVert\boldsymbol{x}\right\rVert}_{2}}\boldsymbol{x}\in\mathcal{S}_{T}\cap\mathcal{K}_{n} which means that  ⁣∥ST∩Kn∥2≥T\mathinner{\!\left\lVert\mathcal{S}_{T}\cap\mathcal{K}_{n}\right\rVert}_{2}\geq T. Therefore,

Appendix B Deterministic Analysis

(P.1) Convexity: The deterministic set Dfeas{\mathcal{D}}_{\rm feas} is given by

and the function c~rd\widetilde{c}_{\text{rd}} defined as follows

Since the function s→ ⁣∣q∣− ⁣∣rg+sq∣s\to\mathinner{\!\left\lvert q\right\rvert}-\mathinner{\!\left\lvert rg+sq\right\rvert} is concave in the variables (s,r)(s,r), we have

Therefore, we obtain the following inequality

Property 1: Consider two random variables XX and YY. We have the following inequality

Given that (s1,r1)∈Dfeas(s_{1},r_{1})\in{\mathcal{D}}_{\rm feas} and (s2,r2)∈Dfeas(s_{2},r_{2})\in{\mathcal{D}}_{\rm feas}, we have αcd(s1,r1)≤r1\sqrt{\alpha c_{{d}}(s_{1},r_{1})}\leq r_{1} and αcd(s1,r1)≤r2\sqrt{\alpha c_{{d}}(s_{1},r_{1})}\leq r_{2}. This leads to the following inequality

Therefore, we have (λs1+(1−λ)s2,λr1+(1−λ)r2)∈Dfeas(\lambda s_{1}+(1-\lambda)s_{2},\lambda r_{1}+(1-\lambda)r_{2})\in{\mathcal{D}}_{\rm feas} which implies the convexity of the set Dfeas{\mathcal{D}}_{\rm feas}. This completes the proof of property P.1 in Lemma 1.

Next, we assume that s≥0s\geq 0 and we distinguish between two different cases: Case 1: If r=0r=0, the function cdc_{d} can be rewritten as follows

Case 2: In what follows, we assume that r>0r>0. Note that

Using a Taylor expansion of the function r→atan⁡(r/2)r\to\operatorname{atan}(r/2) in the neighborhood of zero, one can show that

Property 2: The function (s,r)→cd(s,r)r2(s,r)\to\frac{c_{d}(s,r)}{r^{2}} is strictly increasing in the variable r>0r>0, for fixed s=1s=1. Moreover, it is strictly increasing in the variable s≥1s\geq 1, for any fixed r>0r>0.

First, consider the function f1\mathchar58r→cd(1,r)r2f_{1}\mathrel{\mathop{\mathchar 58\relax}}r\to\frac{c_{d}(1,r)}{r^{2}} defined for r>0r>0 and for fixed s=1s=1. Note that the function f1f_{1} is differentiable with first derivative given by

Note that the function h\mathchar58r→−8atan⁡(r2)+4rh\mathrel{\mathop{\mathchar 58\relax}}r\to-8\operatorname{atan}\left(\frac{r}{2}\right)+4r is differentiable with derivative h′(r)=−16/(r2+4)+4h^{\prime}(r)=-16/(r^{2}+4)+4 which is strictly positive for any r>0r>0. Hence, the function hh is strictly increasing and lim⁡r→0h(r)=0\lim_{r\to 0}h(r)=0. This means that h(r)>0h(r)>0, for any r>0r>0 which implies that the derivative of the function f1f_{1} is strictly positive for any r>0r>0. Therefore, the function f1f_{1} is strictly increasing in the variable r>0r>0, for fixed s=1s=1.

Second, consider the function fr\mathchar58s→cd(s,r)r2f_{r}\mathrel{\mathop{\mathchar 58\relax}}s\to\frac{c_{d}(s,r)}{r^{2}} defined for s≥1s\geq 1 and for fixed r>0r>0. Note that the function frf_{r} is differentiable with first derivative given by

where the function g\mathchar58x→xatan⁡(x/r)g\mathrel{\mathop{\mathchar 58\relax}}x\to x\operatorname{atan}(x/r). The function gg is twice differentiable with first derivative given by

Then, we can see that the function gg is nonincreasing in the variable x≤0x\leq 0. This means that g(1−s)−g(−1−s)≤0g(1-s)-g(-1-s)\leq 0, for any s≥1s\geq 1. Furthermore, the second derivative of the function gg can be expressed as g′′(x)=2r3/(r2+x2)2g^{\prime\prime}(x)=2r^{3}/(r^{2}+x^{2})^{2} which means that the function g′g^{\prime} is strictly increasing in the variable x≥0x\geq 0. Hence, the function s→g(1−s)−g(−1−s)s\to g(1-s)-g(-1-s) is strictly decreasing in the variable s≥1s\geq 1 and we also have the following

Therefore, we have g(1−s)−g(−1−s)>−πg(1-s)-g(-1-s)>-\pi which means that fr′(s)>0f^{\prime}_{r}(s)>0 for s>1s>1. Thus, the function frf_{r} is strictly increasing in the variable s≥1s\geq 1, for any fixed r>0r>0. This completes the proof of the above property.

Based on the continuity of the function cdc_{d}, (169) and Case 1, the set Dfeas+\mathcal{D}_{\text{feas}}^{+} is compact for any fixed α>1\alpha>1.

Next, assume that α≥2\alpha\geq 2. Based on property 2 and (172), we have the following

(P.3) Boundary: Assume that the oversampling ratio α≥2\alpha\geq 2. Then, there exists z>0z>0 such that Dfeas⊆[−1, 1]×[0, z]\mathcal{D}_{\text{feas}}\subseteq[-1,~{}1]\times[0,~{}z]. For fixed s∈[−1, 1]s\in[-1,~{}1], the maximum radius of the set Dfeas\mathcal{D}_{\text{feas}} is the solution of the following problem

Note that the function r→cd(s,r)/r2r\to c_{d}(s,r)/r^{2} is continuous for r>0r>0 and cd(s,0)=0c_{d}(s,0)=0. First, if r∗(s)=0{r}^{\ast}(s)=0, then the result is true. Now, assume that the solution r∗(s)>0{r}^{\ast}(s)>0 and suppose by contradiction that the solution of the above problem satisfies

First, note that the function r→cd(s,r)/r2r\to c_{d}(s,r)/r^{2} is continuous in (0, ∞)(0,~{}\infty). Based on Lemma 1, the set Dfeas\mathcal{D}_{\text{feas}} is convex which implies that the feasibility set of the problem (175) is convex. Based on the proof of P.2, we have

Now, since α≥2\alpha\geq 2 and based on the above properties, there exists r^(s)>r∗(s)\widehat{r}(s)>{r}^{\ast}(s) such that

which leads to a contradiction. Now, assume that s=0s=0 and note that

Based on the above properties, we conclude that r∗(0)>0{r}^{\ast}(0)>0. This completes the proof of property P.3 in Lemma 1.

We write rδ=c1δ+c2δ2+o(δ2)r_{\delta}=c_{1}\delta+c_{2}\delta^{2}+o(\delta^{2}). Then, we get the following

Dividing by δ2\delta^{2} and letting δ\delta go to zero, the slope of the boundary curve should satisfy the following equality

This completes the proof of property P.4 in Lemma 1.

(P.5) Perturbation: Assume that the oversampling ratio α>1\alpha>1. Note that the set Dfeasϵ{\mathcal{D}}_{\rm feas}^{\epsilon} is given by

Note that the function cdc_{d} is continuous. Letting kk go to ∞\infty, we obtain (s,r)∈Dfeas(s,r)\in{\mathcal{D}}_{\rm feas} which implies that lim⁡k→∞Dfeasϵ⊆Dfeas\lim_{k\to\infty}{\mathcal{D}}^{\epsilon}_{\rm feas}\subseteq{\mathcal{D}}_{\rm feas}. This completes the proof of property P.5 in Lemma 1.

B-B Proof of Proposition 2

is only the target signal vectors (1,0)(1,0) and (−1,0)(-1,0), i.e. Cunit∩Dfeas={(1,0),(−1,0)}\mathcal{C}_{\text{unit}}\cap{\mathcal{D}}_{\rm feas}=\{(1,0),(-1,0)\}. This is equivalent to showing that the function ff defined in the set (−1, 1)(-1,~{}1) as follows

is strictly negative. Given the symmetry of the function ff, it is sufficient to show that ff is strictly negative in the set [0, 1)[0,~{}1). The function ff is twice differentiable in the set (0, 1)(0,~{}1). It can be checked that the derivative of the function ff has at most two zeros at s=0s=0 and s^∈[0, 1)\widehat{s}\in[0,~{}1). Note that f(0)=1−α(1−2π)f(0)=1-\alpha\left(1-\frac{2}{\pi}\right), lim⁡s→1f(s)=0\lim_{s\to 1}f(s)=0, f′(0)=0f^{\prime}(0)=0 and f′(1)=−2+αf^{\prime}(1)=-2+\alpha. This implies that the function ff is strictly negative in the set (−1, 1)(-1,~{}1) if and only if

This means that Cunit∩Dfeas={(1,0),(−1,0)}\mathcal{C}_{\text{unit}}\cap{\mathcal{D}}_{\rm feas}=\{(1,0),(-1,0)\} for any α>π/(π−2)\alpha>\pi/(\pi-2). Next, assume that the oversampling ratio satisfies α>π/(π−2)\alpha>\pi/(\pi-2). But, from Lemma 1, selecting the oversampling ratio in this way ensures that for any ϵ>0\epsilon>0 there exists δ>0\delta>0 such that

which means that for any ϵ>0\epsilon>0, we have

for any k≥0k\geq 0, where lim⁡k→∞δϵk=0\lim_{k\to\infty}\delta_{\epsilon_{k}}=0 and Slamp\mathcal{S}_{\text{lamp}} denotes the set of optimal solutions of the PhaseLamp problem (7). This implies that the set Slamp\mathcal{S}_{\text{lamp}} converges to the set {ξ,−ξ}\{\boldsymbol{\xi},-\boldsymbol{\xi}\} in the sense that sup⁡x^∈Slamp(min⁡{ ⁣∥x^−ξ∥2, ⁣∥x^+ξ∥2})\sup_{\widehat{\boldsymbol{x}}\in\mathcal{S}_{\text{lamp}}}(\min\{\mathinner{\!\left\lVert\widehat{\boldsymbol{x}}-\boldsymbol{\xi}\right\rVert}_{2},\mathinner{\!\left\lVert\widehat{\boldsymbol{x}}+\boldsymbol{\xi}\right\rVert}_{2}\}) converges to zero in probability. This completes the proof of Proposition 2.

B-C Proof of Lemma 4

The optimization problem (61) is equivalent to the following problem

It can be noticed that the optimization problem (190) is feasible only when r2−α cd(s,r)≥0r^{2}-\alpha~{}c_{d}(s,r)\geq 0. Based on (10), cdc_{d} is a nonnegative function. This means that the optimization problem (190) admits a unique solution in the variable zz which is given by

Therefore, the optimization problem (190) is equivalent to the following problem

B-D Proof of Lemma 5

Fix ss such that ∣s∣≤1|s|\leq 1, fix the oversampling ratio such that α>2\alpha>2 and consider the following change of variable r=tr=\sqrt{t}. Then, the optimization problem (66) can be equivalently formulated as follows

where the function cdc_{d} is defined in (62). Due to the symmetry of the cost function, we assume that ss is in the set [0, 1][0,~{}1]. Consider the following function fs\mathchar58t→−α cd(s,t)f_{s}\mathrel{\mathop{\mathchar 58\relax}}t\to-\alpha\,c_{d}(s,\sqrt{t}) defined for t≥0t\geq 0. The function fsf_{s} can be written for t>0t>0 as follows

Note that the function fsf_{s} is twice differentiable for t>0t>0. The first derivative of the function fsf_{s} for t>0t>0 can be expressed as follows

Moreover, the second derivative of the function fsf_{s} can be expressed as follows

By performing a Taylor expansion of fsf_{s} at t=0t=0, it can be checked that fs′(0)=0f_{s}^{\prime}(0)=0 when 0≤s<10\leq s<1 and fs′(0)=−α/2f_{s}^{\prime}(0)=-\alpha/2 when s=1s=1. Moreover, by performing a Taylor expansion of fs′f_{s}^{\prime} at t=0t=0, we get

Note that the function fs′′f_{s}^{\prime\prime} satisfies fs′′(t)≤0f_{s}^{\prime\prime}(t)\leq 0 for any t≥0t\geq 0 and any fixed 0≤s≤10\leq s\leq 1. Therefore, the function fsf_{s} is concave for any fixed 0≤s≤10\leq s\leq 1. This means that the cost function t→t−α cd(s,t)t\to t-\alpha\,c_{d}(s,\sqrt{t}) is concave for any fixed 0≤s≤10\leq s\leq 1. Now, we distinguish between two different cases: Case 1: Assume that s=1s=1. Note that the cost function in (192) evaluated at is and the derivative of the cost function in (192) at t=0t=0 is 1−α2<01-\frac{\alpha}{2}<0. Given the concavity of the cost function in (192), we conclude that t∗=0\sqrt{t^{\ast}}=0 is the unique global optimal solution of the optimization problem (192). Case 2: Assume that 0≤s<10\leq s<1. Let t>0t>0, setting the derivative of the cost function in (192) to zero, we get

Note that the solutions of the above equation represent the global optimal solutions of the problem (192). Since α>2\alpha>2, equation (195) can be rewritten as follows

which leads to the following unique solution of equation (195)

Therefore, for any 0≤s<10\leq s<1, the optimal solution of the optimization problem (66) can be expressed as in (67).

Based on the above two cases, we conclude that the optimization problem (66) admits a unique optimal solution as given in (67) for any fixed  ⁣∣s∣≤1\mathinner{\!\left\lvert s\right\rvert}\leq 1 and any α>2\alpha>2.

B-E Proof of Lemma 6

Assume that α>2\alpha>2. Based on the assumption that the initial guess vector xinit\boldsymbol{x}_{\text{init}} has a positive cosine with the target signal vector ξ\boldsymbol{\xi}, the optimization problem (68) can be equivalently formulated as follows

The main objective is to show that the cost function of the optimization problem (198) is strictly concave. To this end, define the function f^\mathchar58s→f(s)\widehat{f}\mathrel{\mathop{\mathchar 58\relax}}s\to\sqrt{f(s)} where the function ff is defined as follows

Note that the function f^\widehat{f} is strictly positive when 0≤s<10\leq s<1. For 0≤s<10\leq s<1, the derivative of the function f^\widehat{f} is given by

For 0≤s<10\leq s<1, the second derivative of the function f^\widehat{f} can be expressed as follows

Hence, the sign of f^′′(s)\widehat{f}^{\prime\prime}(s) only depends on the sign of the function h\mathchar58s→2g′(s)f^(s)2−g(s)2h\mathrel{\mathop{\mathchar 58\relax}}s\to 2g^{\prime}(s)\widehat{f}(s)^{2}-g(s)^{2} defined in [0, 1)[0,~{}1). It can be checked that the derivative of the function hh can be expressed as follows

which means that h′(s)>0h^{\prime}(s)>0 for any 0<s<10<s<1. Therefore, the function hh is strictly increasing in the set (0, 1)(0,~{}1) and we also have lim⁡s→1h(s)=0\lim_{s\to 1}h(s)=0. Therefore, hh is a strictly negative function in the set [0, 1)[0,~{}1) which means that the function f^\widehat{f} is a strictly concave function in [0, 1)[0,~{}1). Furthermore, the function f^\widehat{f} is continuous in [0, 1][0,~{}1], f^(s)>0\widehat{f}(s)>0 in 0≤s<10\leq s<1 and f^(1)=0\widehat{f}(1)=0. This implies that the function f^\widehat{f} is strictly concave in [0, 1][0,~{}1]. Since the cost function of the optimization problem (68) is the positive weighted sum of a linear function and the function f^\widehat{f}, it is a strictly concave function in [0, 1][0,~{}1].

B-F Proof of Lemma 7

To prove Lemma 7, it suffices to show that the function ff defined as follows

has a unique zero in the set (0, 1)(0,~{}1) and there exists s∈(0, 1)s\in(0,~{}1) such that f(s)>0f(s)>0. Note that the function ff is four times differentiable. Moreover, the first derivative of the function ff can be expressed as follows

Additionally, the second derivative of the function ff can be expressed as follows

It can be checked that the function f′′f^{\prime\prime} is strictly decreasing in the set (0, 1)(0,~{}1) by computing the third derivative of the function ff. Furthermore, we have lim⁡s→0f′′(s)=+∞\lim_{s\to 0}f^{\prime\prime}(s)=+\infty and lim⁡s→1f′′(s)=−∞\lim_{s\to 1}f^{\prime\prime}(s)=-\infty which means that the function f′′f^{\prime\prime} is strictly decreasing and has exactly one zero at s~\widetilde{s} in the set (0, 1)(0,~{}1). Note that lim⁡s→0f(s)=lim⁡s→1f(s)=0\lim_{s\to 0}f(s)=\lim_{s\to 1}f(s)=0, lim⁡s→0f′(s)=−π/α\lim_{s\to 0}f^{\prime}(s)=-\pi/\alpha, lim⁡s→1f′(s)=π/α−π/2\lim_{s\to 1}f^{\prime}(s)=\pi/\alpha-\pi/2 and the function ff is continuous. Hence, the function f′f^{\prime} has exactly two zeros s^1\widehat{s}_{1} and s^2\widehat{s}_{2} in the set (0, 1)(0,~{}1) and it is strictly increasing in the set (0, s~)(0,~{}\widetilde{s}) then strictly decreasing (s~, 1)(\widetilde{s},~{}1). Therefore, the function ff is strictly decreasing in the set (0, s^1)(0,~{}\widehat{s}_{1}), strictly increasing in the set (s^1, s^2)(\widehat{s}_{1},~{}\widehat{s}_{2}) and strictly decreasing in the set (s^2, 1)(\widehat{s}_{2},~{}1). Since lim⁡s→0f(s)=lim⁡s→1f(s)=0\lim_{s\to 0}f(s)=\lim_{s\to 1}f(s)=0, the function ff has exactly one zero in the set (0, 1)(0,~{}1) and there exists s∈(0, 1)s\in(0,~{}1) such that f(s)>0f(s)>0. This implies that the boundary of the set Dopt\mathcal{D}_{\text{opt}} is not a subset of the feasibility set Dfeas\mathcal{D}_{\text{feas}}. This completes the proof of Lemma 7.

B-G Proof of Lemma 8

To prove Lemma 8, it suffices to show that the function ff defined as follows

has at most one zero in the set (0, 1)(0,~{}1) and f(0)>0f(0)>0 when a zero exists, where c>0c>0. Note that the function ff is twice differentiable in the set (0, 1)(0,~{}1) where the first derivative is given by

It can be noticed that the function f′f^{\prime} is strictly negative in the set (0, 1)(0,~{}1) which means that the function ff is strictly decreasing in the set (0, 1)(0,~{}1). Additionally, we have

B-H Proof of Lemma 9

Select the input cosine similarity of PhaseMax ρinit\rho_{\text{init}} such that ρinit>ρ^s(α)\rho_{\text{init}}>\widehat{\rho}_{s}(\alpha). We use induction to prove Lemma 9. We know that the result is true for k=0k=0. Now, assume that the optimal solution of PhaseLamp at iteration kk satisfies ρinitk>ρ^s(α)\rho^{k}_{\text{init}}>\widehat{\rho}_{s}(\alpha), where k≥0k\geq 0. Next, we show that the optimal solution of PhaseLamp at iteration k+1k+1 also satisfies the inequality. Given that the function x→x1−x2x\to\frac{x}{\sqrt{1-x^{2}}} is strictly increasing in $$, we have

Based on Section VI-D, the optimal solution of PhaseLamp at iteration k+1k+1 belongs to the following set

where χk=ρinitk/1−ρinitk2\chi_{k}={\rho^{k}_{\text{init}}}/{\sqrt{1-{\rho^{k}_{\text{init}}}^{2}}}. Based on Lemma 1, the set Dfeas\mathcal{D}_{\text{feas}} is a subset of [−1, 1]×[0, ∞][-1,~{}1]\times[0,~{}\infty] for α>2\alpha>2. This means that x^k+1\widehat{\boldsymbol{x}}_{k+1} satisfies

where x^k+1=[s  x~k+1T]T\widehat{\boldsymbol{x}}_{k+1}=[s~{}~{}\widetilde{\boldsymbol{x}}_{k+1}^{T}]^{T} and r= ⁣∥x~k+1∥2r=\mathinner{\!\left\lVert\widetilde{\boldsymbol{x}}_{k+1}\right\rVert}_{2}.

If r=0r=0, it is obvious that ss should be 11. In this case, ρinitk+1=1\rho_{\text{init}}^{k+1}=1 which means that the optimal solution of PhaseLamp at iteration k+1k+1 also satisfies the inequality.

Now, assume that r≠0r\neq 0. Therefore, we have

Using a geometric argument, one can show that

This means that the optimal solution of PhaseLamp at iteration k+1{k+1} satisfies the statement of Lemma 9. This completes the proof of Lemma 9.

Appendix C Additional Technical Lemmas

Consider the following optimization problem

Fix δ>0\delta>0. First, assume that the set S~x=Sx∖R+δ\widetilde{\mathcal{S}}_{\boldsymbol{x}}=\mathcal{S}_{\boldsymbol{x}}\setminus\mathcal{R}_{+\delta} is not empty. Note that c(x)>0c(\boldsymbol{x})>0 for any x∈S~x=Sx∖R+δ\boldsymbol{x}\in\widetilde{\mathcal{S}}_{\boldsymbol{x}}=\mathcal{S}_{\boldsymbol{x}}\setminus\mathcal{R}_{+\delta} and the set Sx\mathcal{S}_{\boldsymbol{x}} is compact. This implies that there exists ζ+>0\zeta_{+}>0 such that

Given that the random function cnc_{n} converges uniformly to the function cc and the fact that

Second, assume that the set S~x=Sx∖R+δ\widetilde{\mathcal{S}}_{\boldsymbol{x}}=\mathcal{S}_{\boldsymbol{x}}\setminus\mathcal{R}_{+\delta} is empty. Note that the convergence result in (212) still hold. Hence, we conclude that for any δ>0\delta>0, we have

Similarly, there exists ζ−<0\zeta_{-}<0 such that max⁡x∈S^xc(x)=ζ−<0\max_{\boldsymbol{x}\in\widehat{\mathcal{S}}_{\boldsymbol{x}}}c(\boldsymbol{x})=\zeta_{-}<0 and

with probability going to one as nn goes to infinity. This implies that for any δ>0\delta>0

with probability going to one as nn goes to infinity. Given the uniform continuity of the function ff and the continuity of cc on the compact set Sx\mathcal{S}_{\boldsymbol{x}}, there exists δ(ϵ)>0\delta(\epsilon)>0 such that

with probability going to one as nn goes to infinity. Based on (214), we have the following equality for any 0<δ≤δ^0<\delta\leq\widehat{\delta}

with probability going to one as nn goes to infinity. This implies that for any 0<δ≤δ^0<\delta\leq\widehat{\delta}

with probability going to one as nn goes to infinity. Given the uniform continuity of the function ff and the continuity of cc on the compact set Sx\mathcal{S}_{\boldsymbol{x}}, there exists 0<δ(ϵ)≤δ^0<\delta(\epsilon)\leq\widehat{\delta} such that

with probability going to one as nn goes to infinity.

Now, based on (216) and (219), we conclude that

with probability going to one as nn goes to infinity. Since ϵ\epsilon is an arbitrary positive scalar, (220) implies that min⁡x∈Sxf(x)+λnρ(cn(x))\min_{\boldsymbol{x}\in\mathcal{S}_{\boldsymbol{x}}}f(\boldsymbol{x})+\lambda_{n}\rho(c_{n}(\boldsymbol{x})) converges in probability to min⁡x∈Rf(x)\min_{\boldsymbol{x}\in\mathcal{R}}f(\boldsymbol{x}). ∎

References