Phase Retrieval using Alternating Minimization

Praneeth Netrapalli, Prateek Jain, Sujay Sanghavi

Introduction

then the task is to recover x\mathbf{x^{*}} using y\mathbf{y} and the measurement matrix A=[a1 a2  am]\mathbf{A}=[\mathbf{a_{1}}\ \mathbf{a_{2}}\ \dots\ \mathbf{a_{m}}].

The above problem arises in many settings where it is harder / infeasible to record the phase of measurements, while recording the magnitudes is significantly easier. This problem, known as phase retrieval, is encountered in several applications in crystallography, optics, spectroscopy and tomography . Moreover, the problem is broadly studied in the following two settings:

The measurements in (1) correspond to the Fourier transform (the number of measurements here is equal to nn) and there is some apriori information about the signal.

The set of measurements y\mathbf{y} are overcomplete (i.e., m>nm>n), while some apriori information about the signal may or may not be available.

In the first case, various types of apriori information about the underlying signal such as positivity, magnitude information on the signal , sparsity and so on have been studied. In the second case, algorithms for various measurement schemes such as Fourier oversampling , multiple random illuminations and wavelet transform have been suggested.

By and large, the most well known methods for solving this problem are the error reduction algorithms due to Gerchberg and Saxton and Fienup , and variants thereof. These algorithms are alternating projection algorithms that iterate between the unknown phases of the measurements and the unknown underlying vector. Though the empirical performance of these algorithms has been well studied . and they are used in many applications , there are not many theoretical guarantees regarding their performance.

More recently, a line of work has approached this problem from a different angle, based on the realization that recovering x\mathbf{x^{*}} is equivalent to recovering the rank-one matrix xxT\mathbf{x^{*}}\mathbf{x^{*}}^{T}, i.e., its outer product. Inspired by the recent literature on trace norm relaxation of the rank constraint, they design SDPs to solve this problem. Refer Section 1.1 for more details.

In this paper we go back to the empirically more popular ideology of alternating minimization; we develop a new alternating minimization algorithm, and show that (a) empirically, it noticeably outperforms convex methods, and (b) analytically, a natural resampled version of this algorithm requires O(nlog3nlog1ϵ)O(n\log^{3}n\log\frac{1}{\epsilon}) i.i.d. random Gaussian measurements to geometrically converge to the true vector up to an accuracy of ϵ\epsilon. Our contribution:

The iterative part of our algorithm is essentially due to Gerchberg and Saxton and Fienup ; indeed, with out resampling, our algorithm is exactly their famous error reduction algorithm; the novelty in our algorithmic contribution is the initialization step which makes it more likely for the iterative procedure to succeed - see Figures 1, 2 and 3.

Our analytical contribution is the first theoretical guarantee establishing the correctness of alternating minimization (with resampling) in recovering the underlying signal for the phase retrieval problem.

Besides being an empirically better algorithm for this problem, our work is also interesting in a broader sense: there are many problems in machine learning, signal procesing and numerical linear algebra, where the natural formulation of a problem is non-convex; examples include rank constrained problems, applications of EM algorithms etc., and alternating minimization has good empirical performance. However, the methods with the best (or only) analytical guarantees involve convex relaxations (e.g., by relaxing the rank constraint and penalizing the trace norm). In most of these settings, correctness of alternating minimization is an open question. We believe that our results in this paper are of interest, and may have implications, in this larger context.

Difference from standard alternating minimization: The algorithm we analyze in this paper uses different measurements in each iteration and differs from standard alternating minimization approaches in this context, where same measurements are used in each iteration. Since our algorithm decays the error at a geometric rate, an error of ϵ\epsilon requires O(log(1/ϵ))O\left({\log(1/\epsilon)}\right) iterations, increasing the total number of measurements by this factor. Theoretically, this is still competitive with convex optimization approaches under computational constraints. Indeed, for a poly(n)\textrm{poly}(n) run time, the best known bounds for phase retrieval via convex optimization can guarantee an accuracy of 1/poly(n)1/\textrm{poly}(n). For an accuracy of ϵ=1/poly(n)\epsilon=1/\textrm{poly}(n), the use of different samples in different iterations of our algorithm contributes an extra factor of just O(logn)O\left({\log n}\right). Nevertheless, throwing away samples (as our algorithm does) is simply not a viable option in many practical settings. In fact, we empirically observe that using the same samples in all iterations performs significantly better than using different samples in each iteration (indeed, for our numerical experiments, we use the same samples in each iteration). Subsequent to our work, Candès et al. proposed a non-convex iterative algorithm based on Wirtinger flow, that uses same samples in each iteration, and show that it converges to the true underlying vector. See Section 1.1 for more details. The rest of the paper is organized as follows: In section 1.1, we briefly review related work. We clarify our notation in Section 2. We present our algorithm in Section 3 and the main results in Section 4. We present our results for the sparse case in Section 5. Finally, we present experimental results in Section 6.

