Estimation of Low-Rank Matrices via Approximate Message Passing
Andrea Montanari, Ramji Venkataramanan
Introduction
The ‘spiked model’ is the simplest probabilistic model of a data matrix with a latent low-dimensional structure. Consider, to begin with, the case of a symmetric matrix. The data are written as the sum of a low-rank matrix (the signal) and Gaussian component (the noise):
where is a noise matrix with entries . An important special case assumes . In this caseFor the formal analysis of this model, it will be convenient to consider the case of deterministic vectors , satisfying suitable asymptotic conditions. However, these conditions hold almost surely, e.g. . the rows of are i.i.d. samples from a high-dimensional Gaussian where . Theoretical analysis of this spiked covariance model has led to a number of important statistical insights [Joh06, JL09].
Within probability theory, the spiked model (1.1) is also known as ‘deformed GOE’ or ‘deformed Wigner random matrix’, and the behavior of its eigenvalues and eigenvectors has been studied in exquisite detail [BBAP05, BS06, FP07, CDMF09, BGN11, BGN12, KY13]. The most basic phenomenon unveiled by this line of work is the so-called BBAP phase transition, first discovered in the physics literature [HR04], and named after the authors of [BBAP05]. Let be the number of rank-one terms with . Then the spectrum of is formed by a bulk of eigenvalues in the interval $k_{*}{\boldsymbol{v}}_{i}\lambda_{i}\geq 0i$.
The spiked model (1.1), (1.2) and their generalizations have also been studied from a statistical perspective [Joh01, Pau07]. A fundamental question in this context is to estimate the vectors from a single realization of the matrix . It is fair to say that this question is relatively well understood when the vectors are unstructured, e.g. they are a uniformly random orthonormal set (distributed according to the Haar measure). In this case, and in the high-dimensional limit , the best estimator of vector is the -th eigenvector of . Random matrix theory provides detailed information about its asymptotic properties.
This paper is concerned with the case in which the vectors are structured, e.g. they are sparse, or have bounded entries. This structure is not captured by spectral methods, and other approaches lead to significantly better estimators. This scenario is relevant for a broad range of applications, including sparse principal component analysis [JL09, ZHT06, DM14], non-negative principal component analysis [LS99, MR16], community detection under the stochastic block model [DAM16, Abb18, Moo17], and so on. Understanding what are optimal ways of exploiting the structure of signals is —to a large extent—an open problem.
Unfortunately, there is no general algorithm that computes the Bayes-optimal estimator and is guaranteed to run in polynomial time. Markov Chain Monte Carlo can have exponentially large mixing time and is difficult to analyze [GL06]. Variational methods are non-convex and do not come with consistency guarantees [BKM17]. Classical convex relaxations do not generally achieve the Bayes optimal error, since they incorporate limited prior information [JMRT16].
In the positive direction, approximate message passing (AMP) algorithms have been successfully applied to a number of low-rank matrix estimation problems [FR18, PSC14, MR16, VSM15, KKM+16]. In particular, AMP was proved to achieve the Bayes optimal estimation error in special cases of the model (1.1), in the high-dimensional limit [DM15, DM14]. In fact, a bold conjecture from statistical physics suggests that the estimation error achieved by AMP is the same that can be achieved by the optimal polynomial-time algorithm.
An important feature of AMP is that it admits an exact characterization in the limit that goes under the name of state evolution [DMM09, BM11, Bol14]. There is however one notable case in which the state evolution analysis of AMP falls short of its goal: when AMP is initialized near an unstable fixed point. This is typically the case for the problem of estimating the vectors ’s in the spiked model (1.1). (We refer to the next section for a discussion of this point.)
In order to overcome this problem, we propose a two-step algorithm:
We compute the principal eigenvectors of , which correspond to the outlier eigenvalues.
We run AMP with an initialization that is correlated with these eigenvectors.
Our main result (Theorem 5) is a general asymptotically exact analysis of this type of procedure. The analysis applies to a broad class of AMP algorithms, with initializations that are obtained by applying separable functions to the eigenvectors (under some technical conditions). Let us emphasize that our core technical result (state-evolution analysis) is completely general and applies beyond low-rank matrix estimation.
The rest of the paper is organized as follows.
applies our main results to the problem of estimating a rank-one matrix in Gaussian noise (the case of the model (1.1)). We compute the asymptotic empirical distribution of our estimator. In particular, this characterizes the asymptotics of all sufficiently regular separable losses.
We then illustrate how this state evolution analysis can be used to design specific AMP algorithms, depending on what prior knowledge we have about the entries of . In a first case study, we only know that is sparse, and analyze an algorithm based on iterative soft thresholding. In the second, we assume that the empirical distribution of the entries of is known, and develop a Bayes-AMP algorithm. The asymptotic estimation error achieved by Bayes-AMP coincides (in certain regimes) with the Bayes-optimal error (see Corollary 2.3). When this is not the case, no polynomial-time algorithm is known that outperforms our method.
shows how AMP estimates can be used to construct confidence intervals and -values. In particular, we prove that the resulting -values are asymptotically valid on the nulls, which in turn can be used to establish asymptotic false discovery rate control using a Benjamini-Hochberg procedure.
generalizes the analysis of Section 2 to the case of rectangular matrices. This allows, in particular, to derive optimal AMP algorithms for the spiked covariance model. The theory for rectangular matrices is completely analogous to the one for symmetric ones, and indeed can be established via a reduction to symmetric matrices.
discusses a new phenomenon arising in case of degeneracies between the values . For the sake of concreteness, we consider the case , where is a rank- matrix obtained as follows. We partition in groups and set if belong to the same group and otherwise. Due to its close connections with the stochastic block model of random graphs, we refer to this as to the ‘Gaussian block model’.
It turns out that in such degenerate cases, the evolution of AMP estimates does not concentrate around a deterministic trajectory. Nevertheless, state evolution captures the asymptotic behavior of the algorithm in terms of a random initialization (whose distribution is entirely characterized) plus a deterministic evolution.
presents our general result in the case of a symmetric matrix distributed according to the model (1.1). Our theorems provide an asymptotic characterization of a general AMP algorithm in terms of a suitable state evolution recursion. A completely analogous result holds for rectangular matrices. The corresponding statement is presented in the supplementary material.
provides an outline of the proofs of our main results. Earlier state evolution results do not allow to rigorously analyze AMP unless its initialization is independent from the data matrix . In particular, they do not allow to analyze the spectral initialization used in our algorithm. In order to overcome this challenge, we prove a technical lemma (Lemma B.3) that specifies an approximate representation for the conditional distribution of given its leading outlier eigenvectors and the corresponding eigenvalues. Namely, can be approximated by a sum of rank-one matrices, corresponding to the outlier eigenvectors, plus a projection of a new random matrix independent of . We leverage this explicit independence to establish state evolution for our algorithm.
Complete proofs of the main results are deferred to the Appendices A and B. For the reader’s convenience, we present separate proofs for the case of rank , and then for the general case, which is technically more involved. The proofs concerning the examples in Section 2 and 4 are also presented in the appendices.
As mentioned above, while several of our examples concern low-rank matrix estimation, the main result in Section 6 is significantly more general, and is potentially relevant to a broad range of applications in which AMP is run in conjunction with a spectral initialization.
Estimation of symmetric rank-one matrices
In order to illustrate our main result (to be presented in Section 6), we apply it to the problem of estimating a rank-one symmetric matrix in Gaussian noise. We will begin with a brief heuristic discussion of AMP and its application to rank-one matrix estimation. The reader is welcome to consult the substantial literature on AMP for further background [BM11, JM13, BLM+15, BMN19].
We then consider the following spiked model, for ):
Given one realization of the matrix , we would like to estimate the signal . Note that this matrix is of the form (1.1) with , and .
where , and is a suitable threshold level. Classical theory guarantees the accuracy of such a denoiser [DJ94, DJ98].
However, does not exploit the observation in any way. We could try to improve this estimate by multiplying by :
At this point it would be tempting to iterate the above procedure, and consider the non-linear power iteration
Let us emphasize that these difficulties are not a limitation of the proof technique. For , the iterates (2.5) are no longer Gaussian or centered around , for some scaling factor . This can be easily verified by considering, for instance, the function (we refer to [BLM+15] which carries out the calculation for such an example).
AMP solves the correlation problem in nonlinear power iteration by modifying Eq. (2.5): namely, we subtract from from the part that is correlated to the past iterates. Let be the -algebra generated by iterates up to time . The correction that compensates for correlations is most conveniently explained by using the following Long AMP recursion, introduced in [BMN19]:
2 General analysis
Motivated by the discussion in the previous section, we consider the following general algorithm for rank-one matrix estimation in the model (2.1). In order to estimate , we compute the principal eigenvector of , to be denoted by , and apply the following iteration, with initialization :
Here is a separable function for each . As mentioned above, we can think of this iteration as an approximation of Eq. (2.6) where all the terms except the first one have been estimated by . The fact that this is an accurate estimate for large is far from obvious, but can be established by induction over [BMN19].
Note that can be estimated from the data only up to an overall sign (since and give rise to the same matrix as per Eq. (2.1)). In order to resolve this ambiguity, we will assume, without loss of generality, that .
Let be defined via the recursion
where and are independent, and the initial condition is , .
The proof of this theorem is presented in Appendix A.
One peculiarity of our approach is that we do not commit to a specific choice of the nonlinearities , and instead develop a sharp asymptotic characterization for any—sufficiently regular—nonlinearity. A poor choice of the functions might result in large estimation error, and yet Theorem 1 will continue to hold.
The state evolution recursion of Eqs. (2.9), (2.10) in Theorem 1 was already derived by Fletcher and Rangan in [FR18]. However, as explained in [FR18, Section 5.3], their results only apply to cases in which AMP can be initialized in a way that: has positive correlation with the spike (and this correlation does not vanish as ); is independent of .
Theorem 1 analyzes an algorithm which does not require such an initialization, and hence applies more broadly.
3 The case of a sparse spike
In some applications we might know that the spike is sparse. We consider a simple model in which is known to have at most nonzero entries for some .
Because of its importance, the use of nonlinear power iteration methods for this problem has been studied by several authors in the past [JNRS10, YZ13, Ma13]. However, none of these works obtains precise asymptotics in the moderate SNR regime (i.e., for , of order one). In contrast, sharp results can be obtained by applying Theorem 1. Here we will limit ourselves to taking the first steps, deferring a more complete analysis to future work. We focus on the case of symmetric matrices for simplicity, cf. Eq. (2.1), but a generalization to rectangular matrices is straightforward along the lines of Section 4.
The sparsity assumption implies that the random variable entering the state evolution recursion in Eq. (2.9) should satisfy . Classical theory for the sparse sequence model [DJ94, DJ98] suggests taking to be the soft thresholding denoiser , for a well-chosen sequence of thresholds. The resulting algorithm reads
where is the number of non-zero entries of vector . The initialization is, as before . The algorithm alternates soft thresholding, to produce sparse estimates, and power iteration, with the crucial correction term .
Theorem 1 can be directly applied to characterize the performance of this algorithm for any fixed distribution of the entries of . For instance, we obtain the following exact prediction for the asymptotic correlation between estimates and the signal :
For a given distribution , it is easy to compute using Eq. (2.9) with .
We can also use Theorem 1 to characterize the minimax behavior over -sparse vectors. We sketch the argument next: similar arguments were developed in [DMM09, DJM13] in the context of compressed sensing. The basic idea is to lower bound the singnal-to-noise ratio (SNR) iteratively as a function of the SNR at the previous iteration, over the set of probability distributions . As shown in Appendix E.1, it is sufficient to consider the extremal points of the set , which are given by the three-points priors
The interpretation of these quantities is as follows: describes the evolution of the signal-to-noise ratio after one step of AMP, when the signal distribution is ; the map is the same evolution, for the least favorable prior, which can be taken of the form .
Notice that the function can be evaluated by performing a small number (six, to be precise) of Gaussian integrals. The function is defined by a two-dimensional optimization problem, which can be computed numerically quite efficiently.
We define the sequences , by setting , and then recursively
The next proposition provides the desired lower bound for the signal-to-noise ratio over the class of sparse vectors.
Assume the setting of Theorem 1, and furthermore . Let be the sequence of estimates produced by the AMP iteration Eq. (2.12) with initialization , and thresholds where is a estimator of from data such that . (For instance, take \hat{\sigma}_{t}^{2}\equiv\big{\|}f_{t-1}({\boldsymbol{x}}^{t-1})\big{\|}_{2}^{2}/n for . For , take , where is given in Eq. (3.1).)
Then for any fixed we have, almost surely,
Here, are recursively defined as follows, starting from and :
The proof of Proposition 2.1 is given in Appendix E. The proposition reduces the analysis of algorithm (2.12) to the study of a one-dimensional recursion , which is much simpler. We defer this analysis to future work. We emphasize that the AMP algorithm in Eq. (2.12) with thresholds does not require knowledge of either the sparsity level or the SNR parameter —these quantities are only required to compute the sequence of lower bounds .
4 Bayes-optimal estimation
As a second application of Theorem 1, we consider the case in which the asymptotic empirical distribution of the entries of is known. This case is of special interest because it provides a lower bound on the error achieved by any AMP algorithm.
To simplify some of the formulas below, we assume here a slightly different normalization for the initialization, but otherwise we use the same algorithm as in the general case, namely
With these notations, we can introduce the state evolution recursion
These describe the evolution of the effective signal-to-noise ratio along the algorithm execution.
The optimal non-linearity after iterations is the minimum mean square error denoiser for signal-to-noise ratio :
After iterations, we produce an estimate of by computing . We will refer to this choice as to Bayes AMP.
Implementing the Bayes-AMP algorithm requires to approximate the function of Eq. (2.26). This amounts to a one-dimensional integral and can be done very accurately by standard quadrature methods: a simple approach that works well in practice is to replace the measure by a combination of finitely many point masses. Analogously, the function (which is needed to compute the sequence ), can be computed by the same methodAMP noes not require high accuracy in the approximations of the nonlinear functions . As shown several times in the appendices (see, e.g., Appendix (A)) the algorithm is stable with respect to perturbations of ..
We are now in position to state the outcome of our analysis for Bayes AMP, whose proof is deferred to Appendix F.
where expectation is taken with respect to and mutually independent, and we assumed without loss of generality that .
In particular, let denote the smallest strictly positive solution of the fixed point equation . Then the AMP estimate achieves
Finally, the algorithm has total complexity .
It is interesting to compare the above result with the Bayes optimal estimation accuracy. The following statement is a consequence of the results of [LM19] (see Appendix D).
Together with this proposition, Theorem 2 precisely characterizes the gap between Bayes-optimal estimation and message passing algorithms for rank-one matrix estimation. Simple calculus (together with the relation [GSV05]) implies that the fixed point of the recursion (2.24) coincide with the stationary points of . We therefore have the following characterization of the Bayes optimality of Bayes-AMP.
Under the setting of Theorem 2 (in particular, ), let the function be defined as in Eq. (2.31). Then Bayes-AMP asymptotically achieves the Bayes-optimal error (and ) if and only if the global maximum of over is also the first stationary point of the same function (as grows).
As illustrated in Section 2.5, this condition holds for some cases of interest, and hence message passing is asymptotically optimal for these cases.
In some applications, it is possible to construct an initialization that is positively correlated with the signal and independent of . If this is possible, then the spectral initialization is not required and Theorem 2 follows immediately from [BM11]. For instance, if has positive mean, then it is sufficient to initialize . This principle was exploited in [DM15, DM14, MR16].
However such a positively correlated initialization is not available in general: the spectral initialization analyzed here aims at overcoming this problem.
No polynomial-time algorithm is known that achieves estimation accuracy superior to the one guaranteed by Theorem 2. In particular, it follows from the optimality of posterior mean with respect to square loss and the monotonicity of the function that Bayes AMP is optimal among AMP algorithms. That is, for any other sequence of nonlinearities , we have
As further examples, [JMRT16] analyzes a semi-definite programming (SDP) algorithm for the special case of a two-points symmetric mixture . Theorem 2 implies that, in this case, message passing is Bayes optimal (since follows from [DAM16]). In contrast, numerical simulations and non-rigorous calculations using the cavity method from statistical physics (see [JMRT16]) suggest that SDP is sub-optimal.
A result analogous to Theorem 2 for the symmetric two-points distribution is proved in [MX16, Theorem 3] in the context of the stochastic block model of random graphs. Note, however, that the approach of [MX16] requires the graph to have average degree , .
5 An example: Two-points distributions
Theorem 2 is already interesting in very simple cases. Consider the two-points mixture
Here the coefficients are chosen to ensure that , . The conditional expectation of Eq. (2.26) can be computed explicitly, yielding
Figure 1 reports the results of numerical simulations with the AMP algorithm decribed in the previous section. We also plot as a function of , where is the fixed point of the state-evolution equation (2.24). The figure shows plots for four values of . The qualitative behavior depends on the value of . For close enough to , Eq. (2.24) only has one stable fixed pointThis is proved formally in [DAM16] for and holds by a continuity argument for close enough to . However, here we will limit ourselves to a heuristic discussion based on the numerical solution of Eq. (2.24). that is also the minimizer of the free energy functional (2.31). Hence for all values of : message passing is always Bayes optimal.
For small enough, there exists such that Eq. (2.24) has three fixed points for : whereby and are stable and is unstable. AMP is controlled by the smallest stable fixed point, and hence for all . On the other hand, by minimizing the free energy (2.31) over these fixed points, we obtain that there exists such that for while for . We conclude that AMP is asymptotically sub-optimal for , while it is asymptotically optimal for and .
Confidence intervals, p𝑝p-values, asymptotic FDR control
As an application of Theorem 2, we can construct confidence intervals that achieve a pre-assigned coverage level , where . Indeed, Theorem 2 informally states that the AMP iterates are approximately Gaussian with mean (proportional to) the signal . This relation can be inverted to construct confidence intervals.
We begin by noting that we do not need to know the signal strength . Indeed, for , the latter can be estimated from the maximum eigenvalue of , , via
This is a consistent estimator for , and can replace in the iteration of Eq. (2.8) and initialization (2.20) as well as in the state evolution iteration of Eqs. (2.23) and (2.24). We discuss two constructions of confidence intervals: the first one uses the Bayes AMP algorithm of Section 2.4, and the second instead uses the general algorithm of Section 2.2. The optimality of Bayes AMP translates into shorter confidence intervals but also requires knowledge of the empirical distribution .
Bayes-optimal construction. In order to emphasize the fact that we use the estimated both in the AMP iteration and in the state evolution recursion, we write for the Bayes AMP iterates and for the state evolution parameter, instead of and . We then form the intervals:
We can also define corresponding -values by
We then construct confidence intervals and -values
Consider the spiked matrix model (2.1), under the assumptions of Theorem 1 (in case of no prior knowledge) or Theorem 2 (for the Bayes optimal construction). Defining the confidence intervals as per Eqs. (3.2) (3.6), we have almost surely
Further assume that the fraction of non-zero entries in the spike is , and . Then the -values constructed above are asymptoticaly valid for the nulls. Namely, let any index such that . Then, for any , and any fixed
Corollary 3.1 allows to control the probability of false positives when using the -values , see Eq. (3.9). We might want to use these -values to select a subset of variables to be considered for further exploration. For such applications, it is common to aim for false discovery rate (FDR) control. The -values guarantee asymptotic FDR control through a simple Benjamini-Hochberg procedure [BH95]. For a threshold , we define the following estimator of false discovery proportion [Efr12]:
Using this notion, we define a threshold and a rejection set as follows. Fix , let
The false discovery rate for this procedure is defined as usual
Our next corollary shows that the above procedure is guaranteed to control FDR in an asymptotic sense. Its proof can be found in Appendix H.
Consider the spiked matrix model (2.1), under the assumptions of Theorem 1 (in case of no prior knowledge) or Theorem 2 (for the Bayes optimal construction). Further assume that the fraction of non-zero entries in the spike is , and . Then, for any fixed ,
The procedure defined by threshold and rejection set in Eq. (3.11) does not assume knowledge of the sparsity level . If one knew , then an asymptotic false discovery rate of exactly can be obtained by defining [Sto02]
With the threshold and rejection set defined as in Eq. (3.11), such a procedure would have an asymptotic FDR equal to , and higher power than the procedure using the estimator in Eq. (3.10).
Estimation of rectangular rank-one matrices
where . To be definite, we will think of sequences of instances indexed by and assume with aspect ratio .
We will make the following assumptions on the sequences of vectors , :
In analogy with the symmetric case, we initialize the AMP iteration by using the principal right singular vector of , denoted by (which we assume to have unit norm). In the present case, the phase transition for the principal singular vector takes place at [Pau07, BS10]. Namely, if then the correlation between stays bounded away from zero as .
Setting and , we consider the following AMP iteration:
The asymptotic characterization of this iteration is provided by the next theorem, which generalizes Theorem 1 to the rectangular case.
Let be defined via the recursion
where , and are independent, and the initial condition is
(This is to be substituted in Eq. (4.5) to yield .)
In this case, the optimal choice of the function in Eq. (4.4) is of course linear: for some . The value of the constant is immaterial, because it only amounts to a common rescaling of the , which can be compensated by a redefinition of in Eq. (4.5). We set . Substituting in Eq. (4.4), we obtain , where
where . Taking the ratio of the two equations in (4.5), we obtain
Degenerate cases and non-concentration
The spectral initialization at unstable fixed points leads to a new phenomenon that is not captured by previous theory [BM11]: the evolution of empirical averages (e.g. estimation accuracy) does not always concentrate around a deterministic value. Our main result, Theorem 5 below, provides a description of this phenomenon by establishing a state evolution limit that is dependent on the random initial condition. The initial condition converges in distribution to a well defined limit, which— together with state evolution—yields a complete characterization of the asymptotic behavior of the message passing algorithm.
The non-concentration phenomenon arises when the deterministic low-rank component in Eq. (1.1) has degenerate eigenvalues. This is unavoidable in cases in which the underlying low-rank model to be estimated has symmetries.
and would like to estimate from these noisy observations. The matrix takes the form of Eq. (1.1) with , and , …, an orthonormal basis of the space . We will assume so that . In particular, for , the low-rank signal has degenerate eigenvalues.
Let be the group of permutation matrices. We evaluate the estimator via the overlap
where denotes the Frobenius inner product. In Figure 2, we plot the evolution of the overlap in two sets of numerical simulations, for and . Each curve is obtained by running AMP (with spectral initialization) on a different realization of the random matrix . The non-concentration phenomenon is quite clear:
For fixed number of iterations and large , the quantity has large fluctuations, that do not seem to vanish as .
Despite this, the algorithm is effective in reconstructing the signal: after iterations, the accuracy achieved is nearly independent of the initialization.
The state evolution prediction for the present model is provided by the next theorem, which is proved in Appendix I.
where expectation is with respect to uniform in independent of .
Further as , converges in distribution as
The continuous curves in Figure 2 are obtained as described in the last theorem. For each experiment we generate a random matrix according to Eq. (5.2), compute the spectral initialization of Eq. (5.3) and set . We then compute the state evolution sequence via Eqs. (5.8), (5.9), and use Eq. (5.10) to predict the evolution of the overlap. The variability in the initial condition leads to a variability in the predicted trajectory that matches well with the empirical data.
Finally, as mentioned above, AMP converges to an accuracy that is roughly independent of the matrix realization for large , and matches the Bayes optimal prediction of [BDM+16, LM19]. While a full explanation of this phenomenon goes beyond the scope of the present paper, this behavior can be also explained by Theorem 4: the initialization breaks the symmetry between the blocks uniformly, as per Eq. (5.11). Once the symmetry is broken, the state evolution iteration of Eqs. (5.8), (5.9) converges to a fixed point that is unique up to permutations.
Main result
We will typically use upper case bold symbols for matrices (e.g. , ,…), lower case bold for vectors (e.g. , ) and lower case plain font for scalars (e.g. ). However, we will often denote random variables and random vectors using upper case.
Finally, we adopt the convention that all vectors (including the rows of a matrix) are viewed as column vectors, unless explicitly transposed.
2 Statement of the result: Symmetric case
Recall the spiked model of Eq. (1.1), which we copy here for the reader’s convenience:
The values have finite limits as , that we denote by . Further, assume there exist , such that and . We let , and . Further, we let denote the diagonal matrix with entries , .
where expectation is taken with respect to independent of . These recursions are initialized with which will be specified in the statement of Theorem 5 below.
Let be the AMP iterates generated by algorithm (6.5), under assumptions (A1) to (A4), for the spiked matrix model (1.1). For such that as , define the set of matrices
The theorem is proved for the case of a rank one spike in Appendix A. The proof for the general case is given in Appendix B. In the following section, we provide a brief overview of the key steps in the proof.
where is a noise matrix with independent entries . We already considered the case of this model in Section 4. Given Theorem 5, the generalization to rectangular matrices is straightforward: we provide a precise statement in Appendix J.
Another generalization of interest would be to non-Gaussian matrices. It might be possible to address this by using the methods of [BLM+15].
Proof outline
We first consider the rank one spiked model in Eq. (2.1), and give an outline of the proof of Theorem 1. Letting , Eq. (2.1) can be written as
Recalling that are the principal eigenvector and eigenvalue of , we write as the sum of a rank one projection onto the space spanned by , plus a matrix that is the restriction of to the subspace orthogonal to . That is,
where is the projector onto the space orthogonal to . The proof of Theorem 1 is based on an approximate representation of the conditional distribution of given . To this end, we define the matrix
Here the random variables are jointly distributed as follows: and are independent, and , where is independent of both and . It is shown in Corollary C.3 that (almost surely) the empirical distribution of converges in to the distribution of . The constants in Eq. (7.6) are iteratively defined using a suitable state evolution recursion given in Eqs. (A.19)–(A.21).
The proof of Theorem 1 is completed by showing that for ,
where are the state evolution parameters defined in the statement of Theorem 1.
Combining Eqs. (7.5)–(7.7) yields the claim of Theorem 1. The detailed proof of this theorem is given in Appendix A.
Acknowledgements
We thank Leo Miolane for pointing out a gap in an earlier proof of Proposition 2.2. A. M. was partially supported by grants NSF CCF-1714305 and NSF IIS-1741162. R. V. was partially supported by a Marie Curie Career Integration Grant (Grant Agreement No. 631489).
Appendix A Proof of Theorem 1 and Theorem 5 in the rank 111 case
In this section we assume , and hence write dropping the indices. In order for this to be a non-trivial perturbation of the standard GOE model, we will assume (the case being equivalent). We will prove Theorem 1 and show that this implies Theorem 5 in the rank case.
where and are independent.
We will begin by showing that Theorem 1 implies Theorem 5 in the rank case.
In this case consists of the two matrices and , which implies
Hence holds with the claimed probability by Lemma C.1. Further, conditional on this, and each hold with probability by symmetry. This implies the weak convergence of as in the statement.
It remains to prove Eq. (6.11). Let and . For , set , (as these are matrices). For , the initialization in the statement of the theorem implies , . Since for any fixed , are continuous in the initial condition, we have , for some function such that as . It follows from Theorem 1 that, almost surely
Considering next , we can apply Theorem 1 to to get
The claim in Theorem 5 then follows by from Eqs. (A.4) and (A.6), using the fact that eventually almost surely.
The proof of Theorem 1 is based on an approximate representation for the conditional distribution of given , that is established in Lemma B.3 below. Namely, we introduce the matrix
for some constant . With this coupling, we therefore have
A.2 Proof of Lemma A.1
To simplify notation, we will assume that . The proof for the case is identical except for a sign change in the definition in Eq. (A.17).
where we have used to obtain (A.13). Defining
Note that (almost surely) the empirical distribution of converges in to the distribution of , where and
with independent of , see Corollary C.3.
We will prove Eq. (2.11) in two steps. We show that almost surely
Proof of Eq. (A.23)
For defined via the recursion in Eqs. (A.19) – (A.21), we show below that for
Using Eq. (A.24), we observe that the recursion in Eqs. (A.19) – (A.21) is equivalent to the recursion in Eqs. (A.1) – (A.2) if we set
Recalling that , we have
Since , , and are independent, we use Eq. (A.25) and Eq. (A.26) to observe that , and . We finally show Eq. (A.24).
Proof of Eq. (A.24): Using the definition of in Eq. (A.20), it suffices to show that, for ,
We prove Eqs. (A.24) and (A.28) inductively.
For , using the definition of in Eq. (A.17) we write the LHS of Eq. (A.28) as
Assume towards induction that Eqs. (A.24) and (A.28) holds for . For , we have
Proof of Eq. (A.22)
Define a related iteration to generate as follows.
where the last equality holds because , , and .
where is determined by the recursion:
initialized with . Note that this expression for matches with that in Eq. (A.21).
Therefore to prove Eq. (A.22) it suffices to show that almost surely
and inductively prove Eq. (A.38) together with the following claims:
The base case of is easy to verify. Indeed, from the definition of in Eq. (A.34), we have and the equality in Eq. (A.38) holds. Furthermore, since , we have .
With the induction hypothesis that Eqs. (A.38) – (A.41) hold for , we now prove the claim for . By the pseudo-Lipschitz property of , for and some constant we have:
(In what follows we use to denote a generic absolute constant whose value may change as we progress though the proof.)
Substituting the expressions for and from Eq. (A.16) and Eq. (A.32) into definition of from Eq. (A.39), and recalling that , we get
Note that . We show that almost surely by proving that the following limits hold almost surely:
Proof of Eq. (A.45): From standard results on spiked random matrices [BBAP05, BGN12], we know that almost surely,
Consider the function . Since is Lipschitz, it is easy to check that is pseudo-Lipschitz. Therefore, by the induction hypothesis, using Eq. (A.38) and Eq. (A.37) with and , we have
Using the induction hypothesis and considering the pseudo-Lipschitz function , we have from Eq. (A.38) and Eq. (A.35):
Using this together with Eq. (A.51) and Eq. (A.50), we get
The induction hypothesis implies that the empirical distribution of converges weakly to the distribution of . Combining this with the Lipschitz property of , from [BM11, Lemma 5] we have
Finally, combining the results in Eq. (A.50) – Eq. (A.55), we obtain
where the last inequality follows from the definition in Eq. (A.20).
Proof of Eq. (A.46): From Eq. (A.54), we have almost surely
where the last inequality follows from the definition in Eq. (A.19).
Noting that , the first term on the RHS of Eq. (A.60) tends to zero almost surely, as shown in Eq. (A.51). For the last term in Eq. (A.60), we use the fact that is Lipschitz to write
where is an absolute constant. By the induction hypothesis almost surely. Therefore, using Eq. (A.60) and Eq. (A.59) in Eq. (A.58) yields the result in Eq. (A.47).
From the induction hypothesis in Eq. (A.41) for , we have
Indeed, the result in Eq. (A.35) implies that the empirical distribution of converges weakly to the distribution of . Combining this with the Lipschitz property of , Eq. (A.65) follows from [BM11, Lemma 5]. The limiting value for is the same, as shown in Eq. (A.55). Therefore, from Eq. (A.63) we have
By the induction hypothesis, we have almost surely. Since has already been shown to approach a finite limit almost surely, we therefore have
where follows from Eq. (A.52). Using Eq. (A.66), Eq. (A.68) and Eq. (A.69) in Eq. (A.62) yields the result in Eq. (A.48).
Proof of Eq. (A.49): Using the definition of in Eq. (A.15), we write
where the last equality follows from Eq. (A.32). Therefore,
Consider the first term in Eq. (A.71). We almost surely have,
where is obtained by applying the state evolution result Eq. (A.35) for with the pseudo-Lipschitz function . The equality holds because are independent.
Now, applying the state evolution result Eq. (A.37) to the pseudo-Lipschitz function , we obtain
Using this in Eq. (A.73), and recalling from Eq. (A.65) that converges to a finite value, we get
Finally, for the third term in Eq. (A.71), using Cauchy-Schwarz we have
from the arguments in Eq. (A.67) – Eq. (A.69).
To summarize, we have proven that Eq. (A.45) – Eq. (A.49) hold, and consequently Eq. (A.38) and Eq. (A.40) hold for . Finally, we need to verify that the conditions in Eq. (A.41) also hold for . But these immediately follow from Eq. (A.37) and Eq. (A.38) with by considering the pseudo-Lipschitz function .
Appendix B Proof of Theorem 5: General case
Throughout this appendix, we use the notation .
The last statement of the theorem, that with the claimed probability and the weak convergence of , follows from Lemma C.1.
It remains to prove the state evolution result Eq. (6.11). To reduce book-keeping, we will assume so that , i.e., all the large rank-one perturbations are positive-definite. The general case is completely analogous.
We will use Lemma B.3, which states that the law of in Eq. (1.1) is close in total variation to the law of
where are the first ordered eigenvalues of in Eq. (1.1), and are the corresponding eigenvectors. The matrix is the projector onto the space orthogonal to the column space of , where
Let us now turn to the analysis of the iteration (B.5). Define
With these definitions, using Eq. (B.1) in Eq. (B.5) and noting that , we can write
We will prove Eq. (6.11) by establishing the two lemmas below.
For defined via the recursion in Eqs. (B.16) – (B.18). We show below that for , almost surely,
In order to see how this implies the lemma, denote the functions that enter the state evolution recursion (6.8), (6.9) by
Note that these are continuous functions by the Lipschitz continuity of . Further let
Using Eq. (B.21) together with (which holds eventually almost surely since ) and (which also holds because ) in Eqs. (B.16) to (B.18), we get
where the last identity follows from Stein’s lemma. Substituting In Eq. (B.17), we get
The claim then follows by using the induction hypothesis, together with the fact that, almost surely: ; ; .
B.2 Proof of Lemma B.1
and define the iteration as follows.
where the last equality follows from assumption (A2) which sets , and from the definition of in (B.15).
where is determined by the recursion Eq. (B.18). Therefore, choosing
for a pseudo-Lipschitz function , Eq. (B.35) implies that almost surely
Therefore to prove Eq. (B.19) it suffices to show that almost surely
and inductively prove Eq. (B.38) together with the following claims:
The base case of is easy to verify. Indeed, from the definition of in Eq. (B.34), we have and the equality Eq. (B.38) holds. Furthermore, Eqs. (B.41) and (B.42) also hold for since the initial condition and the definitions of in (B.15) imply
With the induction hypothesis that Eqs. (B.38) to (B.42) hold for , we now prove the claim for . By the pseudo-Lipschitz property of , for some constant we have:
Substituting the expressions for and from Eq. (B.11) and Eq. (B.32) into definition of from Eq. (B.39), we get
We now show that almost surely by proving that the following limits hold almost surely.
We now proceed to prove Eqs. (B.46) to (B.50). In the following, expectations are understood to be taken with respect to the random variables . To lighten notation, given two sequences , , we write if almost surely (and we will not mention ‘almost surely’ explicitly).
Proof of Eq. (B.46). From standard results on spiked random matrices, we have , see e.g. [BGN11]. Further, by definition, we have that
The induction hypothesis implies that the empirical distribution of converges in to the distribution of . Combining this with the Lipschitz property of , as in [BM11, Lemma 5] we obtain
Finally, combining the results in Eq. (B.51) – Eq. (B.54), we obtain
where the last equality follows from the definition of in Eq. (B.17).
Proof of Eq. (B.47). Follows from Eq. (B.53) and the definition of in Eq. (B.16).
where we used Eq. (B.52) together with . Finally, using the Lipschitz property of we have
The proof is completed by noting that a.s. by the induction hypothesis.
By the induction hypothesis, we have almost surely. Furthermore, tends to a finite limit almost surely (due to Eq. (B.54)). We therefore have . Finally, we have
where the last inequality follows from Eq. (B.52). Therefore, we have shown that are all and the result follows from Eq. (B.59).
Proof of Eq. (B.50): Using the definition of in Eq. (B.10) and the recursion for defined in Eq. (B.32), we can write
Therefore , where
We now show that by showing that are each .
where the last inequality holds because and are independent. Therefore .
B.3 Conditioning lemma
Let be a spiked random matrix with distribution as per Eq. (1.1), with and . Recall that are the ordered eigenvalues of with ,… being the corresponding eigenvectors. Also recall that , , and . Let , , and (we will view as a matrix with dimensions , with columns given by the ’s).
Then there exists a constant such that for all there is , such that
Further (for a suitable version of the conditional probabilities):
The probability lower bound Eq. (B.72) follows for instance from [BGGM12].
In order to prove Eq. (B.73), we will proceed in two steps: first conditioning on a given set of eigenvectors (without ordering) and then conditioning on the event that these are actually the outlier eigenvectors. To reduce book-keeping, we will assume that (and hence ): all large rank-one perturbations are positive semidefinite.
Note that for , and all small enough, we have
Finally, using Eq. (B.75), we get, for a suitable ,
This completes the proof of Eq. (B.73). ∎
Appendix C Asymptotics of the eigenvectors of spiked random matrices
In this appendix, we collect some consequences of known facts about the eigenvectors of random matrices distributed according to the spiked model (1.1). We copy the definition here for the reader’s convenience:
Let be the random matrix of Eq. (C.2). For and such that as , define the set of matrices
where expectation is with respect to independent of .
Before proving this lemma, we state and prove a simple but useful estimate.
and the claim follows by applying Cauchy-Schwarz inequality. ∎
It follows from [BGN11, Proposition 5.1.(a)] and [KY14, Theorem 3.3] that for any , the following holds with probability larger than for :
We are now left with the task of proving the convergence result (C.5). Notice that, by the decomposition (C.9), we have
Using Lemma C.2, we obtain (almost surely)
Appendix D Proof of Proposition 2.2
independently across . We define and
Further, by Jensen’s inequality, is monotone non-decreasing in .
D.2 Upper bound
For the proof of the upper bound we will set (no side information is revealed) and we will write .
which contradicts the fact (D.3), thus proving our claim.
D.3 Lower bound
Denote by the principal eigenvector of , and the corresponding eigenvalue. We set , whence
Using Eqs. (D.13), (D.14), (D.15), we obtain
We proceed as follows from Eq. (D.12) for a fixed :
Using Eqs. (D.19) and (D.18) in Eq. (D.12), we conclude
The desired lower bound follows since can be taken arbitrary small.
Appendix E Proofs for Section 2.3: Sparse spike
In this appendix we prove that the map defined in Eq. (2.16) is indeed a lower bound on the state evolution map.
Let be defined as in Eqs. (2.15)–(2.16). Then
where .
By rescaling the distribution , it is sufficient to prove this lemma for , and replacing by . With , we define the functions
The next two lemmas establish analytic facts that will be crucial in the proof of Lemma E.1.
For , this equation has exactly one solution for . For it has at most two solutions for .
The left-hand side is strictly increasing and positive on . The right-hand side is strictly negative for , and decreasing and stricly positive on . Further, as and as . Hence the equation has exactly one solution on for , with .
Next consider the case . Define . It is easy to compute
In particular, we have and for . Solutions of Eq. (E.7) are zeros of . The above calculation yields and
In particular, we have and . Hence is convex for , and concave for , where for . Further , and for . Therefore is increasing on and has a unique local maximum on . Hence is strictly increasing on and strictly decreasing on It follows that can have at most two solutions. ∎
We compute first two derivatives of to get
In order to prove the claim that for at most three values of ), we compute the derivative
and show that can have at most two solutions in . From this it follows that can have at most three solutions in (because otherwise it would have more than two stationary points by the intermediate value theorem).
If , then necessarily , and the claim that that has at most two solutions is trivial. We can therefore assume . Re-organizing the terms, we get (for ) if and only if
By Lemma E.2, this equation can have at most two solutions in , which completes the proof. ∎
We are now in position to prove Lemma E.1.
Obviously the right-hand side of Eq. (E.1) is no smaller than the left-hand side. We will prove that the infimum on the left-hand side is achieved at for a certain three points prior, hence establishing the lemma.
where we recall that . Note that the constraint is equivalent to with (a probability distribution with support in . Therefore, is a solution of problem (E.22) if and only if is supported on the global maxima of . However, by Lemma E.3, the set of global maxima contains at most two points, and therefore is supported on at most two points, which proves our claim. ∎
E.2 Proof of Proposition 2.1
For , let . We will first show the inequality in (2.18), which is equivalent to showing . From the definitions, we have . Assume towards induction that for . We observe that can be computed from as
where the function is defined in Eq. (2.15). Indeed, since the soft-thresholding function satisfies for any , we have
Next, we note that is non-decreasing in . To see this, we use the definition in (2.15) to compute the derivative:
where . By Lemma E.1, the infimum is achieved on a three-points prior, whence:
Recalling from Eq. (2.17) that , Eqs. (E.26) and (E.27) imply
Next we prove the equality in Eq. (2.18). For this, we define the AMP iteration
initialized with . The difference between and is that the former is produced using the deterministic threshold (whose computation would require knowledge of the distribution ), and the latter using the threshold which is computed from data. The result of Theorem 1 can be directly applied to the iterates , but not to to the iterates (as the data-derived threshold makes the soft-thresholding denoiser non-separable). We will show below that for , almost surely,
Equation (E.30) implies that, almost surely,
Eqs. (E.30) and (E.31) imply that, almost surely
Next take to obtain
It is easy to check that both these choices for satisfy the condition required by Theorem 1.
Finally, it remains to prove Eq. (E.30). For , we have . Towards induction, assume Eq. (E.30) holds for . From Eqs. (2.12) and (E.29), we have
As in Eq. (E.36), we have . Eq. (E.39) implies that the empirical distributions of and both converge weakly to the distribution of . Furthermore since is Lipschitz, denoting by the derivative with respect to the first argument, [BM11, Lemma 5] implies that
Appendix F Proof of Theorem 2
We begin by proving the following lemma, which implies Remark 2.3. (This stronger version will be used in Appendix G).
Note that (throughout this proof, we write for the law of )
and we write and for expectation and variance with respect to this measure. We then have
where the last inequality follows by Cauchy-Schwarz. Under assumption , we have , .
Under assumption , note that is -strongly log-concave (i.e. , with -strongly convex). As a consequence, it satisfies a log-Sobolev inequality with constant [Led01, Theorem 5.2], whence , and therefore , for a numerical constant . The same inequality implies
Using (which follows from the above bound on ), immediately implies, for ,
Substituting in Eq (F.6), we obtain the claimed bound on \big{|}\partial_{\gamma}F(y;\gamma)\big{|}. ∎
We use Theorem 1 which applies to the rank one matrix in Eq. (2.1), with the setting . We conclude that the state evolution result in Eq. (2.11) applies with , determined via Eqs. (A.1), (A.2), and initial condition , (because the initial condition in Theorem 2 is scaled by a factor with respect to the statement of Theorem 1).
Further note that – by Cauchy-Schwarz inequality – the signal-to-noise ratio is maximized by setting (or any positive multiple of this function) where
In particular, we have for all , and we selected the initial condition to ensure that this holds for as well. Setting , we obtain that satisfies the state evolution equation (2.24), with initialization (2.23). Further, the identity implies , whence the choice (F.10) concides with the one of Eq. (2.25). Finally Eq. (2.27) follows from Eq. (2.11) using the same identities.
Applying (2.11) to suitable test functions , we obtain
Also, is non-increasing. Hence is a non-decreasing function with for , , which immediately implies the claim.
Appendix G Proof of Corollary 3.1
For the sake of concreteness, we will assume the construction of confidence intervals via Bayes AMP, cf. Eq. (3.2). The proof is unchanged for the more general construction in (3.6).
First we note that substituting the estimate of given by does not change the behavior of , .
Under the assumptions of Corollary 3.1, the following limits hold almost surely, for any fixed :
Recall that for , we have almost surely [BGN12]. Since the function is continuous for , with , we also have .
We then proceed by induction over . Using Eq. (2.24):
Finally Eq. (G.3) is also proved by induction over . Note that is defined recursively as per Eq. (2.8) with , in the definition of in Eq. (2.25) repalced by , . Explicitly,
Consider the first term. Since almost surely, for large enough we almost surely have
where step is obtained using Lemma F.1. We next take the limit and use the induction hypothesis together with Eqs. (G.1), (G.2), and the fact that , which follows by Theorem 2. We claim that , whence (since is asymptotically bounded, per Eq. (A.55)). Since by the same argument above, this implies . Further, , we also get .
We are left with the task of showing . Note that almost surely for all large enough. Hence, by Lemma F.1, for some constant , Therefore, for any constant , the following holds almost surely for all large enough
Using , , (proved above), and , , we get
whence the claim follows since is arbitrary. ∎
We are now in position to prove Corollary 3.1.
as well as the analogous functions for :
By the same argument as in the proof of Lemma G.1, we have almost surely
where the second equality follows from Theorem 2. On the other hand,
The proof is completed by noticing that by monotone convergence,
In order to prove Eq. (3.9), we use a similar argument, with a slightly different test function. Define and
Upper and lower bounding the indicator function by as in the previous proof, we then obtain that, for any
where c_{\alpha}\equiv\Phi^{-1}\big{(}1-\frac{\alpha}{2}\big{)}. By taking and using monotone convergence, we get
By dominated convergence, this also implies
Let . Notice that the -values are exchangeable. Hence for any sequence , we have
Since by assumption , the claim (3.9) follows. ∎
Appendix H Proof of Corollary 3.2
Again, for concreteness we assume the construction of -values via Bayes AMP, as per Eq. (3.3). The proof is unchanged for the more general construction in (3.7).
Using the definitions of and from Eqs. (3.3) and (3.10), the threshold in Eq. (3.11) can be expressed as
We first show that almost surely, where
The analogous functions for , denoted by and , are defined by replacing with in Eqs. (H.5)–(H.6), respectively.
Using the same argument as in the proof of Lemma G.1, we have almost surely
where the second equality follows from Theorem 2. Furthermore, we note that
Furthermore, using Eq. (H.7) we obtain that
By the monotone convergence theorem, we have
Therefore, taking , from Eqs. (H.11)–(H.14) we obtain
We now prove the asymptotic FDR result in Eq. (3.13) by showing that the following two limits hold almost surely:
The continuous mapping theorem then implies that almost surely
The claim in Eq. (3.13) then follows from dominated convergence.
To prove the first result in Eq. (H.16), notice that
Since and almost surely, by the same argument as in the proof of Lemma G.1, we have
where the second equality follows from Theorem 2. Hence
The last equality follows from the definition of in Eq. (H.15) which implies that is the smallest positive solution of
To prove the second equality in Eq. (H.16), we use a similar argument, but with slightly different test functions. Let and
Proceeding as above and using arguments similar to Eqs. (G.36)–(G.41), we obtain that almost surely
Appendix I Proof of Theorem 4
Further, the state evolution recursion (6.8), (6.9) yields
where expectation is with respect to uniform in independent of . By Eq. (6.11), and using the fact that , are continuous in the initial condition , , under the initialization
We next define , and notice that and . Multiplying Eq. (I.4) on the right by , we get
which coincide with Eqs. (5.8), (5.9), once we notice that (and drop the tilde from ). Also, using Eq. (I.1), note that , which is the initialization specified in the statement of Theorem 4.
which is the claim of the theorem (after dropping the tildes).
Appendix J Estimation of rectangular matrices with rank larger than one
As , the aspect ratio .
The values have finite limits as , that we denote by . Furthermore, there are singular values whose limits are larger than 1. That is, . We let , and denote the diagonal matrix with entries , .
where expectation is taken with respect to and , all of which are independent of . These recursions are initialized with , which will be specified in the statement of Theorem 7 below.
For such that as , define the set of matrices