Convolutional Neural Networks Analyzed via Convolutional Sparse Coding
Vardan Papyan, Yaniv Romano, Michael Elad
Introduction
Deep learning (LeCun et al., 2015), and in particular CNN (LeCun et al., 1990, 1998; Krizhevsky et al., 2012), has gained a copious amount of attention in recent years as it has led to many state-of-the-art results spanning through many fields – including speech recognition (Bengio et al., 2003; Hinton et al., 2012; Mikolov et al., 2013), computer vision (Farabet et al., 2013; Simonyan and Zisserman, 2014; He et al., 2015), signal and image processing (Gatys et al., 2015; Ulyanov et al., 2016; Johnson et al., 2016; Dong et al., 2016), to name a few. In the context of CNN, the forward pass is a multi-layer scheme that provides an end-to-end mapping, from an input signal to some desired output. Each layer of this algorithm consists of three steps. The first convolves the input with a set of learned filters, resulting in a set of feature (or kernel) maps. These then undergo a point wise non-linear function, in a second step, often resulting in a sparse outcome (Glorot et al., 2011). A third (and optional) down-sampling step, termed pooling, is then applied on the result in order to reduce its dimensions. The output of this layer is then fed into another one, thus forming the multi-layer structure, often termed forward pass.
Despite its marvelous empirical success, a clear and profound theoretical understanding of this scheme is still lacking. A few preliminary theoretical results were recently suggested. In (Mallat, 2012; Bruna and Mallat, 2013) the Scattering Transform was proposed, suggesting to replace the learned filters in the CNN with predefined Wavelet functions. Interestingly, the features obtained from this network were shown to be invariant to various transformations such as translations and rotations. Other works have studied the properties of deep and fully connected networks under the assumption of independent identically distributed random weights (Giryes et al., 2015; Saxe et al., 2013; Arora et al., 2014; Dauphin et al., 2014; Choromanska et al., 2015). In particular, in (Giryes et al., 2015) deep neural networks were proven to preserve the metric structure of the input data as it propagates through the layers of the network. This, in turn, was shown to allow a stable recovery of the data from the features obtained from the network.
Another prominent paradigm in data processing is the sparse representation concept, being one of the most popular choices for a prior in the signal and image processing communities, and leading to exceptional results in various applications (Elad and Aharon, 2006; Dong et al., 2011; Zhang and Li, 2010; Jiang et al., 2011; Mairal et al., 2014). In this framework, one assumes that a signal can be represented as a linear combination of a few columns (called atoms) from a matrix termed a dictionary. Put differently, the signal is equal to a multiplication of a dictionary by a sparse vector. The task of retrieving the sparsest representation of a signal over a dictionary is called sparse coding or pursuit. Over the years, various algorithms were proposed to tackle this problem, among of which we mention the thresholding algorithm (Elad, 2010) and its iterative variant (Daubechies et al., 2004). When handling natural signals, this model has been commonly used for modeling local patches extracted from the global data mainly due to the computational difficulties related to the task of learning the dictionary (Elad and Aharon, 2006; Dong et al., 2011; Mairal et al., 2014; Romano and Elad, 2015; Sulam and Elad, 2015). However, in recent years an alternative to this patch-based processing has emerged in the form of the Convolutional Sparse Coding (CSC) model (Bristow et al., 2013; Kong and Fowlkes, 2014; Wohlberg, 2014; Gu et al., 2015; Heide et al., 2015; Papyan et al., 2016a, b). This circumvents the aforementioned limitations by imposing a special structure – a union of banded and Circulant matrices – on the dictionary involved. The traditional sparse model has been extensively studied over the past two decades (Elad, 2010; Foucart and Rauhut, 2013). More recently, the convolutional extension was extensively analyzed in (Papyan et al., 2016a, b), shedding light on its theoretical aspects and prospects of success.
In this work, by leveraging the recent study of CSC, we aim to provide a new perspective on CNN, leading to a clear and profound theoretical understanding of this scheme, along with new insights. Embarking from the classic CSC, our approach builds upon the observation that similar to the original signal, the representation vector itself also admits a convolutional sparse representation. As such, it can be modeled as a superposition of atoms, taken from a different convolutional dictionary. This rationale can be extended to several layers, leading to the definition of our proposed ML-CSC model. Building on the recent analysis of the CSC, we provide a theoretical study of this novel model and its associated pursuits, namely the layered thresholding algorithm and the layered basis pursuit (BP).
Our analysis reveals the relation between the CNN and the ML-CSC model, showing that the forward pass of the CNN is in fact identical to our proposed pursuit – the layered thresholding algorithm. This connection is of significant importance since it gives a clear mathematical meaning, objective and model to the CNN architecture, which in turn can be accompanied by guarantees for the success of the forward pass, studied via the layered thresholding algorithm. Specifically, we show that the forward pass is guaranteed to recover an estimate of the underlying representations of an input signal, assuming these are sparse in a local sense. Moreover, considering a setting where a norm-bounded noise is added to the signal, we show that such a mild corruption in the input results in a bounded perturbation in the output – indicating the stability of the CNN in recovering the underlying representations. Lastly, we exploit the answers to the above questions in order to propose an alternative to the commonly used forward pass algorithm, which is tightly connected to both deconvolutional (Zeiler et al., 2010; Pu et al., 2016) and recurrent networks (Bengio et al., 1994), and also related to residual networks (He et al., 2015). The proposed alternative scheme is accompanied by a thorough theoretical study. Although this and the analysis presented throughout this work focus on CNN, we will show that they also hold for fully connected networks.
This paper is organized as follows. In Section 2 we review the basics of both the CNN and the Sparse-Land model. We then define the proposed ML-CSC model in Section 3, together with its corresponding deep sparse coding problem. In Section 4, we aim to solve this using the layered thresholding algorithm, which is shown to be equivalent to the forward pass of the CNN. Next, having established the relevance of our model to CNN, we proceed to its analysis in Section 5. Standing on these theoretical grounds, we then propose in Section 6 a provably improved pursuit, termed the layered BP, accompanied by its theoretical analysis. We revisit the assumptions of our model in Section 7. First, in Section 7.1 we link the double sparsity model to ours by assuming the dictionaries throughout the layers are sparse. Then, in Section 7.2 we consider an idea typically employed in CNN, termed spatial-stride, showing its benefits from a simple theoretical perspective. Combining our insights from Section 7.1 and 7.2, we move to an experimental phase by constructing a family of signals satisfying the assumptions of our model, which are then used in order to verify our theoretical results. Finally, in Section 9 we conclude the contributions of this paper and present several future directions.
Background
This section is divided into two parts: The first is dedicated to providing a simple mathematical formulation of the CNN and the forward pass, while the second reviews the Sparse-Land model and its various extensions. Readers familiar with these two topics can skip directly to Section 3, which moves to serve the main contribution of this work.
By changing the order of the columns in the convolutional matrix, one can observe that it can be equally viewed as a concatenation of banded and CirculantWe shall assume throughout this paper that boundaries are treated by a periodic continuation, which gives rise to the cyclic structure. matrices, as depicted in Figure 1(b). Using this observation, the above description for one dimensional signals can be extended to images, with the exception that now every Circulant matrix is replaced by a block Circulant with Circulant blocks one.
An illustration of the forward pass algorithm is presented in Figure 2(a) and 2(b). In Figure 2(a) one can observe that is not a regular convolutional matrix but a stride one, since it shifts local filters by skipping entries at a time. The reason for this becomes apparent once we look at Figure 2(b); the convolutions of the second layer are computed by shifting the filters of that are of size across places, skipping indices at a time from the -sized array. A matrix obeying this structure is called a stride convolutional matrix.
Thus far, we have presented the basic structure of CNN. However, oftentimes an additional non-linear function, termed pooling, is employed on the resulting feature map obtained from the ReLU operator. In essence, this step summarizes each -dimensional spatial neighborhood from the -th kernel map by replacing it with a single value. If the neighborhoods are non-overlapping, for example, this results in the down-sampling of the feature map by a factor of . The most widely used variant of the above is the max pooling (Krizhevsky et al., 2012; Simonyan and Zisserman, 2014), which picks the maximal value of each neighborhood. In (Springenberg et al., 2014) it was shown that this operator can be replaced by a convolutional layer with increased stride without loss in performance in several image classification tasks. Moreover, the current state-of-the-art in image recognition is obtained by the residual network (He et al., 2015), which does not employ any pooling steps (except for a single layer). As such, we defer the analysis of this operator to a follow-up work.
In the context of classification, for example, the output of the last layer is fed into a simple classifier that attempts to predict the label of the input signal , denoted by . Given a set of signals , the task of learning the parameters of the CNN – including the filters , the biases and the parameters of the classifier – can be formulated as the following minimization problem
In the remainder of this work we shall focus on the feature extraction process and assume that the parameters of the CNN model are pre-trained and fixed. These, for example, could have been obtained by minimizing the above objective via the backpropagation algorithm and the stochastic gradient descent, as in the VGG network (Simonyan and Zisserman, 2014).
2 Sparse-Land
This section presents an overview of the Sparse-Land model and its many extensions. We start with the traditional sparse representation and the core problem it aims to solve, and then proceed to its nonnegative variant. Next, we continue to the dictionary learning task both in the unsupervised and supervised cases. Finally, we describe the recent CSC model, which will lead us in the next section to the proposal of the ML-CSC model. This, in turn, will naturally connect the realm of sparsity to that of the CNN.
For a fixed dictionary, given a signal , the task of recovering its sparsest representation is called sparse coding, or simply pursuit, and it attempts to solve the following problem (Donoho and Elad, 2003; Tropp, 2004; Elad, 2010):
where we have denoted by the number of non-zeros in . The above has a convex relaxation in the form of the Basis-Pursuit (BP) problem (Chen et al., 2001; Donoho and Elad, 2003; Tropp, 2006), formally defined as
Tighter conditions, relying on sharper characterizations of the dictionary, were also suggested in the literature (Candes et al., 2006; Schnass and Vandergheynst, 2007; Candes et al., 2006; Candes and Tao, 2007). However, at this point, we shall not dwell on these.
One of the simplest approaches for tackling the and problems is via the hard and soft thresholding algorithms, respectively. These operate by computing the inner products between the signal and all the atoms in and then choosing the atoms corresponding to the highest responses. This can be described as solving, for some scalar , the following problems:
for the . The above are simple projection problems that admit a closed-form solution in the formThe curious reader may identify the relation between the notations used here and the ones in the previous subsection, which starts to reveal the relation between CNN and sparsity-inspired models. This connection will be made stringer and clearer as we proceed to CSC. of or , where we have defined the hard thresholding operator by
and the soft thresholding operator by
Both of the above, depicted in Figure 3, nullify small entries and thus promote a sparse solution. However, while the hard thresholding operator does not modify large coefficients (in absolute value), the soft thresholding does, by contracting these to zero. This inherent limitation of the soft version will appear later on in our theoretical analysis.
As for the theoretical guarantees for the success of the simple thresholding algorithms; these depend on the properties of and on the ratio between the minimal and maximal coefficients in absolute value in , and thus are weaker when compared to those found for OMP and BP (Donoho and Elad, 2003; Tropp, 2004; Donoho et al., 2006). Still, under some conditions, both algorithms are guaranteed to find the true support of along with an approximation of its true coefficients. Moreover, a better estimation of these can be obtained by projecting the input signal onto the atoms corresponding to the found support (indices of the non-zero entries) by solving a Least-Squares problem. This step, termed debiasing (Elad, 2010), results in a more accurate identification of the non-zero values.
2.2 Nonnegative Sparse Coding
The nonnegative sparse representation model assumes a signal can be decomposed into a multiplication of a dictionary and a nonnegative sparse vector. A natural question arising from this is whether such a modification to the original Sparse-Land model affects its expressiveness. To address this, we hereby provide a simple reduction from the original sparse representation to the nonnegative one.
Consider a signal , where the signs of the entries in are unrestricted. Notice that this can be equally written as
where we have split the vector to its positive coefficients, , and its negative ones, . Since the coefficients in and are all positive, one can thus assume the signal admits a non-negative sparse representation over the dictionary with the vector . Thus, restricting the coefficients in the sparsity inspired model to be nonnegative does not change its expressiveness.
Similar to the original model, in the nonnegative case, one could solve the associated pursuit problem by employing a soft thresholding algorithm. However, in this case a constraint must be added to the optimization problem in Equation (7), forcing the outcome to be positive, i.e.,
In other words, the ReLU and the soft nonnegative thresholding operator are equal, a fact that will prove to be important later in our work. We should note that a similar conclusion was reached in (Fawzi et al., 2015). To summarize this discussion, we depict in Figure 3 the hard, soft, and nonnegative soft thresholding operators.
2.3 Unsupervised and Task Driven Dictionary Learning
At first, the dictionaries employed in conjunction with the sparsity inspired model were analytically defined matrices, such as the Wavelet and the Fourier (Daubechies et al., 1992; Mallat and Zhang, 1993; Elad and Bruckstein, 2002; Mallat, 2008). Although the sparse coding problem under these can be done very efficiently, over the years many have shifted to a data driven approach – adapting the dictionary to a set of training signals at hand via some learning procedure. This was empirically shown to lead to sparser representations and better overall performance, at the cost of complicating the involved pursuit, since the dictionary was usually chosen to be redundant (having more columns than rows).
The task of learning a dictionary for representing a set of signals can be formulated as follows
The above formulation is an unsupervised learning procedure, and it was later extended to a supervised setting. In this context, given a set of signals , one attempts to predict their corresponding labels . A common approach for tackling this is first solving a pursuit problem for each signal over a dictionary , resulting in
and then feeding these sparse representations into a simple classifier, defined by the parameters . The task of learning jointly the dictionary and the classifier was addressed in (Mairal et al., 2012), where the following optimization problem was proposed
Double sparsity – first proposed in (Rubinstein et al., 2010) and later employed in (Sulam et al., 2016) – attempts to benefit from both the computational efficiency of analytically defined matrices, and the adaptability of data driven dictionaries. In this model, one assumes the dictionary can be factorized into a multiplication of two matrices, and , where is an analytic dictionary with fast implementation, and is a trained sparse one. As a result, the signal can be represented as
We propose a different interpretation for the above, which is unrelated to practical aspects. Since both the matrix and the vector are sparse, one would expect their multiplication to be sparse as well. As such, the double sparsity model implicitly assumes that the signal can be decomposed into a multiplication of a dictionary and sparse vector , which in turn can also be decomposed similarly via .
2.4 Convolutional Sparse Coding Model
In the convolutional model, the classical theoretical guarantees (we are referring to results reported in (Chen et al., 2001; Donoho and Elad, 2003; Tropp, 2006)) for the problem, defined in Equation (3), are very pessimistic. In particular, the condition for the uniqueness of the underlying solution and the requirement for the success of the sparse coding algorithms depend on the global number of non-zeros being less than . Following the Welch bound (Welch, 1974), this expression was shown in (Papyan et al., 2016a) to be impractical, allowing the global number of non-zeros in to be extremely low.
In order to provide a better theoretical understanding of this model, which exploits the inherent structure of the convolutional dictionary, a recent work (Papyan et al., 2016a) suggested to measure the sparsity of in a localized manner. More concretely, consider the -th -dimensional patch of the global system , given by . The stripe-dictionary , which is of size , is obtained by extracting the -th patch from the global dictionary and discarding all the zero columns from it. The stripe vector is the corresponding sparse representation of length , containing all coefficients of atoms contributing to . This relation is illustrated in Figure 4. Notably, the choice of a convolutional dictionary results in signals such that every patch of length extracted from them can be sparsely represented using a single shift-invariant local dictionary – a common assumption usually employed in signal and image processing.
Intuitively, this seeks for a global vector that can represent sparsely every patch in the signal using the dictionary . The advantage of the above problem over the traditional becomes apparent as we move to consider its theoretical aspects. Assuming that the number of non-zeros per stripe (and not globally) in is less than , in (Papyan et al., 2016a) it was proven that the solution for the problem is unique. Furthermore, classical pursuit methods, originally tackling the problem, are guaranteed to find this representation.
Similar to the problem, this was also analyzed theoretically, shedding light on the theoretical aspects of the convolutional model in the presence of noise. In particular, a stability claim for the problem and guarantees for the success of both the OMP and the BP were provided. Similar to the noiseless case, these assumed that the number of non-zeros per stripe is low.
From Atoms to Molecules: Multi-Layer Convolutional Sparse Model
Convolutional sparsity assumes an inherent structure for natural signals. Similarly, the representations themselves could also be assumed to have such a structure. In what follows, we propose a novel layered model that relies on this rationale.
Intuitively, assumes that the signal is a superposition of atoms taken from . While equation views the signal as a superposition of more complex entities taken from the dictionary , which we coin molecules.
While this proposal can be interpreted as a straightforward fusion between the double sparsity model (Rubinstein et al., 2010) and the convolutional one, it is in fact substantially different. The double sparsity model assumes that is sparse, and forces only the deepest representation to be sparse as well. Here, on the other hand, we replace this constraint by forcing to have a stride convolution structure, putting emphasis on the sparsity of both the representations and . In Section 7.1 we will revisit the double sparsity work and its ties to ours by showing the benefits of injecting the assumption on the sparsity of into our proposed model.
Under the above construction the sparse vector has two roles. In the context of the system of equations , it is the convolutional sparse representation of the signal over the dictionary . As such, the vector is composed from -dimensional stripes, , where is the operator that extracts the -th stripe from . From another point of view, is in itself a signal that admits a sparse representation . Denoting by the operator that extracts the -th patch from , the signal is composed of patches of length . The above model is depicted in Figure 5, presenting both roles of and their corresponding constituents – stripes and patches. Clearly, the above construction can be extended to more than two layers, leading to the following definition:
For a global signal , a set of convolutional dictionaries , and a vector , define the deep coding problem as:
where the scalar is the -th entry of .
Denoting to be the signal , the can be rewritten compactly as
Intuitively, given a signal , this problem seeks for a set of representations, , such that each one is locally sparse. As we shall see next, the above can be easily solved using simple algorithms that also enjoy from theoretical justifications. Next, we extend the problem to a noisy regime.
For a global signal , a set of convolutional dictionaries , and vectors and , define the deep coding problem as:
where the scalars and are the -th entry of and , respectively.
We now move to the task of learning the model parameters. Denote by the representation obtained by solving the DCP problem (Definition 1, i.e., noiseless) for the signal and the set of dictionaries . Relying on this, we now extend the dictionary learning problem, as presented in Section 2.2.3, to the multi-layer convolutional sparse representation setting.
A clarification for the chosen name, deep learning problem, will be provided shortly. The solution for the above results in an end-to-end mapping, from a set of input signals to their corresponding labels. Similarly, we can define the problem. However, this is omitted for the sake of brevity. We conclude this section by summarizing, for the convenience of the reader, all notations used throughout this work in Table 1.
Layered Thresholding: The Crux of the Matter
Consider the ML-CSC model defined by the set of dictionaries . Assume we are given a signal
and our goal is to find its underlying representations, . Tackling this problem by recovering all the vectors at once might be computationally and conceptually challenging; therefore, we propose the layered thresholding algorithm that gradually computes the sparse vectors one at a time across the different layers. Denoting by a sparsifying operator that is equal to in the hard thresholding case and in the soft one; we commence by computing , which is an approximation of . Next, by applying another thresholding algorithm, however this time on , an approximation of is obtained, . This process, which is iterated until the last representation is acquired, is summarized in Algorithm 1.
One might ponder as to why does the application of the thresholding algorithm on the signal not result in the true representation , but instead an approximation of it. As previously described in Section 2.2.1, assuming some conditions are met, the result of the thresholding algorithm, , is guaranteed to have the correct support. In order to obtain the vector itself, one should project the signal onto this obtained support, by solving a Least-Squares problem. For reasons that will become clear shortly, we choose not to employ this step in the layered thresholding algorithm. Despite this algorithm failing in recovering the exact representations in the noiseless setting, as we shall see in Section 5, the estimated sparse vectors and the true ones are close – indicating the stability of this simple algorithm.
Thus far, we have assumed a noiseless setting. However, the same layered thresholding algorithm could be employed for the recovery of the representations of a noisy signal , with the exception that the threshold constants, , would be different and proportional to the noise level.
Assuming two layers for simplicity, Algorithm 1 can be summarized in the following equation
Comparing the above with Equation (1), given by
one can notice a striking similarity between the two. Moreover, by replacing with the soft nonnegative thresholding, , we obtain that the aforementioned pursuit and the forward pass of the CNN are equal! Notice that we are relying here on the discussion of Section 2.2.2, where we have shown that the ReLU and the soft nonnegative thresholding are equalA slight difference does exist between the soft nonnegative layered thresholding algorithm and the forward pass of the CNN. While in the former a constant threshold is employed for all entries, the latter uses a bias vector, , that might not be constant in all of its entries. This is of little significance, however, since a similar approach of an entry-based constant could be used in the layered thresholding algorithm as well..
Recall the optimization problem of the training stage of the CNN as shown in Equation (2), given by
and its parallel in the ML-CSC model, the problem, defined by
Notice the remarkable similarity between both objectives, the only difference being in the feature vector on which the classification is done; in the CNN this is the output of the forward pass algorithm, given by , while in the sparsity case this is the result of the problem. In light of the discussion above, the solution for the problem can be approximated using the layered thresholding algorithm, which is in turn equal to the forward pass of the CNN. We can therefore conclude that the problems solved by the training stage of the CNN and the are tightly connected, and in fact are equal once the solution for the is approximated via the layered thresholding algorithm (hence the name ).
Theoretical Study
Thus far, we have defined the ML-CSC model and its corresponding pursuits – the and problems. We have proposed a method to tackle them, coined the layered thresholding algorithm, which was shown to be equivalent to the forward pass of the CNN. Relying on this, we conclude that the proposed ML-CSC is the global Bayesian model implicitly imposed on the signal when deploying the forward pass algorithm. Put differently, the ML-CSC answers the question of who are the signals belonging to the model behind the CNN. Having established the importance of our model, we now proceed to its theoretical analysis.
We should emphasize that the following study does not assume any specific form on the network’s parameters, apart from a broad coherence property (as will be shown hereafter). This is in contrast to the work of (Bruna and Mallat, 2013) that assumes that the filters are Wavelets, or the analysis in (Giryes et al., 2015) that considers random weights.
Consider a signal admitting a multi-layer convolutional sparse representation defined by the sets and . Can another set of sparse vectors represent the signal ? In other words, can we guarantee that, under some conditions, the set is a unique solution to the problem? In the following theorem we provide an answer to this question.
(Uniqueness via the mutual coherence): Consider a signal satisfying the model,
where is a set of convolutional dictionaries and are their corresponding mutual coherences. If
then the set is the unique solution to the problem, assuming that the thresholds are chosen to satisfy
The proof for the above theorem is given in Appendix A. In what follows, we present its importance in the context of CNN. Assume a signal is fed into a network, resulting in a set of activation values across the different layers. These, in the realm of sparsity, correspond to the set of sparse representations , which according to the above theorem are in fact unique representations of the signal .
One might ponder at this point whether there exists an algorithm for obtaining the unique solution guaranteed in this subsection for the problem. As previously mentioned, the layered thresholding algorithm is incapable of finding the exact representations, , due to the lack of a Least-Squares step after each layer. One should not despair, however, as we shall see in a following section an alternative algorithm, which manages to overcome this hurdle.
Consider an instance signal belonging to the ML-CSC model, defined by the sets and . Assume is contaminated by a noise vector , generating the perturbed signal . Suppose we solve the problem and obtain a set of solutions . How close is every solution in this set, , to its corresponding true representation, ? In what follows, we provide a theorem addressing this question of stability, the proof of which is deferred to Appendix B.
(Stability of the solution to the problem): Suppose a signal that has a decomposition
is contaminated with noise , where , resulting in . For all , if
; and
,
where the set is the solution for the problem.
Is this necessarily the true behavior of a deep network? Perhaps the answer to this resides in the choice we made above of considering the noise as adversary. A similar, yet somewhat more involved, analysis with a random noise assumption should be done, with the hope to see a better controlled noise propagation in this system. We leave this for our future work.
Another important remark is that the above bounds the absolute error between the estimated and the true representation. In practice, however, the relative error is of more importance. This is measured in terms of the signal to noise ratio (SNR), which we shall define in Section 8.
Having established the stability of the problem, we now turn to the stability of the algorithms attempting to solve it, the chief one being the forward pass of CNN.
3 Stability of the Layered Hard Thresholding
Define the and norm of to be
respectively. The operator extracts the -th patch of length from the -th sparse vector .
In the above definition, the letter p emphasizes that the norms are computed by sweeping over all patches, rather than stripes. Recall that we have defined , since the number of channels in the input signal is equal to one.
(Stable recovery of hard thresholding in the presence of noise): Suppose a clean signal has a convolutional sparse representation , and that it is contaminated with noise to create the signal , such that . Denote by and the lowest and highest entries in absolute value in , respectively. Denote further by the solution obtained by running the hard thresholding algorithm on with a constant , i.e. . Assuming that
; and
The threshold is chosen according to Equation (87) (see below),
The support of the solution is equal to that of ; and
\|{\bm{\Gamma}}_{1}-\hat{{\bm{\Gamma}}}_{1}\|_{2,\infty}^{\scriptscriptstyle{{\mathbf{P}}}}\leq\sqrt{\|{\bm{\Gamma}}_{1}\|_{0,\infty}^{\scriptscriptstyle{{\mathbf{P}}}}}\Big{(}\epsilon_{0}+\mu({\mathbf{D}}_{1})\left(\|{\bm{\Gamma}}_{1}\|_{0,\infty}^{\scriptscriptstyle{\SS}}-1\right)|\Gamma_{1}^{\text{max}}|\Big{)}.
Notice that by plugging the above theorem covers the noiseless scenario. Notably, even in such a case, we obtain a deviation from the true representation due to the lack of a Least-Squares step.
(Stability of layered hard thresholding in the presence of noise): Suppose a clean signal has a decomposition
and that it is contaminated with noise to create the signal , such that . Denote by and the lowest and highest entries in absolute value in the vector , respectively. Let be the set of solutions obtained by running the layered hard thresholding algorithm with thresholds , i.e. where . Assuming that
; and
The threshold is chosen according to Equation (109),
The support of the solution is equal to that of ; and
,
where \epsilon_{i}=\sqrt{\|{\bm{\Gamma}}_{i}\|_{0,\infty}^{\scriptscriptstyle{{\mathbf{P}}}}}\ \Big{(}\epsilon_{i-1}+\mu({\mathbf{D}}_{i})\left(\|{\bm{\Gamma}}_{i}\|_{0,\infty}^{\scriptscriptstyle{\SS}}-1\right)|\Gamma_{i}^{\text{max}}|\Big{)}.
The proof for the above is given in Appendix D. We now turn to an analogous theorem for the forward pass of the CNN, prior to discussing the surprising implications of these theorems.
4 Stability of the Forward Pass (Layered Soft Thresholding)
In light of the discussion in Section 4, the equivalence between the layered thresholding algorithm and the forward pass of the CNN is achieved assuming that the operator employed is the nonnegative soft thresholding . However, thus far, we have analyzed the closely related hard version instead. In what follows, we show how the stability theorem presented in the previous subsection can be modified to the soft version, . For simplicity, and in order to stay in line with the vast sparse representation theory, herein we choose not to assume the nonnegative assumption. This implies that we are proposing a slightly different CNN architecture in which the ReLU function is two sided (Kavukcuoglu et al., 2010). We now move to the stable recovery of the soft thresholding algorithm.
(Stable recovery of soft thresholding in the presence of noise): Suppose a clean signal has a convolutional sparse representation , and that it is contaminated with noise to create the signal , such that . Denote by and the lowest and highest entries in absolute value in , respectively. Denote further by the solution obtained by running the soft thresholding algorithm on with a constant , i.e. . Assuming that
; and
The threshold is chosen according to Equation (87),
The support of the solution is equal to that of ; and
\|{\bm{\Gamma}}_{1}-\hat{{\bm{\Gamma}}}_{1}\|_{2,\infty}^{\scriptscriptstyle{{\mathbf{P}}}}\leq\sqrt{\|{\bm{\Gamma}}_{1}\|_{0,\infty}^{\scriptscriptstyle{{\mathbf{P}}}}}\Big{(}\epsilon_{0}+\mu({\mathbf{D}}_{1})\left(\|{\bm{\Gamma}}_{1}\|_{0,\infty}^{\scriptscriptstyle{\SS}}-1\right)|\Gamma_{1}^{\text{max}}|+\beta_{1}\Big{)}.
Armed with the above lemma, which is proven in Appendix E, we now proceed to the stability of the forward pass of the CNN.
(Stability of the forward pass (layered soft thresholding algorithm) in the presence of noise): Suppose a clean signal has a decomposition
and that it is contaminated with noise to create the signal , such that . Denote by and the lowest and highest entries in absolute value in the vector , respectively. Let be the set of solutions obtained by running the layered soft thresholding algorithm with thresholds , i.e. where . Assuming that
; and
The threshold is chosen according to Equation (109) (with the defined below),
The support of the solution is equal to that of ; and
,
where \epsilon_{i}=\sqrt{\|{\bm{\Gamma}}_{i}\|_{0,\infty}^{\scriptscriptstyle{{\mathbf{P}}}}}\ \Big{(}\epsilon_{i-1}+\mu({\mathbf{D}}_{i})\left(\|{\bm{\Gamma}}_{i}\|_{0,\infty}^{\scriptscriptstyle{\SS}}-1\right)|\Gamma_{i}^{\text{max}}|+\beta_{i}\Big{)}.
The above theorem guarantees that the distances between the original representations and the ones obtained from the CNN are bounded. Even if we set , the recovered activations deviate from the true ones, simply because the layered thresholding algorithm does not do a perfect job, even on a noiseless signal. When the signal is noisy, these deviations are strengthened, but still in a controlled way.
This, by itself, might not be surprising. After all, the CNN is a deterministic system of linear operations (convolutions), followed by simple non-linearities that are non-expanding. If we feed a slightly perturbed signal to such a system, it is clear that the activations all along the network will be perturbed as well with a bounded effect. However, the above theorem shows far more than that. There are, in fact, two types of stabilities, the trivial one that considers the sensitivity of the whole feed-forward network to perturbations in its input, and the more intricate one that shows that this system enables a rather accurate recovery of the generating representations. The second option is the stability we prove here.
5 Guarantees for Fully Connected Networks
One should note that the convolutional structure imposed on the dictionaries in our model could be removed, and the theoretical guarantees we have provided above would still hold. The reason being is that the unconstrained dictionary can be regarded as a convolutional one, constructed from a single shift of a local matrix with no circular boundary. In the context of CNN, this is analogous to a fully connected layer. As such, the theoretical analysis provided here sheds light on both convolutional and fully connected networks. A different point of view on the same matter can also be proposed; fully connected layers can be viewed as convolutional ones with filters that cover their entire input (Long et al., 2015).
Layered Basis Pursuit – The Future of Deep Learning?
The stability analysis presented above unveils two significant limitations of the forward pass of the CNN. First, this algorithm is incapable of recovering the unique solution for the problem, the existence of which is guaranteed from Theorem 4. This acts against our expectations, since in the traditional sparsity inspired model it is a well known fact that such a unique representation can be retrieved, assuming certain conditions are met.
A solution for the first problem, already presented throughout this work, is a two-stage approach. First, run the thresholding operator in order to recover the correct support. Then, once the atoms are chosen, their corresponding coefficients can be obtained by solving a linear system of equations. In addition to retrieving the true representation in the noiseless case, this step can also be beneficial in the noisy scenario, resulting in a solution closer to the underlying one. However, since no such step exists in current CNN architectures, we refrain from further analyzing its theoretical implications.
Next, we present an alternative to the layered soft thresholding algorithm, which will tackle both of the aforementioned problems. Recall that the result of the soft thresholding is a simple approximation of the solution for the problem, previously defined in Equation (4). In every layer, instead of applying a simple thresholding operator that estimates the sparse vector by computing ; we propose to tackle the full pursuit, i.e. to minimize
Notice that one could readily obtain the nonnegative sparse coding problem by simply adding an extra constraint in the above equation, forcing the coefficients in to be nonnegative. More generally, Equation (53) can be written in its Lagrangian formulation
where the constant is proportional to the noise level and should tend to zero in the noiseless scenario. We name the above the layered basis pursuit (BP) algorithm. In practice, one possible method for solving it is the iterative soft thresholding (IST). Formally, this obtains the minimizer of Equation (54) by repeating the following recursive formula
where is the estimate of at iteration . The above can be interpreted as a simple projected gradient descent algorithm, where the constant is inversely proportional to its step size. As a result, if is chosen to be large enoughThe constant should satisfy , where is the maximal eigenvalue of the gram matrix (Combettes and Wajs, 2005)., the above algorithm is guaranteed to converge to its global minimum that is the solution of (54), as was shown in (Daubechies et al., 2004). The method obtained by gradually computing the set of sparse representations, , via the IST is summarized in Algorithm 2 and named layered iterative soft thresholding. Notice that this algorithm coincides with the simple layered soft thresholding if it is run for a single iteration with and initialized with . This implies that the above algorithm is a natural extension to the forward pass of the CNN.
With respect to the computational aspects of the IST algorithm, the work of (Gregor and LeCun, 2010) proposed the LISTA method, showing how the number of iterations required by the IST to convergence can be reduced using neural networks. Analogously, the work of (Xin et al., 2016) presented a generalization of the iterative hard thresholding (IHT), which was shown both theoretically and empirically to be superior to the original IHT.
The original motivation for the layered IST was its theoretical superiority over the forward pass algorithm – one that will be explored in detail in the next subsection. Yet more can be said about this algorithm and the CNN architecture it induces. In (Gregor and LeCun, 2010) it was shown that the IST algorithm can be formulated as a simple recurrent neural network. As such, the same can be said regarding the layered IST algorithm proposed here, with the exception that the induced recurrent network is much deeper. The reader can therefore interpret this part of the work as a theoretical study of a special case of recurrent neural networks.
From another perspective, the underlying architecture of the layered IST algorithm is a cascade of blocks. Each of these corresponds to a fixed number of unfolded iterations, , of a single IST algorithm. As such, it contains several convolutional layers with shared weights, as well as skip connections in order to compute the residual, , as defined in Equation (55). Interestingly, the above description is reminiscent (though not exact) of residual networks (He et al., 2015), which have recently led to state-of-the-art results in image recognition.
where is a set of convolutional dictionaries and are their corresponding mutual coherences. Assuming that
then the layered BP algorithm is guaranteed to recover the set .
2 Stability of Layered BP Algorithm
Having established the guarantee for the success of the layered BP algorithm, we now move to its stability analysis. In particular, in a noisy scenario where obtaining the true underlying representations is impossible, does this algorithm remain stable? If so, how do its guarantees compare to those of the layered thresholding algorithm? The following theorem, which we prove in Appendix F, aims to answer these questions.
(Stability of the layered BP algorithm in the presence of noise): Suppose a clean signal has a decomposition
and that it is contaminated with noise to create the signal , such that . Let be the set of solutions obtained by running the layered BP algorithm with parameters . Assuming that
; and
The support of the solution is contained in that of ;
;
In particular, every entry of greater in absolute value than is guaranteed to be recovered; and
The solution is the unique minimizer of the Lagrangian BP problem (Equation (54)),
where .
Several remarks are due at this point. The condition for the stability of the layered thresholding algorithm, given by
is expected to be more strict than that of the theorem presented above, which is
In addition, similar to the stability analysis presented in Section 5.2, the above shows the growth (as a function of the depth) of the distance between the recovered representations and the true ones.
A Closer Look at the Proposed Model
In this section, we revisit the assumptions of our model by imposing additional constraints on the dictionaries involved and showing their theoretical benefits. These additional assumptions originate from the current common practice of both CNN and sparsity.
Consider the representation , given by
where is the stripe-dictionary of , the vector is the -th patch in and is its corresponding stripe. Recalling the definition of the norm (Definition 6 in Section 5.3), we have that
The multiplication can be seen as a linear combination of at most atoms, each contributing no more than non-zeros. As such
Noticing that (as can be seen in Figure 4), and using the definition of the norm, we conclude that
In other words, given and , we can bound the maximal number of non-zeros in a patch from .
The claims in Section 5 and 6 are given in terms of not only , but also . According to Table 1, the length of a patch in is , while the size of a stripe is . As such, we can fit patches in a stripe. Assume for simplicity that this ratio is equal to one. As a result, we obtain that a patch in the signal extracted from the system
is also a stripe in the representation when considering
hence the name of this subsection. Leveraging this assumption, we return to Equation (71) and obtain that
Using the same rationale for the remaining layers, and assuming that once again the patches become stripes, we conclude that
2 On the Role of the Spatial-Stride
A common step among practitioners of CNN (Krizhevsky et al., 2012; Simonyan and Zisserman, 2014; He et al., 2015) is to convolve the input to each layer with a set of filters, skipping a fixed number of spatial locations in a regular pattern. One of the primary motivations for this is to reduce the dimensions of the kernel maps throughout the layers, leading to computational benefits. In this subsection we unveil some theoretical benefits of this common practice, which we coin spatial-stride.
Note that while the original is equal to the maximal number of non-zeros in a stripe of length in , the term counts the same quantity but for stripes of length in .
According to the study in Section 5 and 6, the theoretical advantage of the spatial-stride is twofold. First, consider the mutual coherence of the stride convolutional dictionary . Due to the locality of the filters and their restriction to certain spatial shifts, the mutual coherence of is expected to be lower than that of , thus leading to more non-zeros allowed per stripe. Second, the length of a stripe in is equal to , while that of is . As such, our analysis allows a larger number of non-zeros per a smaller-sized stripe. From another perspective, notice that imposing a spatial-stride on the dictionary is equivalent to forcing a portion of the entries in to be zero. As such, the spatial-stride encourages sparser solutions.
Experiments: The Generator Behind the CNN
In this section we combine the above notions in order to achieve our goal – generate a set of signals that will satisfy the ML-CSC assumptions. These will then serve as a playground for several experiments, which will compare both theoretically and practically the different pursuits presented in this paper.
We commence by describing the design of the dictionaries, and in the next subsection continue to the actual generation of the signals. In our experiments, the signal is one dimensional and therefore . Moreover, for simplicity, the dictionary in every layer contains a single atom with its shifts and thus . We should note that the choice of a single atom simplifies the involved pursuit problem, but as we will see, even in such a case the suggested layered pursuits (including the forward pass) may fail. This is because the mutual coherence and the amount of non-zeros are still non-trivial.
In the first layer we choose this filter to be the analytically defined discrete Meyer Wavelet of length . In order to obtain sparser representations and improve the coherence of the global dictionary , we employ a stride of , resulting in . As a consequence of our choice of , the signals resulting from our model are a superposition of shifted versions of discrete Meyer Wavelets, multiplied by different coefficients.
2 Noiseless Experiments
Given the signals, we attempt to retrieve their underlying representations using the layered pursuits presented in this work. Recall that our analysis in Section 5 and 6 indicates that the layered hard thresholding is superior to its soft counterpart, which is equivalent to the forward pass, and that the layered BP is even better than both of these algorithms. We now turn to asserting this claim empirically. While doing so, we aim to study the gap between the theoretical guarantees presented throughout our paper and the empirical performance obtained in practice.
Several remarks are due here. First and foremost, the theoretical bounds indeed hold, since the blue points are above their corresponding green ones and the correct supports are always recovered. Second, our analysis predicts that the distance between the estimated sparse representation, , and the true ones, , should increase with the layer. This is evident by the decrease in the values of the green points with the layers. The empirical results presented here (blue dots) corroborate this prognosis, as the error in both algorithms is lowest in the first layer and highest in the lastInterestingly, the error in the layered hard thresholding algorithm is approximately equal in the second and third layers.. Third, our analysis suggests that the layered hard thresholding algorithm should be superior to its soft counterpart. Once again, this can be deduced from the figure by comparing the values of the green points in both of the algorithms. The empirical results presented in Figure 6 confirm this behavior, as can be clearly seen by comparing the errors (blue points) obtained by both algorithms in the -th layer. One should note that the performance gap exhibited here is due to the constant being subtracted from every entry in the soft thresholding algorithm.
The implications of the above discussion might be troubling in the context of CNN, as what this experiment shows is a deterioration of the empirical SNR throughout the layers of the network. Is this truly the behavior of CNN? Recall that in practice the biases of the different layers (thresholds) are learned in order to achieve the best possible performance in solving a certain task. As such, it might be possible that the decline in SNR presented here is alleviated when better thresholds are employed in lieu of the theoretical ones used thus far. We demonstrate this by running the layered soft thresholding algorithm with an oracle parameter, chosen to be the minimal threshold that leads to non-zeros being chosen in the estimated sparse representation . The results for this are presented in Figure 6 and colored in red. Indeed, we observe that this better choice of parameters improves the empirical performance of the layered soft thresholding algorithm and leads to a slower decline in SNR. Still, the performance of the layered soft thresholding is inferior to that of its hard variantNote that in the layered hard thresholding, as long as the correct support is chosen, the threshold does not affect the error and as such the oracle version for it is meaningless., as can be seen by comparing the red points with the blue ones in the subplots below.
Next, we proceed our experiments by running the layered BP algorithm, as defined in Section 6, on the same set of signals. Recall that one of the prime motivations for proposing this algorithm was its ability to retrieve the exact underlying representations, as justified theoretically in Theorem 11. In our experiments, we validate this claim by checking that its conditions hold for each signal and that the underlying representations are indeed retrieved. We omit showing a plot for this and comparing it to the layered thresholding algorithms since the errors obtained are simply zeros.
3 Noisy Experiments
Having established the stability of our proposed algorithms in a perfect scenario, where , we now turn to a noisy setting. Naturally, the estimation task becomes now even more challenging – not only does the SNR drop with each layer, as demonstrated previously, but also the input SNR is no longer infinity. In order to facilitate the success of our algorithms, in this section we demonstrate the empirical performance and theoretical bounds on layers and a small noise level.
We present the obtained results in terms of the local SNR in Figure 7, showing the stability of the different algorithms that is in accordance with our theoretical bounds. Similar to the noiseless experiment, we observe that for all the algorithms the error increases both theoretically (green points) and empirically (blue points) with the layer depth. As previously discussed, a performance gap exists between the soft and hard layered thresholding algorithms. To mitigate this, we run the layered soft thresholding with an oracle parameter and compare the obtained errors (red points) to those of the other algorithms. The results, depicted in the same figure, show a clear improvement in the performance.
Interestingly, although theoretically superior, the layered BP leads to similar performance to that of the layered soft thresholding and worse performance than that of the layered hard thresholding (when comparing the blue points). We attribute this phenomenon to the suboptimal choice of the parameter , which was chosen thus far according to our theoretical analysis. To validate this suspicion, we run the layered BP with hand-picked and plot the obtained SNR in red in Figure 7. Not only are the correct supports retrieved for all the signals, but we can also see a clear improvement in terms of the SNR. In the first layer, the layered BP outperforms the layered soft thresholding and leads to similar results to those of the layered hard thresholding, while in the second, the layered BP significantly outperforms both of the other pursuit algorithms.
Next, each signal is contaminated with a zero-mean white additive Gaussian noise , resulting in a noisy signal . The average SNR of the noisy signals obtained is dB. Note that this is a weak noise, chosen due to the deterioration of the SNR throughout the layers (one that is worsened when the theoretical parameters are employed). The signals are then fed into the layered BP algorithm, resulting in a set of estimated sparse representations, . The parameters employed are the theoretically justified ones, . We should note that in our experiments we attempted to run the layered thresholding algorithms, however, as our theory predicts these failed in recovering the correct supports.
Given the estimated representations, we compute the errors and compare these to their corresponding theoretical bounds, obtained from Theorem 12. In addition, we verify that the retrieved supports are contained in the true one, as the theorem guarantees. In practice, we obtain that the layered BP always finds the full support. The obtained results are depicted in Figure 8 in terms of the local SNR. For comparison, we run the layered BP with hand-picked and present the obtained results in the same figure. We conclude that the layered BP remains stable despite the poor coefficient ratio, unlike the layered thresholding algorithms. Moreover, tuning the results in a much better performance, similar to what we have seen in the previous experiment.
At this point, one might ponder as to whether the hurdle of poor coefficient ratio is one that the layered soft thresholding (forward pass) can not overcome. We believe that several ideas currently used in CNN, such as Batch Normalization (Ioffe and Szegedy, 2015) or Local Response Normalization (Krizhevsky et al., 2012), are tightly connected to this problem. However, their exact relation to this issue and its theoretical analysis is a matter of future work.
Conclusion
Definition: “A guiding question is the fundamental query that directs the search for understanding” (Traver, 1998). In this work our guiding question was who are the signals that the CNN architecture is designed for? To answer this we have defined the ML-CSC model, for which the thresholding pursuit is nothing but the forward pass of the CNN. Although nothing promises that the forward pass will lead to the original representation of a signal emerging from the ML-CSC model, we have shown this is indeed the case. Having established the relevance of our model to CNN, we then turned to its theoretical analysis. In particular, we provided guarantees for the uniqueness of the feature maps CNN aims to recover, and the stability of the problem CNN aims to solve.
Inspired by the evolution of the pursuit methods in the theory of Sparse-Land, we continued our work by proposing the layered BP algorithm. In the noiseless case, this was theoretically shown to be capable of finding the unique solution of the deep coding problem, the existence of which has been also guaranteed; while in the noisy setting, we have proved the stability of this algorithm.
We analyzed the theoretical benefits of two popular ideas employed in the CNN community, namely the use of sparse filters and the spatial-stride. Leveraging those, we then generated signals satisfying the ML-CSC assumptions and demonstrated the performance of the pursuits presented throughout this work.
We conclude this work by presenting our ongoing research directions:
Through this paper we have assumed the worst – an adversary noise. Can our theoretical analysis be extended to a setting where the noise is random?
Thus far in tackling the deep coding problem, we have restricted ourself to existing methods, such as the forward pass of the CNN or deconvolutional networks (Zeiler et al., 2010). Can we suggest better approximations for the solution of this problem?
Clearly a relation exists between our proposed layered iterative thresholding algorithm and the current throne holder in the task of image recognition – residual networks (He et al., 2015). Can our theory reveal the benefits of introducing skip connections to a CNN?
What is the role of common tricks currently employed in CNN in the context of the ML-CSC model? These include but are not limited to, Batch Normalization (Ioffe and Szegedy, 2015), Local Response Normalization (Krizhevsky et al., 2012), Dropout (Srivastava et al., 2014) and Pooling (LeCun et al., 1990; Krizhevsky et al., 2012; Simonyan and Zisserman, 2014).
The research leading to these results has received funding from the European Research Council under European Union’s Seventh Framework Programme, ERC Grant agreement no. 320649. The authors would like to thank Jeremias Sulam for the inspiring discussions and creative advice.
A Uniqueness via the Mutual Coherence (Proof of Theorem 4)
Let be a set of representations of the signal , obtained by solving the problem. According to our assumptions, . Moreover, since the set is a solution of the problem, we also have that . As such, in light of the aforementioned uniqueness theorem, both representations are equal. Once we have concluded that , we would also like to show that the representations and are identical. Similarly, the assumptions and guarantee that . The same set of steps can be applied for all , leading to the fact that both sets of representations are identical.
Proof In (Papyan et al., 2016b), for a signal , it was shown that if the following hold:
and ,
and ,
In the above, we have defined as the difference between the true sparse vector, , and the corresponding representation obtained by solving the problem, . In item 2 we have used the fact that the solution for the problem, , must satisfy and ; and our assumption that . Next, notice that , and that the following hold:
and ,
and .
The second item relies on the fact that both and , obtained by solving the problem, must satisfy and . In addition, the second expression uses the assumption that . Employing once again the aforementioned stability theorem, we are guaranteed that
Using the same set of steps presented above, we conclude that
C Stable Recovery of Hard Thresholding in the Presence of Noise (Proof of Lemma 7)
Proof Denote by the support of . Denote further the -th atom from by . The success of the hard thresholding algorithm with threshold in recovering the correct support is guaranteed if the following holds
Using the same set of steps as those used in proving Theorem 4 in (Papyan et al., 2016b), we can lower bound the left-hand-side by
we ensure the success of the thresholding algorithm. This condition can be equally written as
Equation (82) also implies that the threshold that should be employed must satisfy
Thus far, we have considered the successful recovery of the support of . Next, assuming this correct support was recovered, we shall dwell on the deviation of the thresholding result, , from the true . Denote by and the vectors and restricted to the support , respectively. We have that
In what follows, we shall upper bound both of the expressions in the right hand side of the inequality.
In the remainder of this proof we will localize the above bound into one that is posed in terms of patch-errors. Note that is equal to the maximal energy of an -dimensional patch taken from it, where the -th patch can be extracted using the operator . Relying on this and the relation , we have that
Recalling that, based on Definition 6, denotes the maximal number of non-zeros in a patch of length extracted from this vector, we obtain that
In the last inequality we have used the success of the first stage in recovering the correct support, resulting in . Plugging inequality (98) into the above equation, we conclude that
D Stability of the Layered Hard Thresholding in the Presence of Noise (Proof of Theorem 8)
Proof The stability of the first stage of the layered hard thresholding algorithm is obtained from Lemma 7. Denoting by , notice that . In other words, is a signal that admits a convolutional sparse representation , which is contaminated with noise , resulting in . Next, we would like to employ Lemma 7 for the signal , with the local noise level
Assuming the above hold, Lemma 7 guarantees that the support of is equal to that of , and also that
Using the same steps as above, we obtain the desired claim for all the remaining layers, assuming that
and that the thresholds are chosen to satisfy
E Stable Recovery of Soft Thresholding in the Presence of Noise (Proof of Lemma 9)
Proof The success of the soft thresholding algorithm with threshold in recovering the correct support is guaranteed if the following holds
Since the soft thresholding operator chooses all atoms with correlations greater than , the above implies that the true support will be chosen. This condition is equal to that of the hard thresholding algorithm, and thus using the same steps as in Lemma 7, we are guaranteed that the correct support will be chosen under Assumptions (a) and (b).
The difference between the hard thresholding algorithm and its soft counterpart becomes apparent once we consider the estimated sparse vector. While the former estimates the non-zero entries in by computing , the latter subtracts or adds a constant from these, obtaining , where is a vector of . As a result, the distance between the true sparse vector and the estimated one is given by
F Stability of the Layered BP Algorithm in the Presence of Noise (Proof of Theorem 12)
Proof In (Papyan et al., 2016b), for a signal , it was shown that if the following hold:
; and
,
then the solution for the Lagrangian formulation of the BP problem with (see Equation (54)) satisfies that
The support of the solution is contained in that of ;
;
In particular, every entry of greater in absolute value than is guaranteed to be recovered; and
The solution is the unique minimizer of the Lagrangian BP problem (Equation (54)).
Using similar steps to those employed in the proof of Theorem 8, we obtain that
Plugging above the inequality , we get
Since the support of is contained in that of , we have that , leading to
We conclude that the first stage of the layered BP is stable and the following must hold
The support of the solution is contained in that of ;
;
In particular, every entry of greater in absolute value than is guaranteed to be recovered; and
The solution is the unique minimizer of the Lagrangian BP problem (Equation (54)).
Next, we turn to the stability of the second stage of the layered BP algorithm. Notice that . Put differently, is a signal that admits a convolutional sparse representation that is perturbed by , resulting in . As such, we can invoke once again the same theorem from (Papyan et al., 2016b). Since we have that
; and
,
we are guaranteed that the solution for the Lagrangian formulation of the BP problem with parameter satisfies
The support of the solution is contained in that of ;
;
In particular, every entry of greater in absolute value than is guaranteed to be recovered; and
The solution is the unique minimizer of the Lagrangian BP problem (Equation (54)).
We conclude that, similar to the first one, the second stage of the layered BP is stable and the following must hold
The support of the solution is contained in that of ;
;
In particular, every entry of greater in absolute value than is guaranteed to be recovered; and
The solution is the unique minimizer of the Lagrangian BP problem (Equation (54)).
Using the same set of steps, we obtain similarly the stability of the remaining layers.