Phase Retrieval via Non-Convex Procedures: Inspite of the huge amount of work it has attracted, phase retrieval has been a long standing open problem. Early work in this area focused on using holography to capture the phase information along with magnitude measurements . However, computational methods for reconstruction of the signal using only magnitude measurements received a lot of attention due to their applicability in resolving spurious noise, fringes, optical system aberrations and so on and difficulties in the implementation of interferometer setups . Though such methods have been developed to solve this problem in various practical settings , our theoretical understanding of this problem is still far from complete. Many papers have focused on determining conditions under which (1) has a unique solution. However, the uniqueness results of these papers do not resolve the algorithmic question of how to find the solution to (1).

Since the seminal work of Gerchberg and Saxton and Fienup , many iterated projection algorithms have been developed targeted towards various applications . first suggested the use of multiple magnitude measurements to resolve the phase problem. This approach has been successfully used in many practical applications - see and references there in. Following the empirical success of these algorithms, researchers were able to explain its success in some of the instances using Bregman’s theory of iterated projections onto convex sets . However, many instances, such as the one we consider in this paper, are out of reach of this theory since they involve magnitude constraints which are non-convex. To the best of our knowledge, there are no theoretical results on the convergence of these approaches in a non-convex setting.

Subsequent to our work, Candès et al. proposed an iterative algorithm based on Wirtinger flow which is similar to optimizing a non-convex function using gradient descent. Despite using same samples, they manage to show that their algorithm recovers the true underlying vector for Gaussian measurements, albeit with a slow convergence rate. Quite interestingly, they also show that if the initial point is O(1n)O\left({\frac{1}{\sqrt{n}}}\right) close to the true vector (which can be achieved by using a small amount of resampling), their algorithm (using same samples) achieves exact recovery for Gaussian measurements as well as coded diffraction measurements (which are practically more relevant than Gaussian measurements), with a fast convergence rate matching that of our algorithm. It has also been reported that the Wirtinger flow algorithm has better properties than alternating minimization in some optics settings .

Phase Retrieval via Convex Relaxation: An interesting recent approach for solving this problem formulates it as one of finding the rank-one solution to a system of linear matrix equations. The papers then take the approach of relaxing the rank constraint by a trace norm penalty, making the overall algorithm a convex program (called PhaseLift) over n×nn\times n matrices. Another recent line of work takes a similar but different approach : it uses an SDP relaxation (called PhaseCut) that is inspired by the classical SDP relaxation for the max-cut problem. To date, these convex methods are the only ones with analytical guarantees on statistical performance (i.e. the number mm of measurements required to recover x\mathbf{x^{*}}) . However, by “lifting” a vector problem to a matrix one, these methods lead to a much larger representation of the state space, and higher computational cost as a result.

Measurement Schemes: Earlier results on PhaseLift and PhaseCut assumed an i.i.d. random Gaussian model on the measurement vectors ai\mathbf{a}_{i}. extends these results for PhaseLift for measurement schemes known as t-designs, which are more general than Gaussian measurements. Recently, establishes near-optimal statistical guarantees for PhaseLift under masked Fourier transform measurements.

Alternating Minimization (a.k.a. ALS): Alternating minimization has been successfully applied to many applications in the low-rank matrix setting. For example, clustering , sparse PCA , non-negative matrix factorization , signed network prediction etc. However, despite empirical success, for most of the problems, there are no theoretical guarantees regarding its convergence except to a local minimum. Of late, however, there has been a spurt of work in obtaining provable guarantees for alternating minimization in various settings such as learning sparsely used dictionaries , matrix completion , robust PCA etc. Though earlier results for matrix completion use heavy resampling, subsequent work has obtained similar results with a small amount of resampling.

