Abstract
We investigate the sparse functional identification of complex cells and the decoding of spatio-temporal visual stimuli encoded by an ensemble of complex cells. The reconstruction algorithm is formulated as a rank minimization problem that significantly reduces the number of sampling measurements (spikes) required for decoding. We also establish the duality between sparse decoding and functional identification and provide algorithms for identification of low-rank dendritic stimulus processors. The duality enables us to efficiently evaluate our functional identification algorithms by reconstructing novel stimuli in the input space. Finally, we demonstrate that our identification algorithms substantially outperform the generalized quadratic model, the nonlinear input model, and the widely used spike-triggered covariance algorithm.
Similar content being viewed by others
1 Introduction
It is widely accepted that the early mammalian visual system employs a series of neural circuits to extract elementary visual features, such as edges and motion [1, 2]. Feature extraction capabilities of simple and complex cells arising in the primary visual cortex (V1) have been extensively investigated. Layer IV simple cells receive direct input from the Lateral Geniculate Nucleus [3]. Each simple cell consists of a linear receptive field cascaded with a highly nonlinear spike generator. Complex cells in layer II/III of V1 sum the output of a pool of simple cells having similar orientation selectivity and spatial extent [4] and are thereby selective to oriented edges/lines over a spatially restricted region of the visual field [1]. Whereas simple cells respond maximally to a particular phase of the edge, complex cells are largely phase invariant [5, 6]. Therefore, the receptive fields of complex cells cannot be simply mapped into excitatory and inhibitory regions [1]. Receptive fields of simple cells are often modeled as spatio-temporal linear filters with a spatial impulse response that resemble Gabor functions [7], whereas the receptive fields of complex cells are often modeled as sums of squared linear filters [8]. For simplicity, a quadrature pair of space-time Gabor filters has been employed in an energy model of complex cells [9–11]. Neural circuits comprising complex cells constitute a highly nonlinear circuit as illustrated in Fig. 1.
Feedforward projections from V1 to other cortical areas mainly originate from layer II/III [12], suggesting that complex cells play a critical role in relaying visual information processed in V1 to higher brain areas. Whereas tuning properties of individual complex cells have been characterized [13, 14], the information about visual stimuli that an ensemble of complex cells can provide and how efficiently they can represent such information has yet to be elucidated.
Under the modeling framework of time encoding machines (TEMs) [15, 16], it has been shown that decoding of stimuli and functional identification of linear receptive fields of simple cells are dual to each other [17]. This led to mathematically rigorous identification algorithms for identifying linear receptive fields of simple cells [17]. By modeling the nonlinear processing in complex cells as Volterra dendritic stimulus processors (DSPs) [18, 19], the representation of stimuli encoded by spike times generated by neural circuits with complex cells was also exhaustively analyzed. Functional identification of a complex cell DSP was possible again thanks to the demonstrated duality between decoding and functional identification. Although these theoretical methods exhibit deep structural properties, they have been shown to be tractable only for decoding and functional identification problems of small dimensions. In their current form, they are not tractable due to the ‘curse of dimensionality’ [20].
The nonlinear transformations taking place in the DSP of complex cells lead to loss of phase information. Previous work has empirically found that static images recovered from the magnitude response of Gabor wavelets are perceptually recognizable, albeit they exhibit significant errors in their pixel intensity values [21]. With this in mind, we formulate the reconstruction of stimuli encoded with complex cells as a phase retrieval problem [22] and, in search of tractable algorithms, utilize recent developments in optimization theory of low-rank matrices [22–24]. Applying such methods, we develop algorithms that are highly effective in decoding visual stimuli encoded by complex cells. As will be detailed in the next sections, the complex cells, as defined in this paper, have DSP kernels that are low-rank and include those shown in Fig. 1 as a particular case.
After demonstrating that the decoding of visual stimuli becomes tractable, we describe sparse algorithms that functionally identify the DSPs of complex cells using the spike times they generate. The sparse identification algorithms are based on the key observation that functional identification can be viewed as the dual problem of decoding stimuli that are encoded by an ensemble of complex cells. Although a generalization of the duality results from simple cells to complex cells was already given in [18], we show in this paper that these results remain valid under the assumption of sparsity, that is, for the case of low-rank DSP kernels. This significantly reduces the time of stimulus presentation that is needed in the identification process. The sparse duality result also enables us to evaluate the identified circuits in the input space. We achieve the latter by computing the mean square error or signal-to-noise ratio (SNR) of novel stimuli decoded using the identified circuits [17]. The sparse decoding and functional identification algorithms presented here apply to circuits build around a wide range of neuron models including integrate-and-fire neurons with random thresholds and biophysically realistic conductance-based models with intrinsic noise.
This paper is organized as follows. In Sect. 2, we first introduce the modeling of encoding of temporal stimuli with complex cells. We provide a detailed review of decoding of stimuli and the functional identification of complex cells and point out the current algorithmic limitations. In Sect. 3, we provide sparse decoding algorithms that achieve high accuracy and are algorithmically tractable. We then explicate the dual relationship between sparse functional identification and decoding and provide examples for the identification of low-rank temporal DSP kernels of complex cells. In Sect. 4, we extend sparse decoding methodology to spatio-temporal stimuli and functional identification of spatio-temporal complex cells. Using novel stimuli, we provide evaluation examples of the identification algorithms in the input space and compare them with other state-of-the-art methods. Finally, we conclude in Sect. 5 and suggest how the approach advanced in this paper can be applied beyond complex cells.
2 Neural Circuits with Complex Cells: Encoding, Decoding, and Functional Identification
In this section, we model the encoding of temporal stimuli by a neural circuit consisting of neurons akin to complex cells. We start by modeling the space of temporal stimuli in Sect. 2.1. In Sect. 2.2, the model of encoding is formally described. In Sect. 2.3, we proceed to present a reconstruction algorithm for decoding temporal stimuli encoded by the neural circuit. A method for functional identification of neurons constituting the neural circuit is provided in Sect. 2.4. The reconstruction algorithm and the functional identification algorithm discussed in this section are based on [18].
2.1 Modeling Temporal Stimuli
We model the temporal varying stimuli \(u_{1}=u_{1}(t)\), \(t \in \mathbb{D}\), as real-valued elements of the space of trigonometric polynomials [15]. The choice of the space of the trigonometric polynomials has, as we will see, substantial computational advantages.
Definition 1
The space of trigonometric polynomials \({\mathcal {H}}_{1}\) is the Hilbert space of complex-valued functions
over the domain \(\mathbb{D} = [0, S_{t}]\), where
and \(c_{l_{t}}\), \(l_{t}=-L_{t},\ldots,L_{t}\), are the coefficients of \(u_{1}\) in \({\mathcal {H}}_{1}\). Here \(\varOmega_{t}\) denotes the bandwidth, and \(L_{t}\) is the order of the space. Stimuli \(u_{1}\in {\mathcal {H}}_{1}\) are extended to be periodic over \({\mathbb {R}}\) with period \(S_{t} = 2\pi L_{t}\)/\(\varOmega_{t}\).
We denote the dimension of \({\mathcal {H}}_{1}\) by \(\operatorname{dim}({\mathcal {H}}_{1})\), and \(\operatorname{dim}({\mathcal {H}}_{1}) = 2L_{t}+1\).
Definition 2
The tensor product space \({\mathcal {H}}_{2} = {\mathcal {H}}_{1} \otimes {\mathcal {H}}_{1}\) is the Hilbert space of complex-valued functions
over the domain \(\mathbb{D}^{2} = [0, S_{t}] \times [0, S_{t}]\), where \(d_{l_{t_{1}} l_{t_{2}}}\), \(l_{t_{1}} l_{t_{2}} \in \mathbb{D}^{2}\), are the coefficients of \(u_{2}\) in \({\mathcal {H}}_{2}\).
Note that \(\operatorname{dim}({\mathcal {H}}_{2}) = \operatorname{dim}({\mathcal {H}}_{1})^{2}\).
2.2 Encoding of Temporal Stimuli by a Population of Complex Cells
We consider a neural circuit consisting of M neurons as shown in Fig. 2A. For the ith neuron, input stimulus \(u_{1}(t)\) (\(u_{1}\in {\mathcal {H}}_{1}\)) is first processed by two linear filters with impulse responses \(g^{i1}_{1}(t)\) and \(g^{i2}_{1}(t)\), the outputs of which are individually squared and then summed together. These processing elements are integral part of the DSP of neuron i [18, 19]. The output of the DSP i, denoted by \(v^{i}(t)\), is then fed into the biological spike generator (BSG) of neuron i. The BSG i encodes the output of DSP i into the spike train \((t^{i} _{k})_{k\in \mathbb{I}^{i}}\). Here \(\mathbb{I}^{i}\) is the spike train index set of neuron i. We notice the similarity between the overall structure of neural circuits in Figs. 2A and 1. In what follows, we refer to the neurons in the neural circuit in Fig. 2A as complex cells.
The encoding of temporal stimuli by a neural circuit modeling an ensemble of complex cells. (A) The ith neuron in the model processes the input \(u_{1}(t)\) by two parallel linear filters with impulse responses \(g^{i1}_{1}(t)\) and \(g^{i2}_{1}(t)\), respectively, followed by squaring. The outputs are summed and then fed into a spike generator. (B) An equivalent representation of the encoding circuit in which the DSPs are represented as second-order Volterra kernels
The output of the DSP of the ith neuron in Fig. 2A amounts to
for all \(i=1,2,\ldots ,M\).
With
(3) can be rewritten as
where \(h^{i}_{2}(t_{1};t_{2})\) is interpreted as a second-order Volterra kernel [25]. We assume that \(h_{2}^{i}(t_{1};t _{2})\) is real, bounded-input bounded-output (BIBO) stable, causal, and of finite memory. The I/O of the neural circuit shown in Fig. 2A can be equivalently outlined as in Fig. 2B, in which each neuron processes the input \(u_{1}(t)\) nonlinearly by a second-order kernel \(h^{i}_{2}(t_{1};t _{2})\) followed by a BSG.
Remark 1
Note that the BSG models the spike generation mechanism of the axon hillock of a biological neuron, whereas the DSP is an equivalent model of processing of the stimuli by a sophisticated neural network that proceeds the spike generation. Therefore, stimulus processing and the spike generation mechanism are naturally separated in the neuron model considered here.
For simplicity, we first formulate the spike generation mechanism of the encoder as an ideal integrate-and-fire (IAF) (point) neuron (see, e.g., [17]). The integration constant, bias, and threshold of the IAF neuron \(i=1,2,\ldots ,M\) are denoted by \(\kappa^{i}\), \(b^{i}\), and \(\delta^{i}\), respectively. The mapping of the input amplitude waveform \(v^{i}(t)\) into the time sequence \((t^{i}_{k})_{k\in \mathbb{I}^{i} }\) is called the t-transform [15]. For the ith neuron, the t-transform is given by [15, 16]
Lemma 1
The encoding of the temporal stimulus \(u_{1}\in {\mathcal {H}}_{1}\) into the spike train sequence \((t_{k}^{i})\), \(k\in \mathbb{I}^{i}\), \(i=1,2,\ldots,M\), by a neural circuit with complex cells is given in functional form by
where M is the total number of neurons, \(n_{i}+1\) is the number of spikes generated by neuron i, and \(\mathcal{T}^{i}_{k}: {\mathcal {H}}_{2} \rightarrow {\mathbb {R}}\) are bounded linear functionals defined by
with \(u_{2}(t_{1};t_{2}) = u_{1}(t_{1})u_{1}(t_{2})\). Finally, \(q^{i}_{k} = \kappa^{i}\delta^{i} - b^{i} (t^{i}_{k+1}-t^{i}_{k})\).
Proof
Relationship (7) follows by replacing the functional form of \(v^{i}(t)\) given in (5) in equation (6). □
Remark 2
The function \(u_{2}(t_{1},t_{2})=u_{1}(t_{1})\cdot u_{1}(t_{2})\) can be interpreted as a nonlinear map of the stimulus \(u_{1}\) into \(u_{2}\) defined in a higher-dimensional space. The operation performed by the second-order Volterra kernel on \(u_{2}\) in (8) is linear. Thus, (7) shows that the encoding of temporal stimuli can be viewed as generalized sampling [18].
The above formalism for encoding stimuli with complex cells can be extended in several ways. First, conductance-based BSGs, such as the Hodgkin–Huxley and Morris–Lecar neuron models, and Izhikevich point neuron models, can be employed [26–29]. The encoding can be similarly formulated as generalized sampling [16]. Second, to capture the stochastic nature of spiking neurons, intrinsic noise can be added into the BSG models. For example, an IAF neuron with random thresholds can be used [15, 30]. It is also natural to consider intrinsic noise in the conductance-based BSGs [19]. For both models, it has been shown that the encoding of stimuli can be viewed as generalized sampling with noisy measurements [15, 19], that is, the t-transform is of the form
where \(\mathcal{T}^{i}_{k}\) are bounded linear functionals defined according to the neuron model of choice, and \(\varepsilon^{i}_{k}\) represents random noise in the measurements.
In what follows, we will mainly focus on encoding circuits consisting of complex cells whose spiking mechanism is modeled by a deterministic IAF neuron. The results obtained can be extended to the above two cases, and we will provide examples for both of these.
2.3 Decoding of Temporal Stimuli Encoded by a Population of Complex Cells
Assuming that the spike times \((t_{k}^{i}), k\in \mathbb{I}^{i}\), \(i=1,2,\ldots,M\) , are known, by Lemma 1 the neural circuit with complex cells encodes the stimulus via a set of linear functionals acting on \(u_{2}\) (see equation (7)). Thus, the reconstruction of \(u_{2}\) can in principle be obtained by inverting the set of linear equations (7) [18].
Theorem 1
The coefficients of \(u_{2}\in {\mathcal {H}}_{2}\) in (2) satisfy the following system of linear equations:
with \([ \mathbf{q}^{i} ] _{k} = q^{i}_{k}, [ \mathbf{d} ] _{l_{t_{1}}l_{t_{2}}} = d_{l_{t_{1}}l_{t_{2}}} \), and
This result can be obtained by plugging (2) into (7). We refer readers to Theorem 1 in [18] for a detailed proof.
We formulate the reconstruction of \(u_{2}\) as the following optimization problem:
Algorithm 1
The solution to (11) is given by
where \(\hat{\mathbf{d}} = [\hat{d}_{{-L_{t}},{-L_{t}}},\ldots , \hat{d}_{{-L_{t}},{L_{t}}}, \ldots , \ldots , \hat{d}_{{L_{t}},{-L _{t}}}, \ldots , \hat{d}_{{L_{t}},{L_{t}}}]^{T}\) is obtained by
with † denoting the pseudoinverse operator.
We note that a necessary condition for perfect recovery is that the total number of spikes exceeds \(\operatorname{dim}({\mathcal {H}}_{1})(\operatorname{dim}({\mathcal {H}}_{1})+1)/2+M\) [19]. Therefore, the complexity of the decoding algorithm is of order \(\operatorname{dim}({\mathcal {H}}_{1})^{2}\).
Following [18, 19], the decoding algorithm is called a Volterra time decoding machine (Volterra TDM).
2.4 Functional Identification of DSPs of Complex Cells
In this section, we formulate the functional identification of a single complex cell in the neural circuit described in Fig. 2A. We perform M experimental trials. In trial i, \(i=1,\ldots ,M\), we present a controlled stimulus \(u^{i}_{1}(t)\) to the cell and observe the spike times \((t^{i}_{k})_{k \in \mathbb{I}^{i}}\). We assume that the cell has a DSP of the form \(h_{2}(t_{1};t_{2}) = g^{1}_{1}(t_{1})g^{1}_{1}(t_{2}) + g^{2}_{1}(t _{1})g^{2}_{1}(t_{2})\) and an integrate-and-fire BSG with integration constant, bias, and threshold denoted by \(\kappa , b\), and δ, respectively. The objective is to functionally identify \(h_{2}\) from the knowledge of \(u_{1}^{i}\) and the observed spikes \((t^{i}_{k})_{k\in \mathbb{I}^{i}}\), \(i=1,\ldots ,M\). This is a standard practice in neurophysiology for inferring the functional form of a component of a sensory system [1].
Definition 3
Let \(h_{p} \in \mathbb{L}^{1}(\mathbb{D}^{p})\), \(p=1,2\), where \(\mathbb{L}^{1}\) denotes the space of Lebesgue-integrable functions. The operator \(\mathcal{P}_{1}: \mathbb{L}_{1}(\mathbb{D}) \rightarrow {\mathcal {H}}_{1}\) given by
is called the projection operator from \(\mathbb{L}^{1}(\mathbb{D})\) to \({\mathcal {H}}_{1}\). Similarly, the operator \(\mathcal{P}_{2}: \mathbb{L} _{1}(\mathbb{D}^{2}) \rightarrow {\mathcal {H}}_{2}\) given by
is called the projection operator from \(\mathbb{L}^{1}(\mathbb{D}^{2})\) to \({\mathcal {H}}_{2}\).
Note, that \(\mathcal{P}_{1} u_{1}^{i} = u_{1}^{i}\) for \(u_{1}^{i} \in {\mathcal {H}}_{1}\). Moreover, for \(u_{2}^{i}(t_{1},t_{2}) = u_{1}^{i}(t _{1})u_{1}^{i}(t_{2})\), \(\mathcal{P}_{2} u_{2}^{i} = u_{2}^{i}\).
Lemma 2
With M trials of stimuli \(u^{i}_{2}(t_{1};t_{2}) = u^{i}_{1}(t_{1})u ^{i}_{1}(t_{2})\), \(i=1,\ldots ,M\), presented to a complex cell having DSP \(h_{2}(t_{1},t_{2})\), we have
where
and
Proof
See Appendix 1. □
Remark 3
The similarity between equations (7) and (72) suggests that the identification of a complex cell DSP by presenting multiple stimuli is dual to decoding a stimulus encoded by a population of complex cells. This duality is schematically shown in Fig. 3.
Duality between decoding and identification. (A) The stimulus \(u_{1}(t)\) is encoded with a population of complex cells. (B) The projection of the second-order Volterra DSP of an arbitrary neuron on the input space generates the same spike trains if the impulse responses of the DSPs are the same as the input stimuli in repeated trials
Theorem 2
Let \(\mathcal{P}_{2}h_{2} \in {\mathcal {H}}_{2}\) be of the form
Then, \([ \mathbf{h} ] _{l_{t_{1}}l_{t_{2}}} = h_{l_{t_{1}}l _{t_{2}}}\) with \(l_{t_{1}} = -L_{t},\ldots ,L_{t}\), \(l_{t_{2}} = -L_{t}, \ldots ,L_{t}\), satisfies the following system of linear equations:
where \(\boldsymbol{\varTheta} = [ (\boldsymbol{\varTheta}^{1})^{T} , \ldots , (\boldsymbol{\varTheta}^{M})^{T} ]^{T}\) and \(\mathbf{q} = [ (\mathbf{q}^{1})^{T} ,\ldots, ( \mathbf{q}^{M})^{T} ]^{T} \) with \([ \mathbf{q}^{i} ] _{k} = q ^{i}_{k}\) and
Thus, to identify \(\mathcal{P}_{2} h_{2}\), we can follow the same methodology as in Algorithm 1 and formulate the functional identification of \(\mathcal{P}_{2} h_{2}\) as
For a detailed proof, we refer the reader to the proof of Theorem 1 in [18].
Algorithm 2
The solution to (22) is given by
where \(\hat{\mathbf{h}} = [\hat{h}_{{-L_{t}},{-L_{t}}},\ldots , \hat{h}_{{-L_{t}},{L_{t}}}, \ldots , \ldots , \hat{h}_{{L_{t}},{-L _{t}}}, \ldots , \hat{h}_{{L_{t}},{L_{t}}}]^{T}\) is obtained by
The methodology described in Algorithm 2 to identify the nonlinear DSP is called the Volterra channel identification machine (Volterra CIM) [18, 19].
Remark 4
Formulating the decoding and identification problems in the tensor product space \({\mathcal {H}}_{2}\) allows the identification of nonlinear processing by solving a set of linear equations. However, due to the increased dimensionality, the algorithm requires for decoding \(\mathcal{O} (\operatorname{dim} ( {\mathcal {H}}_{1} ) ^{2} ) \) measurements.
3 Low-Rank Decoding and Functional Identification
As shown in Sect. 2.3, a reconstruction of the signal \(u_{2}\) is in principle possible by solving a set of linear equations. However, the complexity of the algorithm is prohibitive. We show in this section that an efficient decoding algorithm can be constructed that exploits the structure of encoding circuits with complex cells. Based on the duality between decoding and functional identification, functional identification algorithms that exploit the structure of the DSP of complex cells are presented. These algorithms largely reduce the complexity of decoding of temporal stimuli encoded by an ensemble of complex cells and that of functional identification of their DSPs.
3.1 Low-Rank Decoding of Stimuli
3.1.1 Exploiting the Structure of Complex Cell Encoding
In Theorem 1, we introduced a vector notation for the coefficients of \(u_{2}\),
We introduce here the matrix notation of the coefficients for \(u_{2} \in {\mathcal {H}}_{2}\):
We notice the following: (i) since \(u_{2}\) is assumed to be real, \(\overline{d_{l_{t_{1}},l_{t_{2}}}} = d_{-l_{t_{1}},-l_{t_{2}}}\), and (ii) since \(u_{2}(t_{1};t_{2}) = u_{1}(t_{1})u_{1}(t_{2}) = u_{1}(t _{2})u_{1}(t_{1}) = u_{2}(t_{2};t_{1})\), we have \(d_{l_{t_{1}},l_{t _{2}}} = d_{l_{t_{2}},l_{t_{1}}} \). These properties imply that D is a Hermitian matrix. Moreover, we note that \(u_{2}\) in (7) is the ‘outer’ product of the stimuli \(u_{1}\), that is,
where
are the coefficients of the basis functions of \(u_{1}\). Therefore, D is a rank-1 Hermitian positive semidefinite matrix. This property will be exploited in stimulus decoding (reconstruction).
Theorem 3
Encoding the stimulus \(u_{1}\in {\mathcal {H}}_{1}\) with the neural circuit with complex cells given in (6) into the spike train sequence \((t_{k}^{i})\), \(k\in \mathbb{I}^{i}\), \(i=1,2,\ldots,M\), satisfies the set of equations
where \(\operatorname{Tr}(\cdot )\) is the trace operator, D is the rank-1 positive semidefinite Hermitian matrix \(\mathbf{D} = \mathbf{c}\mathbf{c}^{H}\), \(q^{i}_{k}=\kappa^{i}\delta^{i} - b^{i} (t ^{i}_{k+1}-t^{i}_{k})\) and \((\boldsymbol{\varPhi}^{i}_{k})\), \(k \in \mathbb{I}^{i}\), \(i = 1,\ldots , M\), are Hermitian matrices with entries in the \(( l_{t_{2}}+L_{t}+1 ) \)th row and \(( l _{t_{1}}+L_{t}+1 ) \)th column given by
Proof
Plugging in the general form of \(u_{2}\) in (2) into (8), the left-hand side of (7) amounts to
It is easy to verify that this expression can be written as
Finally, we note that since \(h^{i}_{2}\), \(i=1,\ldots ,M\), are assumed to be real valued, \((\boldsymbol{\varPhi}^{i}_{k})\), \(k\in\mathbb{I}^{i}\), \(i=1,\ldots ,M\), are Hermitian. □
Remark 5
We note that equation (29) in Theorem 3 and equation (10) in Theorem 1 are the same. These equations represent the t-transform of a complex cell in (rank-1) matrix and vector form, respectively. The (rank-1) matrix representation is made possible by the equality \(u_{2}(t_{1}; t_{2}) = u_{1}(t_{1})u_{1}(t_{2})\).
3.1.2 Reconstruction Algorithms
Solving the systems of equations (29) and (10) requires at least \(\operatorname{dim}({\mathcal {H}}_{1})(\operatorname{dim}({\mathcal {H}}_{1})+1)/2+M\) measurements. Consequently, practical solutions become quickly intractable. Fortunately, the encoded stimulus is of the form \(u_{2}(t_{1};t_{2}) = u_{1}(t_{1})u_{2}(t_{2})\). This guarantees that D is a rank-1 matrix, and thus the reconstructed stimulus belongs to a small subset of \({\mathcal {H}}_{2}\). Therefore, we can cast the problem of reconstructing temporal stimuli encoded by neural circuits with complex cells as a feasibility problem, that is, finding all positive semidefinite Hermitian matrices that satisfy (29) and have rank 1. As we will demonstrate, the latter condition can be satisfied with substantially fewer measurements.
Recently, there is an increasing interest in low-rank optimizations such as matrix factorization, matrix completion, and rank minimization, both from a theoretical and from a practical standpoint [24, 31, 32]. For example, rank minimization has recently been applied to phase retrieval problems [22].
Our objective here is to find rank-1, positive semidefinite matrices that satisfy the t-transform (29). Since there always exists at least one rank-1 solution, this is equivalent to the following optimization problem [33]:
The rank minimization problem in (32) is NP-hard. A well-known heuristic is to relax problem (32) to a trace minimization problem [32], that is, instead of solving (32), we reconstruct \(u_{2}\) using Algorithm 3.
Algorithm 3
The reconstruction of \(u_{2}\) from the spike times generated by the neural circuit with complex cells is given by
where
is the solution to the semidefinite programming (SDP) problem
When the matrices \((\boldsymbol{\varPhi}^{i}_{k})\), \(k\in\mathbb{I}^{i}\), \(i = 1,\ldots , M\), satisfy the rank restricted isometry property [24], the trace norm relaxation converges to the true solution of (32), provided that the number of measurements is of order \(\mathcal{O} (\operatorname{dim}(\mathcal{H}_{1})\log (\operatorname{dim }( \mathcal{H}_{1} ) ) )\) [24]. These results suggest that stimuli encoded by complex cells can be decoded with a significantly lower number of measurements than that required by Algorithm 1. To investigate this further, we applied the algorithm to decode a large number of stimuli encoded by complex cells while varying the number of measurements (spikes) used by the decoding algorithm. The results show that the number of spikes required to faithfully represent a stimulus by a neural circuits consisting of complex cells is quasilinearly rather than quadratically proportional to the dimension of the stimulus space. These results are presented in the subsequent sections.
The matrix of weights \(\hat{\mathbf{D}}\) obtained from the algorithm can be further decomposed to extract the signal \(u_{1}\) (up to a sign) as follows.
(i) Perform the eigen-decomposition of \(\hat{\mathbf{D}}\). Denote the largest eigenvalue by λ and the corresponding eigenvector by v. If (35) does not exactly return a rank-1 matrix, then choose the largest eigenvalue and disregard the rest. Let \(\mathbf{w} = \sqrt{\lambda }\mathbf{v}\).
(ii) The reconstructed stimulus \(\hat{u}_{1}\) is given by (up to a sign)
where
with \(\hat{\mathbf{c}}= [ \hat{c}_{ -L_{t}}, \ldots , \hat{c} _{L_{t}} ] ^{T}\), and \([\mathbf{w}]_{L_{t}+1}\) is the \((L_{t}+1)\)th entry of w, which corresponds to the coefficient \(\hat{c}_{0}\).
If \(\hat{\mathbf{D}}\) is rank 1, step (i) decomposes \(\hat{\mathbf{D}}\) as an ‘outer’ product of a vector and itself (see (27)). The resulting vector w differs from the actual coefficient vector of the stimulus \(u_{1}\) by up to a complex-valued scaling factor. This factor is corrected in step (ii). Since \(u_{1}\) is assumed to be real valued, the ‘DC’ component must be real valued. Therefore, we rotate w to remove any imaginary part. In practice, this also ensures \(\hat{c}_{-l_{t}} = \overline{ \hat{c}_{l_{t}}}\).
Remark 6
Note that we can reconstruct \(u_{1}(t)\) up to a sign, since \(\mathbf{D} = \mathbf{c}\mathbf{c}^{H}\) and \(\mathbf{D} = (- \mathbf{c})(-\mathbf{c}^{H})\) are equally possible. For clarity, in all examples given in this paper, the sign of the recovered stimulus was matched to the original stimulus.
Remark 7
Note that (32) can be alternatively solved by replacing the objective with the log-det heuristic [32], that is,
where \(\lambda > 0\) is a small regularization constant. This optimization may further reduce the rank of \(\hat{\mathbf{D}}\) when Algorithm 3 fails to progress to an exact rank-1 solution [32].
Remark 8
When intrinsic noise is present in the BSG, the encoding of stimuli can be formulated as generalized sampling with noisy measurements. We modify (35) as follows:
where λ can be chosen based on the noise estimate. Here, the recovered D may no longer be rank-1. The largest rank-1 component is used for the reconstruction of stimuli.
Although the SDP in (35) provides an elegant way for relaxing the rank minimization problem, it is limited in practice by the need of large amounts of computer memory for numerical calculations. The optimization problem (32) can also be solved using an alternating minimization scheme [34] as further outlined in Algorithm 4. The alternating minimization approach is more tractable when the dimension of the space is very large. Algorithm 4 uses an initialization step (step 1) that provides an initial iterate whose distance from D is bounded. It then alternately solves for the left and right singular vectors of the rank-1 matrix D while keeping the other one fixed (step 2). The resulting subproblems admit a straightforward least squares solution, which can be much more efficiently solved than the SDP in Algorithm 3. Moreover, the algorithm is amenable to parallel computation using general purpose graphics processing units (GPGPUs). The latter property makes it even more attractive when the dimension of the stimulus space is large.
Algorithm 4
-
1.
Initialize \(\hat{\mathbf{c}}_{1}\) and \(\hat{\mathbf{c}}_{2}\) to top left and right singular vectors, respectively, of \(\sum_{i=1}^{M} \sum_{k\in \mathbb{I}^{i}} q_{k}^{i} {\boldsymbol{\varPhi} _{k}^{i}}\) normalized to \(\sqrt{\frac{1}{\sigma }\sum_{i=1}^{M}\sum_{k\in \mathbb{I}^{i}} (q_{k}^{i})^{2}}\), where σ is the top singular value of \(\sum_{i=1}^{M} \sum_{k\in \mathbb{I}^{i}} q_{k}^{i}{\boldsymbol{\varPhi} _{k}^{i}}\).
-
2.
Solve alternately the following two minimization problems:
-
(a)
solve for \(\hat{\mathbf{c}}_{1}\) by fixing \(\hat{\mathbf{c}}_{2}\)
$$ \hat{\mathbf{c}}_{1} = \underset{\mathbf{c}_{1}}{ \operatorname{arg\,min}}\sum _{i=1}^{M} \sum_{k\in \mathbb{I}^{i}} \bigl(\operatorname{Tr} \bigl( \boldsymbol{\varPhi}^{i}_{k} \mathbf{c}_{1} \hat{ \mathbf{c}}_{2}^{H} \bigr) - q^{i}_{k} \bigr)^{2}; $$(39) -
(b)
solve for \(\hat{\mathbf{c}}_{2}\) by fixing \(\hat{\mathbf{c}}_{1}\)
$$ \hat{\mathbf{c}}_{2} = \underset{\mathbf{c}_{2}}{ \operatorname{arg\,min}} \sum _{i=1}^{M} \sum_{k\in \mathbb{I}^{i}} \bigl(\operatorname{Tr} \bigl(\boldsymbol{\varPhi}^{i}_{k} \hat{\mathbf{c}}_{1}\mathbf{c}_{2}^{H} \bigr) - q^{i}_{k} \bigr)^{2} $$(40)
until \(\sum_{i=1}^{M} \sum_{\in \mathbb{I}^{i}} (\operatorname{Tr}(\boldsymbol{\varPhi}^{i}_{k} \hat{\mathbf{c}}_{1} \hat{\mathbf{c}}_{2}^{H} ) - q ^{i}_{k})^{2} \leq \epsilon \), where \(\epsilon >0\) is the error tolerance level;
-
(a)
-
3.
compute \(\hat{\mathbf{D}} = \hat{\mathbf{c}}_{1} \hat{\mathbf{c}}_{2} ^{H}\).
The matrix \(\hat{\mathbf{D}}\) approximates the coefficients of \(u_{2} \in {\mathcal {H}}_{2}\) as in (33). We can reconstruct \(u_{1}\) using the (appropriately scaled) top eigenvector of \(\frac{1}{2} (\hat{\mathbf{D}} + \hat{\mathbf{D}}^{H})\). This can be obtained directly from \(\hat{\mathbf{c}}_{1}\) and \(\hat{\mathbf{c}} _{2}\) as follows. Let
and
The reconstructed stimulus \(\hat{u}_{1}\) is given by (up to a sign)
with \(\hat{\mathbf{c}}\) given by equation (36).
We point out that we made the decoding manageable by exploiting the structure of \(u_{2}\). Therefore, no constraint is imposed on the form that \(h^{i}(t_{1};t_{2})\) takes, and the decoding algorithms can be applied to neural circuits with neurons whose DSPs take the form of any second-order Volterra kernel.
3.1.3 Example: Decoding Temporal Stimuli Encoded with a Population of Complex Cells
Here, the neural circuit we consider consists of 19 complex cells. The DSPs of the complex cells are of the form
where \(g^{i1}_{1}(t)\) and \(g^{i2}_{1}(t)\) are quadrature pairs of temporal Gabor filters, and \(i=1,\ldots ,19\). The Gabor filters are constructed using a dyadic grid of dilations and translations of the mother wavelets. The mother functions are given by
and
The ensemble of Gabor filters spans the frequency range of the input space. The BSG of the complex cells are point IAF neurons with bias \(b^{i} = 2\) and integration constant \(\kappa^{i} = 1\), \(i = 1,\ldots ,M\). These two parameters are kept the same for all stimuli. Different threshold values are chosen for the IAF neurons to vary the total number of spikes, which can be used to evaluate how many measurements are required for perfectly reconstructing the input stimuli.
The domain of the input space \({\mathcal {H}}_{1}\) is \(\mathbb{D} = [0,1]\mbox{ [sec]}\), and \(L_{t} = 20\), \(\varOmega_{t} = 20\cdot 2\pi \) [rad/sec]. Thus, we have \(\operatorname{dim}({\mathcal {H}}_{1}) = 41\). The stimuli were generated by randomly choosing their basis coefficients from an i.i.d. Gaussian distribution.
We tested the encoding and subsequent decoding of 6570 stimuli. The total number of spikes produced for each stimulus ranged from 20 to 220. Reconstructions of the stimuli were performed using Algorithm 3, and the SDPs were solved using SDPT3 [35].
We show the SNR of all reconstructions in the scatter plot of Fig. 4A. Here solid dots represent exact rank 1 solutions (the largest eigenvalue is at least 100 times larger than the sum of the rest of the eigenvalues), and crosses indicate that the trace minimization found a higher rank solution that has a smaller trace. The percentage of exact rank 1 solutions is shown in Fig. 4B. A relatively sharp transition from very low probability of recovery to very high rate of perfect reconstruction can be seen, similar to phase transition phenomena in other sparse recovery algorithms [36]. It can also be seen that the number of measurements that are needed for perfect recovery is substantially lower than the 861 spikes required by decoding based on Theorem 1.
3.1.4 Example: IAF Spike Generators with Random Thresholds
Next, for the circuit presented in Sect. 3.1.3, we assumed the IAF neurons to have random thresholds [15]. More specifically, during the interval \([t_{k}^{i}, t_{k+1}^{i})\), the threshold of the ith neuron was \(\delta_{k}^{i}\), where \(\delta_{k} ^{i}\) are i.i.d. Gaussian random variables with mean δ and variance \(\sigma^{2}\). Since the thresholds are random, the spike times generated by the circuit are no longer deterministic.
We chose five different values for δ and four different values for σ. For each \((\delta , \sigma )\) pair, we presented 50 stimuli to the circuit and subsequently decoded these by solving (38). We found that the SNR of the recovery degrades linearly with \(\log (\sigma )\). Figure 5 depicts the average SNR of recovery as a function of σ for various δ. Note that a lower δ corresponds to a higher number of spikes; the inset in the figure provides the average number of spikes produced by the circuit for each δ. The results demonstrate that the low-rank decoding algorithm is stable to noise and applicable to non-deterministic encoding paradigms.
Robust reconstruction of temporal stimuli encoded by complex cells. The BSGs of the complex cells are modeled as ideal IAF neurons with random thresholds. The thresholds of the IAF neurons were independently drawn from \(\mathcal{N}(\delta , \sigma^{2})\). The inset shows the average number of spikes generated by the entire circuit for each choice of the threshold δ
3.1.5 Example: Hodgkin–Huxley Neurons as Biophysical Spike Generators
Here, we evaluate the decoding of stimuli encoded by complex cells with BSGs modeled as Hodgkin–Huxley neurons. The space of the input stimuli and the structure of the DSPs of the neurons are the same as in Sects. 3.1.3 and 3.1.4. However, as the Hodgkin–Huxley point neurons generate significantly more spikes than the IAF neurons considered in the previous examples, we only use here a total of five neurons. Again, the DSPs of these five neurons span the frequency range of the input space. We presented the circuit with 1000 stimuli and subsequently performed their sparse decoding. The average number of spikes generated by the circuit across all stimuli was 215. Figure 6 shows the histogram of the SNRs of the decoded stimuli, with the insets depicting the original and decoded waveforms of a few representative stimuli. These results demonstrate that the low-rank decoding framework presented in this section can also be applied to stimuli encoded with a wide range of spike generators, including the biophysically realistic conductance-based models.
3.1.6 Example: Hodgkin–Huxley Neurons with Stochastic Ion Channels
Finally, we again consider the same circuit as in Sect. 3.1.5. However, intrinsic ion channel noise is added to the Hodgkin–Huxley point neurons. For a detailed mathematical treatment of Hodgkin–Huxley point neuron with stochastic ion channels, we refer the reader to [19]. Here, independent Brownian motion processes respectively drive each of the gating variables of the Hodgkin–Huxley neuron, that is, n (activation of potassium channels), m (activation of sodium channels), and h (inactivation of sodium channels). The variances of the Brownian motion processes denoted by \(\sigma^{2}_{1}\), \(\sigma^{2}_{2}\), and \(\sigma^{2}_{3}\) were respectively chosen to be \(10\sigma_{1} = \sigma_{2} = \sigma_{3} = \sigma \). We presented 50 stimuli to the circuit and repeated the encoding for eight choices of σ. For each stimulus presentation, the spike times generated by the circuit were then utilized to recover the stimulus using the sparse reconstruction algorithm. The results are presented in Fig. 7. The points in the figure correspond to the average SNR of the 50 reconstructions for each value of the chosen σ, and the shaded area represents their standard deviation. As can be seen from the results, the low-rank decoding framework is robust to intrinsic noise in conductance-based spiking models up to a certain noise level.
Robust reconstruction of stimuli encoded by complex cells with stochastic ion channels. The BSGs are modeled as Hodgkin–Huxley point neurons with stochastic ion channels. For each noise level σ, we set \(10\sigma_{1} = \sigma_{2} = \sigma_{3} = \sigma\) where \(\sigma^{2}_{i}\), \(i=1,2,3\), are the variances of the independent Brownian motion process driving the gating variables n, m, and h, respectively. A larger σ represents a higher intrinsic noise strength
3.2 Low-Rank Functional Identification of Complex Cells
3.2.1 Duality Between Low-Rank Functional Identification and Decoding
As discussed in Sect. 2.4, the complexity of identification using Algorithm 2 can be prohibitively high. Often, a very large number of stimulus presentation trials are required to fully identify the DSP of biological neurons. To mitigate this, we consider exploiting the structure of the DSP of complex cells as motivated by the tractability of the low rank decoding algorithm.
We consider a single complex cell whose DSP is of the form
where \(g^{n}_{1}(t)\), \(n=1,\ldots ,N\), are impulse responses of linear filters, and \(N \ll \operatorname{dim}({\mathcal {H}}_{1})\). We note that a complex cell described in Fig. 2A is a particular case of (46) with \(N=2\). A natural question here is whether, by assuming such a structure, the functional identification of complex cell DSPs is tractable.
Remark 9
It is well known that a second-order Volterra kernel has infinitely many equivalent forms but has a unique symmetric form [25].
We have shown that the low-rank structure of \(u_{2}\) leads to a reduction of complexity in the reconstruction of temporal stimuli encoded by an ensemble of complex cells. We also described the duality between decoding and functional identification. If we can show that the functional identification formalism for complex cell DSP is the dual to decoding of low-rank stimuli, then it is straightforward to provide tractable algorithms for identifying \(h_{2}(t_{1};t_{2})\) of the form (46).
Since \(\mathcal{P}_{1}g^{n}_{1}(t) \in {\mathcal {H}}_{1}, n=1,\ldots ,N\), there is a set of coefficients \((g^{n}_{l_{t}})\), \(l_{t} = -L_{t},\ldots,L _{t}\), \(n=1,2,\ldots,N\), such that
In what follows, we denote coefficients in vector form as
Similarly, we denote the coefficients of \(\mathcal{P}_{1}h_{2}(t_{1};t _{2})\) in (19) in matrix form as
Then
and thus H is a Hermitian positive semidefinite matrix with rank at most N.
Theorem 4
By presenting M trials of stimuli \(u^{i}_{2}(t_{1};t_{2}) = u^{i} _{1}(t_{1})u^{i}_{1}(t_{2}), i=1,\ldots ,M\), to a complex cell its coefficients satisfy the set of equations
where \(n_{i}+1\), \(i=1,\ldots ,M\), is the number of spikes generated by the complex cell in trial i, H is a Hermitian positive semidefinite matrix with \(\operatorname{rank}(\mathbf{H}) \leq N\) given by \(\mathbf{H} = \sum_{n=1}^{N} \mathbf{g}^{n}(\mathbf{g}^{n})^{H} \) with \(\mathbf{g}^{n}= [ g^{n}_{-L_{t}}, \ldots , g^{n}_{L_{t}} ] ^{T}\), \((\boldsymbol{\varPsi}^{i}_{k}), k\in \mathbb{I}^{i}, i = 1, \ldots , M\), are Hermitian matrices with entry at the \(( l_{t_{2}}+L _{t}+1 ) \)th row and \(( l_{t_{1}}+L_{t}+1 ) \)th column given by
Proof
From Lemma 2 we have
where
Equations (51) can be obtained following the steps of the proof of Theorem 3. □
Remark 10
As in Sect. 3.2, we note that the similarity in (51) and (29) indicates the duality between low-rank functional identification of complex cells and low-rank decoding of stimuli encoded by a population of complex cells. The duality is illustrated in Fig. 8.
Duality between low-rank decoding and low-rank functional identification. Duality between low-rank decoding of a stimulus encoded by a population of complex cells and low-rank functional identification of complex cells. (A) The low-rank decoding algorithm assumes that the encoded stimulus can be written as \(u_{2}(t_{1};t_{2})=u_{1}(t_{1})u _{1}(t_{2})\). (B) Functional identification of a complex cell assumes that the structure of the DSP is low rank, that is, \(\mathcal{P}_{2}h _{2}(t_{1};t_{2}) = \sum_{n=1}^{N} \mathcal{P}_{1}g^{n}_{1}(t_{1}) \mathcal{P}_{1}g^{n}_{1}(t_{2})\)
3.2.2 Functional Identification Algorithms
To functionally identify the complex cell DSP, we again employ a rank minimization problem
We relax the problem to a trace minimization problem similarly to the approach in the low-rank reconstruction algorithm. Here, the optimal solution will have rank N, however. Algorithm 5 is considered for low-rank functional identification of complex cells.
Algorithm 5
The functional identification of complex cell DSP from the spike times generated by the neuron in M stimulus trials is given by
where
is the solution to the SDP problem
Based on the results for decoding using Algorithm 3 and provided that \(h_{2}\) is of the form (46), we intuitively inferred that the number of measurements for the perfect identification of \(\mathcal{P}_{2}h_{2}\) is much smaller than \(\mathcal{O} (\operatorname{dim}(\mathcal{H}_{1})^{2} )\). We demonstrate that this is the case for a large number of identification examples in the subsequent sections.
This suggests that even if the dimension of the input space becomes large, the functional identification of the DSP of complex cells is still tractable. This result has critical implication for performing neurobiological experiments to functionally identify complex cells. First, it suggests that a much smaller number of stimulus trials is needed for perfect identification. Second, the total number of spikes/measurements that needs to be recorded can be significantly reduced. Both mean that the duration of experiment can be shortened.
Remark 11
Note that only the projection of the DSP \(h_{2}\) onto the space of input stimuli can be identified.
Remark 12
We can use the largest N eigenvalues and their respective eigenvectors of \(\hat{\mathbf{H}}\) to obtain the projection of individual linear filter components \(\widehat{\mathcal{P}_{1}g^{n}_{1}}\), \(n=1,\ldots ,N\). However, these components may not directly correspond to \(\mathcal{P}_{1}g^{n}_{1} \), \(n=1,\ldots ,N\), in that the original projections may not be ‘orthogonal’, whereas the eigenvalue decomposition imposes orthogonality.
As in Algorithm 4, when applied for solving the decoding problem, the rank minimization problem above can be solved using alternating minimization, as further described in Algorithm 6. Here, we solve for the top N left and right singular vectors of H alternately, where N is the rank of the second-order Volterra DSP. We note that the initialization step is akin to running an algorithm very similar to the spike-triggered covariance (STC) algorithm widely used in neuroscience [37–41]. The subsequent steps then improve upon this initial estimate.
Algorithm 6
-
1.
Initialize \(\hat{\mathbf{H}}_{1}\) and \(\hat{\mathbf{H}}_{2}\) to top N left and right singular vectors, respectively, of \(\sum_{i=1}^{M} \sum_{k=1}^{n_{i}} q_{k}^{i} {\boldsymbol{\varPsi} _{k}^{i}}\) with the nth singular vector normalized to \(\frac{1}{N}\times \sqrt{\frac{1}{\sigma_{n}}\sum_{i=1}^{M}\sum_{k=1}^{n_{i}} (q_{k}^{i})^{2}}\), where \(\sigma_{n}\) is the top nth singular value of \(\sum_{i=1}^{M}\sum_{k=1}^{n_{i}} q_{k}^{i} {\boldsymbol{\varPsi} _{k}^{i}}\).
-
2.
Solve the following two minimization problems:
-
(a)
solve for \(\hat{\mathbf{H}}_{1}\) by fixing \(\hat{\mathbf{H}}_{2}\)
$$ \hat{\mathbf{H}}_{1} = \underset{\mathbf{H}_{1} \in \mathbb{C}^{\operatorname{dim}( \mathcal{H}_{1}) \times N}}{ \operatorname{arg\,min}} \sum _{i=1}^{M} \sum_{k\in \mathbb{I}^{i}} \bigl(\operatorname{Tr} \bigl( \boldsymbol{\varPsi} ^{i}_{k} \mathbf{H}_{1} \hat{\mathbf{H}}_{2}^{H} \bigr) - q^{i}_{k} \bigr)^{2}; $$(59) -
(b)
solve for \(\hat{\mathbf{H}}_{2}\) by fixing \(\hat{\mathbf{H}}_{1}\)
$$ \hat{\mathbf{H}}_{2} = \underset{\mathbf{H}_{2} \in \mathbb{C}^{\operatorname{dim}( \mathcal{H}_{1}) \times N}}{ \operatorname{arg\,min}}\sum _{i=1}^{M} \sum_{k\in \mathbb{I}^{i}} \bigl(\operatorname{Tr} \bigl( \boldsymbol{\varPsi} ^{i}_{k} \hat{\mathbf{H}}_{1} \mathbf{H}_{2}^{H} \bigr) - q^{i}_{k} \bigr)^{2} $$(60)
until \(\sum_{i=1}^{M} \sum_{\in \mathbb{I}^{i}} (\operatorname{Tr}( \boldsymbol{\varPsi}^{i}_{k} \hat{\mathbf{H}}_{1} \hat{\mathbf{H}}_{2}^{H} ) - q ^{i}_{k})^{2} \leq \epsilon \), where \(\epsilon >0\) is the error tolerance level;
-
(a)
-
3.
compute \(\hat{\mathbf{H}} = \frac{1}{2} ( \hat{\mathbf{H}}_{1} \hat{\mathbf{H}}_{2}^{H} + \hat{\mathbf{H}}_{2} \hat{\mathbf{H}}_{1} ^{H} ) \).
3.2.3 Example: Identification of Complex Cell DSPs from Spike Times
In this example, we consider identifying a single complex cell having the following Volterra DSP:
where
In repeated trials, we presented to the complex cell 1-second long stimuli chosen from the input space. The domain of the input space \({\mathcal {H}}^{1}_{1}\) is \(\mathbb{D} = [0,1]\) (sec) and \(L_{t} = 20\), \(\varOmega_{t} = 20\cdot 2\pi \) (rad/sec), and thus \(\operatorname{dim}({\mathcal {H}}^{1} _{1}) = 41\). The stimuli were generated by independently choosing their basis coefficients from the same Gaussian distribution. We presented a total of 16,600 different stimuli in the repeated trials. We then randomly selected between 30–80 trial subsets such that the total number of spikes in each subset was between 60 and 160. We performed the identification process on each subset using Algorithm 5. The optimization problem was solved using SDPT3.
For each instantiation of the identification algorithm, we recorded whether the optimization process resulted in a rank-2 solution and also the SNR of the identified DSP with respect to the original one. For the purpose of demonstration, we binned these results based on number of spikes used into bins of width 10. The percentage of rank-2 solutions is shown in Fig. 9A as a function of number of measurements. The mean SNR is shown in Fig. 9B.
It can be seen from Fig. 9B that the identification algorithm presented here is able to recover the underlying DSP with exceptional accuracy using a reasonable and tractable number of measurements.
3.3 Evaluation of Functional Identification of a Neural Circuit of Complex Cells by Decoding
In Sect. 3.1, we have shown that the sparse decoding algorithm requires much less number of neurons and measurements (spikes) in the reconstruction of stimuli encoded by a neural circuit of complex cells. We have also demonstrated in Sect. 3.2 that the proposed sparse functional identification algorithm enables the identification of complex cells with a tractable number of measurements. Together, the two algorithms afford us tractable functional identification of an entire neural circuit of complex cells that is capable of fully representing stimuli information, in that (i) the size of the neural circuit is tractable and (ii) the requirement for functional identification is tractable.
Decoding of visual stimuli by identified linear filters has previously been considered in [42]. In [17], it was shown that the evaluation of functional identification of an entire neural circuit can be more intuitively performed in the input space by decoding the stimuli with identified circuit parameters. Here, we extend the previous results and apply such evaluation procedure on the sparse decoding and sparse functional identification algorithms. The procedure is described as follows. First, each complex cell is functionally identified using Algorithm 5 or Algorithm 6. Second, novel stimuli are presented to the neural circuit. Third, the spike trains observed are used to reconstruct the encoded novel stimuli by the sparse decoding algorithm, assuming that the circuit parameters take the identified values. Finally, SNR of the reconstruction can be obtained. A high SNR indicates a well-identified circuit, whereas a low number implies that the functional identification of the neural circuit is not of good quality. The latter can be caused by a lack of number of measurements used in functional identification or by a lack of complex cells in the neural circuit.
We performed the functional identification of all 19 complex cells in the neural circuit given in the example in Sect. 3.1.3. We first identified all complex cells by presenting to the neural circuit M temporal stimuli. We repeated the identification of the entire circuit using eight different values of M. We then presented to the same circuit (with the original DSPs as in Sect. 3.1.3) and 100 novel stimuli drawn from the input space and used the spike times generated by the neural circuit to decode the stimuli. In the decoding process, however, we assumed that the DSPs of the set of complex cells are as identified for all eight values of M. The mean reconstruction SNR of the 100 stimuli is shown in Fig. 10. As shown, the quality of reconstruction is low until enough trials were used in identification. When more than 19 trials were performed, perfect reconstruction of the entire neural circuit was achieved. The dimension of the stimulus space was 41, and the average number of spikes per neuron used for identification varied from 44 for 6 trials to 202 for 28 trials.
4 Low-Rank Decoding and Functional Identification of Complex Cells with Spatio-Temporal Stimuli
The framework introduced in Sect. 3 can be extended to the sparse decoding of spatio-temporal stimuli and the sparse identification of spatio-temporal DSPs of complex cells. Details of the extension to the spatio-temporal case are provided in Appendixes 2–4. In what follows, we present spatio-temporal examples of sparse decoding and identification.
4.1 Low-Rank Decoding of Spatio-Temporal Visual Stimuli
The stimuli \(u_{1}\) considered here have p spatial dimensions and a single temporal dimension, that is, \(u_{1} = u_{1}(x_{1},x_{2},\ldots ,x_{p}, t)\). For simplicity of notation, we use a compact vector notation and denote the spatial variables as \(\mathbf{x} = (x_{1},x _{2},\ldots ,x_{p})\). When \(p=2\), \(u_{1}\) is the usual 2D visual stimulus. The definition of the space of input stimuli is provided in Appendix 2.
The encoding of spatiotemporal stimuli by a population of complex cells and the sparse decoding of spatiotemporal stimuli are formally described in Appendix 3. Note that the output of the DSP of each neuron \(i=1,2,\ldots ,M\), can be expressed as
where
has low-rank [18].
In this section, we provide examples that demonstrate the tractability of sparse decoding of spatio-temporal stimuli encoded with complex cells using a small number of spikes.
4.1.1 Example: Decoding of 2D Spatio-Temporal Stimuli
We first present an example in which x is one-dimensional, that is, \(\mathbf{x}=x_{1}\). In this example, our main focus is to illustrate how the number of spikes affects the reconstruction of stimuli encoded by complex cells.
The neural circuit we consider here consists of 62 direction selective complex cells. The low-rank DSPs of the complex cells are of the form
where \(g^{i1}_{1}(\mathbf{x}, t)\) and \(g^{i2}_{1}(\mathbf{x}, t)\) are quadrature pairs of spatio-temporal Gabor filters, and \(i=1,\ldots ,M\). The Gabor filters are constructed from dilations and translations of the mother wavelets on a dyadic grid, where the mother functions are expressed as
and
The BSG of the complex cells are IAF neurons with bias \(b^{i} = 10\) and integration constant \(\kappa = 1\) for \(i = 1,\ldots ,M\). These two parameters are kept the same for all stimuli. Different threshold values are chosen for the IAF neurons to vary the total number of spikes in a larger range to evaluate how many measurements are required for a perfect reconstruction of input stimuli.
The domain of the input space \({\mathcal {H}}^{1}_{1}\) is \(\mathbb{D} = [0,32] \times [0,0.4]\) ([a.u.] and [sec], respectively) and \(L_{x_{1}} = 6, L _{t} = 4, \varOmega_{x_{1}} = 0.1875\cdot 2\pi , \varOmega_{t} = 10\cdot 2 \pi \) [rad/sec]. Thus, \(\operatorname{dim}({\mathcal {H}}^{1}_{1}) = 117\). Stimuli were randomly generated by choosing the basis coefficients to be i.i.d. Gaussian random variables.
We tested the encoding of 1416 stimuli. Each time, a different number of spikes was generated. The reconstruction of stimuli was performed in MATLAB using the extended Algorithm 3, and the SDPs were solved using SDPT3 [35].
The SNR of all reconstructions is depicted in the scatter plot of Fig. 11A. Here solid dots represent exact rank 1 solutions (largest eigenvalue is at least 100 times larger than the sum of the rest of the eigenvalues), and crosses indicate that the trace minimization found a higher rank solution with a smaller trace. The percentage of exact rank 1 solutions is shown in Fig. 11B. Similar to phase transition phenomena in other sparse recovery algorithms [36], a relatively sharp transition (around 50 spikes) from very low probability of recovery to very high probability of perfect reconstruction can be seen. It can also be seen that the number of measurements that are needed for perfect recovery is substantially lower than the 6965 spikes required by Algorithm 1.
4.1.2 Example: Decoding of 3D Spatio-Temporal Stimuli
Next, we present two examples of decoding of spatio-temporal visual stimuli encoded by a population of complex cells. Here, \(\mathbf{x} = (x_{1},x_{2})\) and the Volterra DSPs of the complex cells are of the form
where \(g^{i1}_{1}(\mathbf{x}, t)\) and \(g^{i2}_{1}(\mathbf{x}, t)\) are, for simplicity, quadrature pairs of spatial-only Gabor filters, and \(i=1,\ldots ,M\). The Gabor filters are constructed using a dyadic grid of dilations, translations, and rotations of the following pair of mother wavelets [15]:
and
The ensemble of Gabor filters forms a frame in the spatial domain of the input space [43].
For the first example, a 0.4-second-long synthetically generated video sequence is encoded by the neural circuit. The order of the input space was chosen to be \(L_{x_{1}} = L_{x_{2}} = 3, L_{t} = 4\). Thus, the dimension of the input space is 441. The input stimulus was created by choosing its basis coefficients to be i.i.d. Gaussian random variables. The stimulus was encoded by a neural circuit consisting of 318 complex cells. A total of 1374 spikes were generated by the encoding circuit. The stimulus was decoded using the extended Algorithm 3. As shown in Fig. 12, the video sequence can be perfectly reconstructed with a fairly small number of spikes (A snapshot of the video is shown; see also Supplementary Video S1 for full video). The SNR of the reconstructed video was 92.8 [dB], thereby reaching almost perfect reconstruction with machine precision. Note that without the reconstruction algorithm employed here, 97,461 measurements would be required from at least 5733 complex cells to achieve perfect reconstruction.
Example of reconstruction of synthesized visual stimuli. A synthetically generated visual stimulus was encoded by 318 Complex Cells that generated some 1374 spikes. A snapshot of the original video is shown on the left. The reconstruction is shown in the middle and the error on the right. SNR 92.8 [dB]. (See also Supplementary Video S1)
We then performed encoding and subsequent reconstructions of 2-second long natural video sequences that had a resolution of \(72 \times 128\) pixels. The videos had temporal bandwidth of 10 [Hz] and spatial bandwidth of 0.375 cycles per pixel. Additionally, the spatial bandwidth was restricted to a circular area to make it isotropically bandlimited. The videos were encoded by a neural circuit consisting of 21,776 complex cells, whose DSPs were modeled as spatial-only quadrature pair of Gabor filters. The Gabor filters formed a frame in the spatial dimension of the space.
The decoding was performed using six NVIDIA P100 GPUs on a single computer node. Despite of their computational power, the amount of memory required by the algorithm for decoding the whole video sequence exceeded the memory capacity of the six GPUs. Therefore, the reconstruction of the entire video was performed by decoding 0.2-second-long segments of the video independently and then stitching them together [16]. The overlap between consecutive segments was 0.1 second. We chose the order of the space to be \(L_{x_{1}} = 27, L_{x_{2}} = 48, L_{t} = 3\), and the bandwidth of the space to be \(\varOmega_{x_{1}} = \varOmega_{x_{2}} = 0.75\pi\) [rads/pixel] and \(\varOmega_{t} = 20\pi\) [rads/s]. We also restricted the spectral lines in the spatial dimension to be inside a circular area instead of a square area as defined in (73), that is, we considered only \(l_{x_{1}}\) and \(l_{x_{2}}\) that are in the set \(\{(l_{x_{1}}, l _{x_{2}}) | l^{2}_{x_{1}}L^{2}_{x_{2}} + l^{2}_{x_{2}}L^{2}_{x_{1}} \leq L^{2}_{x_{1}}L^{2}_{x_{2}}\}\). This allowed the bandwidth of the stimuli to be covered with minimal number of spectral lines [16]. Note that, by the construction of input space, the decoded video must be periodic in time. However, an arbitrary 0.2-second video may not be periodic. Therefore, we chose the decoding space to have a temporal period of 0.3 seconds and retained only the middle 0.2 seconds of the reconstructed segments. The total dimension of the decoding space was 28,413. The extended Algorithm 4 was used in decoding.
For the example depicted in Fig. 13A, a total of 980,730 spikes were generated by the neural circuit. About 76,000 to 86,500 measurements were used in reconstructing the video in each time segment. This is approximately 2.67 to 3.04 times of the dimension of the space. In contrast, a total of 403,663,491 measurements would have been required by Algorithm 1 to reconstruct the same video. In Fig. 13A, snapshots of the original video sequence, the reconstructed video sequence and the error are shown (see also Supplementary Video S2) The SNR of the reconstructed video was 48.85 [dB] (the first and last 20 milliseconds were removed from the SNR calculation due to boundary conditions).
Examples of reconstruction of natural visual stimuli. Snapshots of the original videos encoded by a neural circuit with complex cells are shown on the left. The reconstructions from the spike times are shown in the middle and the error on the right. Note that the color bar indicating the magnitude of the error was set to 10% of the input range. SNR: (A) 48.85 [dB]. (B) 46.92 [dB]. (C) 48.61 [dB]. (D) 50.76 [dB]. (E) 48.11 [dB]. (See also Supplementary Videos S2–S6)
Additional examples of reconstructed natural video encoded by the same neural circuit are shown in Fig. 13B–E (see also Supplementary Video S3–S6).
4.2 Low-Rank Functional Identification of Spatio-Temporal Complex Cells
The low-rank functional identification described in Sect. 3.2 can be extended to identify DSPs of spatio-temporal complex cells. The functional identification for the spatio-temporal case is formally described in Appendix 4.
In this section, we first provide an example of identification of spatio-temporal DSPs of complex cells. We then evaluate the identified low-rank spatio-temporal DSPs by decoding novel stimuli encoded with the original neural circuit. The decoding uses the identified filters. Finally, we compare the performance of the low-rank identification methodology with other identification algorithms.
4.2.1 Example: Low-Rank Functional Identification of Complex Cell DSP from Spike Times in Response to Spatio-Temporal Stimuli
In this example, we first consider identifying the DSP of a single complex cell in the neural circuit used in Sect. 4.1.1. As a reminder, the neural circuit used in the example in Sect. 4.1.1 encodes spatio-temporal stimuli of the form \(u_{1}(x_{1},t)\).
We presented to the population of M complex cells 0.4-second stimuli, where M varied from 40 to 80. The stimuli were generated by choosing their basis coefficients as i.i.d. Gaussian random variables. For each M, we repeated the functional identification process for 200 times, each with different stimuli. Identification was essentially based on the extended Algorithm 3, where the SDPs were again solved by SDPT3.
The percentage of rank 2 solutions is shown in Fig. 14A as a function of the number of experimental trials. The mean SNR is shown in Fig. 14B. Figure 14A suggests that if the number of trials is larger than 70, then the solution to the trace minimization coincides with high probability with the rank minimization problem. In contrast, identification of the complex cell DSP using Algorithm 2 would have required at least 407 trials.
It can be easily seen that the identification process does not require a large number of trials to achieve perfect identification, thereby enabling the identification of nonlinear dendritic processing of cells similar in structure to complex cells with a tractable amount of physiological recordings.
4.2.2 Example: Evaluation of Functional Identification of Neural Circuit of Complex Cells Using Decoding
We then performed the functional identification of all 62 complex cells in the neural circuit used of the example in Sect. 4.1.1. Here, our goal is to evaluate the identification quality using decoding.
We first identified all complex cells by presenting to the neural circuit M spatio-temporal stimuli. We also performed the identification of the entire circuit using eight different values of M. We then presented to the same circuit 100 novel stimuli drawn from the input space and used the spike times generated by the neural circuit to decode the stimuli. In the decoding process, we assumed that the DSPs of the set of complex cells are as identified for all eight values of M. The mean reconstruction SNR of the 100 stimuli is shown in Fig. 15. As shown, the quality of reconstruction was kept at low SNR until enough trials were used in identification. When more than 70 trials were performed, perfect reconstruction was achieved, and thereby the entire neural circuit has been identified with a very high quality.
4.2.3 Comparison with STC, GQM, and NIM
We compared the performance of the low-rank functional identification algorithm introduced here with the widely used Spike-Triggered Covariance (STC) algorithm [39]. As in Sect. 4.2.1, a complex cell with a pair of orthogonal Gabor filters was chosen for identification. However, the filters had different norms.
Figure 16A shows the quality of identification (SNR) as the number of spikes used in identification increases. Note that the low-rank functional identification algorithm reached perfect identification using only 746 spikes, whereas the performance of the STC algorithm saturated at ∼17 [dB] after almost 40,000 spikes were used. Figure 16B shows the identified individual Gabor filters of the complex cells using both algorithms. The number of spikes used are indicated at the top of each column.
Comparison of the low-rank functional identification with STC. (A) SNR of identified quadrature pairs of Gabor filters in a complex cell, as a function of number of spikes used in identification. Low-rank functional identification reaches nearly machine precision with about 746 spikes, which corresponds to about 70 stimulus trials (see also Figure 14). STC reaches about 17 [dB] SNR with \({\sim}30\text{,}000\) spikes. (B) Quadrature pair Gabor filters (1st column) identified with low-rank functional identification algorithm with 746 spikes (2nd column, SNR: 128.48 [dB], 130.84 [dB]), and with STC using 39,769 spikes (3rd column, SNR: 16.79 [dB], 17.88 [dB]) and using 746 spikes (4th column, SNR: 0.20 [dB], 0.60 [dB])
We also evaluated the identification performance of the generalized quadratic model (GQM) [44] and the nonlinear input model (NIM) [45] with quadratic upstream filters to the same example. The results (not shown) were similar to those obtained with the STC algorithm.
We note that whereas the low-rank functional identification algorithm is formulated as nonlinear sampling using TEMs and solved using recent advances in low-rank matrix sensing, the other algorithms tested here rely on moment-based or likelihood-based methods that require a large number of samples to converge.
5 Conclusions
In this paper, we presented sparse algorithms for the reconstruction of temporal and spatio-temporal stimuli from spike times generated by neural circuits consisting of complex cells. We formulated the encoding as generalized sampling in a tensor space and exploited the low-rank structure of the stimulus in this space, leading to tractable reconstruction algorithms. For neural circuits consisting of complex cells, this suggests that, in addition to each complex cell extracting visual features, a biologically plausible number of complex cells are capable of faithfully representing visual stimuli. In particular, the examples with natural video sequences provided in this paper demonstrate that neural circuits with nonlinear receptive fields and highly nonlinear spike generating mechanisms are able to faithfully represent natural visual stimuli. The number of spikes that increases just quasi-linearly with the bandwidth or resolution of the stimuli.
Based on duality between sparse decoding and functional identification, we showed that functional identification of complex cells DSPs can be efficiently achieved by exploiting their low-rank structure and using similar algorithms as used in decoding. These algorithms make the functional identification of complex cells tractable, allowing guaranteed high quality identification using a much smaller set of testing stimuli and shorter time duration.
The mathematical treatment presented here, however, is not limited to the complex cells in V1. It can be applied to other neural circuits of interest. For example, early olfactory coding in fruit flies [46] and auditory encoding in grasshoppers [47] have also been shown to have the structure of low-rank DSP kernels. Moreover, the Hassenstein–Reichardt detector [48], a popular model for elementary motion detectors in fruit flies, is also I/O equivalent to low-rank DSP kernels.
Abbreviations
- BIBO:
-
Bounded-Input Bounded-Output
- BSG:
-
Biophysical Spike Generator
- CIM:
-
Channel Identification Machine
- DSP:
-
Dendritic Stimulus Processor
- GPGPU:
-
General Purpose Graphics Processing Unit
- GQM:
-
Generalized Quadratic Model
- IAF:
-
Integrate-and-Fire
- NIM:
-
Nonlinear Input Model
- RK:
-
Reproducing Kernel
- RKHS:
-
Reproducing Kernel Hilbert Space
- SDP:
-
Semidefinite Programming
- SNR:
-
Signal-to-Noise Ratio
- STC:
-
Spike-Triggered Covariance
- TEM:
-
Time Encoding Machine
- TDM:
-
Time Decoding Machine
- V1:
-
Primary Visual Cortex
References
Hubel DH, Wiesel TN. Receptive field, binocular interaction and functional architecture in the cat’s visual cortex. J Physiol. 1962;160(1):106–54.
Barlow HB, Levick WR. The mechanism of directionally selective units in rabbit’s retina. J Physiol. 1965;178(3):477–504.
Reid CR, Alonso JM. Specificity of monosynaptic connections from thalamus to visual cortex. Nature. 1995;378(6554):281–4.
Alonso JM, Martinez LM. Functional connectivity between simple cells and complex cells in cat striate cortex. Nat Neurosci. 1998;1(5):395–403.
Pollen DA, Ronner SF. Spatial computation performed by simple and complex cells in the visual cortex of the cat. Vis Res. 1982;22(1):101–18.
Ringach DL, Hawken MJ. Orientation selectivity in macaque V1: diversity and laminar dependence. J Neurosci. 2002;22:5639–51.
Dayan P, Abbott LF. Theoretical neuroscience: computational and mathematical modeling of neural systems. Cambridge: MIT Press; 2001.
Rust NC, Schwartz O, Movshon JA, Simoncelli EP. Spatiotemporal elements of macaque V1 receptive fields. Neuron. 2005;46:945–56.
Adelson EH, Bergen JR. Spatiotemporal energy models for the perception of motion. J Opt Soc Am A, Opt Image Sci Vis. 1985;2(2):284–99.
Touryan J, Felsen G, Dan Y. Spatial structure of complex cell receptive fields measured with natural images. Neuron. 2005;45:781–91.
Carandini M, Demb JB, Mante V, Tolhurst DJ, Dan Y, Olshausen BA, Gallant JL, Do RNC. We know what the early visual system does? J Neurosci. 2005;24(46):10577–97.
Douglas R, Markram H, Neocortex MK. 5th ed. In: Shepherd GM, editor. The synaptic organization of the brain. London: Oxford University Press; 2004.
Hammond P. Directional tuning of complex cells in area 17 of the feline visual cortex. J Physiol. 1978;285(1):479–91.
De Valois RL, Albrecht DG, Thorell LG. Spatial frequency selectivity of cells in macaque visual cortex. Vis Res. 1982;22(5):545–59.
Lazar AA, Pnevmatikakis EA, Zhou Y. Encoding natural scenes with neural circuits with random thresholds. Vis Res. 2010;50(22):2200–12. Special Issue on Mathematical Models of Visual Coding.
Lazar AA, Zhou Y. Reconstructing natural visual scenes from spike times. In: Proceedings of the IEEE. vol. 102. 2014. p. 1500–19.
Lazar AA, Zhou Y. Identifying multisensory dendritic stimulus processors. IEEE Trans Mol Biol Multi-Scale Commun. 2016;2(2):183–98.
Lazar AA, Slutskiy YB. Spiking neural circuits with dendritic stimulus processors. J Comput Neurosci. 2015;38(1):1–24.
Lazar AA, Zhou Y. Volterra dendritic stimulus processors and biophysical spike generators with intrinsic noise sources. Front Comput Neurosci. 2014;8:95.
Marmarelis VZ. Nonlinear dynamic modeling of physiological systems. New York: Wiley; 2004.
Shams L, von der Malsburg C. The role of complex cells in object recognition. Vis Res. 2002;42:2547–54.
Candès EJ, Eldar YC, Strohmer T, Voroninski V. Phase lift: exact and stable signal recovery from magnitude measurements via convex programming. Commun Pure Appl Math. 2011;66(8):1241–74.
Candès EJ, Recht B. Exact matrix completion via convex optimization. Found Comput Math. 2009;2009(9):717–72.
Recht B, Fazel M, Parrilo PA. Guaranteed minimum-rank solutions of linear matrix equations via nuclear norm minimization. SIAM Rev. 2010;52(3):471–501.
Rugh WJ. Nonlinear system theory: Volterra/Wiener approach. Baltimore: Johns Hopkins University Press; 1981.
Hodgkin AL, Huxley AF. A quantitative description of membrane current and its application to conduction and excitation in nerve. J Physiol. 1952;117(4):500–44.
Morris C, Lecar H. Voltage oscillations in the barnacle giant muscle fiber. Biophys J. 1981;35(1):193–213.
Izhikevich EM. Simple model of spike neurons. IEEE Trans Neural Netw. 2003;14(6):1569–72.
Lazar AA. Population encoding with Hodgkin–Huxley neurons. IEEE Trans Inf Theory. 2010;56(2):821–37. Special Issue on Molecular Biology and Neuroscience.
Keat J, Reinagel P, Reid RC, Meister M. Predicting every spike: a model for the responses of visual neurons. Neuron. 2001;30:803–17.
Cichocki A, Zdunek R, Phan AH, Si A. Nonnegative matrix and tensor factorizations: applications to exploratory multi-way data analysis and blind source separation. New York: Wiley; 2009.
Fazel M, Hindi H, Rank BS. Minimization and applications in system theory. In: Proceedings American control conference. 2004. p. 3273–8.
Candès EJ, Eldar YC, Strohmer T, Voroninski V. Phase retrieval via matrix completion. SIAM J Imaging Sci. 2013;6(1):199–225.
Jain P, Netrapalli P, Sanghavi S. Low-rank matrix completion using alternating minimization. In: Proceedings of the forty-fifth annual ACM symposium on theory of computing. STOC’13. New York: ACM; 2013. p. 665–74.
Tutuncu RH, Toh KC, Todd MJ. Solving semidefinite-quadratic-linear programs using SDPT3. Math Program, Ser B. 2003;95:189–217.
Donoho DL, Maleki A, Montanari A. Message-passing algorithms for compressed sensing. Proc Natl Acad Sci USA. 2009;106(45):18914–9.
Paninski L. Convergence properties of some spike-triggered analysis techniques. In: Advances in neural information processing systems. 2003. p. 189–96.
Schwartz O, Chichilnisky E, Simoncelli EP. Characterizing neural gain control using spike-triggered covariance. In: Advances in neural information processing systems. 2002. p. 269–76.
Pillow JW, Simoncelli EP. Dimensionality reduction in neural models: an information-theoretic generalization of spike-triggered average and covariance analysis. J Vis. 2006;6(4):414–28.
Schwartz O, Pillow JW, Rust NC, Simoncelli EP. Spike-triggered neural characterization. J Vis. 2006;6:484–507.
Park IM, Pillow JW. Bayesian spike-triggered covariance analysis. In: Advances in neural information processing systems. 2011. p. 1692–700.
Stanley G, Li FF, Dan Y. Reconstruction of natural scenes from ensemble responses in the lateral geniculate nucleus. J Neurosci. 1999;19(18):8036–42.
Lee TS. Image representation using 2D Gabor wavelets. IEEE Trans Pattern Anal Mach Intell. 1996;18(10):1–13.
Park IM, Archer EW, Priebe N, Pillow JW. Spectral methods for neural characterization using generalized quadratic models. In: Advances in neural information processing systems. 2013. p. 2454–62.
McFarland JM, Cui Y, Butts DA. Inferring nonlinear neuronal computation based on physiologically plausible inputs. PLoS Comput Biol. 2013;9(7):e1003143.
Kim AJ, Lazar AA, Slutskiy YB. System identification of drosophila olfactory sensory neurons. J Comput Neurosci. 2011;30(1):143–61.
Clemens J, Wohlgemuth S, Ronacher B. Nonlinear computations underlying temporal and population sparseness in the auditory system of the grasshopper. J Neurosci. 2012;32(29):10053–62.
Hassenstein B, Reichardt W. Systemtheoretische Analyse der Zeit-, Reihenfolgen- und Vorzeichenauswertung bei der Bewegungsperzeption des Rüsselkäfers Chlorophanus. Z Naturforsch Teil B. 1956;11(9):513–24.
Acknowledgements
Not applicable.
Availability of data and materials
Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.
Funding
The research reported here was supported by AFOSR under grant #FA9550-16-1-0410.
Author information
Authors and Affiliations
Contributions
AAL, NHU, and YZ conceptualized and designed the study, performed analysis, and wrote the manuscript. NHU and YZ performed the simulations. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Not Applicable.
Competing interests
The authors declare that they have no competing interests.
Consent for publication
Not Applicable.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The authors’ names are listed in alphabetical order.
Electronic Supplementary Material
Below are the links to the electronic supplementary material.
13408_2017_57_MOESM1_ESM.mp4
Supplementary Video S1. Video demonstrating reconstruction of synthetic visual stimulus encoded by 318 complex cells that generated some 1374 spikes. The original stimulus is shown on the left. The reconstruction is shown in middle and the error on the right. SNR 92.8 [dB] (MP4 2.2 MB)
13408_2017_57_MOESM2_ESM.mp4
Supplementary Video S2. Example of reconstructed video encoded by a neural circuit with complex cells. (left column) From top to bottom: original video, reconstructed video and error. (right column) Fourier spectrum of the corresponding frames in the left column. (related to Fig. 13A) (MP4 640 kB)
13408_2017_57_MOESM3_ESM.mp4
Supplementary Video S3. Example of reconstructed video encoded by a neural circuit with complex cells. (left column) From top to bottom: original video, reconstructed video and error. (right column) Fourier spectrum of the corresponding frames in the left column. (related to Fig. 13B) (MP4 622 kB)
13408_2017_57_MOESM4_ESM.mp4
Supplementary Video S4. Example of reconstructed video encoded by a neural circuit with complex cells. (left column) From top to bottom: original video, reconstructed video and error. (right column) Fourier spectrum of the corresponding frames in the left column. (related to Fig. 13C) (MP4 547 kB)
13408_2017_57_MOESM5_ESM.mp4
Supplementary Video S5. Example of reconstructed video encoded by a neural circuit with complex cells. (left column) From top to bottom: original video, reconstructed video and error. (right column) Fourier spectrum of the corresponding frames in the left column. (related to Fig. 13D) (MP4 617 kB)
13408_2017_57_MOESM6_ESM.mp4
Supplementary Video S6. Example of reconstructed video encoded by a neural circuit with complex cells. (left column) From top to bottom: original video, reconstructed video and error. (right column) Fourier spectrum of the corresponding frames in the left column. (related to Fig. 13E) (MP4 609 kB)
Appendices
Appendix 1: Proof of Lemma 2
Proof
With (18), the t-transform for the ith stimulus is given by
Since \(\mathcal{P}_{2} u_{2}^{i} = u_{2}^{i}\), we have
or
or
or
Finally, with (17), we obtain
□
Appendix 2: Modeling of Spatio-Temporal Stimuli
Definition 4
The space of trigonometric polynomials \({\mathcal {H}}_{1}^{p}\) is the Hilbert space of complex-valued functions
where
over the domain \(\mathbb{D}\), where, by abuse of notation, \(\mathbb{D} = [0,S_{x_{1}}] \times [0,S_{x_{2}}] \times \cdots \times [0,S_{x_{p}}] \times [0, S_{t}] \) and \(S_{t} = \frac{2\pi L_{t}}{ \varOmega_{t}} , S_{x_{1}} = \frac{2\pi L_{x_{1}}}{\varOmega_{x_{1}}} , S_{x_{2}} = \frac{2\pi L_{x_{2}}}{\varOmega_{x_{2}}}, \ldots , S_{x_{p}} = \frac{2\pi L_{x_{p}}}{\varOmega_{x_{p}}}\). In addition, \(e_{ \mathbf{l_{x}}l_{t}}(\mathbf{x},t) = e_{\mathbf{l_{x}}}(\mathbf{x})e _{l_{t}}(t)\), where
and
Here \(\varOmega_{t}\) denotes the bandwidth, and \(L_{t}\) denotes the order of the space in the temporal domain, whereas \(\varOmega_{x_{i}}\) and \(L_{x_{i}}\) denote the bandwidth and order of the space in the ith spatial variable. Stimuli \(u_{1}\in {\mathcal {H}}_{1}^{p}\) are periodic with periods \(S_{t} , S_{x_{1}}, \ldots , S_{x_{p}}\).
We denote the temporal dimension of \({\mathcal {H}}_{1}^{p}\) by \(\operatorname{dim}_{t}({\mathcal {H}}_{1}^{p}) = 2L_{t}+1 \) and the total dimension by \(\operatorname{dim}({\mathcal {H}}_{1} ^{p}) = (2L_{t}+1) \prod_{i=1}^{p} (2L_{x_{i}}+1) \).
Definition 5
The tensor product space \({\mathcal {H}}_{2}^{p} = {\mathcal {H}}_{1}^{p} \otimes {\mathcal {H}}_{1}^{p}\) is the Hilbert space of complex-valued functions
over the domain \(\mathbb{D}^{2}\).
Note that \(\operatorname{dim}({\mathcal {H}}_{2}^{p}) = (\operatorname{dim}({\mathcal {H}}_{1}^{p}))^{2}\).
Appendix 3: Encoding of Spatiotemporal Stimuli with a Population of Complex Cells
We consider again a neural circuit consisting of a population of M neurons modeling a population of complex cells as illustrated in Fig. 1. The input to the neural circuit is the spatiotemporal stimulus as defined in Sect. 2.
The input stimulus \(u_{1}(\mathbf{x},t)\) to neuron i is first processed by two spatio-temporal linear filters whose impulse responses are denoted, by abuse of notation, as \(g^{i1}_{1}(\mathbf{x},t)\) and \(g^{i2}_{1}(\mathbf{x},t)\), respectively. The output of the linear filters are squared and summed. The sum \(v^{i}(t)\), as the output of the DSP, is then fed into the BSG of neuron i. The BSG encodes the DSP output into the spike train \((t^{i}_{k})_{k\in \mathbb{I}^{i}}\). Here \(\mathbb{I}^{i}\) is the spike train index set of neuron i.
Similarly to the temporal case, the neural circuit is equivalent to that shown in Fig. 17A. Here, the output of the DSP for each neuron \(i=1,2,\ldots ,M\) can be expressed as
where
is the low-rank DSP [18]. The encoding of stimulus by the neural circuit with complex cells is a particular case of the low-rank DSP of the form given in (76). When using IAF point neurons as models of the BSGs, we have the following theorem describing the encoding of stimuli.
Lemma 3
The encoding of stimulus \(u_{1}\in {\mathcal {H}}^{p}_{1}\) into the spike train sequence \((t_{k}^{i}), k\in \mathbb{I}^{i}, i=1,2,\ldots,M\), by a neural circuit of spatio-temporal complex cells is given in functional form by
where \(\mathcal{T}^{i}_{k}: {\mathcal {H}}_{2}^{p} \rightarrow {\mathbb {R}}\) are bounded linear functionals defined by
with \(u_{2}(\mathbf{x_{1}},t_{1};\mathbf{x_{2}},t_{2}) = u_{1}( \mathbf{x_{1}},t_{1})u_{1}(\mathbf{x_{2}},t_{2})\). Finally, \(q^{i}_{k} = \kappa^{i}\delta^{i} - b^{i} (t^{i}_{k+1}-t^{i}_{k})\).
Proof
As in Lemma 1, the t-transform of the ith IAF neuron is given by (6).
Relationship (77) follows after replacing \(v^{i}(t)\) given in (75) in equation (6). □
Similarly to Remark 2, equation (77) shows that the encoding of a stimuli by the neural circuit with low-rank DSPs can be viewed as generalized sampling.
By abuse of notation, we denote by c the vector representing the coefficients of \(u_{1}\) in (73), and D as the matrix representing the coefficients of \(u_{2}\) in (74). We skip here the detailed entries of c and D due to the complexity of the indices, but their construction follows closely with (28) and (26), respectively, and \(\mathbf{D} = \mathbf{c} \mathbf{c}^{H}\).
Theorem 5
Encoding the stimulus \(u_{1}\in {\mathcal {H}}^{p}_{1}\) with the neural circuit with complex cells given in (75) into the spike train sequence \((t_{k}^{i}), k\in \mathbb{I}^{i}\), \(i=1,2,\ldots,M\), satisfies the set of equations
where \(\mathbf{D} = \mathbf{c}\mathbf{c}^{H}\) is a rank-1 Hermitian matrix, and \((\boldsymbol{\varPhi}^{i}_{k})\), \(k \in \mathbb{I} ^{i}, i = 1,\ldots , M\), are Hermitian matrices; \([\boldsymbol{\varPhi}^{i}_{k}]_{\mathbf{l_{x_{2}}}l_{t_{2}}; \mathbf{l_{x_{1}}}l _{t_{1}}}\) denotes the entry at the \(( (l_{t_{2}}+L_{t_{2}}+1)\prod_{i=1}^{p}(L_{x_{i2}}+1)+ \sum_{j=1}^{p}(l_{x_{j2}}+L_{x_{j2}} +1) \prod_{i=1}^{j-1}(2L_{x_{i2}}+1) ) \)th row and the \(( (l_{t_{1}}+L_{t_{1}}+1)\prod_{i=1}^{p}(L_{x_{i1}}+1)+ \sum_{j=1}^{p}(l_{x_{j1}}+L_{x_{j1}} +1) \prod_{i=1}^{j-1}(2L_{x_{i1}}+1) ) \)th column, and
where \(\mathbf{l_{x_{i}}} = (l_{x_{1i}}, l_{x_{2i}}, \ldots , l_{x _{pi}}), i = 1,2\).
Proof
Plugging \(u_{2}\) in the general form (74) into (78), the left-hand side of (77) amounts to
It is easy to verify that this expression can be written as
where the \(( (l_{t_{1}}+L_{t_{1}}+1)\prod_{i=1}^{p}(L_{x_{i1}}+1)+ \sum_{j=1}^{p}(l_{x_{j1}}+L_{x_{j1}} +1) \prod_{i=1}^{j-1}(2L_{x_{i1}}+1) ) \)th row \(( (l_{t_{2}}+L_{t_{2}}+1)\prod_{i=1}^{p}(L_{x_{i2}}+1)+ \sum_{j=1}^{p}(l_{x_{j2}}+L_{x_{j2}} +1) \prod_{i=1}^{j-1}(2L_{x_{i2}}+1) ) \)th column entry of D amounts to \([ \mathbf{D} ] _{\mathbf{l_{x_{1}}}l_{t_{1}} ;\mathbf{l_{x_{2}}}l_{t_{2}}} = d_{ \mathbf{l_{x_{1}}}, l_{t_{1}},- \mathbf{l_{x_{2}}}, -l_{t_{2}}}\).
Since \(u_{2}(\mathbf{x_{1}},t_{1};\mathbf{x_{2}},t_{2}) = u_{1}( \mathbf{x_{1}},t_{1})u_{1}(\mathbf{x_{2}},t_{2})\) and \(d_{ \mathbf{l_{x_{1}}}, l_{t_{1}},- \mathbf{l_{x_{2}}}, -l_{t_{2}}} = c _{\mathbf{l_{x_{1}}}, l_{t_{1}}} c_{\mathbf{l_{x_{2}}}, l_{t_{2}}} ^{H} \), thereby \(\mathbf{D} = \mathbf{c}\mathbf{c}^{H}\). We also note that since \(h^{i}_{2}, i=1,\ldots ,M\), are assumed to be real valued, \((\boldsymbol{\varPhi}^{i}_{k}), k\in \mathbb{I}^{i}, i=1,\ldots ,M\), are Hermitian. □
3.1 Low-Rank Decoding of Spatio-Temporal Visual Stimuli
When using an algorithm similar to Algorithm 1 to reconstruct spatio-temporal stimuli encoded by a neural circuit with complex cells, at least \(\operatorname{dim}({\mathcal {H}}^{p}_{1}) ( \operatorname{dim}({\mathcal {H}}^{p}_{1})+1 ) /2\) measurements are required. In addition, at least \(\operatorname{dim}({\mathcal {H}}^{p}_{1}) ( \operatorname{dim}({\mathcal {H}}^{p}_{1})+1 ) / (4L_{t}+1)\) neurons are required, a number that can become unrealistically high with an increasing dimension of the input space.
With the observation that \(\mathbf{D} = \mathbf{cc}^{H}\) is a rank-one matrix, we can apply algorithms similar to those described in Sect. 3.1.2 to recover spatio-temporal stimuli encoded by a population of spiking neurons with low-rank DSPs.
Appendix 4: Low-Rank Functional Identification of Spatio-Temporal Complex Cells
Similarly to Sect. 3.2, we consider here the identification of low-rank DSP of complex cells from spike times generated when multiple stimulus trials are presented. We first define the projection operators in \({\mathcal {H}}^{p}_{1}\). Then, based on (75), we show that the duality between decoding and functional identification also holds in the spatio-temporal case.
Definition 6
Let \(h_{n} \in \mathbb{L}^{1}(\mathbb{D}^{n}), n=1,2\), where \(\mathbb{L}^{1}\) denotes the space of Lebesgue-integrable functions. The operator \(\mathcal{P}_{1}^{p}: \mathbb{L}_{1}(\mathbb{D}) \rightarrow {\mathcal {H}}^{p}_{1}\) given by
is called the projection operator from \(\mathbb{L}^{1}(\mathbb{D})\) to \({\mathcal {H}}^{p}_{1}\). Similarly, the operator \(\mathcal{P}_{2}^{p}: \mathbb{L}_{1}(\mathbb{D}^{2}) \rightarrow {\mathcal {H}}_{2}\) given by
is called the projection operator from \(\mathbb{L}^{1}(\mathbb{D}^{2})\) to \({\mathcal {H}}_{2}\).
We consider here complex cells whose low-rank DSP can be expressed more generally as
where, by abuse of notation, \(g^{n}_{1}(\mathbf{x},t), n= 1,\ldots ,N\), are impulse responses of spatio-temporal linear filters, and \(N \ll \operatorname{dim}({\mathcal {H}}^{p}_{1})\). Similarly to the approach we take in Sect. 3.2, this particular structure can be exploited to identify the projection of \(h_{2}\) using tractable algorithms.
By abuse of notation, we denote by \(\mathbf{g}^{n}\) the vector representing the coefficients of \(\mathcal{P}^{p}_{1}g^{n}_{1}\) and by H the matrix representing the coefficients of \(\mathcal{P} ^{p}_{2}h_{2}\). The detailed entries of \(\mathbf{g}^{n}\) and H are constructed similarly to (48) and (49), respectively. In addition, we have \(\mathbf{H} = \sum_{n=1}^{N} \mathbf{g}^{n}(\mathbf{g}^{n})^{H}\).
Theorem 6
By presenting M trials with stimuli \(u^{i}_{2}(\mathbf{x_{1}}, t _{1}; \mathbf{x_{2}}, t_{2}) = u^{i}_{1}(\mathbf{x_{1}}, t_{1})u^{i} _{1}(\mathbf{x_{2}}, t_{2}), i=1,\ldots ,M\), to a complex cell and observing the spike trains \(t^{i}_{k}, k\in \mathbb{I}^{i}, i=1,2, \ldots ,M\), the coefficients of the projections \(\mathcal{P}_{2}^{p}h _{2}\) of the DSP of the complex cell satisfy the set of equations
where H is a rank-N positive semidefinite Hermitian matrix, and \((\boldsymbol{\varPsi}^{i}_{k})\), \(k \in \mathbb{I}^{i}\), \(i = 1, \ldots , M\), are Hermitian matrices with the entry at the \(( (l_{t_{2}}+L_{t_{2}}+1)\prod_{i=1}^{p}(L_{x_{i2}}+1)+ \sum_{j=1}^{p}(l_{x_{j2}}+L_{x_{j2}} +1) \prod_{i=1}^{j-1}(2L_{x_{i2}}+1) ) \)th row and the \(( (l_{t_{1}}+L_{t_{1}}+1)\prod_{i=1}^{p}(L_{x_{i1}}+1)+ \sum_{j=1}^{p}(l_{x_{j1}}+L_{x_{j1}} +1) \prod_{i=1}^{j-1}(2L_{x_{i1}}+1) ) \)th column given by
where \(\mathbf{l_{x_{i}}} = (l_{x_{1i}}, l_{x_{2i}}, \ldots , l_{x_{pi}})\), \(i = 1,2\).
Proof
Essentially similar to the proof of Theorem 4. □
Remark 13
Theorems 5 and 6 suggest that decoding of spatio-temporal stimuli encoded by a population of complex cells is dual to the functional identification of the DSP of complex cells presented with multiple stimulus trials. This is further illustrated in Fig. 17. Note that in identification only the projection of the complex cell DSP onto the stimulus space can be identified.
Based on Theorem 6, we can formulate functional identification algorithms for complex cell DSPs of the form (84) with a significant reduction in the number of required trials and spikes. The algorithms are similar to those presented in Sect. 3.2.2.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Lazar, A.A., Ukani, N.H. & Zhou, Y. Sparse Functional Identification of Complex Cells from Spike Times and the Decoding of Visual Stimuli. J. Math. Neurosc. 8, 2 (2018). https://doi.org/10.1186/s13408-017-0057-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s13408-017-0057-1