Solving Systems of Random Quadratic Equations via Truncated Amplitude Flow
Gang Wang, Georgios B. Giannakis, Yonina C. Eldar
I Introduction
Consider a system of quadratic equations
In many fields of physical sciences and engineering, the problem of recovering the phase from intensity/magnitude-only measurements is commonly referred to as phase retrieval . Relevant application domains include X-ray crystallography , optics , array and high-power coherent diffractive imaging , astronomy , and microscopy . In these settings, due to physical limitations, optical sensors and detectors such as charge-coupled device (CCD) cameras, photosensitive films, and human eyes can record only the (squared) modulus of the Fresnel or Fraunhofer diffraction pattern, while losing the phase of the incident light striking the object. It has been shown that reconstructing a discrete, finite-duration signal from its Fourier transform magnitudes is generally NP-complete . Even checking quadratic feasibility (i.e., whether a solution to a given quadratic system exists or not) is itself an NP-hard problem [18, Theorem 2.6]. Thus, despite its simple form and practical relevance across various fields, tackling the quadratic system in (1) is challenging and NP-hard in general.
Adopting the least-squares criterion, the task of recovering from data observed in additive white Gaussian noise (AWGN) can be recast as that of minimizing the intensity-based empirical loss
An alternative is to consider an amplitude-based loss, in which is observed instead of in AWGN
Unfortunately, the presence of quadratic terms in (2) or the modulus in (3) renders the corresponding objective function nonconvex. Minimizing nonconvex objectives, which may exhibit many stationary points, is in general NP-hard . In fact, even checking whether a given point is a local minimum or establishing convergence to a local minimum turns out to be NP-complete .
In the classical discretized one-dimensional (D) phase retrieval, the amplitude vector corresponds to the -point Fourier transform of the -dimensional signal . It has been shown based on spectral factorization that in general there is no unique solution to D phase retrieval, even if we disregard trivial ambiguities . To overcome this ill-posedness, several approaches have been suggested. One possibility is to assume additional constraints on the unknown signal such as sparsity . Other approaches rely on introducing redundancy into the measurements using for example, the short-time Fourier transform, or masks . Finally, recent works assume random measurements (e.g., Gaussian designs) . Henceforth, this paper focuses on random measurements obtained from independently and identically distributed (i.i.d.) Gaussian designs.
Existing approaches to solving (2) (or related ones using the Poisson likelihood; see, e.g., ) or (3) fall under two categories: nonconvex and convex ones. Popular nonconvex solvers include alternating projection such as Gerchberg-Saxton and Fineup , AltMinPhase , (Truncated) Wirtinger flow (WF/TWF) , and Karzmarz variants as well as trust-region methods . Inspired by WF, other relevant judiciously initialized counterparts have also been developed for faster semidefinite optimization , blind deconvolution , and matrix completion . Convex counterparts on the other hand rely on the so-called matrix-lifting technique or Shor’s semidefinite relaxation to obtain the solvers abbreviated as PhaseLift , PhaseCut , and CoRK . Further approaches dealing with noisy or sparse phase retrieval are discussed in .
In terms of sample complexity, it has been proven thatThe notation means that there is a constant such that . noise-free random measurements suffice for uniquely determining a general signal . It is also self-evident that recovering a general -dimensional requires at least measurements. Convex approaches enable exact recovery from the optimal bound of noiseless Gaussian measurements ; they are based on solving a semidefinite program with a matrix variable of size , thus incurring worst-case computational complexity on the order of that does not scale well with the dimension . Upon exploiting the underlying problem structure, can be reduced to . Solving for vector variables, nonconvex approaches achieve significantly improved computational performance. Using formulation (3) and adopting a spectral initialization commonly employed in matrix completion , AltMinPhase establishes exact recovery with sample complexity under i.i.d. Gaussian designs with resampling .
Concerning formulation (2), WF iteratively refines the spectral initial estimate by means of a gradient-like update, which can be approximately interpreted as a stochastic gradient descent variant , . The follow-up TWF improves upon WF through a truncation procedure to separate gradient components of excessively extreme (large or small) sizes. Likewise, due to the heavy tails present in the initialization stage, data are pre-screened to yield improved initial estimates in the so-termed truncated spectral initialization method . WF allows exact recovery from measurements in time/flops to yield an -accurate solution for any given , while TWF advances these to measurements and time . Interestingly, the truncation procedure in the gradient stage turns out to be useful in avoiding spurious stationary points in the context of nonconvex optimization, as will be justified in Section IV by the numerical comparison between our amplitude flow (AF) algorithms with or without the judiciously designed truncation rule. It is also worth mentioning that when for some sufficiently large positive constant , the objective function in (3) is shown to admit benign geometric structure that allows certain iterative algorithms (e.g., trust-region methods) to efficiently find a global minimizer with random initializations . Hence, the challenge of solving systems of random quadratic equations lies in the case where a near-optimal number of equations are involved, e.g., in the real-valued setting.
Although achieving a linear (in the number of unknowns ) sample and computational complexity, the state-of-the-art TWF approach still requires at least equations to yield stable empirical success rate (e.g., ) under the noiseless real-valued Gaussian model [6, Section 3], which is more than twice the known information-limit of . Similar though less obvious results hold in the complex-valued scenario. While the truncated spectral initialization in improves upon the “plain-vanilla” spectral initialization, its performance still suffers when the number of measurements is relatively small and its advantage (over the untruncated one) diminishes as the number of measurements grows; see more details in Fig. 4 and Section II. Furthermore, extensive numerical and experimental validation confirms that the amplitude-based cost function performs significantly better than the intensity-based one ; that is, formulation (3) is superior to (2). Hence, besides enhancing initialization, markedly improved performance in the gradient stage can be expected by re-examining the amplitude-based cost function and incorporating judiciously designed gradient regularization rules.
I-B This paper
Along the lines of suitably initialized nonconvex schemes and inspired by , the present paper develops a linear-time (i.e., the computational time linearly in both dimensions and ) algorithm to minimize the amplitude-based cost function, referred to as truncated amplitude flow (TAF). Our approach provably recovers an -dimensional unknown signal exactly from a near-optimal number of noiseless random measurements, while also featuring near-perfect statistical performance in the noisy setting. TAF operates in two stages: In the first stage, we introduce an orthogonality-promoting initialization that is computable using a few power iterations. Stage two refines the initial estimate by successive updates of truncated generalized gradient iterations.
Our initialization is built upon the hidden orthogonality characteristics of high-dimensional random vectors , which is in contrast to spectral alternatives originating from the strong law of large numbers (SLLN) . Furthermore, one challenge of phase retrieval lies in reconstructing the signs/phases of in the real-/complex-valued settings. Our TAF’s refinement stage leverages a simple yet effective regularization rule to eliminate the erroneously estimated phases in the generalized gradient components with high probability. Simulated tests corroborate that the proposed initialization returns more accurate and robust initial estimates than its spectral counterparts in the noiseless and noisy settings. In addition, our TAF (with gradient truncation) markedly improves upon its “plain-vanilla” version AF. Empirical results demonstrate the advantage of TAF over its competing alternatives.
Focusing on the same amplitude-based cost function, an independent work develops the so-termed reshaped Wirtinger flow (RWF) algorithm , which coincides with amplitude flow (AF). A slightly modified variant of spectral initialization is used to obtain an initial guess, followed by a sequence of non-truncated generalized gradient iterations . Numerical comparisons show that the proposed TAF method performs better than RWF especially when the number of equations approaches the information-theoretic limit ( in the real case).
The remainder of this paper is organized as follows. The amplitude-based cost function, as well as the two algorithmic stages is described and analyzed in Section II. Section III summarizes the TAF algorithm and establishes its theoretical performance. Extensive simulated tests comparing TAF with Wirtinger-based approaches are presented in Section IV. Finally, main proofs are given in Section V, while technical details are deferred to the Appendix.
II Truncated Amplitude Flow
To start, let us define the Euclidean distance of any estimate to the solution set: for real signals, and for complex ones , where denotes the Euclidean norm. Define also the indistinguishable global phase constant in the real-valued setting as
Henceforth, fixing to be any solution of the given quadratic system (1), we always assume that ; otherwise, is replaced by , but for simplicity of presentation, the constant phase adaptation term will be dropped whenever it is clear from the context.
For brevity, collect all vectors in the matrix , and all amplitudes to form the vector . One can rewrite the amplitude-based cost function in matrix-vector representation as
[56, Definition 1.1] The generalized gradient of a function at , denoted by , is the convex hull of the set of limits of the form , where as , i.e.,
Having introduced the notion of a generalized gradient, and with denoting the iteration count, our approach to solving (5) amounts to iteratively refining the initial guess (returned by the orthogonality-promoting initialization method to be detailed shortly) by means of the ensuing truncated generalized gradient iterations
for some index set to be designed next. The convention is adopted, if . It is easy to verify that the update in (6) with a full generalized gradient in (7) monotonically decreases the objective function value in (5).
for entry-wise product , which may have many solutions. Clearly, if is a solution, then so is . Furthermore, both solutions/global minimizers and satisfy (8) due to the fact that . Considering any stationary point that has been adapted such that , one can write
Thus, a necessary condition for in (9) is . Expressed differently, there must be sign differences between and whenever one gets stuck with an undesirable stationary point . Inspired by this observation, it is reasonable to devise algorithms that can detect and separate out the generalized gradient components corresponding to mistakenly estimated signs along the iterates .
Precisely, if and lie at different sides of the hyperplane , then the sign of will be different than that of ; that is, . Specifically, one can re-write the -th generalized gradient component as
where . Intuitively, the SLLN asserts that averaging the first term over instances approaches , which qualifies it as a desirable search direction. However, certain generalized gradient entries involve erroneously estimated signs of ; hence, nonzero terms exert a negative influence on the search direction by dragging the iterate away from , and they typically have sizable magnitudes as will be further elaborated in Remark 2 shortly.
Figure 1 demonstrates this from a geometric perspective, where the black dot denotes the origin, and the red dot the solution ; here, is omitted for ease of exposition. Assume without loss of generality that the -th missing sign is positive, i.e., . As will be demonstrated in Theorem 1, with high probability, the initial estimate returned by our orthogonality-promoting method obeys for some sufficiently small constant . Therefore, all points lying on or within the circle (or sphere in high-dimensional spaces) in Fig. 1 satisfy . If does not intersect with the circle, then all points within the circle satisfy qualifying the -th generalized gradient as a desirable search (descent) direction in (10). If, on the other hand, intersects the circle, then points lying on the same side of with in Fig. 1 admit correctly estimated signs, while points lying on different sides of with would have . This gives rise to a corrupted search direction in (10), implying that the corresponding generalized gradient component should be eliminated.
Nevertheless, it is difficult or even impossible to check whether the sign of equals that of . Fortunately, as demonstrated in Fig. 1, most spurious generalized gradient components (those corrupted by nonzero terms) hover around the watershed hyperplane . For this reason, TAF includes only those components having sufficiently away from its watershed, i.e.,
Regarding our gradient regularization rule in (11), two observations are in order.
Our truncation rule deviates from the intuition behind TWF, which throws away gradient components corresponding to large-size in (11). As demonstrated by our analysis in Appendix A-E, it rarely happens that a gradient component having large yields an incorrect sign of under a sufficiently accurate initialization. Moreover, discarding too many samples (those for which in TWF [6, Section 2.1]) introduces large bias into , so that TWF does not work well when is close to the information-limit of . In sharp contrast, the motivation and objective of our truncation rule in (11) is to directly sense and eliminate gradient components that involve mistakenly estimated signs with high probability.
To demonstrate the power of TAF, numerical tests comparing all stages of (T)AF and (T)WF will be presented throughout our analysis. The basic test settings used in this paper are described next. For fairness, all pertinent algorithmic parameters involved in all compared schemes were set to their default values. Simulated estimates are averaged over independent Monte Carlo (MC) realizations without mentioning this explicitly each time. Performance of different schemes is evaluated in terms of the relative root mean-square error, i.e.,
and the success rate among trials, where a success is claimed for a trial if the returned estimate incurs a relative error less than . Simulated tests under both noiseless and noisy Gaussian models are performed, corresponding to \psi_{i}=\big{|}\bm{a}_{i}^{\mathcal{H}}\bm{x}+\eta_{i}\big{|} with and , respectively, with i.i.d. or .
Numerical comparison depicted in Fig. 2 using the noiseless real-valued Gaussian model suggests that even when starting with the same truncated spectral initialization, TAF’s refinement outperforms those of TWF and WF, demonstrating the merits of our gradient update rule over TWF/WF. Furthermore, comparing TAF (gradient iterations in (6)-(7) with truncation in (11) initialized by the truncated spectral estimate) and AF (gradient iterations in (6)-(7) initialized by the truncated spectral estimate) corroborates the power of the truncation rule in (11).
II-B Orthogonality-promoting initialization stage
Leveraging the SLLN, spectral initialization methods estimate as the (appropriately scaled) leading eigenvector of , where is an index set accounting for possible data truncation. As asserted in , each summand follows a heavy-tail probability density function lacking a moment generating function. This causes major performance degradation especially when the number of measurements is small. Instead of spectral initializations, we shall take another route to bypass this hurdle. To gain intuition into our initialization, a motivating example is presented first that reveals fundamental characteristics of high-dimensional random vectors.
where is the angle between vectors and . Consider ordering all in an ascending fashion, and collectively denote them as with . Figure 3 plots the ordered entries in for varying by from to with . Observe that almost all vectors have a squared normalized inner-product with smaller than , while half of the inner-products are less than , which implies that is nearly orthogonal to a large number of ’s.
This example corroborates the folklore that random vectors in high-dimensional spaces are almost always nearly orthogonal to each other . This inspired us to pursue an orthogonality-promoting initialization method. Our key idea is to approximate by a vector that is most orthogonal to a subset of vectors , where is an index set with cardinality that includes indices of the smallest squared normalized inner-products . Since appears in all inner-products, its exact value does not influence their ordering. Henceforth, we assume with no loss of generality that .
Using data , evaluate according to (14) for each pair and . Instrumental for the ensuing derivations is noticing from the inherent near-orthogonal property of high-dimensional random vectors that the summation of over all indices should be very small; rigorous justification is deferred to Section V. Therefore, the sum is also small, or according to (14), equivalently,
is small. Therefore, a meaningful approximation of can be obtained by minimizing the former with replaced by the optimization variable , namely
This amounts to finding the smallest eigenvalue and the associated eigenvector of (the symbol means positive semidefinite). Finding the smallest eigenvalue calls for eigen-decomposition or matrix inversion, each typically requiring computational complexity on the order of . Such a computational burden may be intractable when grows large. Applying a standard concentration result, we show how the computation can be significantly reduced.
which can be efficiently solved via simple power iterations.
It is clear from (21) that the first term on the right hand side of (22) approximates . The second term approaches because the denominator appealing to the SLLN again and the fact that . For simplicity, we choose to work with the first norm estimate
It is worth highlighting that, compared to the matrix used in spectral methods, our constructed matrix in (18) does not depend on the observed data explicitly; the dependence is only through the choice of the index set . The novel orthogonality-promoting initialization thus enjoys two advantages over its spectral alternatives: a1) it does not suffer from heavy-tails of the fourth-order moments of Gaussian vectors common in spectral initialization schemes; and, a2) it is less sensitive to noisy data.
III Main Results
The TAF algorithm is summarized in Algorithm 1. Default values are set for pertinent algorithmic parameters. Assuming independent data samples drawn from the noiseless real-valued Gaussian model, the following result establishes the theoretical performance of TAF.
with (or any sufficiently small positive constant), provided that for some numerical constants , and sufficiently large . Furthermore, choosing a constant step size along with a truncation level , and starting from any initial guess satisfying (24), successive estimates of the TAF solver (tabulated in Algorithm 1) obey
for some , which holds with probability exceeding .
Typical parameter values for TAF in Algorithm 1 are , and . The proof of Theorem 1 is relegated to Section V. Theorem 1 asserts that: i) TAF reconstructs the solution exactly as soon as the number of equations is about the number of unknowns, which is theoretically order optimal. Our numerical tests demonstrate that for the real-valued Gaussian model, TAF achieves a success rate of when is as small as , which is slightly larger than the information limit of (Recall that is necessary for the uniqueness.) This is a significant reduction in the sample complexity ratio, which is for TWF and for WF. Surprisingly, TAF also enjoys a success rate of over when is the information limit , which has not yet been presented for any existing algorithms. See further discussion in Section IV; and, ii) TAF converges exponentially fast with convergence rate independent of the dimension . Specifically, TAF requires at most iterations to achieve any given solution accuracy (a.k.a., ), with iteration cost . Since the truncation takes time on the order of , the computational burden of TAF per iteration is dominated by the evaluation of the gradient components. The latter involves two matrix-vector multiplications that are computable in flops, namely, yields , and the gradient, where . Hence, the total running time of TAF is , which is proportional to the time taken to read the data .
In the noisy setting, TAF is stable under additive noise. To be more specific, consider the amplitude-based data model . It can be shown that the truncated amplitude flow estimates in Algorithm 1 satisfy
IV Simulated Tests
In this section, we provide additional numerical tests evaluating performance of the proposed scheme relative to (T)WF Matlab codes directly downloaded from the authors’ websites: http://statweb.stanford.edu/~candes/TWF/algorithm.html; http://www-bcf.usc.edu/~soltanol/WFcode.html. and AF. The initial estimate was found based on power iterations, and was subsequently refined by gradient-type iterations in each scheme. The Matlab implementations of TAF are available at https://gangumn.github.io/TAF/ for reproducibility.
Left panel in Fig. 5 presents the average relative error of three initialization methods on a series of noiseless/noisy real-valued Gaussian problems with fixed, and varying from to , while those for the corresponding complex-valued Gaussian instances are shown in the right panel. Clearly, the proposed initialization method returns more accurate and robust estimates than the spectral ones. Under the same condition for the real-valued Gaussian model, Fig. 6 compares the initialization implemented in Algorithm 1 obtained by solving the maximum eigenvalue problem in (19) with the one obtained by tackling the minimum eigenvalue problem in (16) via the Lanczos method . When the number of equations is relatively small (less than about ), the former performs better than the latter. Interestingly though, the latter works remarkably well and almost halves the error incurred by the implemented initialization of Algorithm 1 as soon as the number of equations becomes larger than .
To demonstrate the power of TAF, Fig. 7 plots the relative error of recovering a real-valued signal in logarithmic scale versus the iteration count under the information-limit of noiseless i.i.d. Gaussian measurements . In this case, since the returned initial estimate is relatively far from the optimal solution (see Fig. 4), TAF converges slowly for the first iterations or so due to elimination of a significant amount of ‘bad’ generalized gradient components (corrupted by mistakenly estimated signs). As the iterate gets more accurate and lands within a small-size neighborhood of , TAF converges exponentially fast to the globally optimal solution. It is worth emphasizing that no existing method succeeds in this case. Figure 8 compares the empirical success rate of three schemes under both real-valued and complex-valued Gaussian models with and varying by from to , where a success is claimed if the estimate has a relative error less than . For real-valued vectors, TAF achieves a success rate of over when , and guarantees perfect recovery from about measurements; while for complex-valued ones, TAF enjoys a success rate of when , and ensures perfect recovery from about measurements.
To demonstrate the stability of TAF, the relative mean-squared error (MSE)
as a function of the signal-to-noise ratio (SNR) is plotted for different values. We consider the noisy model with and real-valued independent Gaussian sensing vectors , in which takes values , and the SNR in dB, given by
is varied from dB to dB. Averaging over independent trials, Fig. 9 demonstrates that the relative MSE for all values scales inversely proportional to SNR, hence justifying the stability of TAF under bounded additive noise.
The next experiment evaluates the efficacy of the proposed initialization method, simulating all schemes initialized by the truncated spectral initial estimate and the orthogonality-promoting initial estimate. Apparently, all algorithms except WF admit a significant performance improvement when initialized by the proposed orthogonality-promoting initialization relative to the truncated spectral initialization. Nevertheless, TAF with our developed orthogonality-promoting initialization enjoys superior performance over all simulated approaches.
where denotes the discrete Fourier transform matrix, and is a diagonal matrix holding entries sampled uniformly at random from (phase delays) on its diagonal, with denoting the imaginary unit. Each represents a random mask placed after the object . With masks implemented in our experiment, the total number of quadratic measurements is . Every algorithm was run independently on each of the three bands. A number of power iterations were used to obtain an initialization, which was refined by gradient-type iterations. The relative errors after our orthogonality-promoting initialization and after TAF iterations are and , respectively, and the recovered images are displayed in Fig. 11. In sharp contrast, TWF returns images of corresponding relative errors and , which are far away from the ground truth.
Regarding running times in all performed experiments, TAF converges slightly faster than TWF, while both are markedly faster than WF. All experiments were implemented using MATLAB on an Intel CPU @ GHz ( GB RAM) computer.
V Proofs
This section presents the main ideas behind the proof of Theorem 1, and establishes a few necessary lemmas. Technical details are deferred to the Appendix. Relative to WF and TWF, our objective function involves nonsmoothness and nonconvexity, rendering the proof of exact recovery of TAF nontrivial. In addition, our initialization method starts from a rather different perspective than spectral alternatives, so that the tools involved in proving performance of our initialization deviate from those of spectral methods . Part of our proof is adapted from and .
The proof of Theorem 1 consists of two parts: Section V-A justifies the performance of the proposed orthogonality-promoting initialization, which essentially achieves any given constant relative error as soon as the number of equations is on the order of the number of unknowns, namely, .The notations or (respectively, ) means there exists a numerical constant such that , while means and are orderwise equivalent. Section V-B demonstrates theoretical convergence of TAF to the solution of the quadratic system in (1) at a geometric rate provided that the initial estimate has a sufficiently small constant relative error as in (24). The two stages of TAF can be performed independently, meaning that better initialization methods, if available, could be adopted to initialize our truncated generalized gradient iterations; likewise, our initialization may be applied to other iterative optimization algorithms.
This section concentrates on proving guaranteed performance of the proposed orthogonality-promoting initialization method, as asserted in the following proposition. An alternative approach may be found in .
for or any positive constant, with the proviso that for some numerical constants and sufficiently large .
Due to homogeneity in (28), it suffices to consider the case . Assume for the moment that is known and has been scaled such that in (23). The error between the employed ’s norm estimate and the unknown norm will be accounted for at the end of this section. Instrumental in proving Proposition 1 is the following result, whose proof is provided in Appendix A-A.
We now turn to prove Proposition 1. The first step consists in upper-bounding the term on the right-hand-side of (29). Specifically, its numerator is upper bounded, and the denominator lower bounded, as summarized in Lemma 2 and Lemma 3 next; their proofs are provided in Appendix A-B and Appendix A-C, respectively.
In the setup of Lemma 1, if , then
holds with probability at least , where and are some universal constants.
In the setup of Lemma 1, the following holds with probability at least ,
provided that , , and for some absolute constants , and sufficiently large .
Leveraging the upper and lower bounds in (30) and (31), one arrives at
which holds with probability at least , assuming that , and , for some absolute constants , and sufficiently large .
Summarizing the two inequalities, we conclude that
V-B Exact recovery from noiseless data
We now prove that with accurate enough initial estimates, TAF converges at a geometric rate to with high probability (i.e., the second part of Theorem 1). To be specific, with initialization obeying (28) in Proposition 1, TAF reconstructs the solution exactly in linear time. To start, it suffices to demonstrate that the TAF’s update rule (i.e., Step 4 in Algorithm 1) is locally contractive within a sufficiently small neighborhood of , as asserted in the following proposition.
Consider the noise-free measurements with i.i.d. Gaussian design vectors , , and fix any . There exist universal constants and such that with probability at least , the following holds
Proposition 2 demonstrates that the distance of TAF’s successive iterates to is monotonically decreasing once the algorithm enters a small-size neighborhood around . This neighborhood is commonly referred to as the basin of attraction; see further discussions in . In other words, as soon as one lands within the basin of attraction, TAF’s iterates remain in this region and will be attracted to exponentially fast. To substantiate Proposition 2, recall the local regularity condition, which was first developed in and plays a fundamental role in establishing linear convergence to global optimum of nonconvex optimization approaches such as WF/TWF .
for all obeying . Evidently, if the is proved for TAF, then (37) follows upon letting .
On the other hand, standard matrix concentration results confirm that the largest singular value of with i.i.d. Gaussian satisfies for some with probability exceeding as soon as for sufficiently large , where is a universal constant depending on [59, Remark 5.25]. Combining (42), (43), and (44) yields
which occupies the remaining of this section. Formally, this can be stated as follows.
Consider the noiseless measurements , and fix any sufficiently small constant . There exist universal constants such that if , then the following holds with probability exceeding :
Before justifying Proposition 3, we introduce the following events.
Fix any . For each , define
From Fig. 1, it is clear that if , then the sign of will be different than that of . The region can be readily specified by the conditions that
Under our initialization condition , it is self-evident that describes two symmetric spherical caps over with one being . Hence, it holds that . ∎
To prove (47), consider rewriting the truncated gradient in terms of the events defined in Lemma 4:
Using the definitions and properties in Lemma 4, one further arrives at
where the last inequality arises from the property by the definition of .
Establishing the regularity condition or Proposition 3, boils down to lower bounding the right-hand side of (V-B1), namely, to lower bounding the first term and to upper bounding the second one. By the SLLN, the first term in (V-B1) approximately gives as long as our truncation procedure does not eliminate too many generalized gradient components (i.e., summands in the first term). Regarding the second, one would expect its contribution to be small under our initialization condition in (28) and as the relative error decreases. Specifically, under our initialization, is provably a rare event, thus eliminating the possibility of the second term exerting a noticeable influence on the first term. Rigorous analyses concerning the two terms are elaborated in Lemma 5 and Lemma 6, whose proofs are provided in Appendix A-D and Appendix A-E, respectively.
Fix and , and let be defined in (48). For independent random variables and , set
Then for any and any vector obeying , the following holds with probability exceeding :
provided that for some universal constants .
To have a sense of how large the quantities involved in Lemma 5 are, when and , it holds that
hence leading to .
Having derived a lower bound for the first term in the right-hand side of (V-B1), it remains to deal with the second one.
Fix and , and let , be defined in (49), (50), respectively. For any constant , there exists some universal constants such that
holds with probability at least provided that for some universal constants , where with .
With our TAF default parameters and , we have . Using (V-B1), (55), and (56), choosing exceeding some sufficiently large constant such that , and denoting , the following holds with probability exceeding
for all and such that for and any fixed . This combined with (39) and (41) proves Proposition 2 for appropriately chosen and .
To conclude this section, an estimate for the working step size is provided next. Plugging the results of (45) and (47) into (40) suggests that
and also that in the local regularity condition in (39). Clearly, it holds that . Taking and to be sufficiently small, one obtains the feasible range of the step size for TAF
In particular, under default parameters in Algorithm 1, and , thus concluding the proof of Theorem 1.
VI Conclusion
This paper developed a linear-time algorithm termed TAF for solving generally unstructured systems of random quadratic equations. Our TAF algorithm builds on three key ingredients: an orthogonality-promoting initialization, along with a simple yet effective gradient truncation rule, as well as scalable gradient-like iterations. Numerical tests using synthetic data and real images corroborate the superior performance of TAF over state-of-the-art solvers of the same type.
A few timely and pertinent future research directions are worth pointing out. First, in parallel with spectral initialization methods, the proposed orthogonality-promoting initialization can be applied for semidefinite optimization , matrix completion , as well as blind deconvolution . It is also interesting to investigate suitable gradient regularization rules in more general nonconvex optimization settings. Extending the theory to the more challenging case where ’s are generated from the coded diffraction pattern model constitutes another meaningful direction.
Appendix A Proofs for Section V
By homogeneity of (28), it suffices to work with the case where . It is easy to check that
We next construct the following expression:
Upon letting , the last inequality taken together with (61) concludes the proof of (29).
A-B Proof of Lemma 2
By the argument above, assume without loss of generality that . Consider now the truncated vector , or equivalently, . It is then clear that is bounded, and thus subgaussian; furthermore, the next hold
where (76b) is obtained as a submatrix of the first term in (A-B) since the second term is removed.
The rows of may therefore be viewed as independent realizations of the conditional random vector , with the threshold being the -largest value in . Standard concentration inequalities on the sum of random positive semi-definite matrices composed of independent non-isotropic subgaussian rows [59, Remark 5.40] confirm that
for . Therefore, one readily concludes that
holds with probability at least , provided that |\accentset{{\cc@style\underline{\mskip 9.5mu}}}{\mathcal{I}}_{0}|\big{/}n exceeds some constant. Note that depends on the maximum subgaussian norm of rows of , and we assume without loss of generality . Hence, in (29) is upper bounded simply by letting in (80).
A-C Proof of Lemma 3
We next pursue a meaningful lower bound for in (31). When , one has , where are entries of the first column of . It is further worth mentioning that all squared entries of any spherical random vector obey the Beta distribution with parameters , and , i.e., for all , [62, Lemma 2]. Although they have closed-form probability density functions (pdfs) that may facilitate deriving a lower bound, we take another route detailed as follows. A simple yet useful inequality is established first.
Given fractions obeying , in which , , the following holds for all
where denotes the -th largest one among , and hence, is the maximum in .
For any , according to the definition of , it holds that , so . Considering , , and letting be the index such that , then holds for any . Therefore, . Note that comprise a subset of terms in . On the other hand, according to our assumption, is the largest among all sums of summands; hence, yields concluding the proof. ∎
Without loss of generality and for simplicity of exposition, let us assume that indices of ’s have been re-ordered such that
where denotes the first element of . Therefore, writing , the next task amounts to finding the sum of the largest out of all entities in (82). Applying the result (81) in Lemma 7 gives
in which stands for the -th largest entity in .
To obtain an alternative bound, let us examine first the typical size of the maximum in . Observe obviously that the modulus follows the half-normal distribution having the pdf , , and it is easy to verify that
Choosing now leads to
which holds with the proviso that is large enough, and the symbol represents a small constant probability. Thus, provided that exceeds some large constant, the event occurs with high probability. Hence, one may expect a tighter lower bound than , which is on the same order of under the assumption that is about a constant.
Although obeys the Chi-square distribution with degrees of freedom, its cdf is rather complicated and does not admit a nice closed-form expression. A small trick is hence taken in the sequel. Assume without loss of generality that both and are even. Grouping two consecutive ’s together, introduce a new variable , , hence yielding a sequence of ordered numbers, i.e., . Then, one can equivalently write the wanted sum as
On the other hand, for i.i.d. standard normal random variables , let us consider grouping randomly two of them and denote the corresponding sum of their squares by , where , and . It is self-evident that the ’s are identically distributed obeying the Chi-square distribution with degrees of freedom, having the pdf
and the following complementary cdf (ccdf)
Ordering all ’s, summing the largest ones, and comparing the resultant sum with the one in (89) confirms that
Furthermore, applying the Hoeffding-type inequality [59, Proposition 5.10] and leveraging the convexity of the ccdf in (91), one readily establishes that
Taking without loss of generality \xi:=0.05\hat{\chi}_{|\accentset{{\cc@style\underline{\mskip 9.5mu}}}{\mathcal{I}}_{0}|/2}=0.1\log\big{(}m\big{/}|\accentset{{\cc@style\underline{\mskip 9.5mu}}}{\mathcal{I}}_{0}|\big{)} gives
for some universal constants , and sufficiently large such that . The remaining part in this section assumes that this event occurs.
Choosing and substituting this into the ccdf in (91) leads to
Thus, are i.i.d. centered and bounded random variables following from the mean-subtraction and the upper-bound truncation. Further, according to the ccdf (91) and the definition of sub-exponential random variables [59, Definition 5.13], the terms are sub-exponential. Then, the following
holds with probability at least , in which is a universal constant, and represents the maximum subexponential norm of the ’s.
Indeed, can be found as follows [59, Definition 5.13]:
Choosing in (100) yields
for some small constant , which holds with probability at least as long as exceeds some numerical constant and is sufficiently large. Therefore, combining (85), (92), and (A-C), one concludes that the following holds with high probability
Taking without loss of generality concludes the proof of Lemma 3.
A-D Proof of Lemma 5
Let us first prove the argument for a fixed pair and , such that and are independent of , and then apply a covering argument. To start, introduce a Lipschitz-continuous counterpart for the discontinuous indicator function [6, A.2]
By homogeneity and rotational invariance of normal distributions, it suffices to prove the case where and . According to (105), lower bounding the first term in (V-B1) can be achieved by lower bounding instead. To that end, let us find the mean of . Note that and are dependent. Introduce an orthonormal matrix that contains as its first row, i.e.,
Direct application of the Berstein-type inequality [59, Proposition 5.16] confirms that for any , the following
holds with probability at least for some numerical constant provided that by assumption.
To obtain uniform control over all vectors and such that , the net covering argument is applied [59, Definition 5.1]. Let be an -net of the unit sphere, be an -net of , and define
Since the cardinality [59, Lemma 5.2], then
due to the fact that for .
Consider now any obeying . There exists a pair such that , , and are each at most . Taking the union bound yields
with probability at least , which follows by choosing such that for some constant .
Recall that is Lipschitz continuous, thus
for some numerical constant and provided that and , where the first inequality arises from the Lipschitz property of , the second uses the results in Lemma 1 in , and the third from Lemma 2 in .
Putting all results together confirms that with probability exceeding , we have
for all vectors , concluding the proof.
A-E Proof of Lemma 6
Similar to the proof in Section A-D, it is convenient to work with the following auxiliary function instead of the discontinuous indicator function
where the last inequality arises from the definition of . Note that obeys the standard Cauchy distribution, i.e., . Transformation properties of Cauchy distributions assert that . Recall that the cdf of a Cauchy distributed random variable is given by
which has also been used in Lemma 1 and Lemma 6.1 . Furthermore, recalling our working assumption and , the random variables are bounded, and thus they are subexponential . Appealing again to the Bernstein-type inequality for subexponential random variables [59, Proposition 5.16] and provided that for some numerical constant , we have
which holds with probability exceeding for some universal constant and any sufficiently small .
Combining results (118), (120), leveraging the Cauchy-Schwartz inequality, and considering only consisting of a spherical cap, the following holds for any and :
where with , which holds with probability at least . The latter arises upon choosing in , which can be accomplished by taking sufficiently large.
Acknowledgments
The authors would like to thank Prof. John Duchi for pointing out an error in an initial draft of this paper. We also thank Mahdi Soltanolkotabi, Yuxin Chen, Kejun Huang, and Ju Sun for helpful discussions.