There has also been some work on designing other non convex optimization algorithms, such as gradient descent for solving some of these problems. For instance, propose a gradient descent algorithm on the Grassmanian manifold to solve the matrix completion problem.

Notation

Algorithm

where C=def\mboxDiag(c)\mathbf{C}^{*}\stackrel{{\scriptstyle\textrm{def}}}{{=}}\mbox{Diag}(\mathbf{c}^{*}) is the diagonal matrix of phases. Of course we do not know C\mathbf{C}^{*}, hence one approach to recovering x\mathbf{x^{*}} is to solve:

While the above algorithm is simple and intuitive, it is known that with bad initial points, the solution might not converge to x\mathbf{x^{*}}. In fact, this algorithm with a uniformly random initial point has been empirically evaluated for example in , where it performs worse than SDP based methods. Moreover, since the underlying problem is non-convex, standard analysis techniques fail to guarantee convergence to the global optimum, x\mathbf{x^{*}}. Hence, the key challenges here are: a) a good initialization step for this method, b) establishing this method’s convergence to x\mathbf{x^{*}}.

We address the first key challenge in our AltMinPhase algorithm (Algorithm 1) by initializing x\mathbf{x} as the largest singular vector of the matrix S=1miyi2aiaiT\mathbf{S}=\frac{1}{m}\sum_{i}y_{i}^{2}\mathbf{a_{i}}\mathbf{a_{i}}^{T}. This is similar to the initialization in for the matrix completion problem. Theorem 4.1 shows that when A\mathbf{A} is sampled from standard complex normal distribution, this initialization is accurate. In particular, if mC1nlog3nm\geq C_{1}n\log^{3}n for large enough C1>0C_{1}>0, then whp we have x0x21/100\|\mathbf{x^{0}}-\mathbf{x^{*}}\|_{2}\leq 1/100 (or any other constant).

Theorem 4.2 addresses the second key challenge and shows that a variant of AltMinPhase (see Algorithm 2) actually converges to the global optimum x\mathbf{x^{*}} at linear rate. See section 4 for a detailed analysis of our algorithm.

We would like to stress that not only does a natural variant of our proposed algorithm have rigorous theoretical guarantees, it also is effective practically as each of its iterations is fast, has a closed form solution and does not require SVD computation. AltMinPhase has similar statistical complexity to that of PhaseLift and PhaseCut while being much more efficient computationally. In particular, for accuracy ϵ\epsilon, we only need to solve each least squares problem only up to accuracy O(ϵ2)O\left({\epsilon^{2}}\right). Since the measurement matrix AA is Gaussian with m>Cnm>Cn, it is well conditioned. This means that each such step takes O(mnlog1ϵ)O\left({mn\log\frac{1}{\epsilon}}\right) time using the conjugate gradient method. When m=O(n)m=O\left({n}\right) and we have geometric convergence, the total time taken by the algorithm is O(n2log21ϵ)O\left({n^{2}\log^{2}\frac{1}{\epsilon}}\right). SDP based methods on the other hand require Ω(n3/ϵ)\Omega(n^{3}/\sqrt{\epsilon}) time. Moreover, our initialization step increases the likelihood of successful recovery as opposed to a random initialization (which has been considered so far in prior work). Refer Figure 1 for an empirical validation of these claims.

A key drawback of our results, however, is the use of resampling. More specifically, our convergence guarantee is obtained for a variant of Algorithm 1 (see Algorithm 2), where we use different samples in each iteration. In practice, this is not feasible since in many applications, taking so many measurements may not be possible. On the other hand, the SDP approaches and a recent non-convex optimization approach do not face this issue. See Section 1 for more details on this aspect.

Main Results: Analysis

In this section we describe the main contribution of this paper: provable statistical guarantees for the success of alternating minimization in solving the phase recovery problem. To this end, we consider the setting where each measurement vector ai\mathbf{a_{i}} is iid and is sampled from the standard complex normal distribution. We would like to stress that all the existing guarantees for phase recovery also use exactly the same setting . Table 1 presents a comparison of the theoretical guarantees of Algorithm 2 as compared to PhaseLift and PhaseCut.

