Caputo Fractional LIF
The Caputo Fractional Leaky Integrate-and-Fire (FLIF) model replaces the integer-order time derivative in the classical LIF equation with a fractional derivative of order . This introduces power-law memory into the neuron dynamics, allowing the membrane potential to retain information about past inputs over much longer time scales than the exponential decay of integer-order models.
Fractional Derivative: The Caputo Definition
The Caputo fractional derivative of order for a function is defined as:
where is the Euler gamma function and denotes the ordinary first derivative.
Key properties of the Caputo derivative:
- When , it reduces to the ordinary first derivative: .
- For , the integral kernel is singular at and decays as a power law, weighting recent history more heavily than distant history — but with a much slower decay than an exponential.
- Initial conditions are specified in terms of integer-order derivatives (e.g., ), which is physically meaningful and distinguishes the Caputo derivative from the Riemann-Liouville definition.
The Fractional LIF Equation
The FLIF equation replaces the integer-order derivative in the LIF model:
This is identical in form to the classical LIF, but the left-hand side is now a fractional derivative. The physical interpretation is that the neuron’s membrane exhibits anomalous diffusion rather than normal diffusion:
- In a standard capacitor (integer-order), charge redistribution follows exponential dynamics.
- In a fractional capacitor (fractional-order), charge redistribution follows power-law dynamics, which models non-ideal dielectric materials, heterogeneous ion channel populations, or complex dendritic morphologies.
Memory and the Fractional Order
The fractional order directly controls the memory characteristics of the neuron.
The impulse response of the fractional LIF (without threshold) is governed by the Mittag-Leffler function:
The Mittag-Leffler function interpolates between a stretched exponential for small and a power-law tail for large :
This means that even long after a stimulus, the membrane potential retains a non-negligible trace of the input. The rate of this power-law decay is controlled by :
- : Extremely slow decay. The neuron has a very long memory but is sluggish in responding to new inputs.
- : Intermediate regime with algebraic decay envelope.
- : Exponential decay is recovered, and the neuron behaves like a classical LIF.
Numerical Discretization
The Caputo FLIF in SPIRES uses a discretization based on the L1 scheme, which approximates the Caputo integral using a quadrature over the history of the function. At time step with step size :
This requires storing the complete voltage history up to a truncation length , making the per-step cost in both time and memory. The Caputo formulation ensures that the initial condition is directly applied.
Parameters
| Parameter | Symbol | Description | Typical Range |
|---|---|---|---|
| Fractional order | Order of the fractional derivative | 0.1—1.0 | |
| 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 | |
| History length | Number of past steps retained | 50—500 |
SPIRES API
cfg.neuron_type = SPIRES_NEURON_FLIF_CAPUTO;Example Configuration
spires_flif_params params = {
.alpha = 0.7,
.tau_m = 20.0,
.v_rest = -65.0,
.v_th = -50.0,
.v_reset = -65.0,
.bias = 0.0,
.L = 200,
};
spires_reservoir_config cfg = {
.num_neurons = 300,
.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_SMALL_WORLD,
.neuron_type = SPIRES_NEURON_FLIF_CAPUTO,
.neuron_params = ¶ms,
};Caputo vs. Riemann-Liouville
SPIRES uses the Caputo definition rather than the Riemann-Liouville (RL) definition for several reasons:
-
Physical initial conditions: The Caputo derivative allows initial conditions to be specified as , which is directly measurable. The RL definition requires fractional-order initial conditions that have no clear physical interpretation.
-
Constant function behavior: The Caputo derivative of a constant is zero, as expected physically. The RL derivative of a constant is not zero for .
-
Neuroscience convention: The Caputo formulation is standard in the fractional-order neuron modeling literature.
Computational Cost
The Caputo FLIF has cost per neuron per time step, where is the history length. For a reservoir of neurons:
- Memory: to store voltage histories
- Time per step: for the quadrature sums, plus or for synaptic current computation
For very long histories, consider the GL discretization, which uses the same cost per step but with precomputed binomial coefficients that may be slightly more cache-friendly, or the Diffusive representation, which trades exact memory for an approximation with quadrature nodes.
When to Use Caputo FLIF
Choose the Caputo FLIF when:
- Theoretical clarity is important: The Caputo formulation has the most intuitive mathematical properties and the largest body of analytical results.
- You need to compare with published work: Most fractional neuron modeling papers use the Caputo definition.
- Moderate history lengths suffice: If does not need to be extremely large (e.g., ), the direct Caputo discretization is straightforward and accurate.
For production use with large reservoirs and long histories, the GL formulation is generally preferred due to its efficient coefficient computation and circular buffer implementation.