Blind nonnegative source separation using biological neural networks
Cengiz Pehlevan, Sreyas Mohan, Dmitri B. Chklovskii

TL;DR
This paper introduces a biologically plausible neural network approach for blind nonnegative source separation, formulating it as a similarity matching problem with local learning rules, suitable for online streaming data.
Contribution
It presents a novel formulation of blind nonnegative source separation as a similarity matching problem with biologically plausible neural networks and local learning rules.
Findings
Neural networks derived from the similarity matching objective perform blind nonnegative source separation.
The approach is suitable for online streaming data scenarios.
Synaptic weight updates follow biologically plausible local learning rules.
Abstract
Blind source separation, i.e. extraction of independent sources from a mixture, is an important problem for both artificial and natural signal processing. Here, we address a special case of this problem when sources (but not the mixing matrix) are known to be nonnegative, for example, due to the physical nature of the sources. We search for the solution to this problem that can be implemented using biologically plausible neural networks. Specifically, we consider the online setting where the dataset is streamed to a neural network. The novelty of our approach is that we formulate blind nonnegative source separation as a similarity matching problem and derive neural networks from the similarity matching objective. Importantly, synaptic weights in our networks are updated according to biologically plausible local learning rules.
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.
Blind nonnegative source separation using biological neural networks
Cengiz Pehlevan
Center for Computational Biology, Flatiron Institute, New York, NY
Sreyas Mohan
Center for Computational Biology, Flatiron Institute, New York, NY
IIT Madras, Chennai, India
Dmitri B. Chklovskii
Center for Computational Biology, Flatiron Institute, New York, NY
NYU Medical School, New York, NY
Abstract
Blind source separation, i.e. extraction of independent sources from a mixture, is an important problem for both artificial and natural signal processing. Here, we address a special case of this problem when sources (but not the mixing matrix) are known to be nonnegative, for example, due to the physical nature of the sources. We search for the solution to this problem that can be implemented using biologically plausible neural networks. Specifically, we consider the online setting where the dataset is streamed to a neural network. The novelty of our approach is that we formulate blind nonnegative source separation as a similarity matching problem and derive neural networks from the similarity matching objective. Importantly, synaptic weights in our networks are updated according to biologically plausible local learning rules.
1 Introduction
Extraction of latent causes, or sources, from complex stimuli is essential for making sense of the world. Such stimuli could be mixtures of sounds, mixtures of odors, or natural images. If supervision, or ground truth, about the causes is lacking, the problem is known as blind source separation.
The blind source separation problem can be solved by assuming a generative model, wherein the observed stimuli are linear combinations of independent sources, an approach known as Independent Component Analysis (ICA) (Jutten and Herault, 1991; Comon, 1994; Bell and Sejnowski, 1995; Hyvärinen and Oja, 2000). Formally, the stimulus at time is expressed as a -component vector
[TABLE]
where is an unknown but time-independent mixing matrix and represents the signals of sources at time . In this paper we assume that .
The goal of ICA is to infer source signals, , from the stimuli . Whereas many ICA algorithms have been developed by the signal processing community (Comon and Jutten, 2010), most of them cannot be implemented by biologically plausible neural networks. Yet, our brains can solve the blind source separation problem effortlessly (Bronkhorst, 2000; Asari et al., 2006; Narayan et al., 2007; Bee and Micheyl, 2008; McDermott, 2009; Mesgarani and Chang, 2012; Golumbic et al., 2013; Isomura et al., 2015). Therefore, discovering a biologically plausible ICA algorithm is an important problem.
For an algorithm to be implementable by biological neural networks it must satisfy (at least) the following requirements. First, it must operate in the online (or streaming) setting. In other words, the input dataset is not available as a whole but is streamed one data vector at a time and the corresponding output must be computed before the next data vector arrives. Second, the output of most neurons in the brain (either a firing rate, or the synaptic vesicle release rate) is nonnegative. Third, the weights of synapses in a neural network must be updated using local learning rules, i.e. depend on the activity of only the corresponding pre- and postsynaptic neurons.
Given the nonnegative nature of neuronal output we consider a special case of ICA where sources are assumed to be nonnegative, termed Nonnegative Independent Component Analysis (NICA), (Plumbley, 2001, 2002). Of course, to recover the sources, one can use standard ICA algorithms that don’t rely on the nonnegativity of sources, such as fastICA (Hyvärinen and Oja, 1997; Hyvarinen, 1999; Hyvärinen and Oja, 2000). Neural learning rules have been proposed for ICA, e.g. (Linsker, 1997; Eagleman et al., 2001; Isomura and Toyoizumi, 2016) and references within. However, taking into account nonnegativity may lead to simpler and more efficient algorithms (Plumbley, 2001, 2003; Plumbley and Oja, 2004; Oja and Plumbley, 2004; Yuan and Oja, 2004; Zheng et al., 2006; Ouedraogo et al., 2010; Li et al., 2016).
While most of the existing NICA algorithms have not met the biological plausibility requirements, in terms of online setting and local learning rules, there are two notable exceptions. First, Plumbley (2001) succesfully simulated a neural network on a small dataset, yet no theoretical analysis was given. Second, Plumbley (2003) and Plumbley and Oja (2004) proposed a nonnegative PCA algorithm for a streaming setting, however its neural implementation requires nonlocal learning rules. Further, this algorithm requires prewhitened data (see also below), yet no streaming whitening algorithm was given.
Here, we propose a biologically plausible NICA algorithm. The novelty of our approach is that the algorithm is derived from the similarity matching principle which postulates that neural circuits map more similar inputs to more similar outputs (Pehlevan et al., 2015). Previous work proposed various objective functions to find similarity matching neural representations and solved these optimization problems with biologically plausible neural networks (Pehlevan et al., 2015; Pehlevan and Chklovskii, 2015a; Pehlevan and Chklovskii, 2014; Hu et al., 2014; Pehlevan and Chklovskii, 2015b). Here we apply these networks to NICA.
The rest of the paper is organized as follows: In Section 2, we show that blind source separation, after a generalized prewhitening step, can be posed as a nonnegative similarity matching (NSM) problem (Pehlevan and Chklovskii, 2014). In Section 3, using results from (Pehlevan and Chklovskii, 2015a; Pehlevan and Chklovskii, 2014) we show that both the generalized prewhitening step and the NSM step can be solved online by neural networks with local learning rules. Stacking these two networks leads to the two-layer NICA network. In Section 4, we compare the performance of our algorithm to other ICA and NICA algorithms for various datasets.
2 Offline NICA via NSM
In this section, we first review Plumbley’s analysis of NICA and then reformulate NICA as an NSM problem.
2.1 Review of Plumbley’s analysis
When source signals are nonnegative, the source separation problem simplifies. It can be solved in two straightforward steps: noncentered prewhitening and orthonormal rotation (Plumbley, 2002).
Noncentered prewhitening transforms to , where and is a whitening matrix111In his analysis Plumbley (Plumbley, 2002) assumed (mixture channels are the same as source channels) but this assumption can be relaxed as shown., such that , where angled brackets denote an average over the source distribution and is the identity matrix. Note that the mean of is not removed in the tranformation, otherwise one would not be able to use the constraint that the sources are nonnegative (Plumbley, 2003).
Assuming that sources have unit variance222Without loss of generality, a scalar factor that multiplies a source can always be absorbed into the corresponding column of the mixing matrix,
[TABLE]
the combined effect of source mixing and prewhitening () is an orthonormal rotation. To see this, note that, by definition, and .
The second step of NICA relies on the following observation (Plumbley, 2002):
Theorem 1** (Plumbley).**
Suppose sources are independent, nonnegative and well-grounded, i.e. Prob for any . Consider an orthonormal transformation . Then is a permutation matrix with probability 1, if and only if is nonnegative.
In the second step, we look for an orthonormal such that is nonnegative. When found, Plumbley’s theorem guarantees that is a permutation of the sources. Several algorithms have been developed based on this observation (Plumbley, 2003; Plumbley and Oja, 2004; Oja and Plumbley, 2004; Yuan and Oja, 2004).
Note that only the sources but not necessarily the mixing matrix must be nonnegative. Therefore, NICA allows generative models, where features not only add up but also cancel each other, as in the presence of a shadow in an image (Plumbley, 2002). In this respect, NICA is more general than Nonnegative Matrix Factorization (NMF) (Lee and Seung, 1999; Paatero and Tapper, 1994) where both the sources and the mixing matrix are required to be nonnegative.
2.2 NICA as NSM
Next we reformulate NICA as a NSM problem. This reformulation will allow us to derive an online neural network for NICA in Section 3. Our main departure from Plumbley’s analysis is to work with similarity matrices rather than covariance matrices and finite number of samples rather than the full probability distribution of the sources.
First, let us switch to the matrix notation, where data matrices are formed by concatenating data column vectors, e.g. so that , and so that . In this notation, we introduce a time-centering operation such that, for example, time-centered stimuli are where and is a dimensional column vector whose elements are all 1’s.
Our goal is to recover from , where is unknown. We make the following two assumptions: First, sources are nonnegative and decorrelated, . Note that while general ICA and NICA problems are stated with the independence assumption on the sources, for our purposes, it is sufficient that they are only decorrelated. Second, the mixing matrix, , is full-rank.
We propose that the source matrix, , can be recovered from in the following two steps, also illustrated in Fig. 1:
Generalized Prewhitening: Transform to , where is with , so that has unit eigenvalues and zero eigenvalues. When , is whitened, otherwise channels of are correlated. Such prewhitening is useful because it implies according to the following theorem.
Theorem 2**.**
If is such that obeys
[TABLE]
an eigenvalue decomposition with {\bf\Lambda}^{H}={\rm diag}\big{(}\underset{d}{\underbrace{1,\ldots,1}},\underset{l-d}{\underbrace{0,\ldots,0}}\big{)}, then
[TABLE]
Proof.
To see why (3) is sufficient, first note that . This follows from the definition of and (2). If (3) holds, then
[TABLE]
In turn, this is sufficient to prove that . To see that, assume an SVD decomposition of . (5) implies that , i.e. that the diagonal elements of are all 1’s. Then,
[TABLE]
This gives us the desired results . ∎
Remark 1*.*
If , the channels of are correlated, except in the special case . The whitening used in Plumbley’s analysis (Plumbley, 2002) requires . 2. 2.
NSM: Solve the following optimization problem:
[TABLE]
where the optimization is performed over nonnegative i.e. . We call (7) the NSM cost function (Pehlevan and Chklovskii, 2014). Because inner products quantify similarities we call and input and output similarity matrices, i.e. their elements hold the pairwise similarities between input and the pairwise similarities between output vectors, respectively. Then, the cost function (7) preserves the input similarity structure as much as possible under the nonnegativity constraint. Variants of (7) has been considered in applied math literature under the name “nonnegative symmetric matrix factorization” for clustering applications, e.g. (Kuang et al., 2012, 2015).
Now we make our key observation. Using Theorem 2, we can rewrite (7) as
[TABLE]
Since both and are nonnegative, rank- matrices, , where is a permutation matrix, is a solution to this optimization problem and the sources are successfully recovered.
Uniqueness of the solutions (up to permutations) is hard to establish. While both sufficient conditions, and necessary and sufficient conditions for uniqueness exist, these are non-trivial to verify and usually the verification is NP-complete (Donoho and Stodden, 2003; Laurberg et al., 2008; Huang et al., 2014). A review of related uniqueness results can be found in (Huang et al., 2014). A necessary condition for uniqueness given in (Huang et al., 2014) states that, if the factorization of to is unique (up to permutations), then each row of contains at least one element that is equal to [math]. This necessary condition is similar to Plumbley’s well-groundedness requirement used in proving Theorem 1.
The NSM problem can be solved by projected gradient descent,
[TABLE]
where the operation is applied elementwise, and is the size of the gradient step. Other algorithms can be found in (Kuang et al., 2012, 2015; Huang et al., 2014).
3 Derivation of NICA neural networks from similarity matching objectives
Our analysis in the previous section revealed that the NICA problem can be solved in two steps: generalized prewhitening and nonnegative similarity matching. Here, we derive neural networks for each of these steps and stack them to give a biologically plausible two-layer neural network that operates in a streaming setting.
In a departure from the previous section, the number of output channels is reduced to the number of sources at the prewhitening stage rather than the later NSM stage (). This assumption simplifies our analysis significantly. The full problem is addressed in Appendix B.
3.1 Noncentered prewhitening in a streaming input setting
To derive a neurally plausible online algorithm for prewhitening, we pose generalized prewhitening, Eq. (3), as an optimization problem. Online minimization of this optimization problem gives an algorithm that can be mapped to the operation of a biologically plausible neural network.
Generalized prewhitening solves a constrained similarity alignment problem:
[TABLE]
where is the centered mixture of independent sources and is a matrix, constrained such that is positive semidefinite. The solution of this objective aligns similarity matrices and so that their right singular vectors are the same (Pehlevan and Chklovskii, 2015a). Then, the objective under the trace diagonalizes and its value is the sum of eigenvalue pair products. Since the eigenvalues of are upper bounded by , the objective (10) is maximized by setting the eigenvalues of that pair with the top eigenvalues of to , and the rest to zero. Hence, the optimal satisfies the generalized prewhitening condition (3)(Pehlevan and Chklovskii, 2015a). More formally,
Theorem 3** **(Modified from (Pehlevan and
Chklovskii, 2015a)).
Suppose an eigen-decomposition of is , where eigenvalues are sorted in decreasing order. Then, all optimal of (10) have an SVD decomposition of the form
[TABLE]
where is with ones on top of the diagonal and zeros on the rest of the diagonal.
The theorem implies that, first, , and hence satisfies the generalized prewhitening condition (3). Second, , the linear mapping between and , can be constructed using an SVD decomposition of and (11).
The constraint in (10) can be introduced into the objective function using as a Lagrange multiplier the Grassmanian of matrix with ():
[TABLE]
This optimization problem (Pehlevan and Chklovskii, 2015a) will be used to derive an online neural algorithm.
Whereas the optimization problem (12) is formulated in the offline setting, i.e. outputs are computed only after receiving all inputs, to derive a biologically plausible algorithm, we need to formulate the optimization problem in the online setting, i.e. the algorithm receives inputs sequentially, one at a time, and computes an output before the next input arrives. Therefore, we optimize (12) only for the data already received and only with respect to the current output:
[TABLE]
By keeping only those terms that depend on or , we get the following objective:
[TABLE]
where
[TABLE]
In the large- limit, the first three terms dominate over the last term, which we ignore. The remaining objective is strictly concave in and convex in . We assume that the matrix is full-rank. Then, the objective has a unique saddle point :
[TABLE]
where,
[TABLE]
Hence, can be interpreted as the current estimate of the prewhitening matrix, .
We solve (14) with a gradient descent-ascent
[TABLE]
where measures “time” within a single time step of . Biologically, this is justified if the activity dynamics converges faster than the correlation time of the input data. The dynamics (3.1) can be proved to converge to the saddle point of the objective (3.1), see Appendix A.
Equation (3.1) describes the dynamics of a single-layer neural network with two-populations, Fig. 2. represents the weights of feedforward synaptic connections, and represent the weights of synaptic connections between the two populations. Remarkably, synaptic weights appear in the online algorithm despite their absence in the optimization problem formulations (12) and (13). Furthermore, neurons can be associated with principal neurons of a biological circuit and neurons with interneurons.
Finally, using the definition of synaptic weight matrices (3.1), we can formulate recursive update rules:
[TABLE]
Equations (3.1) and (3.1) define a neural algorithm that proceeds in two phases. After each stimulus presentation, first, (3.1) is iterated until convergence by the dynamics of neuronal activities. Second, synaptic weights are updated according to local, anti-Hebbian (for synapses from interneurons) and Hebbian (for all other synapses) rules (3.1). Biologically, synaptic weights are updated on a slower timescale than neuronal activity dynamics.
Our algorithm can be viewed as a special case of the algorithm proposed in (Plumbley, 1996, 1994). Plumbley analyzed the convergence of synaptic weights (Plumbley, 1994) in a stochastic setting by a linear stability analysis of the stationary point of synaptic weight updates. His results are directly applicable to our algorithm, and show that, if the synaptic weights of our algorithm converge to a stationary state, they whiten the input.
Importantly, unlike (Plumbley, 1996, 1994) which proposed the algorithm heuristically, we derived it by posing and solving an optimization problem.
3.1.1 Computing
The optimization problem (12) and the corresponding neural algorithm, Eqs. (3.1) and (3.1) almost achieve what is needed for noncentered prewhitening, but we still need to find , since for the NSM step we need . We now discuss how can be learned along with using the same online algorithm.
Our online algorithm for centered-whitening is of the following form. First, a neural dynamics stage outputs a linear transformation of the input:
[TABLE]
and, second, synaptic weights and, hence, are updated:
[TABLE]
We can supplement this algorithm with a running estimate of . Let the running estimate of average stimulus activity be
[TABLE]
Then,
[TABLE]
Alternatively, (20) and (23) can be combined into a single step:
[TABLE]
where the network receives uncentered stimuli and prewhitenes it. Note that assignment (24) can still be done by iterating (3.1), except now the input is rather than . However, synaptic weights are still updated using , and . Therefore we keep recursive estimates of the means. Substituting (22) into (24) and using (21)
[TABLE]
The term requires non-local calculations. Assuming that in the large- limit updates to are small, we can ignore this term and obtain a recursion:
[TABLE]
Finally, a similar argument can be given for . We keep a recursive estimate of :
[TABLE]
To summarize, when a new stimulus is observed, the algorithm operates in two steps. In the first step, the following two-population neural dynamics runs until convergence to a fixed point:
[TABLE]
The convergence proof for neural dynamics (3.1) given in Appendix A also applies here. Besides the synaptic weight, each neuron remembers its own average activity and each synapse remembers average incoming activity. In the second step of the algorithm, the average activities are updated by:
[TABLE]
Synaptic weight matrices are updated recursively by
[TABLE]
Once the synaptic updates are done, the new stimulus, , is processed. We note again that all the synaptic update rules are local, and hence are biologically plausible.
3.2 Online NSM
Next, we derive the second-layer network which solves the NSM optimization problem (7) in an online setting (Pehlevan and Chklovskii, 2014).
The online optimization problem is:
[TABLE]
Proceeding as before, let’s rewrite (31) keeping only terms that depend on :
[TABLE]
In the large- limit, the last two terms can be ignored and the remainder is a quadratic form in . We minimize it using coordinate descent (Wright, 2015) which is both fast and neurally plausible. In this approach, neurons are updated one-by-one by performing an exact minimization of (32) with respect to until convergence:
[TABLE]
where
[TABLE]
For the next time step (), we can update the synaptic weights recursively, giving us the following local learning rules:
[TABLE]
Interestingly, these update rules are local and are identical to the single-neuron Oja rule (Oja, 1982), except that the learning rate is given explicitly in terms of cumulative activity and the lateral connections are anti-Hebbian.
After the arrival of each data vector, the operation of the complete two-layer network algorithm, Fig. 2, is as follows. First, the dynamics of the prewhitening network runs until convergence. Then the output of the prewhitening network is fed to the NSM network, and the NSM network dynamics runs until convergence to a fixed point. Synaptic weights are updated in both networks for processing the next data vector.
3.2.1 NICA is a stationary state of online NSM
Here we show that the solution to the NICA problem is a stationary synaptic weights state of the online NSM algorithm. In the stationary state the expected updates to synaptic weights are zero, i.e.
[TABLE]
where we dropped the index, and brackets denote averages over the source distribution.
Suppose the stimuli obey the NICA generative model, Eq. (1), and the observed mixture, , is whitened with the exact (generalized) prewhitening matrix described in Theorem 2. Then, input to the network at time, , is . Our claim is that there exists synaptic weight configurations for which 1) for any mixed input, , the output of the network is the source vector, i.e. , where is a permutation matrix, and 2) this synaptic configuration is a stationary state.
We prove our claim by constructing these synaptic weights. For each permutation matrix, we first relabel the outputs such that output recovers the source and hence becomes the identity matrix. Then, the weights are:
[TABLE]
Given mixture , NSM neural dynamics with these weights converge to , which is the the unique fixed point333Proof: The net input to neuron at the claimed fixed point is . Plugging in (37) and , and using (6) one gets that the net input is , which is also the output since sources are nonnegative. This fixed point is unique and globally stable because the NSM neural dynamics is a coordinate descent on a strictly convex cost given by .. Furthermore, these weights define a stationary state as defined in (36) assuming a fixed learning rate. To see this substitute weights from (37) into the last two equations of (3.2) and average over the source distribution. The fixed learning rate assumption is valid in the large- limit when changes to become small (, see (Pehlevan et al., 2015)).
4 Numerical simulations
Here we present numerical simulations of our two-layered neural network using various datasets and compare the results to that of other algorithms.
In all our simulations, , except in Fig. 5B where . Our networks were initialized as follows:
In the prewhitening network, and were chosen to be random orthonormal matrices. is initialized as because of its definition in Eq. (3.1) and the fact that this choice guarantees the convergence of the neural dynamics (3.1.1) (see Appendix A). 2. 2.
In the NSM network, was initialized to a random orthonormal matrix and was set to zero.
The learning rates were chosen as follows:
For the prewhitening network, we generalized the time-dependent learning rate (3.1.1) to,
[TABLE]
and performed a grid search over and to find the combination with best performance. Our performance measures will be introduced below. 2. 2.
For the NSM network, we generalized the activity-dependent learning rate (3.2) to,
[TABLE]
and performed a grid search over several values of and to find the combination with best performance. The parameter introduces “forgetting” to the system (Pehlevan et al., 2015). We hypothesized that forgetting will be beneficial in the two-layer setting because the prewhitening layer output changes over time and the NSM layer has to adapt. Further, for comparison purposes, we also implemented this algorithm with a time-dependent learning rate of the form (38) and performed a grid search with and to find the combination with best performance.
For the NSM network, to speed up our simulations we implemented a procedure from (Plumbley and Oja, 2004). At each iteration we checked whether there is any output neuron who has not fired up until that iteration. If so, we flipped the sign of its feedforward inputs. In practice, the flipping only occured within the first 10 iterations.
For comparison, we implemented five other algorithms. First is the offline algorithm (9), the other two are chosen to represent major online algorithm classes:
Offline projected gradient descent: We simulated the projected gradient descent algorithm (9). We used variable stepsizes of the form (38) and performed a grid search with and to find the combination with best performance. We initialized elements of the matrix, , by drawing a Gaussian random variable with zero mean and unit variance and rectifying it. Input dataset was whitened offline before passing to projected gradient descent. 2. 2.
fastICA: fastICA (Hyvärinen and Oja, 1997; Hyvarinen, 1999; Hyvärinen and Oja, 2000) is a popular ICA algorithm which does not assume nonnegativity of sources. We implemented an online version of fastICA (Hyvärinen and Oja, 1998) using the same parameters except for feedforward weights. We used the time-dependent learning rate (38) and performed a grid search with and to find the combination with best performance. fastICA requires whitened and centered input (Hyvärinen and Oja, 1998) and computes a decoding matrix that maps mixtures back to sources. We ran the algorithm with whitened and centered input. To recover nonnegative sources, we applied the decoding matrix to noncentered but whitened input. 3. 3.
Infomax ICA: Bell and Sejnowski (1995) proposed a blind source separation algorithm that maximizes the mutual information between inputs and outputs, namely the Infomax principle (Linsker, 1988). We simulated an online version due to Amari et al. (1996). We chose cubic neural nonlinearities compatible with sub-Gaussian input sources. This differs from our fastICA implementation where the nonlinearity is also learned online. Infomax ICA computes a decoding matrix using centered, but not whitened, data. To recover nonnegative sources, we applied the decoding matrix to noncentered inputs. Finally, we rescaled the sources so that their variance is 1. We experimented with several learning rate parameters for finding optimal performance. 4. 4.
Linsker’s network: Linsker (1997) proposed a neural network with local learning rules for Infomax ICA. We simulated this algorithm with cubic neural nonlinearities and preprocessing and decoding done as in our Infomax ICA implementation. 5. 5.
Nonnegative PCA: Nonnegative PCA algorithm (Plumbley and Oja, 2004) solves the NICA task and makes explicit use of the nonnegativity of sources. We use the online version given in (Plumbley and Oja, 2004). To speed up our simulations we implemented a procedure from (Plumbley and Oja, 2004). At each iteration we checked whether there is any output neuron who has not fired up until that iteration. If so, we flipped the sign of its feedforward inputs. For this algorithm, we again used the time-dependent learning rate of (38) and performed a grid search with and to find the combination with best performance. Nonnegative PCA assumes whitened, but not centered input (Plumbley and Oja, 2004).
Next, we present the results of our simulations on three datasets.
4.1 Mixture of random uniform sources
The source i.i.d. samples were set to zero with probability 0.5 and sampled uniformly from iterval with probability 0.5. The dimensions of source vectors were . The mixing matrices are given in Appendix C. source vectors were generated for each run. For a sample of the original and mixed signals, see Fig 3A.
The inputs to fastICA and Nonnegative PCA algorithms were prewhitened offline, and in the case of fastICA they were also centered. We ran our NSM network both as a single layer algorithm with prewhitening done offline, and as a part of our two-layer algorithm with whitening done online.
To quantify the performance of tested algorithms, we used the mean-squared-error:
[TABLE]
where is a permutation matrix that is chosen to minimize the mean-squared-error at . The learning rate parameters of all networks were optimized by a grid search using as the performance metric.
In Fig. 3B, we show the performances of all algorithms we implemented. Our algorithms perform as well or better than others, especially as dimensionality of the input increases. Offline whitening is better than online whitening, however, as dimensionality increases, online whitening becomes competitive with offline whitening. In fact, our two-layer and single-layer networks perform better than Online fastICA and Nonnegative PCA for which whitening was done offline.
We also simulated a fully offline algorithm by taking projected gradient descent steps until the residual error plateaued (Fig. 3B). The performance of the offline algorithm quantifies two important metrics. First, it establishes the loss in performance due to online (as opposed to offline) processing. Second, it establishes the lowest error that could be achieved by the NSM method for the given dataset. The lowest error is not necessarily zero due to the finite size of the dataset. This method is not perfect because the projected gradient descent may get stuck in a local minimum of Eq. (7).
We also tested whether the learned synaptic weights of our network match our theoretical predictions. In Fig. 4A, we show examples of learned feedforward and recurrent synaptic weights at , and what is expected from our theory (37). We observed an almost perfect match between the two. In Fig. 4B, we quantify the convergence of simulated synaptic weights to the theoretical prediction by plotting a normalized error metric defined by .
4.2 Mixture of random uniform and exponential sources
Our algorithm can demix sources sampled from different statistical distributions. To illustrate this point, we generated a dataset with two uniform and three exponential source channels. The uniform sources were sampled as before. The exponential sources were either zero (with probability 0.5) or sampled from an exponential distribution, scaled so that the variance of the channel is 1. In Fig. 5A, we show that the algorithm succesfully recovers sources.
To test denoising capabilities of our algorithm, we created a dataset where source signals are accompanied by background noise. Sources to be recovered were three exponential channels, which were sampled as before. Background noises were two uniform channels which were sampled as before, except scaled to have variance 0.1. To denoise the resulting five dimensional mixture, the prewhitening layer reduced its five input dimensions to three. Then, the NSM layer succesfully recovered sources, Fig. 5B. Hence, the prewhitening layer can act as a denoising stage.
4.3 Mixture of natural scenes
Next, we consider recovering images from their mixtures, Fig. 6A, where each image is treated as one source. Four image patches of size pixels were chosen from a set of images of natural scenes which were previously used in (Hyvärinen and Hoyer, 2000; Plumbley and Oja, 2004). The preprocessing was as in (Plumbley and Oja, 2004): 1) Images were downsampled by a factor of 4 to obtain patches, 2) Pixel intensities were shifted to have a minimum of zero and 3) Pixel intensities were scaled to have unit variance. Hence, in this dataset, there are sources, corresponding image patches, and a total of samples. These samples were presented to the algorithm 5000 times with randomly permuted order in each presentation. The mixing matrix, which was generated randomly, is given in Appendix C.
In Fig. 6B, we show the performances of all algorithms we implemented in this task. We see that our algorithms, when compared to fastICA and Nonnegative PCA, perform much better.
5 Discussion
In this paper we presented a new neural algorithm for blind nonnegative source separation. We started by assuming the nonnegative ICA generative model (Plumbley, 2001, 2002) where inputs are linear mixtures of independent and nonnegative sources. We showed that the sources can be recovered from inputs by two sequential steps, 1) generalized whitening and 2) NSM. In fact, our argument requires sources to be only uncorrelated, and not necessarily independent. Each of the two steps can be performed online with single-layer neural networks with local learning rules (Pehlevan and Chklovskii, 2014; Pehlevan and Chklovskii, 2015a). Stacking these two networks yields a two-layer neural network for blind nonnegative source separation (Fig. 2). Numerical simulations show that our neural network algorithm performs well.
Because our network is derived from optimization principles, its biologically realistic features can be given meaning. The network is multi-layered, because each layer performs a different optimization. Lateral connections create competition between principal neurons forcing them to differentiate their outputs. Interneurons clamp the activity dimensions of principal neurons (Pehlevan and Chklovskii, 2015a). Rectifying neural nonlinearity is related to nonnegativity of sources. Synaptic plasticity (Malenka and Bear, 2004), implemented by local Hebbian and anti-Hebbian learning rules, achieves online learning. While Hebbian learning is famously observed in neural circuits (Bliss and Lømo, 1973; Bliss and Gardner-Medwin, 1973), our network also makes heavy use of anti-Hebbian learning, which can be interpreted as the long-term potentiation of inhibitory postsynaptic potentials. Experiments show that such long-term potentiation can arise from pairing action potentials in inhibitory neurons with subthreshold depolarization of postsynaptic pyramidal neurons (Komatsu, 1994; Maffei et al., 2006). However, plasticity in inhibitory synapses does not have to be Hebbian, i.e. require correlation between pre- and postsynaptic activity (Kullmann et al., 2012).
For improved biological realism, the network should respond to a continuous stimulus stream by continuous and simultaneous changes to its outputs and synaptic weights. Presumably, this requires neural time scales to be faster and synaptic time scales to be slower than that of changes in stimuli. To explore this possibility, we simulated some of our datasets with limited number of neural activity updates (not shown) and found that 10 updates per neuron is sufficient for successful recovery of sources without significant loss in performance. With a neural time scale of 10ms, this should take about 100ms, which is sufficiently fast given that, for example, the temporal autocorrelation time scale of natural image sequences is about 500ms (David et al., 2004; Bull, 2014).
It is interesting to compare the two-layered architecture we present to the multilayer neural networks of deep learning approaches (LeCun et al., 2015). 1) For each data presentation, our network performs recurrent dynamics to produce an output, while the deep networks have feedforward architecture. 2) The first layer of our network has multiple neuron types, principal and interneurons, and only principal neurons project to the next layer. In deep learning, all neurons in a layer project to the next layer. 3) Our network operates with local learning rules, while deep learning uses backpropagation, which is not local. 4) We derived the architecture, the dynamics, and the learning rules of our network from a principled cost function. In deep learning, the architecture and the dynamics of a neural network are designed by hand, only the learning rule is derived from a cost function. 5) Finally, in building a neural algorithm, we started with a generative model of inputs, from which we inferred algorithmic steps to recover latent sources. These algorithmic steps guided us in deciding which single-layer networks to stack. In deep learning, no such generative model is assumed and network architecture design is more of an art. We believe starting from a generative model might lead to a more systematic way of network design. In fact, the question of generative model appropriate for deep networks is already being asked (Patel et al., 2016).
Acknowledgments
We thank Andrea Giovannucci, Eftychios Pnevmatikakis, Anirvan Sengupta and Sebastian Seung for useful discussions. DC is grateful to the IARPA MICRONS program for support.
Appendix A Convergence of the gradient descent-ascent dynamics
Here we prove that the neural dynamics (3.1) converges to the saddle point of the objective function (3.1). Here we assume that is full-rank and . First, note that the optimum of (3.1) is also the fixed point of (3.1). Since the neural dynamics (3.1) is linear, the fixed point is globally convergent if and only if the eigenvalues of the matrix
[TABLE]
have negative real parts.
The eigenvalue equation is
[TABLE]
which implies
[TABLE]
Using these relations, we can solve for all the eigenvalues. There are two cases:
. This implies that and . is in the null-space of . Since is with , the null-space is dimensional, and one has degenerate eigenvalues. 2. 2.
. Substituting for in the first equation of (51), this implies that . Hence, is an eigenvector of . For each eigenvalue of , there are two corresponding eigenvectors . can be solved uniquely from the first equation in (51).
Hence, there are degenerate eigenvalues and pairs of conjugate eigenvalues , one pair for each eigenvaleue of . Since are real and positive (we assume is full-rank and by definition ), real parts of all are negative and hence the neural dynamics (3.1) is globally convergent.
Appendix B Modified objective function and neural network for generalized prewhitening
While deriving our online neural algorithm, we assumed that the number of output channels is reduced to the number of sources at the prewhitening stage (). However, our offline analysis did not need such reduction, one could keep for generalized prewhitening. Here we provide an online neural algorithm that allows .
First, we point out why the prewhitening algorithm given in the main text is not adequate for . In Appendix A, we proved that the neural dynamics described by (3.1) converges to the saddle point of the objective function (3.1). This proof assumes that is full-rank. However, if , this assumption breaks down as the network learns because perfectly prewhitened has rank (low-rank) and a perfectly prewhitening network would have which would also be low-rank. We simulated this network with and observed that the condition number of increased with and the neural dynamics took longer time to converge. Even though the algorithm was still functioning well for practical purposes, we present a modification that fully resolves the problem.
We propose a modified offline objective function (Pehlevan and Chklovskii, 2015a) and a corresponding neural network. Consider the following:
[TABLE]
where is a centered mixture of independent sources, is now an matrix with , is an matrix with and is a positive parameter. Notice the additional -dependent term compared to (12). If is less than the lowest eigenvalue of , optimal is a linear transform of and satisfies the generalized prewhitening condition (3)(Pehlevan and Chklovskii, 2015a). More precisely,
Theorem 4** **(Modified from (Pehlevan and
Chklovskii, 2015a)).
Suppose an eigen-decomposition of is , where eigenvalues are sorted in order of magnitude. If is less than the lowest eigenvalue of , all optimal of (12) have an SVD decomposition of the form
[TABLE]
where is with ones at top diagonals and zeros at rest.
Using this cost function, we will derive a neural algorithm which does not suffer from the described convergence issues, even if . On the other hand, we now need to choose the parameter , and for that we need to know the spectral properties of .
To derive an online algorithm, we repeat the steps taken before:
[TABLE]
where
[TABLE]
In the large- limit, the first four terms dominate over the last term, which we ignore. The remaining objective is strictly concave in and strictly convex in . Note that (3.1) was only convex in but not strictly convex. The objective has a unique saddle point, even if is not full-rank:
[TABLE]
where matrices are defined as before and is the identity matrix.
We solve (54) with gradient descent-ascent
[TABLE]
where is time measured within a single time step of . The dynamics (3.1) can be proved to converge to the saddle point (B) modifying the proof in Appendix A444The fixed point is globally convergent if and only if the eigenvalues of the matrix
\displaystyle\left[\begin{array}[]{c c}-\alpha{\bf I}&-{\bf W}^{HG}\\ {\bf W}^{GH}&-{\bf I}\end{array}\right]
(60)
have negative real parts. One can show that eigenvalues are , eigenvalues are , and for each positive eigenvalue, of one gets a pair . All eigenvalues have negative real parts. . Synaptic weight updates are the same as before (3.1). Finally, this network can be modified to also compute following the steps before.
Appendix C Mixing matrices for numerical simulations
For the random source dataset, the mixing matrix was:
[TABLE]
We do not list the mixing matrices for cases for space-saving purposes, however they are available from authors upon request.
For the natural scene dataset, the mixing matrix was
[TABLE]
Appendix D Learning rate parameters for numerical simulations
For Figs. 3, 4, 5 and 6 the following parameters were found to be best performing as a result of our grid search:
[TABLE]
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Amari et al. (1996) Amari, S., Cichocki, A., and Yang, H. (1996). A new learning algorithm for blind signal separation. Advances in neural information processing systems , 8:757–763.
- 2Asari et al. (2006) Asari, H., Pearlmutter, B. A., and Zador, A. M. (2006). Sparse representations for the cocktail party problem. Journal of Neuroscience , 26(28):7477–7490.
- 3Bee and Micheyl (2008) Bee, M. A. and Micheyl, C. (2008). The cocktail party problem: what is it? how can it be solved? and why should animal behaviorists study it? Journal of comparative psychology , 122(3):235.
- 4Bell and Sejnowski (1995) Bell, A. J. and Sejnowski, T. J. (1995). An information-maximization approach to blind separation and blind deconvolution. Neural computation , 7(6):1129–1159.
- 5Bliss and Gardner-Medwin (1973) Bliss, T. V. and Gardner-Medwin, A. (1973). Long-lasting potentiation of synaptic transmission in the dentate area of the unanaesthetized rabbit following stimulation of the perforant path. The Journal of physiology , 232(2):357.
- 6Bliss and Lømo (1973) Bliss, T. V. and Lømo, T. (1973). Long-lasting potentiation of synaptic transmission in the dentate area of the anaesthetized rabbit following stimulation of the perforant path. The Journal of physiology , 232(2):331–356.
- 7Bronkhorst (2000) Bronkhorst, A. W. (2000). The cocktail party phenomenon: A review of research on speech intelligibility in multiple-talker conditions. Acta Acustica united with Acustica , 86(1):117–128.
- 8Bull (2014) Bull, D. R. (2014). Communicating pictures: A course in Image and Video Coding . Academic Press.