Our proof for convergence of alternating minimization can be broken into two key results. We first show that if mCnlog3nm\geq Cn\log^{3}n, then whp the initialization step used by AltMinPhase returns x0\mathbf{x^{0}} which is at most a constant distance away from x\mathbf{x^{*}}. Furthermore, that constant can be controlled by using more samples (see Theorem 4.1).

We now present the two results mentioned above. For our proofs, wlog, we assume that x2=1\|\mathbf{x^{*}}\|_{2}=1.

Our first result guarantees a good initial vector.

There exists a constant C1C_{1} such that if m>C1c2nlog3nm>\frac{C_{1}}{c^{2}}n\log^{3}n, then in Algorithm 2, with probability greater than 14/m21-4/m^{2} we have:

that is, x+\mathbf{\mathbf{x}^{+}} can be viewed as a perturbation of x\mathbf{x^{*}} and the goal is to bound the error term (the second term above). We break the proof into two main steps:

Using the above bounds and choosing c<1100c1c<\frac{1}{100c_{1}}, we can prove the theorem:

proving the first part of the theorem. The second part follows easily from (4) and Lemma A.2. ∎

Intuition and key challenge: If we look at step 6 of Algorithm 2, we see that, for the measurements, we use magnitudes calculated from x\mathbf{x^{*}} and phases calculated from x\mathbf{x}. Intuitively, this means that we are trying to push x+\mathbf{\mathbf{x}^{+}} towards x\mathbf{x^{*}} (since we use its magnitudes) and x\mathbf{x} (since we use its phases) at the same time. The key intuition behind the success of this procedure is that the push towards x\mathbf{x^{*}} is stronger than the push towards x\mathbf{x}, when x\mathbf{x} is close to x\mathbf{x^{*}}. The key lemma that captures this effect is stated below:

See Appendix A for a proof of the above lemma and how we use it to prove Theorem 4.2. Combining Theorems 4.1 and 4.2, we can establish the correctness of Algorithm 2.

Suppose the measurement vectors in (1) are independent standard complex normal vectors. There exists a constant cc such that if m>cnlogn(log2n+log1ϵloglog1ϵ){m>cn\log n\left(\log^{2}n+\log\frac{1}{\epsilon}\log\log\frac{1}{\epsilon}\right)} then, with probability greater than 11n1-\frac{1}{n}, Algorithm 2 outputs xt0\mathbf{x^{t_{0}}} such that xt0x2<ϵ\|\mathbf{x^{t_{0}}}-\mathbf{x^{*}}\|_{2}<\epsilon, for some global phase choice of x\mathbf{x^{*}}.

Sparse Phase Retrieval

In this section, we consider the case where x\mathbf{x^{*}} is known to be sparse, with sparsity kk. A natural and practical question to ask here is: can the sample and computational complexity of the recovery algorithm be improved when knk\ll n.

The following lemma shows that if the number of measurements is large enough, step 1 of SparseAltMinPhase recovers the support of x\mathbf{x^{*}} correctly.

Suppose x\mathbf{x^{*}} is kk-sparse with support SS and x2=1\left\|{\mathbf{x^{*}}}\right\|_{2}=1. If ai\mathbf{a_{i}} are standard complex Gaussian random vectors and m>c(xmin)4lognδm>\frac{c}{\left(x_{\textrm{min}}^{*}\right)^{4}}\log\frac{n}{\delta}, then Algorithm 3 recovers SS with probability greater than 1δ1-\delta, where xminx_{\textrm{min}}^{*} is the minimum non-zero entry of x\mathbf{x^{*}}.

The key step of our proof is to show that if jsupp(x)j\in supp(\mathbf{x^{*}}), then random variable Zij=iaijyiZ_{ij}=\sum_{i}|a_{ij}y_{i}| has significantly higher mean than for the case when jsupp(x)j\notin supp(\mathbf{x^{*}}). Now, by applying appropriate concentration bounds, we can ensure that minjsupp(x)Zij>maxjsupp(x)Zij\min_{j\in supp(\mathbf{x^{*}})}|Z_{ij}|>\max_{j\notin supp(\mathbf{x^{*}})}|Z_{ij}| and hence our algorithm never picks up an element outside the true support set supp(x)supp(\mathbf{x^{*}}). See Appendix B for a detailed proof of the above lemma.

