Sparse Computation in Adaptive Spiking Neural Networks

Davide Zambrano, Roeland Nusselder, H. Steven Scholte, Sander M. BohtéFrontiers in Neuroscience 2019

Abstract

Artificial Neural Networks (ANNs) are highly effective but computationally expensive due to their continuous, frame-based communication. In contrast, biological neurons communicate efficiently via sparse binary spikes. This paper introduces Adaptive Spiking Neural Networks (AdSNNs), which utilize spike-frequency adaptation to bridge the performance gap between ANNs and Spiking Neural Networks (SNNs). By deriving an analytical transfer function for adaptive spiking neurons, we enable the direct conversion of deep ANNs into SNNs that maintain high accuracy at biologically realistic firing rates. Furthermore, we introduce an arousal mechanism that dynamically adjusts firing rates to optimize the trade-off between energy efficiency and classification precision.

Introduction: The Efficiency Gap in Neural Computing

Modern AI relies heavily on Artificial Neural Networks (ANNs), which excel at complex tasks but lack the temporal dynamics and energy efficiency of biological systems. ANNs typically exchange high-precision analog values, whereas biological brains use asynchronous, sparse binary "spikes." Previous attempts to create Spiking Neural Networks (SNNs) often suffered from a significant performance gap compared to deep ANNs or required excessively high firing rates (Poisson coding) to achieve competitive accuracy. This research addresses these challenges by proposing a framework for AdSNNs that are both accurate and biologically plausible.

Methodology: Adaptive Spiking Neurons and Transfer Functions

The core of the AdSNN framework is the Adaptive Spiking Neuron (ASN), modeled using the Spike Response Model (SRM). Unlike standard spiking neurons, ASNs incorporate spike-frequency adaptation: each spike temporarily raises the neuron's internal threshold, regulating its firing rate.

Figure 1: (A) Schematic of the adaptive spiking neuron model. (B) Voltage traces showing the arousal mechanism where firing rate increases for higher precision. (C) Firing rate and transfer function y(S) for different threshold levels.

A critical innovation is the derivation of an analytical transfer function, $f(S)$, which relates a neuron's input to its average postsynaptic contribution. This function allows standard deep learning architectures (e.g., ResNet, VGG) to be trained as ANNs and then directly converted into SNNs by transplanting the weights. This "ANN-to-SNN conversion" bypasses the need for specialized SNN training while preserving performance.

Additionally, the authors implemented a bio-inspired "arousal" mechanism. By dynamically adjusting the firing threshold, the network can operate at a low, energy-efficient firing rate for "easy" samples and increase its rate (and thus precision) only when encountering ambiguous or "hard" data.

Results and Discussion

The AdSNN approach was validated on several benchmarks, including MNIST, CIFAR-10, and ImageNet.

Performance and Realism

AdSNNs achieved near-identical accuracy to their analog ANN counterparts, reaching 99.59% on MNIST and 89.67% on CIFAR-10. Crucially, these results were obtained with firing rates between 25 and 109 Hz, significantly lower than previous high-performance SNNs and closer to biological observations.

Dynamic Efficiency via Arousal

The arousal mechanism proved highly effective for energy conservation. On the MNIST dataset, the network maintained top-tier accuracy while halving the average firing rate (from 37 Hz to 8 Hz) by selectively increasing activity only for difficult-to-classify digits.

Scalability and Future Directions

The successful conversion of a ResNet-18 on ImageNet (62.97% accuracy) demonstrates the scalability of AdSNNs to real-world vision tasks. However, challenges remain regarding latency—the time required for the network to settle on a classification—and the need for specialized neuromorphic hardware to fully realize the energy-saving benefits of sparse, asynchronous computation. Future work will explore extending this framework to recurrent architectures to better handle complex temporal data.

Conclusion

AdSNNs represent a significant step toward energy-efficient, biologically inspired AI. By leveraging neural adaptation and a formal transfer function, this framework allows for the seamless integration of deep learning performance with the sparse, asynchronous advantages of spiking neural computation.

Summary updated

Abstract

Artificial Neural Networks (ANNs) are bio-inspired models of neural computation that have proven highly effective. Still, ANNs lack a natural notion of time, and neural units in ANNs exchange analog values in a frame-based manner, a computationally and energetically inefficient form of communication. This contrasts sharply with biological neurons that communicate sparingly and efficiently using isomorphic binary spikes. While Spiking Neural Networks (SNNs) can be constructed by replacing the units of an ANN with spiking neurons (Cao et al., 2015; Diehl et al., 2015) to obtain reasonable performance, these SNNs use Poisson spiking mechanisms with exceedingly high firing rates compared to their biological counterparts. Here we show how spiking neurons that employ a form of neural coding can be used to construct SNNs that match high-performance ANNs and match or exceed state-of-the-art in SNNs on important benchmarks, while requiring firing rates compatible with biological findings. For this, we use spike-based coding based on the firing rate limiting adaptation phenomenon observed in biological spiking neurons. This phenomenon can be captured in fast adapting spiking neuron models, for which we derive the effective transfer function. Neural units in ANNs trained with this transfer function can be substituted directly with adaptive spiking neurons, and the resulting Adaptive SNNs (AdSNNs) can carry out competitive classification in deep neural networks without further modifications. Adaptive spike-based coding additionally allows for the dynamic control of neural coding precision: we show empirically how a simple model of arousal in AdSNNs further halves the average required firing rate and this notion naturally extends to other forms of attention as studied in neuroscience. AdSNNs thus hold promise as a novel and sparsely active model for neural computation that naturally fits to temporally continuous and asynchronous applications.
BibTeX
@inproceedings{zambrano2019sparse,
  author = {Davide Zambrano and Roeland Nusselder and H. Steven Scholte and Sander M. Bohté},
  title = {{Sparse Computation in Adaptive Spiking Neural Networks}},
  booktitle = {Frontiers in Neuroscience},
  year = {2019},
  doi = {10.3389/fnins.2018.00987},
}
Figure