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 W{\boldsymbol{W}} is a noise matrix with entries (Wij)i≤n,j≤d∼iidN(0,1/n)(W_{ij})_{i\leq n,j\leq d}\sim_{iid}{\sf N}(0,1/n). An important special case assumes ui∼N(0,In/n){\boldsymbol{u}}_{i}\sim{\sf N}(0,{\boldsymbol{I}}_{n}/n). In this caseFor the formal analysis of this model, it will be convenient to consider the case of deterministic vectors ui{\boldsymbol{u}}_{i}, vi{\boldsymbol{v}}_{i} satisfying suitable asymptotic conditions. However, these conditions hold almost surely, e.g. ui∼N(0,In/n){\boldsymbol{u}}_{i}\sim{\sf N}(0,{\boldsymbol{I}}_{n}/n). the rows of A{\boldsymbol{A}} are i.i.d. samples from a high-dimensional Gaussian ai∼N(0,Σ){\boldsymbol{a}}_{i}\sim{\sf N}({\boldsymbol{0}},{\boldsymbol{\Sigma}}) where Σ=(∑i=1kλiviviT+Id)/n{\boldsymbol{\Sigma}}=(\sum_{i=1}^{k}\lambda_{i}{\boldsymbol{v}}_{i}{\boldsymbol{v}}_{i}^{{\sf T}}+{\boldsymbol{I}}_{d})/n. 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 k∗k_{*} be the number of rank-one terms with ∣λi∣>1|\lambda_{i}|>1. Then the spectrum of A{\boldsymbol{A}} is formed by a bulk of eigenvalues in the interval $(whosedistributionfollowsWigner’ssemicircle),plus(whose distribution follows Wigner’s semicircle), plusk_{*}outliersthatareinone−to−onecorrespondencewiththelargerank−onetermsin(1.1).Theeigenvectorsassociatedtotheoutliersexhibitasignificantcorrelationwiththecorrespondingvectorsoutliers that are in one-to-one correspondence with the large rank-one terms in (1.1). The eigenvectors associated to the outliers exhibit a significant correlation with the corresponding vectors{\boldsymbol{v}}_{i}.Tosimplifythediscussion,intherestofthisintroductionwewillassumethat. To simplify the discussion, in the rest of this introduction we will assume that\lambda_{i}\geq 0forallfor alli$.

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 vi{\boldsymbol{v}}_{i} from a single realization of the matrix A{\boldsymbol{A}}. It is fair to say that this question is relatively well understood when the vectors vi{\boldsymbol{v}}_{i} 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 n,d→∞n,d\to\infty, the best estimator of vector vi{\boldsymbol{v}}_{i} is the ii-th eigenvector of A{\boldsymbol{A}}. Random matrix theory provides detailed information about its asymptotic properties.

This paper is concerned with the case in which the vectors vi{\boldsymbol{v}}_{i} 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 n→∞n\to\infty [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 n→∞n\to\infty 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 vi{\boldsymbol{v}}_{i}’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 φ1,…,φk∗{\boldsymbol{\varphi}}_{1},\dots,{\boldsymbol{\varphi}}_{k_{*}} of A{\boldsymbol{A}}, 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 φ1,…,φk∗{\boldsymbol{\varphi}}_{1},\dots,{\boldsymbol{\varphi}}_{k_{*}} (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 k=1k=1 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 v1{\boldsymbol{v}}_{1}. In a first case study, we only know that v1{\boldsymbol{v}}_{1} is sparse, and analyze an algorithm based on iterative soft thresholding. In the second, we assume that the empirical distribution of the entries of v1{\boldsymbol{v}}_{1} 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 pp-values. In particular, we prove that the resulting pp-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 λ1,…,λk\lambda_{1},\dots,\lambda_{k}. For the sake of concreteness, we consider the case A=λA0+W{\boldsymbol{A}}=\lambda{\boldsymbol{A}}_{0}+{\boldsymbol{W}}, where A0{\boldsymbol{A}}_{0} is a rank-kk matrix obtained as follows. We partition {1,…,n}\{1,\dots,n\} in q=k+1q=k+1 groups and set A0,ij=k/nA_{0,ij}=k/n if i,ji,j belong to the same group and A0,ij=−1/nA_{0,ij}=-1/n 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 A{\boldsymbol{A}} 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 A{\boldsymbol{A}}. 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 A{\boldsymbol{A}} given its leading outlier eigenvectors and the corresponding eigenvalues. Namely, A{\boldsymbol{A}} can be approximated by a sum of rank-one matrices, corresponding to the outlier eigenvectors, plus a projection of a new random matrix A\mboxnew{\boldsymbol{A}}^{\mbox{\tiny\rm new}} independent of A{\boldsymbol{A}}. 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 k=1k=1, 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 W∼GOE(n{\boldsymbol{W}}\sim{\sf GOE}(n):

Given one realization of the matrix A{\boldsymbol{A}}, we would like to estimate the signal x0{\boldsymbol{x}}_{0}. Note that this matrix is of the form (1.1) with k=1k=1, λ1=λ∥x0(n)∥22/n→λ\lambda_{1}=\lambda\|{\boldsymbol{x}}_{0}(n)\|_{2}^{2}/n\to\lambda and v1=x0(n)/∥x0(n)∥2{\boldsymbol{v}}_{1}={\boldsymbol{x}}_{0}(n)/\|{\boldsymbol{x}}_{0}(n)\|_{2}.

where η(x;τ)=sign(x)(∣x∣−τ)+\eta(x;\tau)={\rm sign}(x)(|x|-\tau)_{+}, and τ\tau is a suitable threshold level. Classical theory guarantees the accuracy of such a denoiser [DJ94, DJ98].

However, f0(y)f_{0}({\boldsymbol{y}}) does not exploit the observation A{\boldsymbol{A}} in any way. We could try to improve this estimate by multiplying f0(y)f_{0}({\boldsymbol{y}}) by A{\boldsymbol{A}}:

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 t>1t>1, the iterates (2.5) are no longer Gaussian or centered around μtx0\mu_{t}{\boldsymbol{x}}_{0}, for some scaling factor μt\mu_{t}. This can be easily verified by considering, for instance, the function ft(x)=x2f_{t}(x)=x^{2} (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 Aft(x\mboxLt){\boldsymbol{A}}f_{t}({\boldsymbol{x}}^{t}_{\mbox{\tiny\rm L}}) the part that is correlated to the past iterates. Let St≡σ({x\mboxL0,x\mboxL2,…,x\mboxLt}){\mathfrak{S}}_{t}\equiv\sigma(\{{\boldsymbol{x}}_{\mbox{\tiny\rm L}}^{0},{\boldsymbol{x}}_{\mbox{\tiny\rm L}}^{2},\dots,{\boldsymbol{x}}_{\mbox{\tiny\rm L}}^{t}\}) be the σ\sigma-algebra generated by iterates up to time tt. 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 x0{\boldsymbol{x}}_{0}, we compute the principal eigenvector of A{\boldsymbol{A}}, to be denoted by φ1{\boldsymbol{\varphi}}_{1}, and apply the following iteration, with initialization x0=nφ1{\boldsymbol{x}}^{0}=\sqrt{n}{\boldsymbol{\varphi}}_{1}:

Here ft(x)=(ft(x1),…,ft(xn))Tf_{t}({\boldsymbol{x}})=(f_{t}(x_{1}),\dots,f_{t}(x_{n}))^{{\sf T}} is a separable function for each tt. 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 −btft−1(xt−1)-{\sf b}_{t}f_{t-1}({\boldsymbol{x}}^{t-1}). The fact that this is an accurate estimate for large nn is far from obvious, but can be established by induction over tt [BMN19].

Note that x0{\boldsymbol{x}}_{0} can be estimated from the data A{\boldsymbol{A}} only up to an overall sign (since x0{\boldsymbol{x}}_{0} and −x0-{\boldsymbol{x}}_{0} give rise to the same matrix A{\boldsymbol{A}} as per Eq. (2.1)). In order to resolve this ambiguity, we will assume, without loss of generality, that ⟨x0,φ1⟩≥0\langle{\boldsymbol{x}}_{0},{\boldsymbol{\varphi}}_{1}\rangle\geq 0.

Let (μt,σt)t≥0(\mu_{t},\sigma_{t})_{t\geq 0} be defined via the recursion

where X0∼νX0X_{0}\sim\nu_{X_{0}} and G∼N(0,1)G\sim{\sf N}(0,1) are independent, and the initial condition is μ0=1−λ−2\mu_{0}=\sqrt{1-\lambda^{-2}}, σ0=1/λ\sigma_{0}=1/\lambda.

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 ftf_{t}, and instead develop a sharp asymptotic characterization for any—sufficiently regular—nonlinearity. A poor choice of the functions ftf_{t} 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: (i)(i) has positive correlation with the spike x0{\boldsymbol{x}}_{0} (and this correlation does not vanish as n→∞n\to\infty); (ii)(ii) is independent of A{\boldsymbol{A}}.

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 x0{\boldsymbol{x}}_{0} is sparse. We consider a simple model in which x0{\boldsymbol{x}}_{0} is known to have at most nεn{\varepsilon} nonzero entries for some ε∈(0,1){\varepsilon}\in(0,1).

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 λ\lambda, ε{\varepsilon} 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 X0X_{0} entering the state evolution recursion in Eq. (2.9) should satisfy νX0({0})≥1−ε\nu_{X_{0}}(\{0\})\geq 1-{\varepsilon}. Classical theory for the sparse sequence model [DJ94, DJ98] suggests taking ftf_{t} to be the soft thresholding denoiser ft(x)=η(x;τt)f_{t}(x)=\eta(x;\tau_{t}), for (τt)t≥0(\tau_{t})_{t\geq 0} a well-chosen sequence of thresholds. The resulting algorithm reads

where ∥v∥0\|{\boldsymbol{v}}\|_{0} is the number of non-zero entries of vector v{\boldsymbol{v}}. The initialization is, as before x0=nφ1{\boldsymbol{x}}^{0}=\sqrt{n}{\boldsymbol{\varphi}}_{1}. The algorithm alternates soft thresholding, to produce sparse estimates, and power iteration, with the crucial correction term −btx^t−1-{\sf b}_{t}\hat{\boldsymbol{x}}^{t-1}.

Theorem 1 can be directly applied to characterize the performance of this algorithm for any fixed distribution νX0\nu_{X_{0}} of the entries of x0{\boldsymbol{x}}_{0}. For instance, we obtain the following exact prediction for the asymptotic correlation between estimates x^t\hat{\boldsymbol{x}}^{t} and the signal x0{\boldsymbol{x}}_{0}:

For a given distribution νX0\nu_{X_{0}}, it is easy to compute μt,σt\mu_{t},\sigma_{t} using Eq. (2.9) with ft(xt)=η(xt;τt)f_{t}({\boldsymbol{x}}^{t})=\eta({\boldsymbol{x}}^{t};\tau_{t}).

We can also use Theorem 1 to characterize the minimax behavior over nεn{\varepsilon}-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) μt+12/σt+12\mu^{2}_{t+1}/\sigma^{2}_{t+1} iteratively as a function of the SNR at the previous iteration, over the set of probability distributions Fε={νX0:  νX0({0})≥1−ε, ∫x2νX0(dx)=1}{\mathcal{F}}_{{\varepsilon}}=\{\nu_{X_{0}}:\;\nu_{X_{0}}(\{0\})\geq 1-{\varepsilon},\,\int x^{2}\nu_{X_{0}}({\rm d}x)=1\}. As shown in Appendix E.1, it is sufficient to consider the extremal points of the set Fε{\mathcal{F}}_{{\varepsilon}}, which are given by the three-points priors

The interpretation of these quantities is as follows: γ↦S∗(γ,θ;νX0)\gamma\mapsto S_{*}(\gamma,\theta;\nu_{X_{0}}) describes the evolution of the signal-to-noise ratio after one step of AMP, when the signal distribution is νX0\nu_{X_{0}}; the map γ↦S(γ;θ)\gamma\mapsto S(\gamma;\theta) is the same evolution, for the least favorable prior, which can be taken of the form πp,a1,a2\pi_{p,a_{1},a_{2}}.

Notice that the function S∗(γ,θ;πp,a1,a2)S_{*}(\gamma,\theta;\pi_{p,a_{1},a_{2}}) can be evaluated by performing a small number (six, to be precise) of Gaussian integrals. The function SS is defined by a two-dimensional optimization problem, which can be computed numerically quite efficiently.

We define the sequences (γ‾t)t≥0(\underline{\gamma}_{t})_{t\geq 0}, (θt)t≥0(\theta_{t})_{t\geq 0} by setting γ‾0=λ2−1\underline{\gamma}_{0}=\lambda^{2}-1, 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 ∥x0(n)∥0≤nε\|{\boldsymbol{x}}_{0}(n)\|_{0}\leq n{\varepsilon}. Let (x^t=x^t(A))t≥0(\hat{\boldsymbol{x}}^{t}=\hat{\boldsymbol{x}}^{t}({\boldsymbol{A}}))_{t\geq 0} be the sequence of estimates produced by the AMP iteration Eq. (2.12) with initialization x0=nφ1{\boldsymbol{x}}^{0}=\sqrt{n}{\boldsymbol{\varphi}}_{1}, and thresholds τt=θtσ^t\tau_{t}=\theta_{t}\hat{\sigma}_{t} where σ^t\hat{\sigma}_{t} is a estimator of σt\sigma_{t} from data x0,…,xt{\boldsymbol{x}}^{0},\dots,{\boldsymbol{x}}^{t} such that σ^t→a.s.σt\hat{\sigma}_{t}\stackrel{{\scriptstyle\text{a.s.}}}{{\to}}\sigma_{t}. (For instance, take \hat{\sigma}_{t}^{2}\equiv\big{\|}f_{t-1}({\boldsymbol{x}}^{t-1})\big{\|}_{2}^{2}/n for t≥1t\geq 1. For t=0t=0, take σ^02≡1/λ^\hat{\sigma}_{0}^{2}\equiv 1/\hat{\lambda}, where λ^\hat{\lambda} is given in Eq. (3.1).)

Then for any fixed t≥0t\geq 0 we have, almost surely,

Here, (μt+1,σt+1)(\mu_{t+1},\sigma_{t+1}) are recursively defined as follows, starting from μ0=1−λ−2\mu_{0}=\sqrt{1-\lambda^{-2}} and σ02=λ−2\sigma_{0}^{2}=\lambda^{-2}:

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 γ‾t+1=λ2S(γ‾t;θt)\underline{\gamma}_{t+1}=\lambda^{2}S(\underline{\gamma}_{t};\theta_{t}), which is much simpler. We defer this analysis to future work. We emphasize that the AMP algorithm in Eq. (2.12) with thresholds τt=θtσ^t\tau_{t}=\theta_{t}\hat{\sigma}_{t} does not require knowledge of either the sparsity level ε{\varepsilon} or the SNR parameter λ\lambda—these quantities are only required to compute the sequence of lower bounds (γ‾t)t≥0(\underline{\gamma}_{t})_{t\geq 0}.

4 Bayes-optimal estimation

As a second application of Theorem 1, we consider the case in which the asymptotic empirical distribution νX0\nu_{X_{0}} of the entries of x0{\boldsymbol{x}}_{0} 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 ft( ⋅ )f_{t}(\,\cdot\,) after tt iterations is the minimum mean square error denoiser for signal-to-noise ratio γt\gamma_{t}:

After tt iterations, we produce an estimate of x0{\boldsymbol{x}}_{0} by computing x^t(A)≡ft(xt)/λ=F(xt;γt)\hat{\boldsymbol{x}}^{t}({\boldsymbol{A}})\equiv f_{t}({\boldsymbol{x}}^{t})/\lambda=F({\boldsymbol{x}}^{t};\gamma_{t}). We will refer to this choice as to Bayes AMP.

Implementing the Bayes-AMP algorithm requires to approximate the function F(y;γ)F(y;\gamma) 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 νX0\nu_{X_{0}} by a combination of finitely many point masses. Analogously, the function mmse(γ){\sf mmse}(\gamma) (which is needed to compute the sequence γt\gamma_{t}), can be computed by the same methodAMP noes not require high accuracy in the approximations of the nonlinear functions ftf_{t}. As shown several times in the appendices (see, e.g., Appendix (A)) the algorithm is stable with respect to perturbations of ftf_{t}..

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 X0∼νX0X_{0}\sim\nu_{X_{0}} and Z∼N(0,1)Z\sim{\sf N}(0,1) mutually independent, and we assumed without loss of generality that ⟨φ1,x0⟩≥0\langle{\boldsymbol{\varphi}}_{1},{\boldsymbol{x}}_{0}\rangle\geq 0.

In particular, let γ\mboxALG(λ)\gamma_{\mbox{\tiny\rm ALG}}(\lambda) denote the smallest strictly positive solution of the fixed point equation γ=λ2[1−mmse(γ)]\gamma=\lambda^{2}[1-{\sf mmse}(\gamma)]. Then the AMP estimate x^t(A)=ft(xt)/λ\hat{\boldsymbol{x}}^{t}({\boldsymbol{A}})=f_{t}({\boldsymbol{x}}^{t})/\lambda achieves

Finally, the algorithm has total complexity O(n2log⁡n)O(n^{2}\log n).

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 I′(γ)=mmse(γ)/2{\rm I}^{\prime}(\gamma)={\sf mmse}(\gamma)/2 [GSV05]) implies that the fixed point of the recursion (2.24) coincide with the stationary points of γ↦Ψ(γ,λ)\gamma\mapsto\Psi(\gamma,\lambda). We therefore have the following characterization of the Bayes optimality of Bayes-AMP.

Under the setting of Theorem 2 (in particular, λ>1\lambda>1), let the function Ψ(γ,λ)\Psi(\gamma,\lambda) be defined as in Eq. (2.31). Then Bayes-AMP asymptotically achieves the Bayes-optimal error (and γ\mboxALG(λ)=γ\mboxBayes(λ)\gamma_{\mbox{\tiny\rm ALG}}(\lambda)=\gamma_{\mbox{\tiny\rm Bayes}}(\lambda)) if and only if the global maximum of γ↦Ψ(γ,λ)\gamma\mapsto\Psi(\gamma,\lambda) over (0,∞)(0,\infty) is also the first stationary point of the same function (as γ\gamma 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 x0{\boldsymbol{x}}^{0} that is positively correlated with the signal x0{\boldsymbol{x}}_{0} and independent of A{\boldsymbol{A}}. If this is possible, then the spectral initialization is not required and Theorem 2 follows immediately from [BM11]. For instance, if νX0\nu_{X_{0}} has positive mean, then it is sufficient to initialize x0=1{\boldsymbol{x}}^{0}={\boldsymbol{1}}. 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 γ↦λ2{1−mmse(γ)}\gamma\mapsto\lambda^{2}\{1-{\sf mmse}(\gamma)\} that Bayes AMP is optimal among AMP algorithms. That is, for any other sequence of nonlinearities ft( ⋅ )f_{t}(\,\cdot\,), we have

As further examples, [JMRT16] analyzes a semi-definite programming (SDP) algorithm for the special case of a two-points symmetric mixture νX0=(1/2)δ+1+(1/2)δ−1\nu_{X_{0}}=(1/2)\delta_{+1}+(1/2)\delta_{-1}. Theorem 2 implies that, in this case, message passing is Bayes optimal (since γ\mboxALG=γ\mboxBayes\gamma_{\mbox{\tiny\rm ALG}}=\gamma_{\mbox{\tiny\rm Bayes}} 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 νX0=(1/2)δ+1+(1/2)δ−1\nu_{X_{0}}=(1/2)\delta_{+1}+(1/2)\delta_{-1} 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 d→∞d\to\infty, d=O(log⁡n)d=O(\log n).

5 An example: Two-points distributions

Theorem 2 is already interesting in very simple cases. Consider the two-points mixture

Here the coefficients a+,a−a_{+},a_{-} are chosen to ensure that ∫xνX0(dx)=0\int x\nu_{X_{0}}({\rm d}x)=0, ∫x2νX0(dx)=1\int x^{2}\nu_{X_{0}}({\rm d}x)=1. The conditional expectation F(y;γ)F(y;\gamma) 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 γ∗(λ)/λ2\gamma_{*}(\lambda)/\lambda^{2} as a function of λ\lambda, where γ∗(λ)\gamma_{*}(\lambda) is the fixed point of the state-evolution equation (2.24). The figure shows plots for four values of ε∈(0,1/2]{\varepsilon}\in(0,1/2]. The qualitative behavior depends on the value of ε{\varepsilon}. For ε{\varepsilon} close enough to 1/21/2, Eq. (2.24) only has one stable fixed pointThis is proved formally in [DAM16] for ε=1/2{\varepsilon}=1/2 and holds by a continuity argument for ε{\varepsilon} close enough to 1/21/2. 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 γ\mboxALG(γ)=γ\mboxBayes(λ)\gamma_{\mbox{\tiny\rm ALG}}(\gamma)=\gamma_{\mbox{\tiny\rm Bayes}}(\lambda) for all values of λ\lambda: message passing is always Bayes optimal.

For ε{\varepsilon} small enough, there exists λ0(ε)<1\lambda_{0}({\varepsilon})<1 such that Eq. (2.24) has three fixed points for λ∈(λ0(ε),1)\lambda\in(\lambda_{0}({\varepsilon}),1): γ0(λ)<γ1(λ)<γ2(λ)\gamma_{0}(\lambda)<\gamma_{1}(\lambda)<\gamma_{2}(\lambda) whereby γ0=0\gamma_{0}=0 and γ2\gamma_{2} are stable and γ1\gamma_{1} is unstable. AMP is controlled by the smallest stable fixed point, and hence γ\mboxALG(λ)=0\gamma_{\mbox{\tiny\rm ALG}}(\lambda)=0 for all λ<1\lambda<1. On the other hand, by minimizing the free energy (2.31) over these fixed points, we obtain that there exists λ\mboxIT(ε)∈(λ0(ε),1)\lambda_{\mbox{\tiny\rm IT}}({\varepsilon})\in(\lambda_{0}({\varepsilon}),1) such that γ\mboxBayes(λ)=0\gamma_{\mbox{\tiny\rm Bayes}}(\lambda)=0 for λ<λ\mboxIT(ε)\lambda<\lambda_{\mbox{\tiny\rm IT}}({\varepsilon}) while γ\mboxBayes(λ)=γ2(λ)\gamma_{\mbox{\tiny\rm Bayes}}(\lambda)=\gamma_{2}(\lambda) for λ>λ\mboxIT(ε)\lambda>\lambda_{\mbox{\tiny\rm IT}}({\varepsilon}). We conclude that AMP is asymptotically sub-optimal for λ∈(λ\mboxIT(ε),1)\lambda\in(\lambda_{\mbox{\tiny\rm IT}}({\varepsilon}),1), while it is asymptotically optimal for λ∈[0,λ\mboxIT(ε))\lambda\in[0,\lambda_{\mbox{\tiny\rm IT}}({\varepsilon})) and λ∈(1,∞)\lambda\in(1,\infty).

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 (1−α)(1-\alpha), where α∈(0,1)\alpha\in(0,1). Indeed, Theorem 2 informally states that the AMP iterates xt{\boldsymbol{x}}^{t} are approximately Gaussian with mean (proportional to) the signal x0{\boldsymbol{x}}_{0}. This relation can be inverted to construct confidence intervals.

We begin by noting that we do not need to know the signal strength λ\lambda. Indeed, for λ>1\lambda>1, the latter can be estimated from the maximum eigenvalue of A{\boldsymbol{A}}, λmax⁡(A)\lambda_{\max}({\boldsymbol{A}}), via

This is a consistent estimator for λ>1\lambda>1, and can replace λ\lambda 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 νX0\nu_{X_{0}}.

Bayes-optimal construction. In order to emphasize the fact that we use the estimated λ\lambda both in the AMP iteration and in the state evolution recursion, we write x‾t\overline{\boldsymbol{x}}^{t} for the Bayes AMP iterates and γ^t\hat{\gamma}_{t} for the state evolution parameter, instead of xt{\boldsymbol{x}}^{t} and γt\gamma_{t}. We then form the intervals:

We can also define corresponding pp-values by

We then construct confidence intervals and pp-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 J^i(α;t)\hat{J}_{i}(\alpha;t) as per Eqs. (3.2) (3.6), we have almost surely

Further assume that the fraction of non-zero entries in the spike is ∥x0(n)∥0/n→ε∈[0,1)\|{\boldsymbol{x}}_{0}(n)\|_{0}/n\to{\varepsilon}\in[0,1), and νX0({0})=1−ε\nu_{X_{0}}(\{0\})=1-{\varepsilon}. Then the pp-values constructed above are asymptoticaly valid for the nulls. Namely, let i0=i0(n)i_{0}=i_{0}(n) any index such that x0,i0(n)=0x_{0,i_{0}}(n)=0. Then, for any α∈\alpha\in, and any fixed t≥0t\geq 0

Corollary 3.1 allows to control the probability of false positives when using the pp-values pip_{i}, see Eq. (3.9). We might want to use these pp-values to select a subset of variables S^⊆[p]\hat{S}\subseteq[p] to be considered for further exploration. For such applications, it is common to aim for false discovery rate (FDR) control. The pp-values pip_{i} guarantee asymptotic FDR control through a simple Benjamini-Hochberg procedure [BH95]. For a threshold s∈s\in, we define the following estimator of false discovery proportion [Efr12]:

Using this notion, we define a threshold and a rejection set as follows. Fix α∈(0,1)\alpha\in(0,1), 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 ∥x0(n)∥0/n→ε∈[0,1)\|{\boldsymbol{x}}_{0}(n)\|_{0}/n\to{\varepsilon}\in[0,1), and νX0({0})=1−ε\nu_{X_{0}}(\{0\})=1-{\varepsilon}. Then, for any fixed t≥0t\geq 0,

The procedure defined by threshold and rejection set in Eq. (3.11) does not assume knowledge of the sparsity level ε{\varepsilon}. If one knew ε{\varepsilon}, then an asymptotic false discovery rate of exactly α\alpha 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 α\alpha, and higher power than the procedure using the estimator in Eq. (3.10).

Estimation of rectangular rank-one matrices

where (Wij)i≤n,j≤d∼iidN(0,1/n)({\boldsymbol{W}}_{ij})_{i\leq n,j\leq d}\sim_{iid}{\sf N}(0,1/n). To be definite, we will think of sequences of instances indexed by nn and assume n,d→∞n,d\to\infty with aspect ratio d(n)/n→α∈(0,∞)d(n)/n\to\alpha\in(0,\infty).

We will make the following assumptions on the sequences of vectors u0=u0(n){\boldsymbol{u}}_{0}={\boldsymbol{u}}_{0}(n), x0=x0(n){\boldsymbol{x}}_{0}={\boldsymbol{x}}_{0}(n):

In analogy with the symmetric case, we initialize the AMP iteration by using the principal right singular vector of A{\boldsymbol{A}}, denoted by φ1{\boldsymbol{\varphi}}_{1} (which we assume to have unit norm). In the present case, the phase transition for the principal singular vector takes place at λ2α=1\lambda^{2}\sqrt{\alpha}=1 [Pau07, BS10]. Namely, if λ2α>1\lambda^{2}\sqrt{\alpha}>1 then the correlation between ∣⟨x0,φ1⟩∣/∥x0∥|\langle{\boldsymbol{x}}_{0},{\boldsymbol{\varphi}}_{1}\rangle|/\|{\boldsymbol{x}}_{0}\| stays bounded away from zero as n,d→∞n,d\to\infty.

Setting x0=dφ1{\boldsymbol{x}}^{0}=\sqrt{d}{\boldsymbol{\varphi}}_{1} and gt−1(ut−1)=0g_{t-1}({\boldsymbol{u}}^{t-1})={\boldsymbol{0}}, 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 (μt,σt)t≥0(\mu_{t},\sigma_{t})_{t\geq 0} be defined via the recursion

where X0∼νX0X_{0}\sim\nu_{X_{0}}, U0∼νU0U_{0}\sim\nu_{U_{0}} and G∼N(0,1)G\sim{\sf N}(0,1) are independent, and the initial condition is

(This is to be substituted in Eq. (4.5) to yield μ‾0,σ‾0{\overline{\mu}}_{0},{\overline{\sigma}}_{0}.)

In this case, the optimal choice of the function gtg_{t} in Eq. (4.4) is of course linear: gt(u)=atug_{t}(u)=a_{t}u for some at>0a_{t}>0. The value of the constant ata_{t} is immaterial, because it only amounts to a common rescaling of the μt,σt\mu_{t},\sigma_{t}, which can be compensated by a redefinition of ftf_{t} in Eq. (4.5). We set at=λμ‾t/(μ‾t2+σ‾t2)a_{t}=\lambda{\overline{\mu}}_{t}/({\overline{\mu}}_{t}^{2}+{\overline{\sigma}}_{t}^{2}). Substituting in Eq. (4.4), we obtain μt+1=σt+12=γt+1\mu_{t+1}=\sigma_{t+1}^{2}=\gamma_{t+1}, where

where γ‾t=μ‾t2/σ‾t2{\overline{\gamma}}_{t}={\overline{\mu}}_{t}^{2}/{\overline{\sigma}}_{t}^{2}. 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 A0{\boldsymbol{A}}_{0} from these noisy observations. The matrix A{\boldsymbol{A}} takes the form of Eq. (1.1) with k=q−1k=q-1, λ1=⋯=λk=λ\lambda_{1}=\dots=\lambda_{k}=\lambda and v1{\boldsymbol{v}}_{1}, …, vk{\boldsymbol{v}}_{k} an orthonormal basis of the space Vn{\mathcal{V}}_{n}. We will assume λ>1\lambda>1 so that k∗=kk_{*}=k. In particular, for q≥3q\geq 3, the low-rank signal has degenerate eigenvalues.

Let Sq{\sf S}_{q} be the group of q×qq\times q permutation matrices. We evaluate the estimator xt{\boldsymbol{x}}^{t} via the overlap

where ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle denotes the Frobenius inner product. In Figure 2, we plot the evolution of the overlap in two sets of numerical simulations, for q=3q=3 and q=4q=4. Each curve is obtained by running AMP (with spectral initialization) on a different realization of the random matrix A{\boldsymbol{A}}. The non-concentration phenomenon is quite clear:

For fixed number of iterations tt and large nn, the quantity Overlapn(λ;t){\rm Overlap}_{n}(\lambda;t) has large fluctuations, that do not seem to vanish as n→∞n\to\infty.

Despite this, the algorithm is effective in reconstructing the signal: after t=10t=10 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 σ\sigma uniform in {1,…,q}\{1,\dots,q\} independent of G∼N(0,Iq){\boldsymbol{G}}\sim{\sf N}(0,{\boldsymbol{I}}_{q}).

Further as n→∞n\to\infty, M0{\boldsymbol{M}}_{0} 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 A{\boldsymbol{A}} according to Eq. (5.2), compute the spectral initialization of Eq. (5.3) and set M0=(x0)Tx0/n{\boldsymbol{M}}_{0}=({\boldsymbol{x}}^{0})^{{\sf T}}{\boldsymbol{x}}_{0}/n. We then compute the state evolution sequence {(Mt,Qt)}t≥0\{({\boldsymbol{M}}_{t},{\boldsymbol{Q}}_{t})\}_{t\geq 0} via Eqs. (5.8), (5.9), and use Eq. (5.10) to predict the evolution of the overlap. The variability in the initial condition M0{\boldsymbol{M}}_{0} leads to a variability in the predicted trajectory {(Mt,Qt)}t≥0\{({\boldsymbol{M}}_{t},{\boldsymbol{Q}}_{t})\}_{t\geq 0} 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 tt, 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 M0{\boldsymbol{M}}_{0} breaks the symmetry between the qq 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. A{\boldsymbol{A}}, B{\boldsymbol{B}},…), lower case bold for vectors (e.g. u{\boldsymbol{u}}, v,…{\boldsymbol{v}},\dots) and lower case plain font for scalars (e.g. x,y,…x,y,\dots). 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 λi(n)\lambda_{i}(n) have finite limits as n→∞n\to\infty, that we denote by λi\lambda_{i}. Further, assume there exist k+k_{+}, k−k_{-} such that λ1≥…λk+>1>λk++1\lambda_{1}\geq\dots\lambda_{k_{+}}>1>\lambda_{k_{+}+1} and λk−k−>−1>λk−k−+1≥⋯≥λk\lambda_{k-k_{-}}>-1>\lambda_{k-k_{-}+1}\geq\dots\geq\lambda_{k}. We let S≡(1,…,k+,k−k−+1,…,k)S\equiv(1,\dots,k_{+},k-k_{-}+1,\dots,k), k∗=k++k−k_{*}=k_{+}+k_{-} and S^≡(1,…,k+,n−k−+1,…,n)\hat{S}\equiv(1,\dots,k_{+},n-k_{-}+1,\dots,n). Further, we let ΛS{\boldsymbol{\Lambda}}_{S} denote the diagonal matrix with entries (ΛS)ii=λi({\boldsymbol{\Lambda}}_{S})_{ii}=\lambda_{i}, i∈Si\in S.

where expectation is taken with respect to (U,Y)∼μU,Y({\boldsymbol{U}},Y)\sim\mu_{{\boldsymbol{U}},Y} independent of G∼N(0,Iq){\boldsymbol{G}}\sim{\sf N}(0,{\boldsymbol{I}}_{q}). These recursions are initialized with Q0,M0{\boldsymbol{Q}}_{0},{\boldsymbol{M}}_{0} which will be specified in the statement of Theorem 5 below.

Let (xt)t≥0({\boldsymbol{x}}^{t})_{t\geq 0} be the AMP iterates generated by algorithm (6.5), under assumptions (A1) to (A4), for the spiked matrix model (1.1). For ηn≥n−1/2+ε\eta_{n}\geq n^{-1/2+{\varepsilon}} such that ηn→0\eta_{n}\to 0 as n→∞n\to\infty, 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 W{\boldsymbol{W}} is a noise matrix with independent entries Wij∼N(0,1/n)W_{ij}\sim{\sf N}(0,1/n). We already considered the case k=1k=1 of this model in Section 4. Given Theorem 5, the generalization to k>1k>1 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 v≡x0n{\boldsymbol{v}}\equiv\frac{{\boldsymbol{x}}_{0}}{\sqrt{n}}, Eq. (2.1) can be written as

Recalling that (φ1,z1)({\boldsymbol{\varphi}}_{1},z_{1}) are the principal eigenvector and eigenvalue of A{\boldsymbol{A}}, we write A{\boldsymbol{A}} as the sum of a rank one projection onto the space spanned by φ1{\boldsymbol{\varphi}}_{1}, plus a matrix that is the restriction of A{\boldsymbol{A}} to the subspace orthogonal to φ1{\boldsymbol{\varphi}}_{1}. That is,

where P⊥=I−φ1φ1T{\boldsymbol{P}}^{\perp}={\boldsymbol{I}}-{\boldsymbol{\varphi}}_{1}{\boldsymbol{\varphi}}_{1}^{\sf T} is the projector onto the space orthogonal to φ1{\boldsymbol{\varphi}}_{1}. The proof of Theorem 1 is based on an approximate representation of the conditional distribution of A{\boldsymbol{A}} given (φ1,z1)({\boldsymbol{\varphi}}_{1},z_{1}). To this end, we define the matrix

Here the random variables (X0,L,G0)(X_{0},L,G_{0}) are jointly distributed as follows: X0∼νX0X_{0}\sim\nu_{X_{0}} and G0∼N(0,1)G_{0}\sim{\sf N}(0,1) are independent, and L=1−λ−2X0+λ−1G1L=\sqrt{1-\lambda^{-2}}X_{0}+\lambda^{-1}G_{1}, where G1∼N(0,1)G_{1}\sim{\sf N}(0,1) is independent of both X0X_{0} and G0G_{0}. It is shown in Corollary C.3 that (almost surely) the empirical distribution of (x0,nφ1)({\boldsymbol{x}}_{0},\sqrt{n}{\boldsymbol{\varphi}}_{1}) converges in W2W_{2} to the distribution of (X0,L)(X_{0},L). The constants (αt,βt,τt)(\alpha_{t},\beta_{t},\tau_{t}) 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 t≥0t\geq 0,

where (μt,σt)t≥0(\mu_{t},\sigma_{t})_{t\geq 0} 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 k=q=1k=q=1, and hence write A=λvvT+W{\boldsymbol{A}}=\lambda{\boldsymbol{v}}{\boldsymbol{v}}^{{\sf T}}+{\boldsymbol{W}} dropping the indices. In order for this to be a non-trivial perturbation of the standard GOE model, we will assume λ>1\lambda>1 (the case λ<−1\lambda<-1 being equivalent). We will prove Theorem 1 and show that this implies Theorem 5 in the rank 11 case.

where U∼νX0U\sim\nu_{X_{0}} and G∼N(0,1)G\sim{\sf N}(0,1) are independent.

We will begin by showing that Theorem 1 implies Theorem 5 in the rank 11 case.

In this case R(Λ)=R∗(Λ){\mathcal{R}}({\boldsymbol{\Lambda}})={\mathcal{R}}_{*}({\boldsymbol{\Lambda}}) consists of the two 1×11\times 1 matrices R=+1{\boldsymbol{R}}=+1 and R=−1{\boldsymbol{R}}=-1, which implies

Hence Ω=⟨φ1,v⟩∈Gn(Λ)\Omega=\langle{\boldsymbol{\varphi}}_{1},{\boldsymbol{v}}\rangle\in{\mathcal{G}}_{n}({\boldsymbol{\Lambda}}) holds with the claimed probability by Lemma C.1. Further, conditional on this, ∣Ω−(1−λ−2)1/2∣≤ηn|\Omega-(1-\lambda^{-2})^{1/2}|\leq\eta_{n} and ∣Ω+(1−λ−2)1/2∣≤ηn|\Omega+(1-\lambda^{-2})^{1/2}|\leq\eta_{n} each hold with probability 1/21/2 by symmetry. This implies the weak convergence of Ω{\boldsymbol{\Omega}} as in the statement.

It remains to prove Eq. (6.11). Let Gn+(Λ)=Gn(Λ)∩{Ω≥0}{\mathcal{G}}_{n}^{+}({\boldsymbol{\Lambda}})={\mathcal{G}}_{n}({\boldsymbol{\Lambda}})\cap\{\Omega\geq 0\} and Gn−(Λ)=Gn(Λ)∩{Ω<0}{\mathcal{G}}_{n}^{-}({\boldsymbol{\Lambda}})={\mathcal{G}}_{n}({\boldsymbol{\Lambda}})\cap\{\Omega<0\}. For t≥0t\geq 0, set Mt=μt(n){\boldsymbol{M}}_{t}=\mu_{t}(n), Qt=σt2(n){\boldsymbol{Q}}_{t}=\sigma^{2}_{t}(n) (as these are 1×11\times 1 matrices). For Ω∈Gn+(Λ)\Omega\in{\mathcal{G}}_{n}^{+}({\boldsymbol{\Lambda}}), the initialization in the statement of the theorem implies ∣μ0(n)−1−λ−2∣≤Cηn|\mu_{0}(n)-\sqrt{1-\lambda^{-2}}|\leq C\eta_{n}, ∣σ0(n)−(1/λ)∣≤Cηn|\sigma_{0}(n)-(1/\lambda)|\leq C\eta_{n}. Since for any fixed tt, μt(n),σt(n)\mu_{t}(n),\sigma_{t}(n) are continuous in the initial condition, we have ∣μt(n)−μt∣≤δt(ηn)|\mu_{t}(n)-\mu_{t}|\leq\delta_{t}(\eta_{n}), ∣σt(n)−σt∣≤δt(ηn)|\sigma_{t}(n)-\sigma_{t}|\leq\delta_{t}(\eta_{n}) for some function δt\delta_{t} such that δt(x)→0\delta_{t}(x)\to 0 as x→0x\to 0. It follows from Theorem 1 that, almost surely

Considering next Ω∈Gn−(Λ)\Omega\in{\mathcal{G}}_{n}^{-}({\boldsymbol{\Lambda}}), we can apply Theorem 1 to A=λ(−v)(−v)T+W{\boldsymbol{A}}=\lambda(-{\boldsymbol{v}})(-{\boldsymbol{v}})^{{\sf T}}+{\boldsymbol{W}} to get

The claim in Theorem 5 then follows by from Eqs. (A.4) and (A.6), using the fact that Ω∈Gn(Λ)\Omega\in{\mathcal{G}}_{n}({\boldsymbol{\Lambda}}) eventually almost surely.

The proof of Theorem 1 is based on an approximate representation for the conditional distribution of A{\boldsymbol{A}} given (φ1,z1)({\boldsymbol{\varphi}}_{1},z_{1}), that is established in Lemma B.3 below. Namely, we introduce the matrix

for some constant c(ε)>0c({\varepsilon})>0. With this coupling, we therefore have

A.2 Proof of Lemma A.1

To simplify notation, we will assume that ⟨v,φ1⟩≥0\langle{\boldsymbol{v}},{\boldsymbol{\varphi}}_{1}\rangle\geq 0. The proof for the case ⟨v,φ1⟩≤0\langle{\boldsymbol{v}},{\boldsymbol{\varphi}}_{1}\rangle\leq 0 is identical except for a sign change in the definition in Eq. (A.17).

where we have used P⊥=I−φ1φ1T{\boldsymbol{P}}^{\perp}={\boldsymbol{I}}-{\boldsymbol{\varphi}}_{1}{\boldsymbol{\varphi}}_{1}^{{\sf T}} to obtain (A.13). Defining

Note that (almost surely) the empirical distribution of (nv,nφ1)(\sqrt{n}{\boldsymbol{v}},\sqrt{n}{\boldsymbol{\varphi}}_{1}) converges in W2W_{2} to the distribution of (U,L)(U,L), where U∼νX0U\sim\nu_{X_{0}} and

with G1∼N(0,1)G_{1}\sim{\sf N}(0,1) independent of UU, see Corollary C.3.

We will prove Eq. (2.11) in two steps. We show that almost surely

Proof of Eq. (A.23)

For (αt,βt,τt2)(\alpha_{t},\beta_{t},\tau_{t}^{2}) defined via the recursion in Eqs. (A.19) – (A.21), we show below that for t≥0t\geq 0

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 L=1−λ−2U+λ−1G1L=\sqrt{1-\lambda^{-2}}U+\lambda^{-1}G_{1}, we have

Since U∼μUU\sim\mu_{U}, G0∼N(0,1)G_{0}\sim{\sf N}(0,1), and G1∼N(0,1)G_{1}\sim{\sf N}(0,1) are independent, we use Eq. (A.25) and Eq. (A.26) to observe that (αt+βt1−λ−2)U=μtU(\alpha_{t}+\beta_{t}\sqrt{1-\lambda^{-2}})U=\mu_{t}U, and βtλ−1G1+τtG0=dσtZ0\beta_{t}\lambda^{-1}G_{1}+\tau_{t}G_{0}\stackrel{{\scriptstyle{\rm d}}}{{=}}\sigma_{t}Z_{0}. We finally show Eq. (A.24).

Proof of Eq. (A.24): Using the definition of βt+1\beta_{t+1} in Eq. (A.20), it suffices to show that, for t≥0t\geq 0,

We prove Eqs. (A.24) and (A.28) inductively.

For t=0t=0, using the definition of LL 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 t=0,…,(r−1)t=0,\ldots,(r-1). For t=rt=r, we have

Proof of Eq. (A.22)

Define a related iteration to generate (st)t≥0({\boldsymbol{s}}^{t})_{t\geq 0} as follows.

where the last equality holds because x0=nφ1{\boldsymbol{x}}^{0}=\sqrt{n}{\boldsymbol{\varphi}}_{1}, α0=0\alpha_{0}=0, and β0=1\beta_{0}=1.

where τt\tau_{t} is determined by the recursion:

initialized with τ0=0\tau_{0}=0. Note that this expression for τt+12\tau_{t+1}^{2} 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 t=0t=0 is easy to verify. Indeed, from the definition of s0{\boldsymbol{s}}^{0} in Eq. (A.34), we have Δ0=0{\boldsymbol{\Delta}}^{0}=\mathbf{0} and the equality in Eq. (A.38) holds. Furthermore, since x0=nφ1{\boldsymbol{x}}^{0}=\sqrt{n}{\boldsymbol{\varphi}}_{1}, we have ∥x0∥2/n=1\left\lVert{{\boldsymbol{x}}^{0}}\right\rVert^{2}/n=1.

With the induction hypothesis that Eqs. (A.38) – (A.41) hold for t=0,1,…,rt=0,1,\ldots,r, we now prove the claim for t=r+1t=r+1. By the pseudo-Lipschitz property of ψ\psi, for i∈[n]i\in[n] and some constant CC we have:

(In what follows we use C>0C>0 to denote a generic absolute constant whose value may change as we progress though the proof.)

Substituting the expressions for xr+1{\boldsymbol{x}}^{r+1} and sr+1{\boldsymbol{s}}^{r+1} from Eq. (A.16) and Eq. (A.32) into definition of Δr+1{\boldsymbol{\Delta}}^{r+1} from Eq. (A.39), and recalling that x0=nv{\boldsymbol{x}}_{0}=\sqrt{n}{\boldsymbol{v}}, we get

Note that ∥x0∥2/n=∥φ1∥2=1\left\lVert{{\boldsymbol{x}}_{0}}\right\rVert^{2}/n=\left\lVert{{\boldsymbol{\varphi}}_{1}}\right\rVert^{2}=1. We show that ∥Δr+1∥2/n→0\left\lVert{{\boldsymbol{\Delta}}^{r+1}}\right\rVert^{2}/n\to 0 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 ψ(u,v,z)=zf(u;t)\psi(u,v,z)=zf(u;t). Since f(⋅;t)f(\cdot;t) is Lipschitz, it is easy to check that ψ\psi is pseudo-Lipschitz. Therefore, by the induction hypothesis, using Eq. (A.38) and Eq. (A.37) with t=rt=r and t=(r−1)t=(r-1), we have

Using the induction hypothesis and considering the pseudo-Lipschitz function ψ(u,v,z)=vf(u;r)\psi(u,v,z)=vf(u;r), 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 xr{\boldsymbol{x}}^{r} converges weakly to the distribution of αrU+βrL+τrG0\alpha_{r}U+\beta_{r}L+\tau_{r}G_{0}. Combining this with the Lipschitz property of f(⋅;r)f(\cdot;r), 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 ∥φ1∥=1\left\lVert{{\boldsymbol{\varphi}}_{1}}\right\rVert=1, 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 f( ⋅ ;r)f(\,\cdot\,;r) is Lipschitz to write

where C>0C>0 is an absolute constant. By the induction hypothesis ∥Δr∥2/n→0\|{\boldsymbol{\Delta}}^{r}\|^{2}/n\to 0 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 t=(r−1)t=(r-1), we have

Indeed, the result in Eq. (A.35) implies that the empirical distribution of (sr+αrx0+βrn φ1)({\boldsymbol{s}}^{r}+\alpha_{r}{\boldsymbol{x}}_{0}+\beta_{r}\sqrt{n}\,{\boldsymbol{\varphi}}_{1}) converges weakly to the distribution of αrU+βrL+τrG0\alpha_{r}U+\beta_{r}L+\tau_{r}G_{0}. Combining this with the Lipschitz property of f( ⋅ ;r)f(\,\cdot\,;r), Eq. (A.65) follows from [BM11, Lemma 5]. The limiting value for br{\sf b}_{r} is the same, as shown in Eq. (A.55). Therefore, from Eq. (A.63) we have

By the induction hypothesis, we have ∥Δr−1∥2/n→0{\|{\boldsymbol{\Delta}}^{r-1}\|}^{2}/n\to 0 almost surely. Since br{\sf b}_{r} has already been shown to approach a finite limit almost surely, we therefore have

where (a)(a) 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 δt{\boldsymbol{\delta}}^{t} 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 (a)(a) is obtained by applying the state evolution result Eq. (A.35) for sr+1{\boldsymbol{s}}^{r+1} with the pseudo-Lipschitz function ψ(s,x,y)=ys\psi(s,x,y)=ys. The equality (b)(b) holds because L,G0L,G_{0} are independent.

Now, applying the state evolution result Eq. (A.37) to the pseudo-Lipschitz function ψ(u,v,z)=zf(u;r−1)\psi(u,v,z)=zf(u;r-1), we obtain

Using this in Eq. (A.73), and recalling from Eq. (A.65) that br{\sf b}_{r} 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 t=(r+1)t=(r+1). Finally, we need to verify that the conditions in Eq. (A.41) also hold for t=(r+1)t=(r+1). But these immediately follow from Eq. (A.37) and Eq. (A.38) with t=rt=r by considering the pseudo-Lipschitz function ψ(u,v,w)=u2\psi(u,v,w)=u^{2}.

Appendix B Proof of Theorem 5: General case

Throughout this appendix, we use the notation f(x,y;t)=ft(x,y;t)f({\boldsymbol{x}},y;t)=f_{t}({\boldsymbol{x}},y;t).

The last statement of the theorem, that Ω∈Gn(Λ)\boldsymbol{\Omega}\in{\mathcal{G}}_{n}({\boldsymbol{\Lambda}}) with the claimed probability and the weak convergence of Ω\boldsymbol{\Omega}, follows from Lemma C.1.

It remains to prove the state evolution result Eq. (6.11). To reduce book-keeping, we will assume k−=0k_{-}=0 so that k∗=k+k_{*}=k_{+}, 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 A{\boldsymbol{A}} in Eq. (1.1) is close in total variation to the law of

where (z1,…,zk∗)(z_{1},\ldots,z_{k_{*}}) are the first k∗k_{*} ordered eigenvalues of A{\boldsymbol{A}} in Eq. (1.1), and (φ1,…,φk∗)({\boldsymbol{\varphi}}_{1},\ldots,{\boldsymbol{\varphi}}_{k_{*}}) are the corresponding eigenvectors. The matrix P⊥{\boldsymbol{P}}^{\perp} is the projector onto the space orthogonal to the column space of ΦS^{\boldsymbol{\Phi}}_{\hat{S}}, 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 P⊥=I−ΦS^ΦS^T{\boldsymbol{P}}^{\perp}={\boldsymbol{I}}-{\boldsymbol{\Phi}}_{\hat{S}}{\boldsymbol{\Phi}}_{\hat{S}}^{{\sf T}}, we can write

We will prove Eq. (6.11) by establishing the two lemmas below.

For (αt,βt,τt2)({\boldsymbol{\alpha}}_{t},{\boldsymbol{\beta}}_{t},{\boldsymbol{\tau}}_{t}^{2}) defined via the recursion in Eqs. (B.16) – (B.18). We show below that for t≥−1t\geq-1, 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 f(⋯ )f(\cdots). Further let

Using Eq. (B.21) together with ∥Ω0ΛS−ΛSΩ0∥F≤Cηn→0\|{\boldsymbol{\Omega}}_{0}{\boldsymbol{\Lambda}}_{S}-{\boldsymbol{\Lambda}}_{S}{\boldsymbol{\Omega}}_{0}\|_{F}\leq C\eta_{n}\to 0 (which holds eventually almost surely since Ω∈Gn(Λ){\boldsymbol{\Omega}}\in{\mathcal{G}}_{n}({\boldsymbol{\Lambda}})) and ∥Ω0Ω0T−(I−ΛS−2)∥F≤Cηn→0\|{\boldsymbol{\Omega}}_{0}{\boldsymbol{\Omega}}_{0}^{{\sf T}}-({\boldsymbol{I}}-{\boldsymbol{\Lambda}}_{S}^{-2})\|_{F}\leq C\eta_{n}\to 0 (which also holds because Ω∈Gn(Λ){\boldsymbol{\Omega}}\in{\mathcal{G}}_{n}({\boldsymbol{\Lambda}})) 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: ∥Ω0ΛS−ΛSΩ0∥F→0\|{\boldsymbol{\Omega}}_{0}{\boldsymbol{\Lambda}}_{S}-{\boldsymbol{\Lambda}}_{S}{\boldsymbol{\Omega}}_{0}\|_{F}\to 0; ∥Ω0Ω0T−(I−ΛS−2)∥F→0\|{\boldsymbol{\Omega}}_{0}{\boldsymbol{\Omega}}_{0}^{{\sf T}}-({\boldsymbol{I}}-{\boldsymbol{\Lambda}}_{S}^{-2})\|_{F}\to 0; ∥ZS^−(ΛS−ΛS−1)∥F→0\|{\boldsymbol{Z}}_{\hat{S}}-({\boldsymbol{\Lambda}}_{S}-{\boldsymbol{\Lambda}}_{S}^{-1})\|_{F}\to 0.

B.2 Proof of Lemma B.1

and define the iteration (st)t≥0({\boldsymbol{s}}^{t})_{t\geq 0} as follows.

where the last equality follows from assumption (A2) which sets x0=nΦS^ β0T{\boldsymbol{x}}^{0}=\sqrt{n}{\boldsymbol{\Phi}}_{\hat{S}}\,{\boldsymbol{\beta}}_{0}^{{\sf T}}, and from the definition of α0,β0{\boldsymbol{\alpha}}_{0},{\boldsymbol{\beta}}_{0} in (B.15).

where τt{\boldsymbol{\tau}}_{t} is determined by the recursion Eq. (B.18). Therefore, choosing

for a pseudo-Lipschitz function ψ\psi, 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 t=0t=0 is easy to verify. Indeed, from the definition of s0{\boldsymbol{s}}^{0} in Eq. (B.34), we have Δ0=0{\boldsymbol{\Delta}}^{0}=\mathbf{0} and the equality Eq. (B.38) holds. Furthermore, Eqs. (B.41) and (B.42) also hold for t=0t=0 since the initial condition x0=nΦS^ β0T{\boldsymbol{x}}^{0}=\sqrt{n}{\boldsymbol{\Phi}}_{\hat{S}}\,{\boldsymbol{\beta}}_{0}^{{\sf T}} and the definitions of α0,β0{\boldsymbol{\alpha}}_{0},{\boldsymbol{\beta}}_{0} in (B.15) imply

With the induction hypothesis that Eqs. (B.38) to (B.42) hold for t=0,1,…,rt=0,1,\ldots,r, we now prove the claim for t=r+1t=r+1. By the pseudo-Lipschitz property of ψ\psi, for some constant C>0C>0 we have:

Substituting the expressions for xr+1{\boldsymbol{x}}^{r+1} and sr+1{\boldsymbol{s}}^{r+1} from Eq. (B.11) and Eq. (B.32) into definition of Δr+1{\boldsymbol{\Delta}}^{r+1} from Eq. (B.39), we get

We now show that ∥Δr+1∥2/n→0\left\lVert{{\boldsymbol{\Delta}}^{r+1}}\right\rVert^{2}/n\to 0 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 U,L,G0{\boldsymbol{U}},{\boldsymbol{L}},{\boldsymbol{G}}_{0}. To lighten notation, given two sequences AnA_{n}, BnB_{n}, we write An=Bn+on(1)A_{n}=B_{n}+o_{n}(1) if lim⁡n→∞∣An−Bn∣=0\lim_{n\to\infty}|A_{n}-B_{n}|=0 almost surely (and we will not mention ‘almost surely’ explicitly).

Proof of Eq. (B.46). From standard results on spiked random matrices, we have ZS^=ΛS+ΛS−1+on(1){\boldsymbol{Z}}_{\hat{S}}={\boldsymbol{\Lambda}}_{S}+{\boldsymbol{\Lambda}}_{S}^{-1}+o_{n}(1), see e.g. [BGN11]. Further, by definition, we have that

The induction hypothesis implies that the empirical distribution of xr{\boldsymbol{x}}^{r} converges in W2W_{2} to the distribution of αrU+βrL+τrG0{\boldsymbol{\alpha}}_{r}{\boldsymbol{U}}+{\boldsymbol{\beta}}_{r}{\boldsymbol{L}}+{\boldsymbol{\tau}}_{r}{\boldsymbol{G}}_{0}. Combining this with the Lipschitz property of f(⋅,⋅;r)f(\cdot,\cdot;r), 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 βr+1{\boldsymbol{\beta}}_{r+1} in Eq. (B.17).

Proof of Eq. (B.47). Follows from Eq. (B.53) and the definition of αr+1{\boldsymbol{\alpha}}_{r+1} in Eq. (B.16).

where we used Eq. (B.52) together with ∥ΦS^∥F2=k∗\|{\boldsymbol{\Phi}}_{\hat{S}}\|_{F}^{2}=k_{*}. Finally, using the Lipschitz property of ff we have

The proof is completed by noting that ∥Δr∥F2/n→0{\|{\boldsymbol{\Delta}}_{r}\|^{2}_{F}}/{n}\to 0 a.s. by the induction hypothesis.

By the induction hypothesis, we have ∥Δr−1∥2/n→0{\|{\boldsymbol{\Delta}}^{r-1}\|}^{2}/n\to 0 almost surely. Furthermore, ∥Br∥F2\left\lVert{{\sf B}_{r}}\right\rVert_{F}^{2} tends to a finite limit almost surely (due to Eq. (B.54)). We therefore have T2=on(1)T_{2}=o_{n}(1). Finally, we have

where the last inequality follows from Eq. (B.52). Therefore, we have shown that T1,T2,T3T_{1},T_{2},T_{3} are all on(1)o_{n}(1) and the result follows from Eq. (B.59).

Proof of Eq. (B.50): Using the definition of δt{\boldsymbol{\delta}}^{t} in Eq. (B.10) and the recursion for st+1{\boldsymbol{s}}^{t+1} defined in Eq. (B.32), we can write

Therefore ∥δr∥F2/n≤3(T1+T2+T3)\left\lVert{{\boldsymbol{\delta}}^{r}}\right\rVert_{F}^{2}/n\leq 3(T_{1}+T_{2}+T_{3}), where

We now show that ∥δr∥F2/n=0\left\lVert{{\boldsymbol{\delta}}^{r}}\right\rVert_{F}^{2}/n=0 by showing that T1,T2,T3T_{1},T_{2},T_{3} are each on(1)o_{n}(1).

where the last inequality holds because L{\boldsymbol{L}} and G0{\boldsymbol{G}}_{0} are independent. Therefore T1=on(1)T_{1}=o_{n}(1).

B.3 Conditioning lemma

Let A{\boldsymbol{A}} be a spiked random matrix with distribution as per Eq. (1.1), with λ1≥…λk+>1>λk+\lambda_{1}\geq\dots\lambda_{k_{+}}>1>\lambda_{k_{+}} and λk−k−>−1>λk−k−+1≥⋯≥λk\lambda_{k-k_{-}}>-1>\lambda_{k-k_{-}+1}\geq\dots\geq\lambda_{k}. Recall that z=(z1,…,zn){\boldsymbol{z}}=(z_{1},\dots,z_{n}) are the ordered eigenvalues of A{\boldsymbol{A}} with φ1{\boldsymbol{\varphi}}_{1},…φn{\boldsymbol{\varphi}}_{n} being the corresponding eigenvectors. Also recall that S^={1,…,k+}∪{n−k−+1,…,n}\hat{S}=\{1,\dots,k_{+}\}\cup\{n-k_{-}+1,\dots,n\}, S={1,…,k+}∪{k−k−+1,…,k}S=\{1,\dots,k_{+}\}\cup\{k-k_{-}+1,\dots,k\}, and k∗=k++k−k_{*}=k_{+}+k_{-}. Let λS=(λi)i∈S{\boldsymbol{\lambda}}_{S}=(\lambda_{i})_{i\in S}, zS^=(zi)i∈S^{\boldsymbol{z}}_{\hat{S}}=(z_{i})_{i\in\hat{S}}, and ΦS^=(φi)i∈S^{\boldsymbol{\Phi}}_{\hat{S}}=({\boldsymbol{\varphi}}_{i})_{i\in\hat{S}} (we will view ΦS^{\boldsymbol{\Phi}}_{\hat{S}} as a matrix with dimensions n×k∗n\times k_{*}, with columns given by the φi{\boldsymbol{\varphi}}_{i}’s).

Then there exists a constant ε0>0{\varepsilon}_{0}>0 such that for all ε∈(0,ε0){\varepsilon}\in(0,{\varepsilon}_{0}) there is c(ε)>0c({\varepsilon})>0, 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 k−=0k_{-}=0 (and hence k+=k∗k_{+}=k_{*}): all large rank-one perturbations are positive semidefinite.

Note that for zS^,ΦS^∈Eε{\boldsymbol{z}}_{\hat{S}},{\boldsymbol{\Phi}}_{\hat{S}}\in{\mathcal{E}}_{{\varepsilon}}, and all ε{\varepsilon} small enough, we have

Finally, using Eq. (B.75), we get, for a suitable c∗(ε)c_{*}({\varepsilon}),

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 A{\boldsymbol{A}} be the random matrix of Eq. (C.2). For ε>0{\varepsilon}>0 and ηn≥n−1/2+ε\eta_{n}\geq n^{-1/2+{\varepsilon}} such that ηn→0\eta_{n}\to 0 as n→∞n\to\infty, define the set of matrices

where expectation is with respect to U∼μU{\boldsymbol{U}}\sim\mu_{{\boldsymbol{U}}} independent of G∼N(0,Ik∗){\boldsymbol{G}}\sim{\sf N}(0,{\boldsymbol{I}}_{k_{*}}).

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 A>0A>0, the following holds with probability larger than 1−n−A1-n^{-A} for n≥n0(A)n\geq n_{0}(A):

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 i∈{1,…,n}i\in\{1,\dots,n\}. We define Mn≡x0x0T/n{\boldsymbol{M}}_{n}\equiv{\boldsymbol{x}}_{0}{\boldsymbol{x}}_{0}^{{\sf T}}/n and

Further, by Jensen’s inequality, γ\mboxBayes(λ,ε)\gamma_{\mbox{\tiny\rm Bayes}}(\lambda,{\varepsilon}) is monotone non-decreasing in ε{\varepsilon}.

D.2 Upper bound

For the proof of the upper bound we will set ε=0{\varepsilon}=0 (no side information y{\boldsymbol{y}} is revealed) and we will write γ=γ\mboxBayes(λ)=γ\mboxBayes(λ,0)\gamma=\gamma_{\mbox{\tiny\rm Bayes}}(\lambda)=\gamma_{\mbox{\tiny\rm Bayes}}(\lambda,0).

which contradicts the fact (D.3), thus proving our claim.

D.3 Lower bound

Denote by v1(M^n\mboxBayes(A)){\boldsymbol{v}}_{1}(\widehat{\boldsymbol{M}}^{\mbox{\tiny\rm Bayes}}_{n}({\boldsymbol{A}})) the principal eigenvector of M^n\mboxBayes(A)\widehat{\boldsymbol{M}}^{\mbox{\tiny\rm Bayes}}_{n}({\boldsymbol{A}}), and λ1(M^n\mboxBayes(A))\lambda_{1}(\widehat{\boldsymbol{M}}^{\mbox{\tiny\rm Bayes}}_{n}({\boldsymbol{A}})) the corresponding eigenvalue. We set x^∗(A)=n v1(M^n\mboxBayes(A))\hat{\boldsymbol{x}}_{*}({\boldsymbol{A}})=\sqrt{n}\,{\boldsymbol{v}}_{1}(\widehat{\boldsymbol{M}}^{\mbox{\tiny\rm Bayes}}_{n}({\boldsymbol{A}})), whence

Using Eqs. (D.13), (D.14), (D.15), we obtain

We proceed as follows from Eq. (D.12) for a fixed δ>0\delta>0:

Using Eqs. (D.19) and (D.18) in Eq. (D.12), we conclude

The desired lower bound follows since δ\delta can be taken arbitrary small.

Appendix E Proofs for Section 2.3: Sparse spike

In this appendix we prove that the map S(γ;θ)S(\gamma;\theta) defined in Eq. (2.16) is indeed a lower bound on the state evolution map.

Let S∗,SS_{*},S be defined as in Eqs. (2.15)–(2.16). Then

where Fε={νX0:  νX0({0})≥1−ε, ∫x2νX0(dx)=1}{\mathcal{F}}_{{\varepsilon}}=\{\nu_{X_{0}}:\;\nu_{X_{0}}(\{0\})\geq 1-{\varepsilon},\,\int x^{2}\nu_{X_{0}}({\rm d}x)=1\}.

By rescaling the distribution ν\nu, it is sufficient to prove this lemma for γ=1\gamma=1, and replacing Fε{\mathcal{F}}_{{\varepsilon}} by Fε,γ={ν:  ν({0})≥1−ε, ∫x2ν(dx)=γ}{\mathcal{F}}_{{\varepsilon},\gamma}=\{\nu:\;\nu(\{0\})\geq 1-{\varepsilon},\,\int x^{2}\nu({\rm d}x)=\gamma\}. With G∼N(0,1)G\sim{\sf N}(0,1), we define the functions

The next two lemmas establish analytic facts that will be crucial in the proof of Lemma E.1.

For a≤0a\leq 0, this equation has exactly one solution for x∈(0,∞)x\in(0,\infty). For a>0a>0 it has at most two solutions for x∈(0,∞)x\in(0,\infty).

The left-hand side is strictly increasing and positive on (0,∞)(0,\infty). The right-hand side h(x)=x/(x2+a)h(x)=x/(x^{2}+a) is strictly negative for x∈(0,−a)x\in(0,\sqrt{-a}), and decreasing and stricly positive on (−a,∞)(\sqrt{-a},\infty). Further, h(x)↑+∞h(x)\uparrow+\infty as x↓−ax\downarrow\sqrt{-a} and h(x)↓0h(x)\downarrow 0 as x↑+∞x\uparrow+\infty. Hence the equation has exactly one solution x∗x_{*} on (0,∞)(0,\infty) for a≤0a\leq 0, with x∗∈(−a,∞)x_{*}\in(\sqrt{-a},\infty).

Next consider the case a>0a>0. Define u(x)=x/tanh⁡(x)u(x)=x/\tanh(x). It is easy to compute

In particular, we have u′′(x)>0u^{\prime\prime}(x)>0 and u′′′(x)<0u^{\prime\prime\prime}(x)<0 for x∈(0,∞)x\in(0,\infty). Solutions of Eq. (E.7) are zeros of g(x)≡u(θx)−x2−ag(x)\equiv u(\theta x)-x^{2}-a. The above calculation yields g′′′(x)<0g^{\prime\prime\prime}(x)<0 and

In particular, we have g′′(0+)=(2θ2/3)−2g^{\prime\prime}(0+)=(2\theta^{2}/3)-2 and g′′(+∞)=−2g^{\prime\prime}(+\infty)=-2. Hence gg is convex for x∈(0,x0)x\in(0,x_{0}), and concave for x∈(x0,∞)x\in(x_{0},\infty), where x0=0x_{0}=0 for θ<3\theta<\sqrt{3}. Further g′(0+)=0g^{\prime}(0+)=0, and g′(x)↓−∞g^{\prime}(x)\downarrow-\infty for x↑+∞x\uparrow+\infty. Therefore gg is increasing on (0,x0](0,x_{0}] and has a unique local maximum x∗x_{*} on (x0,∞)(x_{0},\infty). Hence gg is strictly increasing on (0,x∗)(0,x_{*}) and strictly decreasing on (x∗,∞)(x_{*},\infty) It follows that g(x)=0g(x)=0 can have at most two solutions. ∎

We compute first two derivatives of FαF_{{\boldsymbol{\alpha}}} to get

In order to prove the claim that Fα′′(x)=0F^{\prime\prime}_{{\boldsymbol{\alpha}}}(x)=0 for at most three values of x∈(0,∞)x\in(0,\infty)), we compute the derivative

and show that H′(x)=0H^{\prime}(x)=0 can have at most two solutions in (0,∞)(0,\infty). From this it follows that H(x)=−2α0H(x)=-2\alpha_{0} can have at most three solutions in (0,∞)(0,\infty) (because otherwise it would have more than two stationary points by the intermediate value theorem).

If b2=0b_{2}=0, then necessarily b1≠0b_{1}\neq 0, and the claim that that H′(x)=0H^{\prime}(x)=0 has at most two solutions is trivial. We can therefore assume b2≠0b_{2}\neq 0. Re-organizing the terms, we get H′(x)=0H^{\prime}(x)=0 (for x∈(0,∞)x\in(0,\infty)) if and only if

By Lemma E.2, this equation can have at most two solutions in (0,∞)(0,\infty), 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 ν=πp,a1,a2\nu=\pi_{p,a_{1},a_{2}} for a certain three points prior, hence establishing the lemma.

where we recall that Fα(x)=α0x2+α1f1(x)+α2f2(x)F_{{\boldsymbol{\alpha}}}(x)=\alpha_{0}x^{2}+\alpha_{1}f_{1}(x)+\alpha_{2}f_{2}(x). Note that the constraint ν∈Fε+\nu\in{\mathcal{F}}^{+}_{{\varepsilon}} is equivalent to ν=(1−ε)δ0+εν+\nu=(1-{\varepsilon})\delta_{0}+{\varepsilon}\nu^{+} with ν+∈\mathscrsfsP((0,∞))\nu^{+}\in\mathscrsfs{P}((0,\infty)) (a probability distribution with support in (0,∞)(0,\infty). Therefore, ν\nu is a solution of problem (E.22) if and only if ν+\nu^{+} is supported on the global maxima of FαF_{{\boldsymbol{\alpha}}}. However, by Lemma E.3, the set of global maxima contains at most two points, and therefore ν+\nu^{+}is supported on at most two points, which proves our claim. ∎

E.2 Proof of Proposition 2.1

For t≥0t\geq 0, let γt≡μt2/σt2\gamma_{t}\equiv\mu_{t}^{2}/\sigma_{t}^{2}. We will first show the inequality in (2.18), which is equivalent to showing γt+1≥γ‾t+1\gamma_{t+1}\geq\underline{\gamma}_{t+1}. From the definitions, we have γ0=γ‾0=(λ2−1)\gamma_{0}=\underline{\gamma}_{0}=(\lambda^{2}-1). Assume towards induction that γs≥γ‾s\gamma_{s}\geq\underline{\gamma}_{s} for 0≤s≤t0\leq s\leq t. We observe that γt+1\gamma_{t+1} can be computed from γt\gamma_{t} as

where the function S∗S_{*} is defined in Eq. (2.15). Indeed, since the soft-thresholding function satisfies η(x;θσ)=ση(x/σ ;θ)\eta(x;\theta\sigma)=\sigma\eta(x/\sigma\,;\theta) for any θ,σ>0\theta,\sigma>0, we have

Next, we note that S∗(γ,θ;νX0)S_{*}(\gamma,\theta;\nu_{X_{0}}) is non-decreasing in γ\gamma. To see this, we use the definition in (2.15) to compute the derivative:

where Fε={πX0:  πX0({0})≥1−ε, ∫x2πX0(dx)=1}{\mathcal{F}}_{{\varepsilon}}=\{\pi_{X_{0}}:\;\pi_{X_{0}}(\{0\})\geq 1-{\varepsilon},\,\int x^{2}\pi_{X_{0}}({\rm d}x)=1\}. By Lemma E.1, the infimum is achieved on a three-points prior, whence:

Recalling from Eq. (2.17) that γ‾t+1=λ2S(γ‾t,θt)\underline{\gamma}_{t+1}=\lambda^{2}S(\underline{\gamma}_{t},\theta_{t}), 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 x′ 0=nφ1{\boldsymbol{x}}^{\prime\,0}=\sqrt{n}{\boldsymbol{\varphi}}_{1}. The difference between x^′ t\hat{\boldsymbol{x}}^{\prime\,t} and x^t\hat{\boldsymbol{x}}^{t} is that the former is produced using the deterministic threshold θtσt\theta_{t}\sigma_{t} (whose computation would require knowledge of the distribution νX0\nu_{X_{0}}), and the latter using the threshold θtσ^t\theta_{t}\hat{\sigma}_{t} which is computed from data. The result of Theorem 1 can be directly applied to the iterates {x′ t}t≥0\{{\boldsymbol{x}}^{\prime\,t}\}_{t\geq 0}, but not to to the iterates {x t}t≥0\{{\boldsymbol{x}}^{\,t}\}_{t\geq 0} (as the data-derived threshold makes the soft-thresholding denoiser non-separable). We will show below that for t≥0t\geq 0, almost surely,

Equation (E.30) implies that, almost surely,

Eqs. (E.30) and (E.31) imply that, almost surely

Next take ψ(u,v)=η(v; θtσt)2\psi(u,v)=\eta(v;\,\theta_{t}\sigma_{t})^{2} to obtain

It is easy to check that both these choices for ψ\psi satisfy the condition required by Theorem 1.

Finally, it remains to prove Eq. (E.30). For t=0t=0, we have x0=x′ 0=nφ1{\boldsymbol{x}}^{0}={\boldsymbol{x}}^{\prime\,0}=\sqrt{n}{\boldsymbol{\varphi}}_{1}. Towards induction, assume Eq. (E.30) holds for 0≤s≤t0\leq s\leq t. From Eqs. (2.12) and (E.29), we have

As in Eq. (E.36), we have 1n∥x^′ t−1∥22→σt−12\frac{1}{n}\|\hat{\boldsymbol{x}}^{\prime\,t-1}\|_{2}^{2}\to\sigma_{t-1}^{2}. Eq. (E.39) implies that the empirical distributions of xt{\boldsymbol{x}}^{t} and x′ t{\boldsymbol{x}}^{\prime\,t} both converge weakly to the distribution of (μtX0+σtG)(\mu_{t}X_{0}+\sigma_{t}G). Furthermore since η(x;θ)\eta(x;\theta) is Lipschitz, denoting by ∂η\partial\eta 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 μ=νX0\mu=\nu_{X_{0}} for the law of X0X_{0})

and we write Ey,γ{\sf E}_{y,\gamma} and Vary,γ{\sf{Var}}_{y,\gamma} for expectation and variance with respect to this measure. We then have

where the last inequality follows by Cauchy-Schwarz. Under assumption (i)(i), we have ∣∂yF(y;γ)∣≤M2|\partial_{y}F(y;\gamma)|\leq M^{2}, ∣∂γF(y;γ)∣≤M3/2|\partial_{\gamma}F(y;\gamma)|\leq M^{3}/2.

Under assumption (ii)(ii), note that μy,γ\mu_{y,\gamma} is ε{\varepsilon}-strongly log-concave (i.e. μy,γ(dx)=exp⁡{−hy,γ(x)} dx\mu_{y,\gamma}({\rm d}x)=\exp\{-h_{y,\gamma}(x)\}\,{\rm d}x, with hy,γ(x)h_{y,\gamma}(x) ε{\varepsilon}-strongly convex). As a consequence, it satisfies a log-Sobolev inequality with constant 1/ε1/{\varepsilon} [Led01, Theorem 5.2], whence μy,γ(∣X−Ey,γ(X)∣≥t)≤2 e−εt2/2\mu_{y,\gamma}(|X-{\sf E}_{y,\gamma}(X)|\geq t)\leq 2\,e^{-{\varepsilon}t^{2}/2}, and therefore Vary,γ(X)≤C0/ε{\sf{Var}}_{y,\gamma}(X)\leq C_{0}/{\varepsilon}, for a numerical constant C0C_{0}. The same inequality implies

Using ∣Ey,γ(X)∣=∣F(y;γ)∣≤∣F(0;γ)∣+∥∂yF∥∞∣y∣≤C0′(1+(∣y∣/ε))|{\sf E}_{y,\gamma}(X)|=|F(y;\gamma)|\leq|F(0;\gamma)|+\|\partial_{y}F\|_{\infty}|y|\leq C_{0}^{\prime}(1+(|y|/{\varepsilon})) (which follows from the above bound on ∂yF(y;γ)=Vary,γ(X)\partial_{y}F(y;\gamma)={\sf{Var}}_{y,\gamma}(X)), immediately implies, for ε≤1{\varepsilon}\leq 1,

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 v=x0/n{\boldsymbol{v}}={\boldsymbol{x}}_{0}/\sqrt{n}. We conclude that the state evolution result in Eq. (2.11) applies with μt\mu_{t}, σt\sigma_{t} determined via Eqs. (A.1), (A.2), and initial condition μ0=(λ2−1)\mu_{0}=(\lambda^{2}-1), σ02=(λ2−1)\sigma_{0}^{2}=(\lambda^{2}-1) (because the initial condition in Theorem 2 is scaled by a factor λ(λ2−1)1/2\lambda(\lambda^{2}-1)^{1/2} with respect to the statement of Theorem 1).

Further note that – by Cauchy-Schwarz inequality – the signal-to-noise ratio μt+1/σt+1\mu_{t+1}/\sigma_{t+1} is maximized by setting f(y;t)=f\mboxBayes(y;t)f(y;t)=f_{\mbox{\tiny\rm Bayes}}(y;t) (or any positive multiple of this function) where

In particular, we have μt=σt2\mu_{t}=\sigma_{t}^{2} for all t≥1t\geq 1, and we selected the initial condition to ensure that this holds for t=0t=0 as well. Setting γt=μt2/σt2\gamma_{t}=\mu_{t}^{2}/\sigma_{t}^{2}, we obtain that γt\gamma_{t} satisfies the state evolution equation (2.24), with initialization (2.23). Further, the identity μt=σt2\mu_{t}=\sigma_{t}^{2} implies μt=γt\mu_{t}=\gamma_{t}, σt2=γt\sigma^{2}_{t}=\gamma_{t} 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 ψ\psi, we obtain

Also, γ↦mmse(γ)\gamma\mapsto{\sf mmse}(\gamma) is non-increasing. Hence γ↦Mλ(γ)\gamma\mapsto M_{\lambda}(\gamma) is a non-decreasing function with Mλ(γ)>γM_{\lambda}(\gamma)>\gamma for γ∈(0,γ\mboxALG)\gamma\in(0,\gamma_{\mbox{\tiny\rm ALG}}), γ0≤γ\mboxALG\gamma_{0}\leq\gamma_{\mbox{\tiny\rm ALG}}, 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 λ\lambda given by λ^(A)\hat{\lambda}({\boldsymbol{A}}) does not change the behavior of x‾t\overline{\boldsymbol{x}}^{t}, γ^t\hat{\gamma}_{t}.

Under the assumptions of Corollary 3.1, the following limits hold almost surely, for any fixed t≥0t\geq 0:

Recall that for λ>1\lambda>1, we have λmax⁡(A)→(λ+λ−1)\lambda_{\max}({\boldsymbol{A}})\to(\lambda+\lambda^{-1}) almost surely [BGN12]. Since the function g(x)=(x+x2−4)/2g(x)=(x+\sqrt{x^{2}-4})/2 is continuous for x>2x>2, with g(λ+λ−1)=λg(\lambda+\lambda^{-1})=\lambda, we also have λ^(A)=g(λmax⁡(A))→λ\hat{\lambda}({\boldsymbol{A}})=g(\lambda_{\max}({\boldsymbol{A}}))\to\lambda.

We then proceed by induction over tt. Using Eq. (2.24):

Finally Eq. (G.3) is also proved by induction over tt. Note that x‾t\overline{\boldsymbol{x}}^{t} is defined recursively as per Eq. (2.8) with λ\lambda, γt\gamma_{t} in the definition of ftf_{t} in Eq. (2.25) repalced by λ^\hat{\lambda}, γ^t\hat{\gamma}_{t}. Explicitly,

Consider the first term. Since ∥A∥\mboxop→2\|{\boldsymbol{A}}\|_{\mbox{\tiny\rm op}}\to 2 almost surely, for large enough nn we almost surely have

where step (a)(a) is obtained using Lemma F.1. We next take the limit n→∞n\to\infty and use the induction hypothesis together with Eqs. (G.1), (G.2), and the fact that lim⁡sup⁡n→∞∥xt∥22/n<∞\lim\sup_{n\to\infty}\|{\boldsymbol{x}}^{t}\|_{2}^{2}/n<\infty, which follows by Theorem 2. We claim that lim⁡n→∞∣b^t−bt∣=0\lim_{n\to\infty}|\hat{\sf b}_{t}-{\sf b}_{t}|=0, whence lim⁡sup⁡n→∞∣b^t∣<∞\lim\sup_{n\to\infty}|\hat{\sf b}_{t}|<\infty (since bt{\sf b}_{t} is asymptotically bounded, per Eq. (A.55)). Since ∥f^t−1(x‾t−1)−ft−1(xt−1)∥2/n→0\|{\hat{f}}_{t-1}(\overline{\boldsymbol{x}}^{t-1})-f_{t-1}({\boldsymbol{x}}^{t-1})\|_{2}/\sqrt{n}\to 0 by the same argument above, this implies R3(t;n)→0R_{3}(t;n)\to 0. Further, lim⁡sup⁡n→∞∥ft−1(xt−1)∥2<∞\lim\sup_{n\to\infty}\|f_{t-1}({\boldsymbol{x}}^{t-1})\|_{2}<\infty, we also get R2(t;n)→0R_{2}(t;n)\to 0.

We are left with the task of showing lim⁡n→∞∣b^t−bt∣=0\lim_{n\to\infty}|\hat{\sf b}_{t}-{\sf b}_{t}|=0. Note that λ,λ^,γt,γ^t∈[1/C0,C0]\lambda,\hat{\lambda},\gamma_{t},\hat{\gamma}_{t}\in[1/C_{0},C_{0}] almost surely for all nn large enough. Hence, by Lemma F.1, ∣ft′(xit)∣,∣f^t′(x‾it)∣≤C|f_{t}^{\prime}(x^{t}_{i})|,|{\hat{f}}^{\prime}_{t}(\overline{x}_{i}^{t})|\leq C for some constant C>0C>0, Therefore, for any constant MM, the following holds almost surely for all nn large enough

Using ∣λ^−λ∣→0|\hat{\lambda}-\lambda|\to 0, ∣γt−γ^t∣→0|\gamma_{t}-\hat{\gamma}_{t}|\to 0, ∥xt−x‾t∥2/n→0\|{\boldsymbol{x}}^{t}-\overline{\boldsymbol{x}}^{t}\|_{2}/\sqrt{n}\to 0 (proved above), and lim⁡sup⁡n→∞∥xt∥2/n≤C′\lim\sup_{n\to\infty}\|{\boldsymbol{x}}^{t}\|_{2}/\sqrt{n}\leq C^{\prime}, lim⁡sup⁡n→∞∥x‾t∥2/n≤C′\lim\sup_{n\to\infty}\|\overline{\boldsymbol{x}}^{t}\|_{2}/\sqrt{n}\leq C^{\prime}, we get

whence the claim follows since MM is arbitrary. ∎

We are now in position to prove Corollary 3.1.

as well as the analogous functions for B(x;α,t)B(x;\alpha,t):

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 uδ(x0)=(1−∣x0∣/δ)+u_{\delta}(x_{0})=(1-|x_{0}|/\delta)_{+} and

Upper and lower bounding the indicator function by ψ^ϵ,±{\hat{\psi}}_{\epsilon,\pm} as in the previous proof, we then obtain that, for any δ>0\delta>0

where c_{\alpha}\equiv\Phi^{-1}\big{(}1-\frac{\alpha}{2}\big{)}. By taking δ→0\delta\to 0 and using monotone convergence, we get

By dominated convergence, this also implies

Let S0(n)≡{i∈[n]:x0,i=0}=[n]∖supp(x0(n))S_{0}(n)\equiv\{i\in[n]:x_{0,i}=0\}=[n]\setminus{\rm supp}({\boldsymbol{x}}_{0}(n)). Notice that the pp-values (pi(t))i∈S0(n)(p_{i}(t))_{i\in S_{0}(n)} are exchangeable. Hence for any sequence i0(n)∈S0(n)i_{0}(n)\in S_{0}(n), we have

Since by assumption ∣S0(n)∣/n→(1−ε)|S_{0}(n)|/n\to(1-{\varepsilon}), the claim (3.9) follows. ∎

Appendix H Proof of Corollary 3.2

Again, for concreteness we assume the construction of pp-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 pi(t)p_{i}(t) and FDP^(s;t)\widehat{\rm FDP}(s;t) from Eqs. (3.3) and (3.10), the threshold s∗(α;t)s_{*}(\alpha;t) in Eq. (3.11) can be expressed as

We first show that lim⁡n→∞s∗(α;t)=sˉ(α;t)\lim_{n\to\infty}s_{*}(\alpha;t)=\bar{s}(\alpha;t) almost surely, where

The analogous functions for C(s; t)C(s;\,t), denoted by ψϵ,+(x; s)\psi_{\epsilon,+}(x;\,s) and ψϵ,−(x;s)\psi_{\epsilon,-}(x;s), are defined by replacing C^(s; t)\hat{C}(s;\,t) with C(s; t)C(s;\,t) 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 ϵ→0\epsilon\to 0, 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 γ^t→γt\hat{\gamma}_{t}\to\gamma_{t} and s∗(α;t)→sˉ(α;t)s_{*}(\alpha;t)\to\bar{s}(\alpha;t) 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 sˉ(α;t)\bar{s}(\alpha;t) in Eq. (H.15) which implies that sˉ(α;t)\bar{s}(\alpha;t) 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 uδ(x0)=(1−∣x0∣/δ)+u_{\delta}(x_{0})=(1-|x_{0}|/\delta)_{+} 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 σ\sigma uniform in {1,… q}\{1,\dots\,q\} independent of G∼N(0,Ik+1){\boldsymbol{G}}\sim{\sf N}(0,{\boldsymbol{I}}_{k+1}). By Eq. (6.11), and using the fact that Mt{\boldsymbol{M}}_{t}, Qt{\boldsymbol{Q}}_{t} are continuous in the initial condition M0{\boldsymbol{M}}_{0}, Q0{\boldsymbol{Q}}_{0}, under the initialization

We next define M~t=q−1/2MtST\widetilde{\boldsymbol{M}}_{t}=q^{-1/2}{\boldsymbol{M}}_{t}{\boldsymbol{S}}^{{\sf T}}, and notice that sσ=STP⊥eσ{\boldsymbol{s}}_{\sigma}={\boldsymbol{S}}^{{\sf T}}{\boldsymbol{P}}^{\perp}{\boldsymbol{e}}_{\sigma} and SST=P⊥{\boldsymbol{S}}{\boldsymbol{S}}^{{\sf T}}={\boldsymbol{P}}^{\perp}. Multiplying Eq. (I.4) on the right by ST/q{\boldsymbol{S}}^{{\sf T}}/\sqrt{q}, we get

which coincide with Eqs. (5.8), (5.9), once we notice that M~tP⊥=M~t\widetilde{\boldsymbol{M}}_{t}{\boldsymbol{P}}^{\perp}=\widetilde{\boldsymbol{M}}_{t} (and drop the tilde from M~t\widetilde{\boldsymbol{M}}_{t}). Also, using Eq. (I.1), note that M~0=q−1/2ΦTVST=(x^0)Tx0/n\widetilde{\boldsymbol{M}}_{0}=q^{-1/2}{\boldsymbol{\Phi}}^{{\sf T}}{\boldsymbol{V}}{\boldsymbol{S}}^{{\sf T}}=(\hat{\boldsymbol{x}}^{0})^{{\sf T}}{\boldsymbol{x}}_{0}/n, 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 n,d→∞n,d\to\infty, the aspect ratio d(n)/n→α∈(0,∞)d(n)/n\to\alpha\in(0,\infty).

The values λi(n)\lambda_{i}(n) have finite limits as n→∞n\to\infty, that we denote by λi\lambda_{i}. Furthermore, there are k∗k_{*} singular values whose limits are larger than 1. That is, λ1≥…λk∗>1≥λk∗+1≥…≥λmin⁡{d,n}≥0\lambda_{1}\geq\dots\lambda_{k_{*}}>1\geq\lambda_{k_{*}+1}\geq\ldots\geq\lambda_{\min\{d,n\}}\geq 0. We let S≡(1,…,k∗)S\equiv(1,\dots,k_{*}), and ΛS{\boldsymbol{\Lambda}}_{S} denote the diagonal matrix with entries (ΛS)ii=λi({\boldsymbol{\Lambda}}_{S})_{ii}=\lambda_{i}, i∈Si\in S.

where expectation is taken with respect to (U,Y)∼μU,Y({\boldsymbol{U}},Y)\sim\mu_{{\boldsymbol{U}},Y} and (V,Z)∼μV,Z({\boldsymbol{V}},Z)\sim\mu_{{\boldsymbol{V}},Z}, all of which are independent of G∼N(0,Iq){\boldsymbol{G}}\sim{\sf N}(0,{\boldsymbol{I}}_{q}). These recursions are initialized with M0,Q0{\boldsymbol{M}}_{0},{\boldsymbol{Q}}_{0}, which will be specified in the statement of Theorem 7 below.

For ηn≥n−1/2+ε\eta_{n}\geq n^{-1/2+{\varepsilon}} such that ηn→0\eta_{n}\to 0 as n→∞n\to\infty, define the set of matrices

References