Abstract
Spiking Neural Networks (SNNs) draw inspiration from biological neurons to enable brain-like computation, demonstrating effectiveness in processing temporal information with energy efficiency and biological realism. Most existing SNNs are based on neural dynamics such as the (leaky) integrate-and-fire (IF/LIF) models, which are described by first-order ordinary differential equations (ODEs) with Markovian characteristics. This means the potential state at any time depends solely on its immediate past value, potentially limiting network expressiveness. Empirical studies of real neurons, however, reveal long-range correlations and fractal dendritic structures, suggesting non-Markovian behavior better modeled by fractional-order ODEs. Motivated by this, we propose a fractional-order spiking neural network (f-SNN) framework that strictly generalizes integer-order SNNs and captures long-term dependencies in membrane potential and spike trains via fractional dynamics, enabling richer temporal patterns. We further release an open-source toolbox, spikeDE, to support the f-SNN framework across diverse architectures and real-world tasks. Experimentally, fractional adaptations of established SNNs into the f-SNN framework achieve superior accuracy, comparable energy efficiency, and improved robustness to noise, underscoring the promise of f-SNNs as an effective extension of traditional SNNs.
Introduction
Spiking Neural Networks (SNNs) represent the "third generation" of neural networks, prized for their energy efficiency and biological inspiration. However, traditional SNNs typically rely on Integrate-and-Fire (IF) or Leaky Integrate-and-Fire (LIF) models governed by first-order ordinary differential equations (ODEs). These models are inherently Markovian, meaning a neuron's state at any time depends only on its immediate past. This "short memory" (exponential decay) contrasts with biological observations of long-range correlations and fractal dendritic structures in real neurons.
To address this, we introduce the Fractional-order Spiking Neural Network (f-SNN) framework. By replacing standard first-order dynamics with fractional-order differential equations, f-SNNs capture non-Markovian behavior and long-term temporal dependencies, offering a more biologically realistic and expressive model for temporal information processing.
Methodology
The f-SNN framework generalizes standard SNNs by utilizing the Caputo fractional derivative ($D^\alpha$) of order $\alpha \in (0, 1]$. In this framework, the membrane potential $U(t)$ is governed by a fractional derivative, introducing a "memory kernel" where the current state integrates the entire history weighted by a power-law function.
Fractional Dynamics and Discretization
While standard LIF neurons exhibit exponential memory decay, f-LIF neurons demonstrate power-law decay. This allows the network to integrate information from a significantly broader temporal window. To implement this computationally, the framework employs the fractional Adams–Bashforth–Moulton (ABM) predictor method, updating membrane potential through a weighted sum of past states.
The spikeDE Toolbox
To support the adoption of f-SNNs, we developed spikeDE, an open-source PyTorch-based library. It supports various architectures, including CNNs, Transformers, and MLPs, and provides numerical solvers for fractional dynamics. Training is achieved using surrogate gradients to handle the non-differentiable nature of discrete spikes.
Key Insights
- Infinite-Dimensional Expressivity: Mathematically, a single f-IF neuron is equivalent to an infinite ensemble of standard LIF neurons with a continuum of leak factors.
- Natural Robustness: Perturbations in f-SNNs grow sub-linearly ($t^\alpha$) over time, compared to the linear growth ($t$) in standard models, making them inherently more resistant to noise.
- The $\alpha$ Parameter: The fractional order $\alpha$ serves as a new hyperparameter; $\alpha=1$ recovers the traditional SNN, while tuning $\alpha$ optimizes the temporal receptive field.
Experimental Results
The f-SNN framework was evaluated across neuromorphic vision (e.g., N-MNIST, N-Caltech101), graph learning (e.g., Cora, ogbn-arxiv), and static vision (e.g., ImageNet) datasets.
- Superior Accuracy: f-SNNs consistently outperformed baselines. For instance, on N-Caltech101 with a Transformer backbone, f-LIF achieved 76.27% accuracy vs. 72.63% for standard LIF.
- Robustness: Under heavy Gaussian noise or occlusions, f-SNNs showed significantly slower performance degradation than traditional SNNs.
- Efficiency: Despite increased mathematical complexity, f-SNNs maintained comparable energy efficiency, often achieving lower average firing rates that offset the additional computation per neuron.
Conclusion and Future Work
f-SNNs offer a powerful extension to traditional SNNs by incorporating long-term dependencies through fractional calculus. While results are promising, future work includes optimizing hyperparameter tuning for $\alpha$, reducing the computational cost of history-dependent updates, and developing neuromorphic hardware primitives tailored for power-law kernels.
Summary updated