The correctness of Algorithm 3 now is a direct consequence of Lemma 5.1 and Theorem 4.4. For the special case where each non-zero value in xx^{*} is from {1k,1k}\{-\frac{1}{\sqrt{k}},\frac{1}{\sqrt{k}}\}, we have the following corollary:

Suppose x\mathbf{x^{*}} is kk-sparse with non-zero elements ±1k\pm\frac{1}{\sqrt{k}}. If the number of measurements m>clogn(k2+klog2k+klog1ϵ)m>c\log{n}\left(k^{2}+k\log^{2}k+k\log\frac{1}{\epsilon}\right), then Algorithm 3 will recover xx^{*} up to accuracy ϵ\epsilon with probability greater than 11n1-\frac{1}{n}.

Experiments

In this section, we present experimental evaluation of AltMinPhase (Algorithm 1) and compare its performance with the SDP based methods PhaseLift and PhaseCut . We also empirically demonstrate the advantage of our initialization procedure over random initialization (denoted by AltMin (random init)), which has thus far been considered in the literature . AltMin (random init) is the same as AltMinPhase except that step 1 of Algorithm 1 is replaced with:x0\mathbf{x^{0}}\leftarrow Uniformly random vector from the unit sphere.

In the noiseless setting, a trial is said to succeed if the output x\mathbf{x} satisfies xx2<102\left\|{\mathbf{x}-\mathbf{x^{*}}}\right\|_{2}<10^{-2}. For a given dimension, we do a linear search for smallest mm (number of samples) such that empirical success ratio over 2020 runs is at least 0.80.8. We implemented our methods in Matlab, while we obtained the code for PhaseLift and PhaseCut from the authors of and respectively.

We now present results from our experiments in three different settings.

Independent Random Gaussian Measurements: Each measurement vector ai\mathbf{a_{i}} is generated from the standard complex Gaussian distribution. This measurement scheme was first suggested by as a first step to obtain a theoretical understanding of the problem.

Multiple Random Illumination Filters: We now present our results for the setting where the measurements are obtained using multiple illumination filters; this setting was suggested by . In particular, choose JJ vectors z(1),,z(J)\mathbf{z^{(1)}},\cdots,\mathbf{z^{(J)}} and compute the following discrete Fourier transforms:

where \cdot* denotes component-wise multiplication. Our measurements will then be the magnitudes of components of the vectors x^(1),,x^(J)\mathbf{\widehat{x}^{(1)}},\cdots,\mathbf{\widehat{x}^{(J)}}. Note that this gives a total of JnJn measurements. The above measurement scheme can be implemented by modulating the light beam or by the use of masks; see for more details.

For this setting, we conduct a similar set of experiments as the previous setting. That is, we vary dimensionality of the true signal z(u)\mathbf{z^{(u)}} (generated from the Gaussian distribution)and then empirically determine measurement and computational cost of each algorithm. Figures 2 (a) and (b) present our experimental results for this measurement scheme. Here again, we make similar observations as the last setting. That is, the measurement complexity of AltMinPhase is similar to PhaseCut and PhaseLift, but AltMinPhase is orders of magnitude faster than PhaseLift and PhaseCut. Note that Figure 2 is on a log-scale.

Noisy Phase Retrieval: Finally, we study our method in the following noisy measurement scheme:

Geometric Decay: Finally, we provide empirical results verifying that AltMinPhase reduces the error at a geometric rate as guaranteed by Theorem 4.2 but no faster. The measurement vectors were chosen to be standard complex Gaussian with n=64n=64 and m=6nm=6n. Figure 3(b) shows the plot of empirical error vs the number of iterations.

Acknowledgment

S. Sanghavi would like to acknowledge support from NSF grants 1302435 and 0954059.

References

Appendix A Proofs for Section 4

Proof of Step (1): We now complete our proof by proving (1). To this end, we use the following matrix concentration result from :

A.2 Proof of per step reduction in error

In all the lemmas in this section, δ\delta is a small numerical constant (can be taken to be 0.010.01).

