Asymptotics of MAP Inference in Deep Networks
Parthe Pandit, Mojtaba Sahraee, Sundeep Rangan, Alyson K. Fletcher

TL;DR
This paper rigorously analyzes the performance of MAP inference in deep networks using ML-VAMP, providing exact characterization of mean squared error in high-dimensional limits.
Contribution
It introduces a tractable method, ML-VAMP, for analyzing MAP inference in deep networks with exact performance guarantees.
Findings
ML-VAMP accurately characterizes MAP inference performance.
Mean squared error can be exactly predicted in high-dimensional limits.
Provides rigorous theoretical analysis for deep network inference.
Abstract
Deep generative priors are a powerful tool for reconstruction problems with complex data such as images and text. Inverse problems using such models require solving an inference problem of estimating the input and hidden units of the multi-layer network from its output. Maximum a priori (MAP) estimation is a widely-used inference method as it is straightforward to implement, and has been successful in practice. However, rigorous analysis of MAP inference in multi-layer networks is difficult. This work considers a recently-developed method, multi-layer vector approximate message passing (ML-VAMP), to study MAP inference in deep networks. It is shown that the mean squared error of the ML-VAMP estimate can be exactly and rigorously characterized in a certain high-dimensional random limit. The proposed method thus provides a tractable method for MAP inference with exact performance…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Asymptotics of MAP Inference in Deep Networks
Parthe Pandit, Mojtaba Sahraee, Alyson K. Fletcher, Sundeep Rangan P. Pandit, M. Sahraee and A. K. Fletcher (email: {parthepandit,msahraee,akfletcher}@ucla.edu) are with the Department of Statistics and Electrical Engineering, the University of California, Los Angeles, CA, 90095. Their work was supported in part by the National Science Foundation under Grants 1254204 and 1738286, and the Office of Naval Research under Grant N00014-15-1-2677. S. Rangan (email: [email protected]) is with the Department of Electrical and Computer Engineering, New York University, Brooklyn, NY, 11201. His work was supported in part by the National Science Foundation under Grants 1116589, 1302336, and 1547332, as well as the industrial affiliates of NYU WIRELESS.
Abstract
Deep generative priors are a powerful tool for reconstruction problems with complex data such as images and text. Inverse problems using such models require solving an inference problem of estimating the input and hidden units of the multi-layer network from its output. Maximum a priori (MAP) estimation is a widely-used inference method as it is straightforward to implement, and has been successful in practice. However, rigorous analysis of MAP inference in multi-layer networks is difficult. This work considers a recently-developed method, multi-layer vector approximate message passing (ML-VAMP), to study MAP inference in deep networks. It is shown that the mean squared error of the ML-VAMP estimate can be exactly and rigorously characterized in a certain high-dimensional random limit. The proposed method thus provides a tractable method for MAP inference with exact performance guarantees.
I Introduction
We consider inference in an layer stochastic neural network of the form,
[TABLE]
where is the initial input, , are the intermediate hidden unit outputs and is the output. The number of layers is even. The equations (1a) correspond to linear (fully-connected) layers with weights and biases and , while (1b) correspond to elementwise activation functions such as sigmoid or ReLU. The signals represent noise terms. A block diagram for the network is shown in the top panel of Fig. 1. The inference problem is to estimate the initial and hidden states , from the final output . We assume that network parameters (the weights, biases and activation functions) are all known (i.e. already trained). Hence, this is not the learning problem. The superscript 0 in indicates that these are the “true" values, to be distinguished from estimates that we will discuss later.
This inference problem arises commonly when deep networks are used as generative priors. Deep neural networks have been extremely successful in providing probabilistic generative models of complex data such as images, audio and text. The models can be trained either via variational autoencoders [1, 2] or generative adversarial networks [3, 4]. In inverse problems, a deep network is used as a generative prior for the data (such as an image) and additional layers are added to model the measurements (such as blurring, occlusion or noise) [5, 6]. Inference can then be used to reconstruct the original image from the measurements.
Many deep network-based reconstruction methods perform maximum a priori (MAP) estimation via minimization of the negative log likelihood [5, 6] or an equivalent regularized least-squares objective [7]. MAP minimization is readily implementable and has worked successfully in practice in problems such as inpainting and compressed sensing. MAP estimation also provides an alternative to a separately learned reconstruction network such as [8, 9, 10]. However, due to the non-convex nature of the objective function, MAP estimation has been difficult to analyze rigorously. For example, results such as [11] provide only general scaling laws while the guarantees in [12] require that a non-convex projection operation can be performed exactly.
To better understand MAP-based reconstruction, this work considers inference in deep networks via approximate message passing (AMP). AMP [13] and its variants refer to a powerful class of techniques for inverse problems that are both computationally efficient and admit provable guarantees in certain high-dimensional limits. Recent works [14, 15, 16, 17] have developed and analyzed variants of AMP for inference in multi-layer networks such as (1). The methods generally consider minimum mean squared error (MMSE) inference and estimation of the posterior density of the hidden units from . Similar to other AMP methods, such MMSE-based multi-layer versions of AMP can be rigorously analyzed in cases with with large random transforms. This work specifically considers an extension of the multi-layer vector AMP (ML-VAMP) method proposed in [15]. ML-VAMP is derived from the recently-developed VAMP method of [18, 19, 20] which is itself based on expectation propagation [21] and expectation consistent approximate inference [22, 23]. Importantly, in the case of large random transforms, it is shown in [15] that the reconstruction error of ML-VAMP with MMSE estimation can be exactly predicted, enabling much sharper results than other analysis techniques. Moreover, under certain testable conditions ML-VAMP can provably asymptotically achieve the Bayes optimal estimate, even for non-convex problems.
However, MAP estimation is often preferable to MMSE inference since MAP can be formulated as an unconstrained optimization and implemented easily via standard deep learning optimizers [5, 6, 7]. This work thus considers a MAP version of ML-VAMP. We show two key results. First, it is shown that the iterations in MAP ML-VAMP can be regarded as a variant of an ADMM-type minimization [24] of the MAP objective. This result is similar to earlier connections between AMP and ADMM in [25, 26, 27]. In particular, when MAP ML-VAMP converges, its fixed points are critical points of the MAP objective. Secondly, similar to the MMSE ML-VAMP considered in [15], we can rigorously analyze MAP ML-VAMP in a large system limit (LSL) with high-dimensional random transforms . It is shown that, in the LSL, the per iteration mean squared error of the estimates can be exactly characterized by a state evolution (SE). The SE tracks the correlation between the estimates and true values at each layer and are only slightly more complex than the SE updates for the MMSE case. The SE enables an exact characterization of the error of MAP estimation as a function of the network architecture, parameters and noise levels.
II ML-VAMP for MAP Inference
We consider inference in a probabilistic setting where, in (1), and are modeled as random vectors with some known densities. Inference can be then performed by MAP estimation,
[TABLE]
where is the negative log posterior,
[TABLE]
where is the prior on the initial input and is defined implicitly from the probability distribution on the noise terms and the updates in (1).
The ML-VAMP algorithm from [15] for the inference problem is shown in Algorithm 1. For each hidden output , the algorithm produces two estimates and indexed by the iteration number . In each iteration, there is a forward pass that produces the estimates and a reverse pass that produces the estimates . The estimates are produced by a set of estimation functions with parameters . The recursions are illustrated in the bottom panel of Fig. 1.
For MAP inference, we propose the following estimation functions : For , let , and define the energy function,
[TABLE]
In the MMSE inference problem considered in [15], the estimation functions are given by the expectation with respect to the joint density, . In this work, we consider the MAP estimation functions given by the mode of this density:
[TABLE]
where
[TABLE]
Similar equations hold for and by removing the terms for and .
In the MMSE inference in [15], the parameters are selected as,
[TABLE]
where the precision levels are updated by the recursions,
[TABLE]
We can use the same updates for MAP ML-VAMP, although some of our analysis will apply to arbitrary parameterizations.
III Fixed Points and Connections to ADMM
Our first results relates MAP ML-VAMP to an ADMM-type minimization of the MAP objective (2). To simplify the presentation, we consider MAP estimation functions (4) with fixed values . Also, we replace the updates in Algorithm 1 with fixed values,
[TABLE]
Now, to apply ADMM [24] to the MAP optimization (2), we use variable splitting where we replace each variable with two copies and . Then, we define the objective function,
[TABLE]
over the groups of variables . The minimization in (2) is then equivalent to the constrained optimization,
[TABLE]
Corresponding to this constrained optimization, define the augmented Lagrangian,
[TABLE]
where are a set of dual parameters and are weights and . Now, for , define
[TABLE]
which represents the terms in the Lagrangian in (11) that contain and . Similarly, define and using and . One can verify that
[TABLE]
Theorem 1**.**
Consider the outputs of the ML-VAMP (Algorithm 1) with MAP estimation functions (4) for fixed . Suppose lines 9 and 19 are replaced with fixed values from (8). Let,
[TABLE]
Then, the forward pass iterations satisfy,
[TABLE]
whereas the backward pass iterations satisfy,
[TABLE]
for . Further, any fixed point of Algorithm 1 corresponds to a critical point of the Lagrangian (11).
Proof.
See Appendix A.
As shown in the above result, the fixed version of ML-VAMP is an ADMM-type algorithm for solving the optimization problem (10). For its convergence properties have been studied extensively under the name Peaceman-Rachford Splitting Method (PRSM) (see [28, eqn. (3)] and [29, eqn. (1.12)], and the references therein). The full ML-VAMP algorithm adaptively updates to the take into account information regarding the curvature of the objective in (4). Note that in (14a) and (15a), we compute the joint minima over , but only use one of them at a time.
IV Analysis in the Large System Limit
As mentioned in the Introduction, the paper [15] provides an analysis of ML-VAMP with MMSE estimation functions in a certain large system limit (LSL). We extend this analysis to general estimators, including the MAP estimators (4). The LSL analysis has the same basic assumptions as [15].
Details of the assumptions are given in Appendix C. The key assumptions are summarized as follows.
We consider a sequence of problems indexed by . For each , and , suppose that the weight matrix has the SVD
[TABLE]
where and are orthogonal matrices, the vector contains singular values, and . Also, let and
so that
[TABLE]
The number of layers is fixed and the dimensions and ranks in each layer are deterministic functions of . We assume that and converge to non-zero constants, so that the dimensions grow linearly with .
For the estimation functions in the linear layers , we assume that they are the MAP estimation functions (4), but the parameters and can be chosen arbitrarily. Since the conditional density is given by the linear update (1a), the MAP estimation function (4) is identical to the MMSE function and is given by a solution to a least squares problem. For the nonlinear layers, , the estimation functions can be arbitrary as long as they operate elementwise and are Lipschitz continuous. For simplicity, we will assume that for all the estimation functions, the parameters are deterministic and fixed. However, data dependent parameters can also be considered as in [30].
We follow the analysis methodology in [31], and assume that the signal realization for , and the noise realizations in the nonlinear stages , all converge empirically to random variables and , i.e.,
[TABLE]
Convergence is reviewed in Appendix B – see [31, 30] and elsewhere. For the linear stages , let be the zero-padded singular value vector,
[TABLE]
so that . We assume that , the transformed bias , and the transformed noise all converge empirically as
[TABLE]
to independent random variables , , and , with , where is the noise precision. We assume that and for some upper bound .
Now define the quantities
[TABLE]
which represent the true vectors and their transforms. For , we next define the vectors:
[TABLE]
The vectors and represent the estimates of and . Also, the vectors and are the differences or their transforms. These represent errors on the inputs to the estimation functions .
Theorem 2**.**
Under the above assumptions, for any fixed iteration and , the components of , , , , , almost surely empirically converge jointly with limits,
[TABLE]
where the variables , and are zero-mean jointly Gaussian random variables with
[TABLE]
for parameters and . The identical result holds for with the variables and removed. Also, a similar result holds for the variables , , ,.
Appendix D states and proves the complete result. The complete results provides a precise and simple description of all the limiting random variables on the right hand side of (23). In particular, all the random variables are either Gaussian or the outputs of nonlinear functions of Gaussian. In addition, the parameters of the Gaussian random variables such as and are given by a deterministic recursive algorithm (Algorithm 3). The recursive updates thus represent a state evolution (SE) for the MAP ML-VAMP system.
In the case of MMSE estimation functions, the SE equations reduce to those of [30].
The importance of this limiting model is that we can compute several important performance metrics of the ML-VAMP system.
For example, let be the index of a nonlinear layer. Then, the asymptotic mean-squared error (MSE) is given by,
[TABLE]
where (a) follows from the definitions in (21) and (22); and (b) follows from the definition of empirical convergence. The expectation can then be computed from the model from the random variables in (23). In this way, we see that MAP ML-VAMP provides a computationally tractable method for computing critical points of the MAP objective with precise predictions on its performance.
V Numerical Simulations
To validate the MAP ML-VAMP algorithm and the LSL analysis, we simulate the method in a random synthetic network similar to [30]. Details are given in Appendix E. Specifically, we consider a network with inputs and two hidden stages with 100 and 500 units with ReLU activations. The number of outputs is is varied. In the final layer, AWGN noise is added at an SNR of 20 dB. The weight matrices have Gaussian i.i.d. components and the biases are selected so that the ReLU outputs are non-zero, on average, for 40% of the samples. For each value of , we generate 40 random instances of the network and compute (a) the MAP estimate using the Adam optimizer [32] in Tensorflow; (b) the estimate from MAP ML-VAMP; and (c) the MSE for MAP ML-VAMP predicted by the state evolution. Fig. 2 shows the median normalized MSE, for the input variable () for the three methods. We see that for , the actual performance of MAP ML-VAMP matches the SE closely as well as the performance of MAP estimation via a generic solver. For , the match is still close, but there is a small discrepancy, likely due to the relatively small size of the problem. Also, for small , MAP ML-VAMP appears to achieve a slightly better performance than the Adam optimizer. Since both are optimizing the same objective, the difference is likely due to the ML-VAMP finding better local minima.
To demonstrate that MAP ML-VAMP can also work on a simple non-random dataset, Fig. 3 shows samples of reconstructions results for inpainting for MNIST digits. A VAE [2] is used to train a generative model. The MAP ML-VAMP reconstruction obtains similar results as MAP inference using the Adam optimizer, although sometimes different local minima are found. The main benefit is that MAP ML-VAMP can be rigorously analyzed. Details are in the full paper [33].
Conclusions
MAP inference combined with deep generative priors provides a powerful tool for complex inverse problems. Rigorous analysis of these methods has been difficult. ML-VAMP with MAP estimation provides a computationally tractable method for performing the MAP inference with performance that can be rigorously and precisely characterized in a certain large system limit. The approach thus offers a new and potentially powerful approach for understanding and improving deep network-based inference.
Appendix A Proof of Theorem 1
The linear equalities in (13) can be rewritten as,
[TABLE]
Substituting (24) in lines 10 and 20 of Algorithm 1 give the updates (14b) and (15b) in Theorem 1. It remains to show that the optimization problem in updates (14a) and (15a) is equivalent to (5). It suffices to show that the terms dependent on in both the objective functions from (5) and from (14a) and (15a) are identical. This follows immediately on substituting (24) in (3).
It now suffices to show that any fixed point of Algorithm 1 is a critical point of the augmented Lagrangian in (11). Since we are looking only at fixed points, we can drop the dependence on the iteration . So, for example, we can write for . To show that are critical points of the constrained optimization (10), we need to show that there exists dual parameters such that for all ,
[TABLE]
[TABLE]
where is the Lagrangian in (11).
We first prove (25) whereby primal feasibility is satisfied. At any fixed point of (7), we have
[TABLE]
Therefore,
[TABLE]
Now, from line 10 in Algorithm 1,
[TABLE]
where the last step used (27). Similarly, from line 20,
[TABLE]
Equations (28) and (29) prove (25). In the sequel, we will let denote and since they are equal. As a consequence of the primal feasibility , observe that
[TABLE]
where we have used (27) and (28). Define , by virtue of the equality shown above.
Having shown the equivalence of Algorithm 1 and the iterative updates in the statement of the theorem, we can say that there exists a one-to-one linear mapping between their fixed points (from Algorithm 1) and (from Theorem 1). Now to show (26) it suffices to show that is a valid dual parameter for which the following stationarity conditions hold,
[TABLE]
Indeed the above conditions are the stationarity conditions of the optimization problem in (14a) and (15a).
Appendix B Empirical Convergence of Random Variables
We follow the framework of Bayati and Montanari [31], which models various sequences as deterministic, but with components converging empirically to a distribution. We start with a brief review of useful definitions. Let be a block vector with components for some . Thus, the vector is a vector with dimension . Given any function , we define the componentwise extension of as the function,
[TABLE]
That is, applies the function on each -dimensional component. Similarly, we say acts componentwise on whenever it is of the form (33) for some function .
Next consider a sequence of block vectors of growing dimension,
[TABLE]
where each component . In this case, we will say that is a block vector sequence that scales with under blocks . When , so that the blocks are scalar, we will simply say that is a vector sequence that scales with . Such vector sequences can be deterministic or random. In most cases, we will omit the notational dependence on and simply write .
Now, given , a function is called pseudo-Lipschitz continuous of order , if there exists a constant such that for all ,
[TABLE]
Observe that in the case , pseudo-Lipschitz continuity reduces to the standard Lipschitz continuity. Given , we will say that the block vector sequence converges empirically with -th order moments if there exists a random variable such that
- (i)
; and 2. (ii)
for any that is pseudo-Lipschitz continuous of order ,
[TABLE]
In (34), we have the empirical mean of the components of the componentwise extension converging to the expectation . In this case, with some abuse of notation, we will write
[TABLE]
where, as usual, we have omitted the dependence on in . Importantly, empirical convergence can de defined on deterministic vector sequences, with no need for a probability space. If is a random vector sequence, we will often require that the limit (35) holds almost surely.
We conclude with one final definition. Let be a function on and . We say that is uniformly Lipschitz continuous in at if there exists constants and and an open neighborhood of , such that
[TABLE]
for all and ; and
[TABLE]
for all and .
Appendix C Large System Limit: Model Details
In addition to the assumptions in Section IV, we describe a few more technical assumptions. First, we need that the activation functions in (1b) act componentwise meaning that,
[TABLE]
for some scalar-valued function for all components . That is, for a nonlinear layer , each output depends only on the corresponding input component . Standard activations such as ReLU or sigmoid would satisfy this property. In addition, we require that the activation function components are pseudo-Lipschitz continuous of order two.
Next, we need certain assumptions on the estimation functions . For the estimation functions corresponding to the nonlinear layers, , we assume that for each parameter , the function is Lipschitz continuous in and acts componentwise in that,
[TABLE]
for . for some scalar-valued function . Thus, each element of the output vector depends only the corresponding elements of the inputs and . We make a similar assumption on the first estimation function as well as the reverse functions for and define and in a similar manner.
Note that for the linear layers , we assume the MAP denoiser (4). For the linear layer, this is identical to the MMSE denoiser and the estimation functions can be written as,
[TABLE]
where, for each parameter value , the functions are Lipschitz continuous in and are componentwise extensions of defined as,
[TABLE]
We call the functions , the transformed denoising functions. We refer the reader to the appendices of [30] for a detailed derivation of . We now need two further technical assumptions.
Appendix D Proof of Theorem 2
D-A Transformed MLP
The SE analysis of MMSE ML-VAMP in [30] proves a result on a general class of multi-layer recursions, called Gen-ML. To prove Theorem 2, we will show that ML-VAMP algorithm in Algorithm 1 is of the form of an almost identical recursion with some minor changes in notation. Theorem 2 in this paper will then follow from applying the general result in [30]. Since most of the proof is identical, we highlight only the main differences.
Similar to [30], we rewrite the MLP in (1) in a certain transformed form. To this end, define the disturbance vectors,
[TABLE]
Also, define the scalar-valued functions,
[TABLE]
Let be their componentwise extension, meaning that
[TABLE]
so that acts with the scalar-valued function on each component of the vectors. With this definition, it is shown in [30] that the vectors and satisfy the recursions in “Initialization" section of Algorithm 2, the transformed algorithm. This system of equations is represented diagrammatically in the top panel of Fig. 4. In comparison to Fig. 1, the transforms of the linear layers have been expanded using the SVD and inserting intermediate variables and . With the transformation, the MLP (1) is equivalent to a sequence of linear transforms by orthogonal matrices and non-linear componentwise mappings .
D-B Parameters
To handle parameterized functions, the analysis in [30] introduces the concept of parameter lists. For our purpose, let
[TABLE]
which is simply the parameter along with the parameter for the estimators.
D-C Estimation Functions
Similar to the transformed system in the top panel of Fig. 4, we next represent the steps in the ML-VAMP Algorithm 1 as a sequence of alternating linear and nonlinear maps. Let be the index of a nonlinear layer and define the scalar-valued functions,
[TABLE]
For , the index of a linear layer, and , let
[TABLE]
where are the components of the transformed linear estimation functions. For both the linear and nonlinear layers, we then define the update functions as,
[TABLE]
With these definitions, let and be the componentwise extensions of and . It is then shown in [30] that the vectors in (22) satisfy the recursions in the “Forward" and “Reverse" passes of the transformed ML recursion in Algorithm 2.
This is diagrammatically represented in the bottom panel of Fig. 4. We see that, in the forward pass, the vectors are generated by an alternating sequence of componentwise mappings where
[TABLE]
followed by multiplication by ,
[TABLE]
Similarly, in the reverse pass, we have a componentwise mapping,
[TABLE]
followed by multiplication by ,
[TABLE]
Thus, similar to the MLP, we have written the forward and reverse passes of the multi-layer updates as alternating sequence of componentwise (possibly nonlinear) functions followed by multiplications by orthogonal matrices.
D-D SE Analysis
Now that the variables and the ML-VAMP algorithm estiamtes are written in the form of Algorithm (2), the analysis of [30] to derive a simple state evolution. Let
[TABLE]
where , and are the random variable limits in (18) and (20). With these definitions, we can recursively define the random variables and from the steps in Algorithm 3. This recursive definition of random variables is called the state evolution. We see that the SE updates in Algorithm 3 are in a one-to-one correspondence with the steps in Transformed ML-VAMP algorithm, Algorithm 2. The key difference is that the SE updates involves scalar random variables, as opposed to vectors. The random variables are all either Gaussian random variables or the output of nonlinear function of the Gaussian random variables. In addition, the parameters of the Gaussians such as and are fully deterministic since they are computed via expectations.
We now make further assumption:
Assumption 1**.**
Let be generated by the SE recursions in Algorithm 3. Then from the for all and .
We can now state the main result. The result includes Theorem 2 as a special case.
Theorem 3**.**
Let , , , be defined as above. Consider the sequence of random variables defined by the SE updates in Algorithm 3 under the above assumptions. Then,
- (a)
For any fixed and , the parameter list converges as
[TABLE]
almost surely. Also, the components of , , , and almost surely empirically converge jointly with limits,
[TABLE]
for all , where the variables , and are zero-mean jointly Gaussian random variables independent of with
[TABLE]
The identical result holds for with the variables and removed. 2. (b)
For any fixed and , the parameter lists converge as
[TABLE]
almost surely. Also, the components of , , , , and almost surely empirically converge jointly with limits,
[TABLE]
for all and , where the variables , and are zero-mean jointly Gaussian random variables independent of with
[TABLE]
The identical result holds for with all the variables and removed. Also, for , we remove the variables with and .
Proof.
This is proven almost identically to the result in [30].
Appendix E Numerical Experiments Details
Synthetic random network
The simulation is identical to [30], except that we have run MAP ML-VAMP intead of MMSE ML-VAMP. The details of the simulation are as follows: As described in Section V, the network input is a dimensional Gaussian unit noise vector . and has three hidden layers with 100 and 500 units and a variable number of output units. For the weight matrices and bias vectors in all but the final layer, we took and to be random i.i.d. Gaussians. The mean of the bias vector was selected so that only a fixed fraction, , of the linear outputs would be positive. The activation functions were rectified linear units (ReLUs), . Hence, after activation, there would be only a fraction of the units would be non-zero. In the final layer, we constructed the matrix similar to [34] where , with and be random orthogonal matrices and be logarithmically spaced valued to obtain a desired condition number of . It is known from [34] that matrices with high condition numbers are precisely the matrices in which AMP algorithms fail. For the linear measurements, , the noise level is set at 30 dB. In Fig. 2, we have plotted the normalized MSE (in dB) which we define as
[TABLE]
Since each iteration of ML-VAMP involves a forward and reverse pass, we say that each iteration consists of two “half-iterations", using the same terminology as turbo codes. The left panel of Fig. 2 plots the NMSE vs. half iterations.
MNIST inpainting
The well-known MNIST dataset consists of handwritten images of size pixels. We followed the procedure in [2] for training a generative model from 50,000 digits. Each image is modeled as the output of a neural network input dimension of 20 variables followed by a single hidden layer with 400 units and an output layer of 784 units, corresponding to the dimension of the digits. ReLUs were used for activation functions and a sigmoid was placed at the output to bound the final pixel values between 0 and 1. The inputs were the modeled as zero mean Gaussians with unit variance. The data was trained using the Adam optimizer with the default parameters in TensorFlow 111Code for the training was based on https://github.com/y0ast/VAE-TensorFlow by Joost van Amersfoort. The training optimization was run with 20,000 steps with a batch size of 100 corresponding to 40 epochs.
The ML-VAMP algorithm was compared against MAP estimation. As studied in [5, 6], MAP estimation can be performed via numerical minimization of the likelihood. In this study, We used TensorFlow for the minimization. We found the fastest convergence with the Adam optimizer at a step-size of 0.01. This required only 500 iterations to be within 1% of the final loss function. For MAP ML-VAMP, the sigmoid function does not have an analytic denoiser, so it was approximated with a probit output. We found that the basic MAP ML-VAMP algorithm could be unstable. Hence, damping as described in [34] and [18] was used. With damping, we needed to run the ML-VAMP algorithm for up to 500 iterations, which is comparable to the Adam optimizer.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] D. J. Rezende, S. Mohamed, and D. Wierstra, “Stochastic backpropagation and approximate inference in deep generative models,” in Proc. ICML , 2014, pp. 1278–1286.
- 2[2] D. P. Kingma and M. Welling, “Auto-encoding variational bayes,” ar Xiv:1312.6114 , 2013.
- 3[3] A. Radford, L. Metz, and S. Chintala, “Unsupervised representation learning with deep convolutional generative adversarial networks,” ar Xiv preprint ar Xiv:1511.06434 , 2015.
- 4[4] R. Salakhutdinov, “Learning deep generative models,” Annual Review of Statistics and Its Application , vol. 2, pp. 361–385, 2015.
- 5[5] R. Yeh, C. Chen, T. Y. Lim, M. Hasegawa-Johnson, and M. N. Do, “Semantic image inpainting with perceptual and contextual losses,” ar Xiv:1607.07539 , 2016.
- 6[6] A. Bora, A. Jalal, E. Price, and A. G. Dimakis, “Compressed sensing using generative models,” Proc. ICML , 2017.
- 7[7] J. R. Chang, C.-L. Li, B. Poczos, and B. V. Kumar, “One network to solve them all—solving linear inverse problems using deep projection models,” in 2017 IEEE International Conference on Computer Vision (ICCV) . IEEE, 2017, pp. 5889–5898.
- 8[8] A. Mousavi, A. B. Patel, and R. G. Baraniuk, “A deep learning approach to structured signal recovery,” in Proc. IEEE Allerton Conference , 2015, pp. 1336–1343.
