ArticleslgStudy

biology

Spike-triggered average

Spike-triggered average is a biology topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Spike-triggered average rather than just read about it. In short: The spike-triggered averaging (STA) is a tool for characterizing the response properties of a neuron using the spikes emitted in response to a time-varying stimulus. The STA provides an estimate of a neuron's linear receptive field.

Spike-triggered average — main illustration
Spike-triggered average — illustration

Key takeaways

  • Spike-triggered average belongs to biology; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Spike-triggered average to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Spike-triggered average from memory before moving on to harder problems.

Reference excerpt

The spike-triggered averaging (STA) is a tool for characterizing the response properties of a neuron using the spikes emitted in response to a time-varying stimulus. The STA provides an estimate of a neuron's linear receptive field. It is a useful technique for the analysis of electrophysiological data.

Mathematically, the STA is the average stimulus preceding a spike. To compute the STA, the stimulus in the time window preceding each spike is extracted, and the resulting (spike-triggered) stimuli are averaged (see diagram). The STA provides an unbiased estimate of a neuron's receptive field only if the stimulus distribution is spherically symmetric (e.g., Gaussian white noise). The STA has been used to characterize retinal ganglion cells, neurons in the lateral geniculate nucleus and simple cells in the striate cortex (V1) . It can be used to estimate the linear stage of the linear-nonlinear-Poisson (LNP) cascade model. The approach has also been used to analyze how transcription factor dynamics control gene regulation within individual cells. Spike-triggered averaging is also commonly referred to as reverse correlation or white-noise analysis. The STA is well known as the first term in the Volterra kernel or Wiener kernel series expansion. It is closely related to linear regression, and identical to it in common circumstances.

Mathematical definition

Standard STA Let 𝐱𝐢 denote the spatio-temporal stimulus vector preceding the i'th time bin, and yi the spike count in that bin. The stimuli can be assumed to have zero mean (i.e., E[𝐱]=0). If not, it can be transformed to have zero-mean by subtracting the mean stimulus from each vector. The STA is given

STA=1nsp∑i=1Tyi𝐱𝐢, where nsp=∑yi, the total number of spikes. This equation is more easily expressed in matrix notation: let X denote a matrix whose i'th row is the stimulus vector 𝐱𝐢𝐓 and let 𝐲 denote a column vector whose ith element is yi. Then the STA can be written

STA=1nspXT𝐲.

Whitened STA If the stimulus is not white noise, but instead has non-zero correlation across space or time, the standard STA provides a biased estimate of the linear receptive field. It may therefore be appropriate to whiten the STA by the inverse of the stimulus covariance matrix. This resolves the spatial dependency issue, however we still assume the stimulus is temporally independent. The resulting estimator is known as the whitened STA, which is given by

STAw=(1T∑i=1T𝐱𝐢𝐱𝐢T)−1(1nsp∑i=1Tyi𝐱𝐢), where the first term is the inverse covariance matrix of the raw stimuli and the second is the standard STA. In matrix notation, this can be written

STAw=Tnsp(XTX)−1XT𝐲. The whitened STA is unbiased only if the stimulus distribution can be described by a correlated Gaussian distribution (correlated Gaussian distributions are elliptically symmetric, i.e. can be made spherically symmetric by a linear transformation, but not all elliptically symmetric distributions are Gaussian). This is a weaker condition than spherical symmetry. The whitened STA is equivalent to linear least-squares regression of the stimulus against the spike train.

Regularized STA In practice, it may be necessary to regularize the whitened STA, since whitening amplifies noise along stimulus dimensions that are poorly explored by the stimulus (i.e., axes along which the stimulus has low variance). A common approach to this problem is ridge regression. The regularized STA, computed using ridge regression, can be written

STAridge=Tnsp(XTX+λI)−1XT𝐲, where I denotes the identity matrix and λ is the ridge parameter controlling the amount of regularization. This procedure has a simple Bayesian interpretation: ridge regression is equivalent to placing a prior on the STA elements that says they are drawn i.i.d. from a zero-mean Gaussian prior with covariance proportional to the identity matrix. The ridge parameter sets the inverse variance of this prior, and is usually fit by cross-validation or empirical Bayes.

Statistical properties For responses generated according to an LNP model, the whitened STA provides an estimate of the subspace spanned by the linear receptive field. The properties of this estimate are as follows

Consistency The whitened STA is a consistent estimator, i.e., it converges to the true linear subspace, if

The stimulus distribution P(𝐱) is elliptically symmetric, e.g., Gaussian. (Bussgang's theorem) The expected STA is not zero, i.e., nonlinearity induces a shift in the spike-triggered stimuli.

Optimality The whitened STA is an asymptotically efficient estimator if

The stimulus distribution P(𝐱) is Gaussian The neuron's nonlinear response function is the exponential, exp(x). For arbitrary stimuli, the STA is generally not consistent or efficient. For such cases, maximum likelihood and information-based estimators have been developed that are both consistent and efficient.

See also Spike-triggered covariance Linear-nonlinear-Poisson cascade model Sliced inverse regression Reverse Correlation Technique

References

External links Matlab code for computing the STA

Illustrations

Spike-triggered average: Diagram showing how the STA is calculated. A stimulus (consisting here of a checkerboard with random pixels) is presented, and spikes from the neuron are recorded. The stimuli in some time window preceding each spike (here consisting of 3 time bins) are selected (color boxes) and then averaged (here just summed for clarity) to obtain the STA. The STA indicates that this neuron is selective for a bright spot of light just before the spike, located in the top left corner of the checkerboard.
Diagram showing how the STA is calculated. A stimulus (consisting here of a checkerboard with random pixels) is presented, and spikes from the neuron are recorded. The stimuli in some time window preceding each spike (here consisting of 3 time bins) are selected (color boxes) and then averaged (here just summed for clarity) to obtain the STA. The STA indicates that this neuron is selective for a bright spot of light just before the spike, located in the top left corner of the checkerboard.

Worked examples

Example 1 — a first encounter with Spike-triggered average

Start with the simplest possible case. Write down what Spike-triggered average claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In biology, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Spike-triggered average before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Spike-triggered average ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Spike-triggered average

In research
Spike-triggered average appears in biology research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Spike-triggered average in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Spike-triggered average is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational neuroscience, so understanding it makes those chapters shorter.
In everyday life
Look for Spike-triggered average outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Spike-triggered average” →

How to study Spike-triggered average in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Spike-triggered average means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Spike-triggered average out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Spike-triggered average in simple terms?

The spike-triggered averaging (STA) is a tool for characterizing the response properties of a neuron using the spikes emitted in response to a time-varying stimulus. The STA provides an estimate of a neuron's linear receptive field.

Why does Spike-triggered average matter?

Because it connects several biology ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Spike-triggered average?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Spike-triggered average.

Tags

  • Computational neuroscience

Keep exploring