Using (4) and the fact that x2=1\|\mathbf{x^{*}}\|_{2}=1, xTx+=1+xT(AAT)1A(DI)ATx\mathbf{x}^{*T}\mathbf{x}^{+}=1+\mathbf{x}^{*T}\left(\mathbf{A}\mathbf{A}^{T}\right)^{-1}\mathbf{A}\left(\mathbf{D}-\mathbf{I}\right)\mathbf{A}^{T}\mathbf{x^{*}}. That is, xTx+1(12mAAT)1212mA212m(DI)ATx2|\mathbf{x}^{*T}\mathbf{x}^{+}|\geq 1-\|\left(\frac{1}{2m}\mathbf{A}\mathbf{A}^{T}\right)^{-1}\|_{2}\|\frac{1}{\sqrt{2m}}A\|_{2}\|\frac{1}{\sqrt{2m}}\left(\mathbf{D}-\mathbf{I}\right)\mathbf{A}^{T}\mathbf{x^{*}}\|_{2}. Assuming m>c^log1ηnm>\widehat{c}\log\frac{1}{\eta}n, Standard results in random matrix theory tell us that12mAATI2<1c^\left\|{\frac{1}{2m}\mathbf{A}\mathbf{A}^{T}-\mathbf{I}}\right\|_{2}<\frac{1}{\sqrt{\widehat{c}}}, wp 1η10\geq 1-\frac{\eta}{10}. This means that (12mAAT)121/(12/c^)2\|\left(\frac{1}{2m}\mathbf{A}\mathbf{A}^{T}\right)^{-1}\|_{2}\leq 1/(1-2/\sqrt{\widehat{c}})^{2} and A21+2/c^\|\mathbf{A}\|_{2}\leq 1+2/\sqrt{\widehat{c}}. Note that both the quantities can be bounded by constants that are close to 11 by selecting a large enough c^\widehat{c}. Also note that 12mAAT\frac{1}{2m}\mathbf{A}\mathbf{A}^{T} converges to I\mathbf{I} (the identity matrix), or equivalently 1mAAT\frac{1}{m}\mathbf{A}\mathbf{A}^{T} converges to 2I2\mathbf{I} since the elements of AA are standard normal complex random variables and not standard normal real random variables.

Show that UlU_{l} is a subexponential random variable and use that fact to derive concentration bounds.

where (ζ1)(\zeta_{1}) uses Lemma A.7 and (ζ2)(\zeta_{2}), the fact that a2la_{2l} is a sub-gaussian random variable. This means:

Using this, we have the following bound on the expected value of UlU_{l}:

From (8), we see that UlU_{l} is a subexponential random variable with parameter c(1α2)c\left(1-\alpha^{2}\right). Using Proposition 5.16 from , we obtain:

where the last step uses Lemma A.2. Similarly,

Using (9), (10), (11) along with Lemmas A.5 and A.6, we see that for a fixed zz, we have:

with probability greater than 1η10exp(cn)1-\frac{\eta}{10}\exp(-cn).

So far we have proved the result only for a fixed vector zz. We now use a covering and union bound argument to extend this result for every zz that is orthogonal to x\mathbf{x^{*}}.

Union bound argument: Construct an ϵ\epsilon-net SS for unit vectors in the (n1)(n-1)-dimensional space that is orthogonal to x\mathbf{x^{*}}. Using standard results (see e.g., Chap. 13 of ), we know that the size of SS can be chosen to be (1ϵ)O(n)\left(\frac{1}{\epsilon}\right)^{O\left({n}\right)}. We choose ϵ=1/100\epsilon=1/100, and hence the size of SS is exp(cn)\exp\left({cn}\right), for some fixed constant cc. Applying (12) for every zS\mathbf{z}\in S, and taking a union bound, we obtain:

with probability greater than 1η10exp(n)1-\frac{\eta}{10}\exp(-n).

Now choose a unit vector z^\mathbf{\widehat{z}} that is orthogonal to x\mathbf{x^{*}} (but is not necessarily in S), that maximizes z^,x+\left|\langle\mathbf{\widehat{z}},\mathbf{x}^{+}\rangle\right|. In other words, z^\mathbf{\widehat{z}} is such that

Since SS is a 1100\frac{1}{100}-net of the orthogonal space to x\mathbf{x^{*}}, we know that there is a zS\mathbf{z}\in S such that zz^2<1100\left\|{\mathbf{z}-\mathbf{\widehat{z}}}\right\|_{2}<\frac{1}{100}. So, we have:

