NEAIAug 9, 2024

Exploring the Limitations of Layer Synchronization in Spiking Neural Networks

arXiv:2408.05098v24 citationsh-index: 18Has Code
AI Analysis

This addresses a bottleneck in making SNNs more efficient for AI applications, though it is incremental as it builds on existing SNN methods.

The paper tackles the problem of layer synchronization in Spiking Neural Networks (SNNs), showing that models trained with synchronization perform poorly or fail to gain efficiency when run asynchronously, and proposes a training method that enables asynchronous processing to reduce spikes by up to 50%, speed up inference by up to 2x, and improve accuracy by up to 10%.

Neural-network processing in machine learning applications relies on layer synchronization. This is practiced even in artificial Spiking Neural Networks (SNNs), which are touted as consistent with neurobiology, in spite of processing in the brain being in fact asynchronous. A truly asynchronous system however would allow all neurons to evaluate concurrently their threshold and emit spikes upon receiving any presynaptic current. Omitting layer synchronization is potentially beneficial, for latency and energy efficiency, but asynchronous execution of models previously trained with layer synchronization may entail a mismatch in network dynamics and performance. We present and quantify this problem, and show that models trained with layer synchronization either perform poorly in absence of the synchronization, or fail to benefit from any energy and latency reduction, when such a mechanism is in place. We then explore a potential solution direction, based on a generalization of backpropagation-based training that integrates knowledge about an asynchronous execution scheduling strategy, for learning models suitable for asynchronous processing. We experiment with two asynchronous neuron execution scheduling strategies in datasets that encode spatial and temporal information, and we show the potential of asynchronous processing to use less spikes (up to 50%), complete inference faster (up to 2x), and achieve competitive or even better accuracy (up to 10% higher). Our exploration affirms that asynchronous event-based AI processing can be indeed more efficient, but we need to rethink how we train our SNN models to benefit from it. (Source code available at: https://github.com/RoelMK/asynctorch)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes