State Evolution for Approximate Message Passing with Non-Separable Functions
Raphael Berthier, Andrea Montanari, Phan-Minh Nguyen
Introduction
(A slightly different definition, that is more convenient for proofs, will be adopted in Section 3.)
Apart from being broadly applicable, AMP algorithms admit an asymptotically exact characterization in the high-dimensional limit with converging to a limit, which is known as state evolution. Informally, for any fixed, in the high-dimensional limit, is approximately Gaussian with mean zero and covariance , while is approximately . The variance parameters can be computed via a one-dimensional recursion.
State evolution was proved in [BM11] for the recursion (1), (2) under two key assumptions
a Gaussian random matrix with with i.i.d. entries .
We introduce a random perturbation of the functions , . We prove that, with probability one with respect to this random perturbation, the new iteration satisfies the required non-degeneracy assumption.
We prove that both AMP and state evolution are uniformly continuous in the size of the perturbation, and hence we can let the perturbation vanish recovering state evolution for the original unperturbed problem.
Further, we obtain a streamlined proof with respect to the strategy of [BM11], by introducing a different algorithms, that we call LAMP (for Long AMP). State evolution is proved first for LAMP, and then the latter is shown to be closely approximated by the original AMP. We believe that LAMP is potentially of independent interest and will be further investigated in [MN17]
In the rest of this introduction we will briefly describe two applications of AMP with non-separable nonlinearities, and show how state evolution can be used to characterize its behavior. Both of these are examples of generalized compressed sensing, cf. Section 7. We will then review some related work in Section 2, and state our results in Section 3 (for the asymmetric iteration (1) and Section 4 (for the analogue case in which is a random symmetric matrix)). Proofs are presented in Sections 5 and 6. In fact, we will first prove state evolution in the case in which is a symmetric random matrix, and then reduce the asymmetric case to the symmetric one. Finally, Section 7 applies the general theory to compressed sensing reconstruction with a variety of denoisers. In particular, we derive a bound on the convergence rate for denoisers that are projectors onto convex sets. Several technical elements are deferred to the appendices.
For a summary of notations used throughout the paper, the reader is urged to consult Section 5.1.
The following AMP algorithm can be used to reconstruct from observations :
The divergence in Eq. (7) can be computed explicitly using a formula from [CSLT13, DG+14], see Appendix A.1. The sequence of parameters can be chosen to optimize the algorithm performance.
Fixed points of this AMP algorithm are minimum nuclear norm solution of the constraint . This algorithm was implemented in [Don13] and partly motivated the predictions of [DGM13]. A recent detailed study (and generalizations) can be found in [RG17], showing that its phase transition matches the one of nuclear norm minimization, predicted in [DGM13] and proved in [OTH13, ALMT14].
With a change of variables, the algorithm (5), (6) can be recast in the general form (1), (2) with one of the functions being non-separable and given by the SVT operator (the change of variables is described in Section 7).
We plot the the normalized mean square error as a function of the iteration number (with the number of unknowns):
State evolution allows to predict the value . The prediction is already very accurate for .
2 Vignette #2#2\#2: Compressed sensing with images
A broad class of AMP reconstruction algorithms take the form
Again, the iteration (14), (13) can be put in the form (1), (2) with a change of variables described in Section 7. A non-separable denoiser translates into non-separable non-linearities , .
Here we use Non-Local Means denoising (NLM) [BCM05]. Given a noisy image , NLM estimates pixel as a weighted average of the pixels of :
In words, NLM averages patches that are similar to each other. The recent paper [MMB16] studies this algorithm and demonstrates state-of-the-art performances. Here we carry out similar simulations to demonstrate the accuracy of the state evolution prediction. At each iteration we can choose three parameters: , and . We fix , and adapt to the noise level. The theory developed in the next sections suggests that is a good measure of the effective noise level after iterations. We therefore set
where the coefficient was selected empirically.
One difficulty is to compute the divergence of NLM denoisers . Rather than computing explicitly the divergence from Eqs. (16) and (17), we use a trick suggested in [MMB16, Section V.B]. The trick is based on the formula
Rather than taking the limit, we fix very small and evaluate the expectation by Monte Carlo. In high dimensions, concentration of measure helps and it is sufficient to use only one or a few samples to approximate the integral.
In Figure 2, we demonstrate the algorithm performance for an image of size (i.e. ) with measurements and noise level . For each iteration , we show the estimates (left column) together with the denoised versions (right column). In Figure 3, we report the evolution of the normalized square error , as a function of the number of iteration. State evolution appears to track very closely the simulation results.
Further related work
Approximate Message Passing algorithms are motivated by ideas in spin glass theory, where they correspond to an iterative version of the celebrated TAP equations [TAP77, Bol14]. They can also be derived from graphical models ideas, by viewing them as approximations of belief propagation [KF09, Mon12]. In both of these cases, the AMP nonlinearities turn out to be related to conditional expectation with respect to certain prior distributions. The theorems proved here apply more broadly, as demonstrated by the example in Section 1.2.
A generalization of AMP to right-invariant random matrices was introduced and analyzed in [MP17, RSF16], using the conditioning technique also applied here. This allows to treat classes of matrices with dependent entries and potentially large condition numbers. In the same direction, [OCW16, ÇOWF17] develops iterative algorithms analogous to (1), (2) for unitarily invariant symmetric matrices, and for compressed sensing. The analysis in these works is based on non-rigorous density functional methods from statistical physics.
All results discussed above are asymptotic, and characterize the limit with converging to a limit. Nevertheless, the conditioning technique does rely on central-limit-theorem and concentration-of-measure arguments and, as demonstrated in [RV16], it can be sharpened to obtain non-asymptotic results.
Finally, a recent paper by Ma, Rush and Baron [MRB17] states a theorem establishing state evolution for compressed sensing reconstruction via AMP with a non-separable sliding-window denoiser. The result of [MRB17] is not directly comparable with ours, since it concerns a special class of non-separable nonlinearities, but provides non-asymptotic guarantees.
Main results
In this section we state our main result for the asymmetric AMP iteration of Eqs. (1), (2). A similar result for symmetric AMP will be stated in Section 4 (and proven in 5).
For two sequences (in ) of random variables and , we write X_{n}\mathrel{\stackrel{{\scriptstyle{\rm P}}}{{\mathrel{\scalebox{1.8}[1.0]{\simeq}}}}}Y_{n} when their difference converges in probability to , i.e. .
2 State evolution
We next list our assumptions (we refer to Section 5.1 for a summary of notations used in the paper):
has entries .
converges to a finite constant as .
The following limit exists and is finite:
where .
where and .
State evolution characterizes the AMP iteration of Eqs. (1), (2), which we copy here for the reader’s convenience:
where the initial condition is given by , and we let by convention. Further we use the following expression for the memory terms (which we shall refer to as ‘Onsager terms,’ following the physics tradition):
We are now in position to state our main result.
The proof of this theorem is presented in Section 6, and is obtained by reduction to the symmetric case, which is treated in the next section.
As mentioned above, we use Eq. (29) to define the coefficients , because this simplifies the proofs. In practice, this definition is replaced by an empirical estimate, e.g. as in Eq. (3). State evolution follows for these versions of AMP provided such estimates of , are consistent.
Consider the modified AMP iteration whereby Eqs. (27), (28) are replaced by
with the initialization , where and are two estimators of , . Assume the same conditions as Theorem 1. If, for each , , are such that
then the iterates satisfy state evolution, namely Eq. (32) holds with replaced by .
The proof of this statement is deferred to Section 6.
Two choices of that satisfy the assumptions are:
By Theorem 1, if , are uniformly pseudo-Lipschitz, then the assumptions of Corollary 2 hold, and hence we can apply state evolution.
Consistency follows (for , uniformly Lipschitz) from Theorem 1 and Gaussian integration by parts (in particular, Stein’s lemma; see Lemma 17).
Symmetric AMP
We insist on the fact that , and depend on . However, we will drop this dependence most of the time to ease the reading.
converges to a finite constant as .
The following limit exists and is finite:
We have can now state the following state evolution characterization of symmetric AMP, which is analogous to Theorem 1.
Under assumptions (A1)-(A6), consider the AMP iteration . Define for all ,
The proof of this theorem is presented in Section 5. We also note that an analogue of Corollary 2 applies to this case as well, and can be replaced by a consistent estimator .
Proof of Theorem 3 (Symmetric AMP)
In this section we prove Theorem 3 using a sequence of lemmas, whose proofs are postponed to Section 5.5. We will also try to motivate the main steps. Throughout this section and the next, Assumptions (A1)-(A6) hold.
We generally denote scalars by lower case letters, e.g. , , , vectors by lower case boldface, e.g. , , , and matrices by upper case boldface, e.g. , , . We also use the upper case to emphasize that we are referring to a random variable, and –with a slight abuse of the convention– upper case boldface for random vectors.
We use to denote the identity matrix. We use and to denote the minimum and maximum singular values of the matrix . For two matrices and of the same number of rows, denotes the matrix by concatenating and horizontally. For any matrix , we denote the orthogonal projection onto its range , and we let . When is an empty matrix, and . When has full column rank, .
where is the -th coordinate of .
We say that a sequence of events that depends on , hold with high probability (w.h.p.) if it holds with probability converging to 1 as .
We define the Wasserstein distance (of order ) between two probability measures and as
where the infimum is taken over all couplings of and , i.e. all random variables such that and marginally.
2 Long AMP
The main idea of the proof is to analyze a different recursion than the AMP recursion (38), (39). This new recursion satisfies the conclusion of Theorem 3 and will be a good approximation of the AMP recursion in the asymptotic . It is defined as:
The initialization is and . This recursion will be referred as the Long AMP recursion, or LAMP .
Note that for the LAMP recursion to be well-defined, the matrices must be invertible, that is to say the family must be linearly independent. This has no reason to be true, since and is a generic sequence of Lipschitz functions (satisfying assumptions (A4)-(A6)). For instance, if all , , have images included in a same subspace of dimension lower than , this cannot be true. This difficulty leads to some technicalities in the proof. However, we will start by studying the case where is invertible, with , for large enough, where is a constant independent of . More formally, we make the following assumption.
We say that the LAMP iterates satisfy the non-degeneracy assumption if
3 The non-degenerate case
The LAMP recursion is of interest because it behaves well with Gaussian conditioning, so that the sequence of iterates becomes easier to study. The following lemma makes this idea explicit.
Consider the LAMP and suppose it satisfies the non-degeneracy assumption. Then:
To conclude that Theorem 3 holds in this case, we only need to show that LAMP is a good approximation of AMP.
Wrapping things together, we have shown the following weaker form of Theorem 3.
4 The general case
To treat the case where the matrix is ill-conditioned, we add a small perturbation to the functions so that the perturbed AMP behaves well. We then make sure that the perturbed AMP approximates well the original one.
A convenient way implement this program is to perturb randomly the functions. We then show that almost surely, the perturbation has the required properties (A4)-(A6). Specifically, consider
where and are generated as i.i.d. , independent of the matrix . The perturbation vectors are called collectively as for brevity.
Denote as the matrix associated with the LAMP iterates , according to equation (51). Assume . Then as soon as , almost surely the matrix is of full column rank. Furthermore, there exists a constant -independent of - such that almost surely, there exists (random) such that for , .
The last two lemmas imply that almost surely, we can apply Theorem 7 to . The next three lemmas quantify how this result approximates our original one.
and for all , with high probability,
The proof combines three elements that follow from the previous lemmas:
Using that is uniformly pseudo-Lipschitz of order and the triangle inequality,
where here is a constant depending only on and . Lemma 12 ensures that w.h.p. . We also know by assumption (A3) that converges to a finite limit. Furthermore, one can use Theorem 7 to bound w.h.p.
Finally, using the triangle inequality, w.h.p.,
As this upper bound goes converges to 0 as , we have for any ,
Let us now combine the three elements together. Let . We have:
Taking as , the second term vanishes because of (69):
Because of (78) and (70), this upper bound converges to 0 as . We can then conclude that
5 Proof of the Lemmas
The claim for is immediate from that is the trivial -algebra and . For , let us rewrite (49) as
5.2 Proof of Lemma 5
Proof of . Recall that . Then (a) follows immediately from Lemma 19, and (b) is from Lemmas 19, 21, 23.
We only need to prove the claim for .
Consider the case . Since and are -measurable, by Lemma 4,
Note that by , . Hence,
since and concentrate at finite constants by and Lemma 20, and , . It follows that \frac{1}{n}\left\langle{\boldsymbol{h}}^{s+1},{\boldsymbol{h}}^{t+1}\right\rangle\mathrel{\stackrel{{\scriptstyle{\rm P}}}{{\mathrel{\scalebox{1.8}[1.0]{\simeq}}}}}\frac{1}{n}\left\langle{\boldsymbol{q}}^{s},{\boldsymbol{q}}^{t}\right\rangle.
Consider the case . Since is -measurable, by Lemma 4,
Using and that ,
Notice that . The claim is proven.
where is a constant depending only on and . We have:
Notice that , which converges to a constant due to and that . Then by Lemma 19, there exists independent of such that
where we use Lemma 23 in the second step, and and Lemma 22 in the third step. (Here with an abuse of notation, we let to be on the same joint space as and independent of .) The thesis follows immediately from that
5.3 Proof of Lemma 6
where we take .
where holds because and , and
where converges in probability to a finite constant by Lemma 5. We claim that for . Then the thesis follows from this claim.
To prove the claim, denoting for brevity, we note that
since has zero mean. By Lemmas 5 and 17, for ,
Identifying , we get
i.e. . Finally, since converges in probability to a finite constant by Lemma 5, the claim is proven. ∎
Let be the statement and . We prove it by induction. The base case is trivial because and .
We now assume is true and we show . We have:
using that is uniformly Lipschitz and the induction hypothesis . Further, we will prove that , which together with Lemma 13 yields . We have:
5.4 Proof of Lemma 8
The second term is Gaussian, with mean zero and variance
which is summable. Using Borel-Cantelli’s lemma, it is then easy to show that
The treatment of the third term is the same as for the second term.
Using the law of large numbers, we get that
Putting things together, we get almost surely
The proof of assumptions (A4), (A5) are very similar, here we only state the resulting expressions: almost surely,
Using equations (144), (145), (146), it is a simple induction that the state evolution for the perturbed setting is indeed non-random almost surely.
5.5 Proof of Lemma 9
If we denote as the -algebra generated by , it follows that
When , this conditional distribution is almost surely non-zero. Thus when , the matrix has full column rank.
To lower bound the minimum singular value of , a more careful treatment is required. Using [BM11, Lemma 8], it is sufficient to check that there exists a constant such that almost surely, for sufficiently large,
We can choose such that , and consider only the case , so that . We then get:
Using concentration of the chi-squared variable, it is easy to show that is summable over . Taking expectation of the last inequality, we get
Then Borel-Cantelli’s lemma concludes the proof.
5.6 Proof of Lemma 10
We then use the two following identities for the Wasserstein distance:
For a proof of the second identity, see [GS84, Proposition 7]. It follows that
Using expressions for moments of chi-square variables, we get:
for a constant that depends only on and . Back to inequality (159),
5.7 Proof of Lemma 11
The sequence of functions is uniformly pseudo-Lipschitz by Lemma 20, thus Lemma 10 and the induction hypothesis jointly ensure that
5.8 Proof of Lemma 12
Indeed, one only needs to use that the functions involved are uniformly Lipschitz and Theorem 16. Note that these inequalities hold for the original AMP iterates by taking .
by the law of large numbers. Thus we choose . Furthermore,
by Theorem 16. Thus we choose .
using that is uniformly Lipschitz with Lipschitz constant . Thus we choose , which converges to zero as . Furthermore,
Proof of Theorem 1 and Corollary 2 (Asymmetric AMP)
We reduce this case to the asymmetric case, as in [JM13]. Consider
Applying Theorem 3 to the AMP recursion shows our theorem. ∎
The proof is by induction over . Let be the claim that \|{\boldsymbol{u}}^{s}-\hat{\boldsymbol{u}}^{s}\|_{2}/\sqrt{n}\mathrel{\stackrel{{\scriptstyle{\rm P}}}{{\mathrel{\scalebox{1.8}[1.0]{\simeq}}}}}0 for all and \|{\boldsymbol{v}}^{s}-\hat{\boldsymbol{v}}^{s}\|_{2}/\sqrt{n}\mathrel{\stackrel{{\scriptstyle{\rm P}}}{{\mathrel{\scalebox{1.8}[1.0]{\simeq}}}}}0 for all . The initial conditions imply immediately .
We now prove that implies . Taking the difference of Eq. (2) and Eq. (34) and using triangular inequality, we get
where is the maximum Lipschitz constant of and and the second inequality holds with high probability by the Bai-Yin law [BY88]. Next notice that, with high probability, for some constant by Theorem 1 (together with Assumption (B6)) and that with high probability by Assumption (35) and the Lipschitz continuity of . Hence, for a suitable constant , the following holds with high probability
We therefore have \|{\boldsymbol{v}}^{t}-\hat{\boldsymbol{v}}^{t}\|_{2}/\sqrt{n}\mathrel{\stackrel{{\scriptstyle{\rm P}}}{{\mathrel{\scalebox{1.8}[1.0]{\simeq}}}}}0 by Eq. (35) and the induction hypothesis.
Taking the difference of Eq. (2) and Eq. (34), we get
and the proof is completed by the same argument as above. ∎
Application to general compressed sensing
where the initialization is given by and . We assume the Onsager coefficient to be a function of , and , but we will discuss concrete choices below.
The sensing matrix is Gaussian with i.i.d. entries, .
converges to a constant as .
The limit exists.
where .
where .
The technical assumptions (C5) and (C6) ensure the existence of the limits in the following state evolution recursion:
where .
State evolution predicts the asymptotic behavior of the estimates in terms of an iterative denoising process.
Under assumptions (C1)-(C6), consider the recursion (202)-(203). Assume that satisfies
where and .
This is a special case of the asymmetric AMP of Eqs. (1), (2), with
and the initialization . Assumptions (B1)-(B6) are satisfied thanks to assumptions (C1)-(C6). The claim follows from Theorem 1 and Corollary 2. ∎
A special case of common interest is , for which Theorem 14 yields
Two choices of the coefficient that satisfy the assumption (208) are:
Using Theorem 14, this satisfies the assumptions by induction, provided is uniformly Lipschitz for each .
If is not uniformly Lipschitz, a smoothed version of Eq. (217) achieves the same goal, namely
where the expectation is with respect to , and is a deterministic sequence that converges to sufficiently slowly. Adapting the arguments of Section 5.5.8, it is possible to show that this choice satisfies the assumption (208).
We also note that, even if is not uniformly Lipschitz, the choice (217) can still satisfy the assumption (208). For instance, if if the soft thresholding denoiser (a case studied in [DMM09, BM11]), then is discontinuous but nevertheless a standard weak convergence argument implies Eq. (208).
2 Denoising by convex projection
An important feature of the theory developed in the previous section is that the denoiser can be fairly general, and not induced by an underlying optimization problem. Nevertheless, it is interesting to specialize the theory developed so far to cases with special additional structure.
Denoting by the projection onto the set (which is a - Lipschitz denoiser), the corresponding AMP algorithm reads
The constraint is effective if accurately captures the structure of the signal . We denote by the tangent cone of at , i.e. the smallest convex cone containing . This can also be defined as
with the Euclidean point-set distance. A highly structured signal corresponds to a ‘small’ cone . This can be quantified via its statistical dimension [CRPW12, ALMT14]
where expectation is with respect to . It turns out that the statistical dimension also controls the convergence of AMP. As for our general theory, we will consider a sequence of problems indexed by the dimension .
Then for any , letting , we have
The proof of this statement is deferred to Appendix C.
This theorem establishes exponentially fast convergence (in the high-dimensional limit) in all the region , \Delta_{n}=\Delta\big{(}{\mathcal{C}}_{{\mathcal{K}}(n)}({\boldsymbol{\theta}}_{0}(n))\big{)}, i.e. whenever exact reconstruction is possible in absence of noise [ALMT14]. Further, the convergence rate is precisely given by the ratio of the number of necessary measurements to the number of measurements . For instance, it implies that, in order to achieve accuracy in the noiseless case , it is sufficient to run the AMP iteration (221), (222) for approximately iterations.
The first result of this type (for separable soft-thresholding denoising) was obtained in [DMM09, DMM11]. The only comparable result is obtained in recent work by Oymak, Recht, and Soltanolkotabi [ORS15], which establishes exponential convergence of of projected gradient descent, in a non-asymptotic sense, although at a slower rateThe same paper also prove convergence at a faster rate, but this requires , i.e. a number of measurements that is twice as large as the optimal one.. In particular, in the noiseless case, accuracy requires . It would be interesting to derive a non-asymptotic version of Theorem 15, which might be possible using the approach of [RV16].
Acknowledgements
This work was partially supported by grants NSF CCF-1319979, NSF DMS-1613091, NSF CCF-1714305.
Appendix A Technical aspects of the numerical simulations
the SVT operator with threshold yields
As proved in [CSLT13], the divergence for this operator can be computed using the formula
This expression should be understood in a weak sense as it is not defined on the negligible set where has repeated singular values.
A.2 Compressed sensing with images
In our simulation, to compute the state evolution iterates
we approximated them by their non-asymptotic estimates:
Here is the size of our image. However, we could not compute the expectation in equation (233) exactly. Thus at each iteration we used a Monte Carlo method to approximate the expectation with the mean over 10 samples. Computing each sample amounts to adding gaussian noise of variance over the Lena image, denoising with NLM, and computing the square error. The resulting state evolution is shown in figure 3.
Appendix B Some useful tools
We reminder the readers of three well-known results. The first concerns with the operator norm of ; see e.g. [BY88] for a more general statement. The second is a simple consequence of Stein’s lemma [Ste72]. The last one is the Gaussian Poincaré inequality.
Consider a sequence of matrices . Then almost surely as .
We state some properties of the GOE matrices, and provide proofs for completeness.
.
Recall that where are i.i.d. random variables, thus
The random variable is centered Gaussian with variance
Thus converges in probability to 0. We can conclude as similarly, also converges in probability to 0.
Consider an orthogonal basis of the image of , such that . Note that can depend on , but is uniformly bounded by . Then, by point ,
This follows immediately from point below.
It is easy to check that is a centered Gaussian vector with covariance matrix . Thus there exists a Gaussian vector such that . Using that is uniformly pseudo-Lipschitz of order , one has
The law of large numbers gives , and we have . Further
where the last convergence follows from the fact that is a centered Gaussian random variable with variance .
We state some useful properties of uniformly pseudo-Lipschitz functions. We omit the proofs, which are easy to verify.
Finally, we have the following result on the Gaussian concentration for uniformly pseudo-Lipschitz functions.
This is a straightforward application of Theorem 18. In particular, by the definition of uniformly pseudo-Lipschitz functions of order ,
Since , the right-hand side goes to as . The claim is proven. ∎
Appendix C Proof of Theorem 15
Note for all , for all .
where expectation is with respect to .
Note that the function ({\boldsymbol{Z}},{\boldsymbol{Z}}^{\prime})\mapsto\big{\langle}{\sf P}_{{\mathcal{K}}}({\boldsymbol{\theta}}_{0}+{\boldsymbol{Z}}),{\sf P}_{{\mathcal{K}}}({\boldsymbol{\theta}}_{0}+{\boldsymbol{Z}}^{\prime})\big{\rangle}/n is uniformly pseudo-Lipschitz of order . Hence, using Lemma 10, we have
We can therefore apply Theorem 14 (and Remark 7.1) along this subsequence, to obtain \|\hat{\boldsymbol{\theta}}^{t+1}-{\boldsymbol{\theta}}_{0}\|_{2}^{2}/n\mathrel{\stackrel{{\scriptstyle{\rm P}}}{{\mathrel{\scalebox{1.8}[1.0]{\simeq}}}}}\delta(\tau_{t+1}^{2}-\sigma_{w}^{2}) and hence (since is bounded uniformly)
Here is given recursively by Eq. (207), namely and
where the limit exists by the existence of the limit of above. Now, since , we have
We therefore get the recursion , which can be summed to yield
which yields the desired contradiction hence proving the theorem.