where (ζ1)(\zeta_{1}) follows from (13) and (ζ2)(\zeta_{2}) follows from (14). This means that

Recalling the choice of z^\mathbf{\widehat{z}} from (14) finishes the proof. ∎

Assume the hypothesis of Theorem 4.2 and the notation therein. Then,

with probability greater than 1η10en1-\frac{\eta}{10}e^{-n}.

where the last step follows from the fact that a2la^{\prime}_{2l} is a subgaussian random variable and hence a2l2\left|a^{\prime}_{2l}\right|^{2} is a subexponential random variable. Using Proposition 5.16 from , we obtain:

Choosing δ=199\delta=\frac{1}{99} and using Lemma 4.3, we obtain:

with probability greater than 1η10exp(n)1-\frac{\eta}{10}\exp(-n). This proves the lemma. ∎

Let w2=w2eiθw_{2}=\left|w_{2}\right|e^{i\theta}. Then w1,w2\left|w_{1}\right|,\left|w_{2}\right| and θ\theta are all independent random variables. θ\theta is a uniform random variable over [π,π][-\pi,\pi] and w1\left|w_{1}\right| and w2\left|w_{2}\right| are identically distributed with probability distribution function, p(x)=xexp(x22)\mathds1{x0}p(x)=x\exp\left(-\frac{x^{2}}{2}\right)\mathds{1}_{\{x\geq 0\}}. We have:

We will first calculate the imaginary part of the above expectation:

since we are taking the expectation of an odd function. Focusing on the real part, we let:

We show this by calculating F(0)F^{\prime}(0) and using the continuity of F(β)F^{\prime}(\beta) at β=0\beta=0. We first calculate F(β)F^{\prime}(\beta) as follows:

From the above, we see that F(0)=12F^{\prime}(0)=\frac{1}{2} and (16) then follows from the continuity of F(β)F^{\prime}(\beta) at β=0\beta=0. Getting back to the expected value of UU, we have:

where cc is some constant. The last step follows from standard bounds on the tail probabilities of gaussian random variables. We now bound the second term of (17) as follows:

where (ζ1)(\zeta_{1}) follows from (18), (ζ2)(\zeta_{2}) follows from the formulae for second and third absolute moments of gaussian random variables and (ζ3)(\zeta_{3}) follows from the fact that 1α2<δ1-\alpha^{2}<\delta. Plugging the above inequality in (17), we obtain:

where we used the fact that α1δ2\alpha\geq 1-\frac{\delta}{2}. This proves the lemma. ∎

Assume the hypothesis of Theorem 4.2 and the notation therein. Then,

with probability greater than 1η10en1-\frac{\eta}{10}e^{-n}.

The proof of this lemma is very similar to that of Lemma A.5. We have:

where the last step follows from the fact that a2la^{\prime}_{2l} and a3la^{\prime}_{3l} are independent subgaussian random variables and hence a2la3l\left|a^{\prime}_{2l}a^{\prime}_{3l}\right| is a subexponential random variable. Using Proposition 5.16 from , we obtain:

Choosing δ=1100\delta=\frac{1}{100}, we have:

with probability greater than 1η10exp(n)1-\frac{\eta}{10}\exp(-n). This proves the lemma. ∎

Appendix B Proofs for Section 5

For every j[n]j\in[n] and i[m]i\in[m], consider the random variable Zij=defaijyiZ_{ij}\stackrel{{\scriptstyle\textrm{def}}}{{=}}\left|a_{ij}y_{i}\right|. We have the following:

where the first step follows from Corollary 3.1 in and the second step follows from the Taylor series expansions of 1x2\sqrt{1-x^{2}} and arcsin(x)\arcsin(x),

for every j[n]j\in[n], ZijZ_{ij} is a sub-exponential random variable with parameter c=O(1)c=O(1) (since it is a product of two standard normal random variables).

Using the hypothesis of the theorem about mm, we have:

Applying a union bound to the above, we see that with probability greater than 1δ1-\delta, there is a separation in the values of 1mi=1mZij\frac{1}{m}\sum_{i=1}^{m}Z_{ij} for jSj\in S and jSj\notin S. This proves the theorem. ∎