Poisson Rate Encoding¶
Poisson rate encoding is a neural encoding strategy used to convert continuous signals into discrete spike trains using a Poisson distribution. This method is effective in neural modeling, particularly in rate coding strategies where the spike rate corresponds to the intensity of the input signal.
Algorithm Overview:
The Poisson rate encoding uses a Poisson distribution to model the probability of emitting a certain number of spikes (\(n\)) over a given time interval (\(\Delta t\)). The probability of having \(n\) spikes in an interval \(\Delta t\) is described by the formula:
where:
\(r\) is the spike rate, representing the real value to be encoded,
\(n\) is the number of spikes,
\(\Delta t\) is the time interval.
Implementation Steps:
The implementation of this algorithm can be performed through the following steps:
Define the Time Interval (\(\Delta t\)): Determine the interval within which to generate the spike train.
Generate a Sequence of Random Numbers (\(x \in [0, 1] \subset \mathbb{R}\)): Create a series of random numbers uniformly distributed in the range [0, 1].
Compute Spike Times (\(t_i\)): Starting from \(t = 0\), calculate the spike times \(t_i\) as:
\[t_i = t_{i-1} + ISI_i \quad \text{for } i \geq 1 \quad (2)\]where the inter-spike interval (\(ISI_i\)) is defined as:
\[ISI_i = -\frac{\log(1 - x_i)}{r} \quad (3)\]This represents the \(i\)-th inter-spike interval, the time interval in which the probability of having n = 0 spikes equals \(x_i\).
Generate Spikes: A spike is emitted at each calculated spike time \(t_i\) until \(t_i > \Delta t\).
Applications:
Poisson rate encoding is utilized in various neural network models that require a spike-based representation of continuous input data. This encoding method is particularly useful in simulating sensory neurons and other neural circuits where input signals need to be transformed into spike trains suitable for spiking neural networks (SNNs).
For details on how to implement this algorithm in Python, refer to the Poisson Rate Function.
References:
Auge, J., et al. (2021). “Rate Coding Strategies in Neural Networks.” Neural Computation.
Liu, Y., et al. (2016). “Poisson Spike Train Generation for Neural Computation.” Neural Networks.