Diffusive Fractional LIF
The Diffusive Fractional Leaky Integrate-and-Fire model provides an alternative numerical approach to fractional-order neuron dynamics. Instead of storing and summing a long voltage history (as in the GL and Caputo methods), it represents the fractional derivative through a set of auxiliary diffusion variables, yielding a system of ordinary differential equations that can be integrated with standard methods.
Diffusive Representation
The core idea behind the diffusive representation is to express the fractional derivative as a weighted integral over an infinite family of exponentially decaying modes. For a function and fractional order :
where satisfies the first-order ODE:
and the weight function (diffusive kernel) is:
Each mode is a simple exponential integrator with decay rate . The collection of all modes, weighted by , exactly reproduces the fractional derivative. Intuitively, the power-law memory of the fractional derivative is decomposed into a spectrum of exponential memories with different time scales.
Quadrature Approximation
In practice, the continuous integral over is replaced by a finite quadrature with nodes and weights :
where each mode evolves as:
The quadrature nodes are typically chosen on a logarithmic grid spanning many decades of frequency, ensuring that both fast and slow dynamics are captured. Common choices include Gauss-Laguerre quadrature or optimized log-spaced grids.
Application to the FLIF
For the fractional LIF equation:
the diffusive representation converts the single fractional-order equation into a system of first-order ODEs:
with the constraint:
Each can be integrated with standard forward Euler, implicit Euler, or any other ODE integrator. The per-step cost is per neuron, where is the number of quadrature nodes.
Comparison with GL Approach
| Property | GL Discretization | Diffusive Representation |
|---|---|---|
| Memory per neuron | voltage history | diffusion modes |
| Cost per step | ||
| Typical or | 100—500 | 10—30 |
| Accuracy | Exact up to truncation at | Approximate (quadrature error) |
| Memory of past | Explicit history buffer | Encoded in mode amplitudes |
| Implementation | Circular buffer + dot product | Array of ODEs |
| Coefficient precomputation | once | once (nodes + weights) |
The diffusive approach trades exactness for speed: it can approximate the fractional derivative with far fewer auxiliary variables () than the GL method requires in history length. For example, quadrature nodes can approximate the behavior that would require or more GL history terms, depending on the accuracy requirements and the frequency content of the signal.
Parameters
| Parameter | Symbol | Description | Typical Range |
|---|---|---|---|
| Fractional order | Order of the fractional derivative | 0.1—1.0 | |
| Number of modes | Quadrature nodes for diffusive approx. | 10—30 | |
| Membrane time constant | Governs the decay rate | 10—50 ms | |
| Resting potential | Equilibrium potential | -65 mV | |
| Threshold | Spike threshold | -50 mV | |
| Reset potential | Post-spike reset value | -65 mV | |
| Bias | Constant offset current | -0.1 to 0.1 |
SPIRES API
cfg.neuron_type = SPIRES_NEURON_FLIF_DIFFUSIVE;Example Configuration
spires_flif_diffusive_params params = {
.alpha = 0.6,
.num_modes = 20,
.tau_m = 20.0,
.v_rest = -65.0,
.v_th = -50.0,
.v_reset = -65.0,
.bias = 0.0,
};
spires_reservoir_config cfg = {
.num_neurons = 500,
.num_inputs = 1,
.num_outputs = 1,
.spectral_radius = 0.9,
.ei_ratio = 0.8,
.input_strength = 0.1,
.connectivity = 0.1,
.dt = 1.0,
.connectivity_type = SPIRES_CONN_RANDOM,
.neuron_type = SPIRES_NEURON_FLIF_DIFFUSIVE,
.neuron_params = ¶ms,
};Accuracy Considerations
The accuracy of the diffusive approximation depends on:
-
Number of modes : More modes capture a wider frequency range and reduce quadrature error. Diminishing returns typically set in around —.
-
Quadrature node placement: Log-spaced nodes cover more decades of frequency than linearly spaced nodes. The minimum and maximum frequencies should span the time scales relevant to the problem (, ).
-
Fractional order : For close to 1, fewer modes are needed because the kernel is more localized. For small , the broad power-law kernel requires more modes for accurate approximation.
The quadrature error is typically for some that depends on the quadrature rule. For optimized log-spaced grids, convergence is rapid, and often provides errors below 1% relative to the exact fractional derivative.
When to Use Diffusive FLIF
Choose the diffusive FLIF when:
- Speed is critical with fractional dynamics: The cost with can be significantly cheaper than the cost with for the GL method.
- Memory is constrained: Each neuron stores mode amplitudes instead of voltage history values. For large reservoirs, this difference is significant.
- Approximate memory suffices: If the task does not require exact reproduction of the fractional dynamics and an approximation is acceptable.
- Long simulation times: The diffusive method’s cost does not grow with simulation length (unlike the non-truncated Caputo method), making it efficient for very long time series.
For tasks where exact fractional memory behavior is important or where you need to validate against analytical results, the GL method is preferred.
Reset Behavior
When a spike occurs (), the membrane potential is reset to . The diffusion modes are also partially reset to maintain consistency. Specifically, the modes are scaled to reflect the discontinuity in caused by the reset, preventing the accumulation of spurious memory from pre-spike dynamics.
This reset protocol is handled internally by SPIRES and requires no user intervention. It ensures that the diffusive representation remains an accurate approximation of the true fractional dynamics across spike events.