In the previous subsection, we calculated the probability of firing in a short time step from the continuous-time firing intensity . Here we ask a similar question, but not on the level of a single spike, but on that of a full spike train.
Suppose we know that a spike train has been generated by an escape noise process
(9.9) |
as in Eq. (9.2), where the membrane potential arises from the dynamics of one of the generalized integrate-and-fire models such as the SRM.
The likelihood that spikes occur at the times is (69)
(9.10) |
where is the observation interval. The product on the right-hand side contains the momentary firing intensity at the firing times . The exponential factor takes into account that the neuron needs to ‘survive’ without firing in the intervals between the spikes.
In order to highlight this interpretation it is convenient to take a look at Fig. 9.6A and rewrite Eq. (9.10) in the equivalent form
(9.11) | |||||
Intuitively speaking, the likelihood of finding spikes at times depends on the instantaneous rate at the time of the spikes and the probability to survive the intervals in between without firing; cf. the survivor function introduced in Chapter 7, Eq. (7.26).
Instead of the likelihood, it is sometimes more convenient to work with the logarithm of the likelihood, called the log-likelihood
(9.12) |
The three formulations Eqs. (9.10) – (9.12) are equivalent and it is a matter of taste if one is preferred over the others.
Example: Discrete-time version of likelihood and generative model
In a discrete-time simulation of a SRM or generalized integrate-and-fire model with escape noise, we divide the simulation interval into time steps ; cf. Fig. 9.6B. In each time step, we first calculate the membrane potential and then generate a spike with probability given by Eq. (9.8). To do so, we call on the computer a random number between zero and unity. If , a spike is generated, i.e., the spike count number in this time bin is . The probability of finding an empty time bin (spike count ) is
(9.13) |
where we have assumed that time bins are short enough so that the membrane potential does not change a lot from one time step to the next. The spike train can be summarized as sequence of binary numbers . We emphasize that, with the above discrete-time spike generation model it is impossible to have two spikes in a time bin . This reflects the fact that, because of neuronal refractoriness, neurons cannot emit two spikes in a time bin shorter than, say, half the duration of an action potential.
Since we call an independent random number in each time bin, a specific spike train occurs with a probability given by the product of the probabilities per bin:
(9.14) | |||||
(9.15) |
where the product runs over all time bins and is the spike count number in each bin.
We now switch our perspective and study an observed spike train in continuous time with spike firings at times with . The spike train was generated by a real neuron in a slice experiment under current injection with a known current . We now ask the following question: What is the probability that the observed spike train could have been generated by our model? Thus, we consider our discrete-time model with escape noise as a generative model of the spike train. To do so, we calculate the voltage using a discrete-time version of Eq. (9.1). Given the (known) injected input and the (observed) spike times , we can calculate the voltage of our model and therefore the probability of firing in each time step.
The observed spike trains has spikes at times . Let us denote time bins containing a spike by with index (i.e., ; ) and empty bins by with a dummy index . Using Eq. (9.14), the probability that the observed spike train could have been generated by our model is
(9.16) |
Eq. (9.16) is the starting point for finding optimal parameters of neuron models (Chapter 10).
We can gain some additional insights, if we rearrange the terms on the right-hand side of Eq. (9.16) differently. All time bins that fall into the interval between two spikes can be regrouped as follows
(9.17) | |||||
Ideally, a spike train in continuous time should be described by a model in continuous time. We therefore ask whether the discretization of time is critical or whether we can get rid of it. The transition to continuous time corresponds to the limit of while is kept fixed. The Riemann-sum on the right-hand side of Eq. (9.17) then turns into an integral. In the same limit, the contribution of the bins containing a spike to Eq. (9.16) can be written as . We are led back from the discrete-time generative model to Eq. (9.11) in continuous time with the replacement
(9.18) |
i.e., the continuum limit exists. In other words, once the time steps are short enough, the exact discretization scheme does not play a role. Alternative, more efficient, sampling schemes exist that avoid discretization (73); see Section 10.3.3 in Chapter 10.
A | B |
---|---|
© Cambridge University Press. This book is in copyright. No reproduction of any part of it may take place without the written permission of Cambridge University Press.