Solving Random Quadratic Systems of Equations Is Nearly as Easy as Solving Linear Systems
Yuxin Chen, Emmanuel J. Candes
Introduction
Imagine we are given a set of quadratic equations taking the form
This problem is combinatorial in nature as one can alternatively pose it as recovering the missing signs of from magnitude-only observations. As is well known, many classical combinatorial problems with Boolean variables may be cast as special instances of (1). As an example, consider the NP-hard stone problem in which we have stones each of weight (), which we would like to divide into two groups of equal sum weight. Letting indicate which of the two groups the th stone belongs to, one can formulate this problem as solving the following quadratic system
However simple this formulation may seem, even checking whether a solution to (2) exists or not is known to be NP-hard.
Continuing this motivating line of thought, in any real-world application recorded intensities are always corrupted by at least a small amount of noise so that observed data are only about ; i.e.
Although we present results for arbitrary noise distributions—even for non-stochastic noise—we shall pay particular attention to the Poisson data model, which assumes
The reason why this statistical model is of special interest is that it naturally describes the variation in the number of photons detected by an optical sensor in various imaging applications.
2 Nonconvex optimization
Under a stochastic noise model with independent samples, a first impulse for solving (3) is to seek the maximum likelihood estimate (MLE), namely,
modulo some constant offset. Unfortunately, the log-likelihood is usually not concave, thus making the problem of computing the MLE NP-hard in general.
To alleviate this computational intractability, several convex surrogates have been proposed that work particularly well when the design vectors are chosen at random . The basic idea is to introduce a rank-one matrix to linearize the quadratic constraints, and then relax the rank-one constraint. Suppose we have Poisson data, then this strategy converts the problem into a convenient convex program:
Note that the log-likelihood function is augmented by the trace functional whose role is to promote low-rank solutions. While such convex relaxation schemes enjoy intriguing performance guarantees in many aspects (e.g. they achieve minimal sample complexity and near-optimal error bounds for certain noise models), the computational cost typically far exceeds the order of . This limits applicability to large-dimensional data.
This paper follows another route: rather than lifting the problem into higher dimensions by introducing matrix variables, this paradigm maintains its iterates within the vector domain and optimize the nonconvex objective directly (e.g. ). One promising approach along this line is the recently proposed two-stage algorithm called Wirtinger Flow (WF) . Simply put, WF starts by computing a suitable initial guess using a spectral method, and then successively refines the estimate via an update rule that bears a strong resemblance to a gradient descent scheme, namely,
WF achieves exact recovery from quadratic equations when there is no noise; The standard notation or (resp. or ) means that there exists a constant such that (resp. ). means that there exist constants such that .
WF attains -accuracy—in a relative sense—within time (or flops);
In the presence of Gaussian noise, WF is stable and converges to the MLE as shown in .
While these results formalize the advantages of WF, the computational complexity of WF is still much larger than the best one can hope for. Moreover, the statistical guarantee in terms of the sample complexity is weaker than that achievable by convex relaxations. M. Soltanolkotabi recently informed us that the sample complexity of WF may be improved if one employs a better initialization procedure.
3 This paper: Truncated Wirtinger Flow
This paper develops an efficient linear-time algorithm, which also enjoys near-optimal statistical guarantees. Following the spirit of WF, we propose a novel procedure called Truncated Wirtinger Flow (TWF) adopting a more adaptive gradient flow. Informally, TWF proceeds in two stages:
Initialization: compute an initial guess by means of a spectral method applied to a subset of the observations ;
for some index subset determined by .
Firstly, we regularize both the initialization and the gradient flow in a data-dependent fashion by operating only upon some iteration-varying index subsets . This is a distinguishing feature of TWF in comparison to WF and other gradient descent variants. In words, corresponds to those data whose resulting spectral or gradient components are in some sense not excessively large; see Sections 2 and 3 for details. As we shall see later, the main point is that this careful data trimming procedure gives us a tighter initial guess and more stable search directions.
Secondly, we recommend that the step size is either taken as some appropriate constant or determined by a backtracking line search. For instance, under appropriate conditions, we can take for all .
Hence, gives and the desired regularized gradient.
A detailed specification of the algorithm is deferred to Section 2.
4 Numerical surprises
To give the readers a sense of the practical power of TWF, we present here three illustrative numerical examples. Since it is impossible to recover the global sign—i.e. we cannot distinguish from —we will evaluate our solutions to the quadratic equations through the distance measure put forth in representing the Euclidean distance modulo a global sign: for complex-valued signals,
The first numerical example concerns the following two problems under noiseless real-valued data:
Apparently, (a) involves solving a linear system of equations (or a linear least squares problem), while (b) is tantamount to solving a quadratic system. Arguably the most popular method for solving large-scale least squares problems is the conjugate gradient (CG) method applied to the normal equations. We are going to compare the computational efficiency between CG (for solving least squares) and TWF with a step size (for solving a quadratic system). Set and generate and , , independently. This gives a matrix with a low condition number equal to about by the Marchenko-Pastur law. Therefore, this is an ideal setting for CG as it converges extremely rapidly [32, Theorem 38.5]. Fig. 1 shows the relative estimation error of each method as a function of the iteration count, where TWF is seeded through 10 power iterations. For ease of comparison, we illustrate the iteration counts in different scales so that 4 TWF iterations are equivalent to 1 CG iteration.
Recognizing that each iteration of CG and TWF involves two matrix vector products and , for such a design we reach a suprising observation:
Even when all phase information is missing, TWF is capable of solving a quadratic system of equations only about 4 times slower than solving a least squares problem of the same size!
To illustrate the applicability of TWF on real images, we turn to testing our algorithm on a digital photograph of Stanford main quad containing pixels. We consider a type of measurements that falls under the category of coded diffraction patterns (CDP) and set
Here, stands for a discrete Fourier transform (DFT) matrix, and is a diagonal matrix whose diagonal entries are independently and uniformly drawn from (phase delays). In phase retrieval, each represents a random mask placed after the object so as to modulate the illumination patterns. When masks are employed, the total number of quadratic measurements is . In this example, random coded patterns are generated to measure each color band (i.e. red, green, or blue) separately. The experiment is carried out on a MacBook Pro equipped with a 3 GHz Intel Core i7 and 16GB of memory. We run 50 iterations of the truncated power method for initialization, and 50 regularized gradient iterations, which in total costs 43.9 seconds or 2400 FFTs for each color band. The relative error after regularized spectral initialization and after 50 TWF iterations are 0.4773 and , respectively, with the recovered images displayed in Fig. 2. In comparison, the spectral initialization using 50 untruncated power iterations returns an image of relative error 1.409, which is almost like a random guess and extremely far from the truth.
While the above experiments concern noiseless data, the numerical surprise extends to the noisy realm. Suppose the data are drawn according to the Poisson noise model (4), with independently generated. Fig. 3 displays the empirical relative mean-square error (MSE) of TWF as a function of the signal-to-noise ratio (SNR), where the relative MSE for an estimate and the SNR are defined asTo justify the definition of SNR, note that the signals and noise are captured by and , , respectively. The ratio of the signal power to the noise power is therefore
Fig. 3 illustrates the empirical performance for this ideal problem. The plots demonstrate that even when all phases are erased, TWF yields a solution of nearly the best possible quality, since it only incurs an extra dB loss compared to ideal MLE computed with all true phases revealed. This phenomenon arises regardless of the SNR!
5 Main results
The preceding numerical discoveries unveil promising features of TWF in three aspects: (1) exponentially fast convergence; (2) exact recovery from noiseless data with sample complexity ; (3) nearly minimal mean-square loss in the presence of noise. This paper offers a formal substantiation of all these findings. To this end, we assume a tractable model in which the design vectors ’s are independent Gaussian:
For concreteness, our results are concerned with TWF designed based on the Poisson log-likelihood function
As explained below, we can often take .
As will be made precise in Section 5 (and in particular Proposition 1), one can take
for some small quantities and some predetermined threshold that is usually taken to be . Under appropriate conditions, one can treat as .
We emphasize that enhanced performance vis-à-vis WF is not the result of a sharper analysis, but rather, the result of key algorithmic changes. In both the initialization and iterative refinement stages, TWF proceeds in a more prudent manner by means of proper regularization, which effectively trims away those components that are too influential on either the initial guess or search directions, thus reducing the volatility of each movement. With a tighter initialization and better-controlled search directions in place, we take the step size in a far more liberal fashion—which is some constant bounded away from 0—compared to a step size which is as explained in . In fact, what enables the movement to be more aggressive is exactly the cautious choice of , which precludes adverse effects from high-leverage samples.
To be broadly applicable, the proposed algorithm must guarantee reasonably faithful estimates in the presence of noise. Suppose that
where represents an error term. We claim that TWF is stable against additive noise, as demonstrated in the theorem below.
Consider the noisy case (14). Suppose that the step size is either taken to be a positive constant or chosen via a backtracking line search. If
then with probability at least , the truncated Wirtinger Flow estimates (Algorithm 1 with parameters specified in Table 1) satisfy
Under the Poisson noise model (4), one has
with probability approaching one, provided that .
establishes stability estimates using the WF approach under Gaussian noise. There, the sample and computational complexities are still on the order of and respectively whereas the computational complexity in Theorem 2 is linear, i.e. on the order of .
Theorem 2 essentially reveals that the estimation error of TWF rapidly shrinks to within logarithmic iterations. Put another way, since the SNR for the model (14) is captured by
we immediately arrive at an alternative form of the performance guarantee:
revealing the stability of TWF as a function of SNR. We emphasize that this estimate holds for any error term —i.e. any noise structure, even deterministic. This being said, specializing this estimate to the Poisson noise model (4) with gives an estimation error that will eventually approach a numerical constant, independent of and .
Encouragingly, this is already the best statistical guarantee any algorithm can achieve. We formalize this claim by deriving a fundamental lower bound on the minimax estimation error.
Suppose that , for some fixed independent of , and is sufficiently large. For any , defineHere, 0.1 can be replaced by any positive constant within (0, 1/2).
With probability approaching one, the minimax risk under the Poisson model (4) obeys
where the infimum is over all estimator . Here, is a numerical constant independent of and .
When the number of measurements is proportional to and the energy of the planted solution exceeds , Theorem 3 asserts that there exists absolutely no estimator that can achieve an estimation error that vanishes as increases. This lower limit matches the estimation error of TWF, which corroborates the optimality of TWF under noisy data.
Recall that in many optical imaging applications, the output data we collect are the intensities of the diffractive waves scattered by the sample or specimen under study. The Poisson noise model employs the input and output to describe the numbers of photons diffracted by the specimen and detected by the optical sensor, respectively. Each specimen needs to be sufficiently illuminated in order for the receiver to sense the diffracted light. In such settings, the low-intensity regime is of little practical interest as it corresponds to an illumination with just very few photons. We forego the details.
It is worth noting that apart from WF, various other nonconvex procedures have been proposed as well for phase retrieval, including the error reduction schemes dating back to Gerchberg-Saxton and Fienup , iterated projections , alternating minimization , generalized approximate message passing , Kaczmarz method , and greedy methods that exploit additional sparsity constraint , to name just a few. While these paradigms enjoy favorable empirical behavior, most of them fall short of theoretical support, except for a version of alternating minimization (called AltMinPhase) that requires fresh samples for each iteration. In comparison, AltMinPhase attains -accuracy when the sample complexity exceeds the order of , which is at least a factor of from optimal and is empirically largely outperformed by the variant that reuses all samples. In contrast, our algorithm uses the same set of samples all the time and is therefore practically appealing. Furthermore, none of these algorithms come with provable stability guarantees, which are particularly important in most realistic scenarios. Numerically, each iteration of Fienup’s algorithm (or alternating minimization) involves solving a least squares problem, and the algorithm converges in tens or hundreds of iterations. This is computationally more expensive than TWF, whose computational complexity is merely about 4 times that of solving a least squares problem. Interesting readers are referred to for a comparison of several non-convex schemes, and for a discussion of other alternative approaches (e.g. ) and performance lower bounds (e.g. ).
Algorithm: Truncated Wirtinger Flow
For independent samples, the gradient of the real-valued Poisson log-likelihood obeys
where represents the weight assigned to each . This forms the descent direction of WF updates.
Hence, to remedy the aforementioned stability issue, it would be natural to separate the small fraction of abnormal gradient components by regularizing the weights , possibly via data-dependent trimming rules. This gives rise to the update rule of TWF:
for some trimming criteria specified by and . In our algorithm, we take and to be two collections of events given by
where , , are predetermined thresholds. To keep notation light, we shall use and rather than and whenever it is clear from context.
We emphasize that the above trimming procedure simply throws away those components whose weights ’s fall outside some confidence range, so as to remove the influence of outlier components. To achieve this, we regularize both the numerator and denominator of by enforcing separate trimming rules. Recognize that for any fixed , the denominator obeys
leading up to the rule (24). Regarding the numerator, by the law of large numbers one would expect
and hence it is natural to regularize the numerator by ensuring
As a remark, we include an extra term in (25) to sharpen the theory, but all our results continue to hold (up to some modification of constants) if we drop this term in (25). Detailed procedures are summarized in Algorithm 1 Careful readers might note that we include some extra factor (which is approximately 1 in the Gaussian model) in Algorithm 1. This occurs since we present Algorithm 1 in a more general fashion that applies beyond the model , but all results / proofs continue to hold in the presence of this extra term. .
The proposed paradigm could be counter-intuitive at first glance, since one might expect the larger terms to be better aligned with the desired search direction. The issue, however, is that the large terms are extremely volatile and could have too high of a leverage on the descent directions. In contrast, TWF discards these high-leverage data, which slightly increases the bias but remarkably reduces the variance of the descent direction. We expect such gradient regularization and variance reduction schemes to be beneficial for solving a broad family of nonconvex problems.
2 Truncated spectral initialization
In order for the gradient stage to converge rapidly, we need to seed it with a suitable initialization. One natural alternative is the spectral method adopted in , which amounts to computing the leading eigenvector of . This arises from the observation that when and ,
whose leading eigenvector is exactly with an eigenvalue of 3.
Unfortunately, this spectral technique converges to a good initial point only when , due to the fact that is heavy-tailed, a random quantity which does not have a moment generating function. To be more precise, consider the noiseless case and recall that . Letting , one can calculate
which is much larger than unless is very large. This tells us that in the regime where , there exists some unit vector that is closer to the leading eigenvector of than . This phenomenon happens because the summands of have huge tails so that even one large term could end up dominating the empirical sum, thus preventing the spectral method from returning a meaningful initial guess.
Notably, the aforementioned drawback of the spectral method is not merely a theoretical concern but rather a substantial practical issue. We have seen this in Fig. 2 (main quad example) showing the enormous advantage of truncated spectral initialization. This is also further illustrated in Fig. 6, which compares the empirical efficiency of both methods with set to be the truncation threshold. For both Gaussian designs and CDP models, the empirical loss incurred by the original spectral method increases as grows, which is in stark constrast to the truncated spectral method that achieves almost identical accuracy over the same range of .
3 Choice of algorithmic parameters
One implementation detail to specify is the step size at each iteration . There are two alternatives that work well in both theory and practice:
Backtracking line search with truncated objective. This strategy performs a line search along the descent direction
and determines an appropriate step size that guarantees a sufficient improvement. In contrast to the conventional search strategy that determines the sufficient progress with respect to the true objective function, we propose to evaluate instead a regularized version of the objective function. Specifically, put
Then the backtracking line search proceeds as
where is some pre-determined constant;
When a backtracking line search is adopted, an extra parameter is needed, which we take to be . In all theory presented herein, we assume that the parameters fall within the range singled out in Table 1.
Why TWF works?
Before proceeding, it is best to develop an intuitive understanding of the TWF iterations. We start with a notation representing the (unrecoverable) global phase for real-valued data
despite the global phase uncertainty. For simplicity of presentation, we shall drop the phase term by letting be and setting , whenever it is clear from context.
The first object to consider is the descent direction. To this end, we find it convenient to work with a fixed independent of the design vectors , which is of course heuristic but helpful in developing some intuition. Rewrite
where (i) follows from the identity . The first component of (36), which on average gives , makes a good search direction when averaged over all the observations . The issue is that the other term —which is in general non-integrable—could be devastating. The reason is that could be arbitrarily small, thus resulting in an unbounded . As a consequence, a non-negligible portion of the ’s may exert a very strong influence on the descent direction in an undesired manner.
Such an issue can be prevented if one can detect and separate those gradient components bearing abnormal ’s. Since we cannot observe the individual components of the decomposition (36), we cannot reject indices with large values of directly. Instead, we examine each gradient component as a whole and discard it if its size is not absolutely controlled. Fortunately, such a strategy is sufficient to ensure that most of the contribution from the regularized gradient comes from the first component of (36), namely, . As will be made precise in Proposition 2 and Lemma 7, the regularized gradient obeys
Here, one has in (37) instead of to account for the bias introduced by adaptive trimming, where is small as long as we only throw away a small fraction of data. Looking at (37) and (38) we see that the search direction is sufficiently aligned with the deviation of the current iterate; i.e. they form a reasonably good angle that is bounded away from . Consequently, is expected to be dragged towards provided that the step size is appropriately chosen.
holds for all obeying , where is some constant. Such an -ball around forms a basin of attraction. Formally, under , a little algebra gives
for any with . In words, the TWF update rule is locally contractive around the planted solution, provided that holds for some nonzero and . Apparently, Conditions (37) and (38) already imply the validity of for some constants when is reasonably small, which in turn allows us to take a constant step size and enables a constant contraction rate .
Numerical experiments
In this section, we report additional numerical results to verify the practical applicability of TWF. In all numerical experiments conducted in the current paper, we set
This is a concrete combination of parameters satisfying our condition (30). Unless otherwise noted, we employ 50 power iterations for initialization, adopt a fixed step size when updating TWF iterates, and set the maximum number of iterations to be for the iterative refinement stage.
To see how special the real-valued Gaussian designs are to our theoretical finding, we perform experiments on two other types of measurement models. In the first, TWF is applied to complex-valued data by generating . The other is the model of coded diffraction patterns described in (9). Fig. 9 depicts the average success rate for both types of measurements over 100 Monte Carlo trials, indicating that and are often sufficient under complex-valued Gaussian and CDP models, respectively.
For the sake of comparison, we also report the empirical performance of WF in all the above settings, where the step size is set to be the default choice of , that is, . As can be seen, the empirical success rates of TWF outperform WF when under Gaussian models, suggesting that TWF either converges faster or exhibits better phase transition behavior.
Another series of experiments has been carried out to demonstrate the stability of TWF when the number of quadratic equations varies. We consider the case where , and vary the SNR (cf. (10)) from 15 dB to 55dB. The design vectors are real-valued independent Gaussian , while the measurements are generated according to the Poisson noise model (4). Fig. 10 shows the relative mean square error—in the dB scale—as a function of SNR, when averaged over 100 independent runs. For all choices of , the numerical experiments demonstrate that the relative MSE scales inversely proportional to SNR, which matches our stability guarantees in Theorem 2 (since we observe that on the dB scale, the slope is about -1 as predicted by the theory (19)).
Exact recovery from noiseless data
This section proves the theoretical guarantees of TWF in the absence of noise (i.e. Theorem 1). We separate the noiseless case mainly out of pedagogical reasons, as most of the steps carry over to the noisy case with slight modification.
with high probability, provided that exceeds some numerical constant. With this in place, it suffices to demonstrate that the TWF update rule is locally contractive, as stated in the following proposition.
Consider the noiseless case (1). Under the condition (30), there exist some universal constants and such that with probability exceeding ,
provided that and that is some constant obeying
Proposition 1 reveals the monotonicity of the estimation error: once entering a neighborhood around of a reasonably small size, the iterative updates will remain within this neighborhood all the time and be attracted towards at a geometric rate.
As shown in Section 3, under the hypothesis one can conclude
Thus, everything now boils down to showing for some constants . This occupies the rest of this section.
Before proceeding, we gather a few properties of the events and , which will prove crucial in establishing . To begin with, recall that the truncation level given in depends on . Instead of working with this random variable directly, we use deterministic quantities that are more amenable to analysis. Specifically, we claim that offers a uniform and orderwise tight estimate on , which can be seen from the following two facts.
Fix . If , then with probability at least ,
Since [6, Lemma 3.1] already establishes the upper bound, it suffices to prove the lower tail bound. Consider all symmetric rank-2 matrices with eigenvalues and for some . When , it has been shown in the proof of [6, Lemma 3.2] that with high probability,
for all such rank-2 matrices , where . The lower bound in this case can then be justified by recognizing that for all , as illustrated in Fig. 11. The case where is an immediate consequence from [6, Lemma 3.1]. ∎
Take and write
When , the Cauchy-Schwarz inequality gives
Taken together the above two facts demonstrate that with probability ,
holds simultaneously for all and satisfying . Conditional on (50), the inclusion
holds with respect to the following events
The point of introducing these new events is that the ’s (resp. ’s) are statistically independent for any fixed and and are, therefore, easier to work with.
Note that each (resp. ) is specified by a quadratic inequality. A closer inspection reveals that in order to satisfy these quadratic inequalities, the quantity must fall within two intervals centered around and , respectively. One can thus facilitate analysis by decoupling each quadratic inequality of interest into two simple linear inequalities, as stated in the following lemma.
2 Proof of the regularity condition
implying and hence . The Marchenko–Pastur law gives , whence
A more refined estimate will be provided in Lemma 7.
The above argument essentially tells us that to establish , it suffices to verify a uniform lower bound of the form
as formally derived in the following proposition.
Consider the noise-free measurements and any fixed constant . Under the condition (30), if , then with probability exceeding ,
Here, are some universal constants, and and are defined in (30).
The basic starting point is the observation that and hence
One would expect the contribution of the second term of (62) (which is a second-order quantity) to be small as decreases.
To facilitate analysis, we rewrite (62) in terms of the more convenient events and . Specifically, the inclusion property (51) together with Lemma 3 reveals that
where the parameters are given by
This taken collectively with the identity (62) leads to a lower estimate
leaving us with three quantities in the right-hand side to deal with. We pause here to explain and compare the influences of these three terms.
To begin with, as long as the trimming step does not discard too many data, the first term should be close to , which approximately gives from the law of large numbers. This term turns out to be dominant in the right-hand side of (65) as long as is reasonably small. To see this, please recognize that the second term in the right-hand side is , simply because both and are absolutely controlled on . However, does not share such a desired feature. By the very definition of , each nonzero summand of the last term of (65) must obey and, therefore, is roughly of the order of ; this could be much larger than our target level . Fortunately, is a rare event, thus precluding a noticable influence upon the descent direction. All of this is made rigorous in Lemma 4 (first term), Lemma 5 (second term) and Lemma 6 (third term) together with subsequent analysis.
Fix , and let and be defined in (24) and (55), respectively. Set
where . For any , if , then with probability at least ,
We now move on to the second term in the right-hand side of (65). For any fixed , the definition of gives rise to an upper estimate
For any constant , if , then
with probability at least for some universal constants .
It remains to control the last term of (65). As mentioned above, the influence of this term is small since the set of ’s satisfying accounts for a small fraction of measurements. Put formally, the number of equations satisfying decays rapidly for large (at least at a quadratic rate), as stated below.
For any , there exist some universal constants such that
with probability at least . This holds with the proviso .
The constraint of necessarily requires
where the last inequality comes from our assumption on . With Lemma 6 in place, (72) immediately gives
In addition, on , the amplitude of each summand can be bounded in such a way that
where both inequalities are immediate consequences from the definitions of and (see (56) and (24)). Taking this together with the cardinality bound (74) and picking appropriately, we get
one can simplify (77) by observing that , which results in
Putting all preceding results in this subsection together reveals that with probability exceeding ,
holds simultaneously over all and satisfying
To conclude this section, we provide a tighter estimate about the norm of the regularized gradient.
Fix , and assume that . Suppose that for some large constant . There exist some universal constants such that with probability at least ,
Lemma 7 complements the preceding arguments by allowing us to identify a concrete plausible range for the step size. Specifically, putting Lemma 7 and Proposition 2 together suggests that
Taking and to be sufficiently small we arrive at a feasible range (cf. Definition (39))
This establishes Proposition 1 and in turn Theorem 1 when is taken to be a fixed constant.
To justify the contraction under backtracking line search, it suffices to prove that the resulting step size falls within this range (83), which we defer to Appendix D.
Stability
This section goes in the direction of establishing stability guarantees of TWF. We concentrate on the iterative gradient stage, and defer the analysis for the initialization stage to Appendix C.
Before continuing, we collect two bounds that we shall use several times. The first is the observation that
where the last inequality follows from Cauchy-Schwarz. Setting
as usual, this inequality together with the trimming rules and gives
where (i) arises from [40, Corollary 5.35].
Unfortunately, (86) does not hold for all within the neighborhood of due to the existence of noise. Instead we establish the following:
The condition (86) holds for all obeying
for some constants (we shall call it Regime 1); this will be proved later. In this regime, the reasoning in Section 3 gives
for some appropriate constants and, hence, error contraction occurs as in the noiseless setting.
However, once the iterate enters Regime 2 where
for some constant . Moreover, as long as is sufficiently small, one can guarantee that . In other words, if the iterate jumps out of Regime 2, it will still fall within Regime 1.
Below we justify the condition (86) for Regime 1, for which we start by gathering additional properties of the trimming rules. By Cauchy-Schwarz, . When is sufficiently large, applying Lemmas 1 and 2 gives
We are now ready to analyze the regularized gradient, which we separate into several components as follows
For each index , the inclusion property (51) (i.e. ) holds. To see this, observe that
Next, letting , we see that for any constant , the noise component obeys
provided that is sufficiently large. Here, (ii) arises from [40, Corollary 5.35], and the last inequality is a consequence of the upper estimate
Since for some large constant , setting to be small one obtains
which finishes the proof of Theorem 2 for general .
Up until now, we have established the theorem for general , and it remains to specialize it to the Poisson model. Standard concentration results, which we omit, give
with high probability. Substitution into (16) completes the proof.
Minimax lower bound
The basic idea is to adopt the general reduction scheme discussed in [41, Section 2.2], which amounts to finding a finite collection of hypotheses that are minimally separated. Below we gather one result useful for constructing and analyzing such hypotheses.
for all ,
In words, Lemma 8 constructs a set of exponentially many vectors/hypotheses scattered around and yet well separated. From (ii) we see that each pair of hypotheses in is separated by a distance roughly on the order of , and all hypotheses reside within a spherical ball centered at of radius . When , every hypothesis satisfies . In addition, (iii) says that the quantities are all very well controlled (modulo some logarithmic factor). In particular, when , one must have
In the Poisson model, such a quantity turns out to be crucial in controlling the information divergence between two hypotheses, as demonstrated in the following lemma.
Lemma 9 and (106) taken collectively suggest that on the event ( is in Lemma 8 and ), the conditional KL divergence (we condition on the ’s) obeys
here, the inequality holds for some constant provided that , and the last inequality is a result of (which occurs with high probability). We now use hypotheses as in Lemma 8 but rescaled in such a way that
for some . This is achieved via the substitution ; with a slight abuse of notation, denotes the new set.
The hardness of a minimax estimation problem is known to be dictated by information divergence inequalities such as (108). Indeed, suppose that
holds, then the Fano-type minimax lower bound [41, Theorem 2.7] asserts that
Since , (110) would follow from
Hence, we just need to select to be a small multiple of . This in turn gives
Discussion
To keep our treatment concise, this paper does not strive to explore all possible generalizations of the theory. There are nevertheless a few extensions worth pointing out.
More general objective functions. For concreteness, we restrict our analysis to the Poisson log-likelihood function, but the analysis framework we laid out easily carries over to a broad class of (nonconvex) objective functions. For instance, all results continue to hold if we replace the Poisson log-likelihood by the Gaussian log-likelihood; that is, the polynomial function studied in . A general guideline is to first check whether the expected regularity condition
Sub-Gaussian measurements. The theory extends to the situation where the ’s are i.i.d. sub-Gaussian random vectors, although the truncation threshold might need to be tweaked based on the sub-Gaussian norm of . A more challenging scenario, however, is the case where the ’s are generated according to the CDP model, since there is much less randomness to exploit in the mathematical analysis. We leave this to future research.
Having demonstrated the power of TWF in recovering a rank-one matrix from quadratic equations, we remark on the potential of TWF towards recovering low-rank matrices from rank-one measurements. Imagine that we wish to estimate a rank- matrix and that all we know about is
It is known that this problem can be efficiently solved by using more computational-intensive semidefinite programs . With the hope of developing a linear-time algorithm, one might consider a modified TWF scheme, which would maintain a rank- matrix variable and operate as follows: perform truncated spectral initialization, and then successively update the current guess via a regularized gradient descent rule applied to a presumed log-likelihood function.
Moving away from i.i.d. sub-Gaussian measurements, there is a proliferation of problems that involve completion of a low-rank matrix from partial entries, where the rank is known a priori. It is self-evident that such entry-wise observations can also be cast as rank-one measurements of . Therefore, the preceding modified TWF may add to recent literature in applying non-convex schemes for low-rank matrix completion , robust PCA , or even a broader family of latent-variable models (e.g. dictionary learning , sparse coding , and mixture problems ). A concrete application of this flavor is a simple form of the fundamental alignment/matching problem . Imagine a collection of instances, each representing an image of the same physical object but with different shift . The goal is to align all these instances from observations on the relative shift between pairs of them. Denoting by the cyclic shift by an amount of , one sees that the collection matrix is a rank- matrix, and the relative shift observations can be treated as rank-one measurements of . Running TWF over this problem instance might result in a statistically and computationally efficient solution. This would be of great practical interest.
Appendix A Proofs for Section 5
First, we make the observation that is a quadratic function in . If we assume , then on the event one has
Solving the quadratic inequality that specifies gives
Suppose for the moment that , then the preceding two intervals are respectively equivalent to
Assuming (115) and making use of the observations
Setting gives
Proceeding with the same argument, we can derive exactly the same inner and outer bounds in the regime where , concluding the proof.
A.2 Proof of Lemma 4
By homogeneity, it suffices to establish the claim for the case where both and are unit vectors.
Suppose for the moment that and are statistically independent from . We introduce two auxiliary Lipschitz functions approximating indicator functions:
Since and are assumed to be unit vectors, these two functions obey
We proceed to lower bound .
Firstly, to compute the mean of , we introduce an auxiliary orthonormal matrix
whose first row is along the direction of , and set
where the identity (122) arises from (66) and (67). Since is bounded in magnitude by , it is a sub-Gaussian random variable with sub-Gaussian norm . Apply the Hoeffding-type inequality [40, Proposition 5.10] to deduce that for any ,
with probability at least .
The next step is to obtain uniform control over all unit vectors, for which we adopt a basic version of an -net argument. Specifically, we construct an -net with cardinality (cf. ) such that for any with , there exists a pair satisfying and . Now that we have discretized the unit spheres using a finite set, taking the union bound gives
with probability at least .
Define and such that and , which are both bounded functions with Lipschitz constant . This guarantees that for each unit vector pair and ,
Consequently, there exists some universal constant such that
where (i) results from Lemma 1, and (ii) arises from Lemma 2 whenever .
With the assertion (125) in place, we see that with high probability,
for all unit vectors and . Since can be arbitrary, putting this and (119) together completes the proof.
A.3 Proof of Lemma 5
The proof makes use of standard concentration of measure and covering arguments, and it suffices to restrict our attention to unit vectors . We find it convenient to work with an auxiliary function
Apparently, is a Lipschitz function of with Lipschitz norm . Recalling the definition of , we see that each summand is bounded above by
For each fixed and , applying the Bernstein inequality [40, Proposition 5.16] gives
with probability exceeding .
From [40, Lemma 5.2], there exists an -net of the unit sphere with cardinality . For each , suppose that for some . The Lipschitz property of implies
where (i) arises by combining Lemmas 1 and 2. This demonstrates that with high probability,
for all unit vectors , as claimed.
A.4 Proof of Lemma 6
Without loss of generality, the proof focuses on the case where . Fix an arbitrary small constant . One can eliminate the difficulty of handling the discontinuous indicator functions by working with the following auxiliary function
For any fixed unit vector , the above argument leads to an upper tail estimate: for any ,
holds with probability exceeding .
We now proceed to obtain uniform control over all and . To begin with, we consider all and construct an -net over the unit sphere such that: (i) ; (ii) for any with , there exists a unit vector obeying . Taking the union bound gives the following: with probability at least ,
holds simultaneously for all and .
Putting the above results together gives that for all ,
with probability exceeding . This establishes (71) for all .
It remains to deal with the case where . To this end, we rely on the following observation:
where (i) comes from [6, Lemmas 3.1]. This basically tells us that with high probability, none of the indicator variables can be equal to 1. Consequently, , which proves the claim.
A.5 Proof of Lemma 7
Fix . Recalling the notation v_{i}:=2\Big{\{}2\boldsymbol{a}_{i}^{\top}\boldsymbol{h}-\frac{\left|\boldsymbol{a}_{i}^{\top}\boldsymbol{h}\right|^{2}}{\boldsymbol{a}_{i}^{\top}\boldsymbol{z}}\Big{\}}{\bf 1}_{\mathcal{E}_{1}^{i}\cap\mathcal{E}_{2}^{i}}, we see from the expansion (62) that
as soon as for some sufficiently large . Here, the norm estimate arises from standard random matrix results [40, Corollary 5.35].
Everything then comes down to controlling . To this end, making use of the inclusion (63) yields
The first term is controlled by [6, Lemma 3.1] in such a way that with probability ,
Turning to the remaining terms, we see from the definition of and that
where the last inequality follows from (69) and (78).
Recall that . Taken together all these bounds lead to the upper bound
Appendix B Proofs for Section 7
Firstly, we collect a few results on the magnitudes of () that will be useful in constructing the hypotheses. Observe that for any given and any sufficiently large ,
To summarize, with probability , one has
In the sequel, we will first produce a set of exponentially many vectors surrounding in such a way that every pair is separated by about the same distance, and then verify that a non-trivial fraction of obeys (105). Without loss of generality, we assume that takes the form for some .
The construction of follows a standard random packing argument. Let be a random vector with
where . The collection is then obtained by generating independent copies () of . For any , the concentration inequality [40, Corollary 5.35] gives
Taking the union bound over all pairs we obtain
with probability exceeding .
The next step is to show that many vectors in satisfy (105). For any given with , by letting , , and , we derive
It then boils down to developing an upper bound on . This ratio is convenient to work with since the numerator and denominator are stochastically independent. To simplify presentation, we reorder in a way that
this will not affect our subsequent analysis concerning since it is independent of .
To proceed, we let consist of all but the first entry of , and introduce the indicator variables
where as before. In words, we divide , into two groups, with the first group enforcing far more stringent control than the second group. These indicator variables are useful since any obeying will satisfy (105) when is sufficiently large. To see this, note that for the first group of indices, requires
where the second inequality follows from (134). This taken collectively with (130) and (135) yields
Regarding the second group of indices, gives
where the last inequality again follows from (134). Plugging (138) and (131) into (135) gives
Consequently, (105) is satified for all . It then suffices to guarantee the existence of exponentially many vectors obeying .
Note that the first group of indicator variables are quite stringent, namely, for each only a fraction of the equations could satisfy . Fortunately, is exponentially large, and hence even is exponentially large. Put formally, we claim that the first group satisfies
with probability exceeding . With this claim in place (which will be proved later), one has
when and are sufficiently large. In light of this, we will let be a collection comprising all obeying , which has size based on the preceding argument. For notational simplicity, it will be assumed that the vectors in are exactly ().
We now move on to the second group by examining how many vectors in further satisfy . Notably, the above construction of relies only on and is independent of the remaining vectors . In what follows the argument proceeds conditional on and . Applying the union bound gives
This combined with Markov’s inequality gives
with probability . Putting the above inequalities together suggests that with probability , there exist at least
vectors in satisfying . We then choose to be the set consisting of all these vectors, which forms a valid collection satisfying the properties of Lemma 8.
Finally, the only remaining step is to establish the claim (139). To start with, consider an matrix of i.i.d. standard normal entries, and let . Conditional on the ’s,
For sufficiently large , one has . Using [40, Corollary 5.35] we get
with probability . Thus, for any constant , conditional on and (140) we obtain
When it comes to our quantity of interest, the above lower bound (143) indicates that on an event (defined via ) of probability approaching 1, we have
Since conditional on , are independent across , applying the Chernoff-type bound [55, Theorem 4.5] gives
with probability exceeding 1-\exp\Big{(}-\frac{1}{8}\frac{M_{1}}{\left(2\pi\right)^{k/2}(1+4\sqrt{k/n})^{k/2}}\left(\frac{1}{\sqrt{2\pi}m}\right)^{k}\Big{)}. This concludes the proof.
B.2 Proof of Lemma 9
Before proceeding, we introduce the -divergence between two probability measures and as
It is well known (e.g. [41, Lemma 2.7]) that
and hence it suffices to develop an upper bound on the divergence.
The preceding identity (147) arises from the following computation: by definition of ,
Set . To summarize,
Appendix C Initialization via truncated spectral Method
This section demonstrates that the truncated spectral method works when , as stated in the proposition below.
for some sufficiently small constant . With probability exceeding , the solution returned by the truncated spectral method obeys
provided that for some constant .
By homogeneity, it suffices to consider the case where . Recall from [6, Lemma 3.1] that holds with probability . Under the hypothesis (150), one has
Consequently, when , one has
Besides, in the case where ,
Taken collectively, these inequalities imply that
where and . Letting , one can compute
We now justify that the Poisson model (4) satisfies the condition (150). Suppose that and hence . It follows from the Chernoff bound that for all ,
Similarly, applying the same argument on we get for all , which together with (164) establishes the condition (150) with high probability. In conclusion, the claim (151) applies to the Poisson model.
Appendix D Local error contraction with backtracking line search
In this section, we verify the effectiveness of a backtracking line search strategy by showing local error contraction. To keep it concise, we only sketch the proof for the noiseless case, but the proof extends to the noisy case without much difficulty. Also we do not strive to obtain an optimized constant. For concreteness, we prove the following proposition.
Thus, it suffices to show that the step size obtained by a backtracking line search lies within (0,0.384). For notational convenience, we will set
throughout the rest of the proof. We also impose the assumption
for some sufficiently small constant , so that is small for all non-truncated terms. It is self-evident from (79) that in the regime under study, one has
To start with, consider three scalars , , and . Setting , we get
where (i) follows from the inequality for sufficiently small . To further simplify the bound, observe that
Plugging these two identities into (168) yields
The next step is then to bound each of these terms separately. Most of the following bounds are straightforward consequences from [6, Lemma 3.1] combined with the truncation rule. For the first term, applying the AM-GM inequality we get
Fourthly, it arises from the AM-GM inequality that
Under the hypothesis (167), we can further derive . Putting all the above bounds together yields that the truncated objective function is majorized by
Acknowledgements
E. C. is partially supported by NSF under grant CCF-0963835 and by the Math + X Award from the Simons Foundation. Y. C. is supported by the same NSF grant. We thank Carlos Sing-Long and Weijie Su for their constructive comments about an early version of the manuscript. E. C. is grateful to Xiaodong Li and Mahdi Soltanolkotabi for many discussions about Wirtinger flows. We thank the anonymous reviewers for helpful comments.