# Neuroscience/Computational Neurobiology/Stimulus-response systems

One of the most commonly studied systems in neuroscience is the stimulus-response system. In this framework, a system is provided with an input, called a stimulus, and the resulting response of the system is measured. Some typical examples of stimuli are visual scenes, auditory recordings, or electric current (if a neural system is being stimulated directly); typical examples of responses include changes in behavior, membrane potential or firing rate (if a cell [or group of cells] is being recorded from directly). The general goal is to find a function that accurately describes the relation between stimulus and response.

## Contents

## Single-neuron systems[edit]

In the single neuron system one attempts to characterize how an electric current input to a single neuron determines the probability that the cell will fire an action potential, or spike. A single input consists of a time-dependent current, and a single output consists of a sequence of spikes at various times. By examining the relation between spike times and the preceding stimuli, one can attempt to identify stimulus features that drive the cell towards action potential generation. The neuron in question can either be real or simulated.

### Spike-triggered average[edit]

One method for relating input current to spike probability is to characterize the average stimulus over a certain window of duration preceding each spike. The collection of all stimuli that lead to spike generation is called the spike-triggered ensemble, and the mean of the spike-triggered ensemble is called the spike-triggered average^{[1]}. If one considers the spike-triggered ensemble to represent a probability distribution over important stimuli, then the spike-triggered average is an estimate of the first moment of that distribution. Intuitively, the shape of the spike-triggered average supposedly corresponds with the shape of the primary feature for which the neuron is selective.

Having obtained the spike-triggered average, one can then perform a dimensionality reduction on the stimulus space in order to describe every possible stimulus by the amount it overlaps with the spike-triggered average. If an arbitrary stimulus is described by a vector , where is the electric current at the th time step before the spike, then this dimensionality reduction represents a mapping , where , i.e., the scalar-valued projection of onto the spike-triggered average , normalized by the sampling frequency . We can write the probability of a spike occurring in response to a stimulus, using Bayes' law:

The right hand side of this equation can be easily calculated from the data, as is spike-triggered ensemble projected onto , is the entire stimulus ensemble projected onto , and is the average firing rate across all stimuli. Thus, to calculate spike probability for a given stimulus, one first filters the stimulus with the spike-triggered average, and then passes the filtered stimulus through a nonlinearity to obtain the final probability. This is an example of the linear-nonlinear-poisson (LNP) model for action potential generation in a neuron.

### Spike-triggered covariance[edit]

It is often the case that the spike-triggered average provides an insufficient characterization of the response properties of the neuron ^{[2]}. For example, consider a neuron that responds both to large increases and large decreases in current. If a white noise stimulus is presented to the neuron, the spike-triggered ensemble will consist of an approximately even mixture of stimuli with large increases in current and stimuli with large decreases in current. The spike-triggered average, however, will consist of a single current trace in which little change is present (because the increases and decreases cancel each other out in the averaging process), thus failing to capture the relevant stimulus features that drive the neuron. However, if one examines the second moment of the spike-triggered ensemble, called the spike-triggered covariance, one can often recover the characteristics of the features important to the neuron. Spike-triggered covariance analysis is related to principal component analysis (PCA) in that it captures the directions in stimulus space with the highest variance.

The reasoning behind spike-triggered covariance analysis is more intuitive in two dimensions. Thus, consider a sinusoidal electric current stimulus in which the only parameters that vary are the frequency and amplitude of the stimulus. Each spike-triggered stimulus in the spike-triggered ensemble can then be represented by a point in the plane, with one axis corresponding to frequency and the other to amplitude. The spike-triggered ensemble is represented by the collection of these points, each of whose corresponding stimulus caused the neuron to spike. Loosely speaking, spike-triggered covariance analysis compares the shape of the spike-triggered ensemble with the shape of the entire stimulus ensemble (as represented in the plane). Thus, by looking not just at the average spike-triggering stimulus, but at the shape of the entire ensemble, spike-triggered covariance analysis can more accurately capture the dynamical properties of stimuli relevant to the neuron.

Mathematically, spike-triggered covariance analysis finds the directions in stimulus space corresponding to the directions of highest variance in the spike-triggered ensemble. are determined by finding the eigenvectors of the difference between the spike-triggered covariance matrix and the prior covariance matrix (that is, the covariance matrix of the entire stimulus ensemble) . The eigenvector of with the largest eigenvalue is the direction that explains the highest amount of variance, the eigenvector with the second largest eigenvalue is the direction that explains the second highest amount of variance, and so on. Arbitrarily many directions can be used to describe the stimulus space, but typically there will be a point at which adding more stimulus directions contributes only a negligible increase in the predictive capability of the model.

Determining spike probability using covariance analysis proceeds in a manner quite similar to using the spike-triggered average, except that more dimensions are used in the stimulus description. Thus, one first computes , and so forth. Doing this for all stimuli in the spike-triggered ensemble and in the entire stimulus ensemble result in the distributions and , respectively. Combining these together with Bayes' law yields

Thus, when using spike-triggered covariance analysis, one takes advantage of more stimulus features than the spike-triggered average, therefore allowing a richer description of the properties of stimuli likely to yield a spike.

### Generalized linear model[edit]

Whereas the linear filters () for the LNP model of spike-generation are computed in a deterministic way when using spike-triggered averages and spike-triggered covariances, in the generalized linear model (GLM), these filters are determined under a probabilistic framework. Specifically, the filters are chosen via maximum likelihood, that is, the filters are chosen that maximize the probability of the observed dataset. Importantly, in the GLM framework, the likelihood function is log-convex, and so a global maximum can be attained, even in a high-dimensional filter space ^{[3]}. The firing rate of a neuron in response to a stimulus under the GLM model is given by

where is a stimulus filter, is a filter for the cell's spike history, and are the spike-history filters for other relevant cells. Thus, the GLM provides a natural framework for incorporating not only stimulus, but also spike-history dependence of several interacting cells in a network ^{[4]}.

## References[edit]

- ↑ Schwarz, et al. Spike-triggered neural characterization. Journal of Vision (2006) 6:4(13)
- ↑ Slee, S. J., et al. Two-Dimensional Time Coding in the Auditory Brainstem. The Journal of Neuroscience (2005). 25(43):9978–9988
- ↑ Liam Paninski. Maximum likelihood estimation of cascade point-process neural encoding models. Network: Comput. Neural Syst. 15 (2004) 243–262
- ↑ Pillow, et al. Spatio-temporal correlations and visual signalling in a complete neuronal population. Nature Letters (2008) 454(21):995-999