Abstract
Spiking Neural Networks (SNNs) offer a biologically inspired, energy-efficient alternative to standard artificial neural networks. However, their non-differentiable nature has historically limited their application to simple tasks. This study demonstrates that SNNs, trained using surrogate gradients, can effectively scale to Large Vocabulary Continuous Speech Recognition (LVCSR). By replacing LSTM layers in a speech encoder with spiking recurrent layers, the researchers achieve competitive performance on the LibriSpeech corpus while demonstrating superior training stability compared to standard non-gated recurrent networks.
Introduction
Modern speech recognition systems predominantly rely on second-generation Artificial Neural Networks (ANNs) that process continuous signals. In contrast, biological brains utilize third-generation SNNs, which communicate via sparse, binary pulses known as "spikes." While SNNs are theoretically more energy-efficient, they are challenging to train because the threshold function that generates a spike is non-differentiable, preventing the use of standard gradient-based optimization.
Previous successes with SNNs were largely confined to small-scale tasks like keyword spotting. This research investigates whether SNNs can handle the complexity of LVCSR, which requires processing long acoustic sequences and predicting sequences of thousands of possible subword units.
Methodology
The researchers implemented a hybrid encoder-decoder architecture within the SpeechBrain framework. The core of the spiking component is the Leaky Integrate-and-Fire (LIF) neuron model, which accumulates input "charge" and emits a spike upon reaching a specific threshold.
To overcome the non-differentiability of the spiking mechanism, a surrogate gradient approach was used during training. Specifically, a "boxcar function" approximates the gradient during the backward pass, enabling standard backpropagation through time (BPTT).
The encoder architecture systematically replaces standard bidirectional LSTM layers with either spiking recurrent layers or non-spiking (continuous) recurrent layers. This hybrid system is trained jointly using Connectionist Temporal Classification (CTC) and Negative Log-Likelihood (NLL) losses.
Experimental Setup
The models were evaluated across three benchmarks of increasing difficulty:
- TIMIT: 4 hours of speech for phoneme recognition.
- LibriSpeech100: 100 hours of clean speech.
- LibriSpeech960: The full 960-hour corpus, representing a true large-scale LVCSR challenge.
Results and Discussion
A key finding of this work is the inherent stability of SNNs. While standard non-gated Recurrent Neural Networks (RNNs) often suffer from exploding gradients, SNNs remain robust without the need for complex gating mechanisms like those found in LSTMs. The sparse, binary nature of spiking communication appears to naturally mitigate the mathematical instabilities common in continuous recurrent models.
On the LibriSpeech960 task, the baseline model (4 LSTM layers) achieved a Word Error Rate (WER) of 3.46%. Replacing three of these layers with spiking neurons resulted in a WER of 4.69%, a modest performance trade-off for a significantly more parameter-efficient model. Notably, as shown in the results table for the 960h dataset, standard non-spiking RNNs failed to converge (diverged) due to gradient instability, whereas their spiking counterparts remained stable and successfully learned the task.
Conclusion
This research proves that SNNs can scale to large-scale continuous speech recognition tasks. While a performance gap remains when completely replacing gated units like LSTMs, SNNs offer a compelling combination of parameter efficiency and training stability. Future work will focus on closing the accuracy gap through more complex neuronal dynamics and exploring the deployment of these models on neuromorphic hardware to realize their full energy-efficiency potential.
Summary updated