Spike Train Metrics
We study spike train metrics to quantify differences between event sequences. These metrics apply at both the single-neuron level and the multi-neuronal level. Studying these metrics helps us identify candidate features for neuronal codes. (Victor, n.d.)
Spike Trains as Point Processes
Action potentials are propagated without loss and result in the release of neurotransmitter. Hence, sequences of action potentials emitted by individual neurons are the natural focus of brain activity. The choice of representing spike trains as point processes means we do not have some algebraic operations defined. If a vector representation (neuronal activity as continuous voltage records) were chosen instead, vector-space operations like addition, dot-product would be immediately available.
One issue with choosing a vectorial representation is that in vector space, linearity plays a fundamental role, but this is at odds with the nature of neural dynamics. Choosing to represent spike trains as point processes prevents us from artificially limiting ourselves in this manner.
Spike Train Distance
We consider the dissimilarity of spike trains
These distances are required to be a metric. This means:
with equality when
Edit-distance Metrics
One simple way to derive a metric is to consider the total cost of
transforming
where
Spike Train Metrics
We know that the timings of individual spikes are crucial. To capture this dependence, we consider 2 elementary steps:
- Inserting or deleting a spike has a cost of 1 – this ensures that every spike train can be transformed to any other spike train by some path
- The cost of moving a single spike is proportional to the time that
the spike is moved: $c(X,Y) = q| t_X - t_Y| for some parameter
. This introduces the sensitivity to spike timing.
Spike Interval Metrics
Similarly, we can define a metric that is sensitive to patterns of spike intervals, rather than individual times. We again introduce 2 elementary steps:
- Insertion or deletion of an interspike interval, having a cost of 1.
- Shortening or lengthening an existing interspike interval. This is
equal to
where is the amount of time by which the interval has been lengthened or shortened.
Multi-neuronal Cost-based Metrics
To extend spike-train metrics to multiple neurons, an additional elementary step is added:
- Changing the label associated with an event, with cost
When
There exists other kinds of elementary steps, or tweaks of the existing elementary steps. These cost-based metrics can be thought of as formalizing a hypothesis that certain aspects of spike train structure are meaningful.
One can find algorithms implementing these metrics in the public domain:
Spike Train Metrics on Vector-Space Embeddings
Another class of metrics embed the spike trains into a vector space. Typically, the embedding is linear, and the resulting metric respects linearity. However, this is not a prerequisite.
By expressing a spike train as a function of time
Steps
- Express the event sequence as a sum of dirac-delta functions:
Convolve the sum with a kernel function
Any vector-space distance can then be used to define a distance. The $L^p$-norm yields the distance:
The van Rossum distance uses the $L^2$-distance, and the exponential kernel:
Houghton and Sen consider
with
Multi-neuronal Metrics on Vector-Space Embeddings
First, we extend the representation of a single neuron’s spike train
Therefore, a multi-neuronal spike train (
Temporal factors are accounted for by convolving by a kernel, yielding
for each of their components.
Bibliography
Victor, Jonathan D. n.d. “Spike Train Metrics” 15 (5). Elsevier:585–92.