Skip to contentSkip to Content
DocsUser GuideNeuron ModelsCaputo Fractional LIF

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 α(0,1]\alpha \in (0, 1]. 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 α\alpha for a function x(t)x(t) is defined as:

CDtαx(t)=1Γ(1α)0tx˙(τ)(tτ)αdτ{}_C D_t^\alpha x(t) = \frac{1}{\Gamma(1-\alpha)} \int_0^t \frac{\dot{x}(\tau)}{(t-\tau)^\alpha}\, d\tau

where Γ()\Gamma(\cdot) is the Euler gamma function and x˙(τ)\dot{x}(\tau) denotes the ordinary first derivative.

Key properties of the Caputo derivative:

  • When α=1\alpha = 1, it reduces to the ordinary first derivative: CDt1x(t)=x˙(t){}_C D_t^1 x(t) = \dot{x}(t).
  • For α<1\alpha \lt 1, the integral kernel (tτ)α(t - \tau)^{-\alpha} is singular at τ=t\tau = t 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., x(0)x(0)), 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:

CDtαV(t)=1τm(V(t)Vrest)+I(t)+b{}_C D_t^\alpha V(t) = -\frac{1}{\tau_m}\bigl(V(t) - V_{\text{rest}}\bigr) + I(t) + b

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 α\alpha directly controls the memory characteristics of the neuron.

The impulse response of the fractional LIF (without threshold) is governed by the Mittag-Leffler function:

V(t)Eα ⁣((tτm)α)V(t) \sim E_\alpha\!\left(-\left(\frac{t}{\tau_m}\right)^\alpha\right)

The Mittag-Leffler function Eα(z)E_\alpha(z) interpolates between a stretched exponential for small tt and a power-law tail for large tt:

Eα(z)1Γ(1α)1zas zE_\alpha(-z) \sim \frac{1}{\Gamma(1-\alpha)} \cdot \frac{1}{z} \quad \text{as } z \to \infty

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 α\alpha:

  • α0+\alpha \to 0^+: Extremely slow decay. The neuron has a very long memory but is sluggish in responding to new inputs.
  • α=0.5\alpha = 0.5: Intermediate regime with algebraic t1/2t^{-1/2} decay envelope.
  • α1\alpha \to 1^-: 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 nn with step size Δt\Delta t:

CDtαVt=tn1Γ(2α)Δtαk=0n1[(k+1)1αk1α](VnkVnk1){}_C D_t^\alpha V\big|_{t=t_n} \approx \frac{1}{\Gamma(2-\alpha)\,\Delta t^\alpha} \sum_{k=0}^{n-1} \bigl[(k+1)^{1-\alpha} - k^{1-\alpha}\bigr]\bigl(V_{n-k} - V_{n-k-1}\bigr)

This requires storing the complete voltage history up to a truncation length LL, making the per-step cost O(L)O(L) in both time and memory. The Caputo formulation ensures that the initial condition V(0)=VrestV(0) = V_{\text{rest}} is directly applied.

Parameters

ParameterSymbolDescriptionTypical Range
Fractional orderα\alphaOrder of the fractional derivative0.1—1.0
Membrane time constantτm\tau_mGoverns the decay rate10—50 ms
Resting potentialVrestV_{\text{rest}}Equilibrium potential-65 mV
ThresholdVthV_{\text{th}}Spike threshold-50 mV
Reset potentialVresetV_{\text{reset}}Post-spike reset value-65 mV
BiasbbConstant offset current-0.1 to 0.1
History lengthLLNumber of past steps retained50—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 = &params, };

Caputo vs. Riemann-Liouville

SPIRES uses the Caputo definition rather than the Riemann-Liouville (RL) definition for several reasons:

  1. Physical initial conditions: The Caputo derivative allows initial conditions to be specified as V(0)=VrestV(0) = V_{\text{rest}}, which is directly measurable. The RL definition requires fractional-order initial conditions that have no clear physical interpretation.

  2. Constant function behavior: The Caputo derivative of a constant is zero, as expected physically. The RL derivative of a constant is not zero for α<1\alpha \lt 1.

  3. Neuroscience convention: The Caputo formulation is standard in the fractional-order neuron modeling literature.

Computational Cost

The Caputo FLIF has cost O(L)O(L) per neuron per time step, where LL is the history length. For a reservoir of NN neurons:

  • Memory: O(NL)O(N \cdot L) to store voltage histories
  • Time per step: O(NL)O(N \cdot L) for the quadrature sums, plus O(N2)O(N^2) or O(Nnnz)O(N \cdot \text{nnz}) for synaptic current computation

For very long histories, consider the GL discretization, which uses the same O(L)O(L) 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 O(M)O(M) approximation with MLM \ll L 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 LL does not need to be extremely large (e.g., L<500L \lt 500), 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.


← Biophysical LIF | GL Fractional LIF →

Last updated on