Deep residual spiking neural network for keyword spotting in low-resource settings

Qu Yang, Qi Liu, Haizhou Li

Introduction

Keyword Spotting (KWS) is a fundamental technology for always-on edge devices, enabling voice-activated features like "Hey Siri" or "OK Google." To operate effectively on battery-powered hardware, KWS models must satisfy three stringent requirements: high accuracy, a minimal memory footprint, and extremely low power consumption.

Traditional Artificial Neural Networks (ANNs) are highly accurate but computationally expensive, primarily because they rely on Multiply-and-Accumulate (MAC) operations. Furthermore, most KWS systems depend on hand-crafted audio features such as Mel Frequency Cepstral Coefficients (MFCCs), which require complex Fourier transforms that significantly drain battery life. Spiking Neural Networks (SNNs) offer a brain-inspired alternative by utilizing event-driven Accumulate (AC) operations. However, SNNs have historically been difficult to train at the depths necessary for competitive performance, often resulting in shallow models with limited accuracy.

Proposed Methodology

The researchers propose an end-to-end deep residual SNN architecture that bridges the gap between the efficiency of spiking models and the performance of deep ANNs.

Figure 2: The overall architecture of the proposed end-to-end spiking residual network. It features a 1D convolutional front-end for raw audio processing and a ResNet-based classifier trained using Progressive Tandem Learning (PTL).

1. End-to-End 1D Convolutional Front-end

To eliminate the overhead of traditional spectral analysis, the model employs a time-domain 1D convolutional front-end. This allows the network to process raw audio waveforms directly. By learning features from the raw signal, the system avoids the energy-intensive pre-processing steps required by MFCC-based models and maintains a fully spike-based pipeline from input to output.

2. Spiking ResNet8 and the sResNet Block B

The core of the classifier is an 8-layer deep residual network (ResNet8). A significant challenge in deep SNNs is the implementation of "shortcut" connections. Standard residual blocks in SNNs often sum membrane potentials, which can lead to "leakage" and conversion errors when translating weights from an ANN.

To solve this, the authors introduced sResNet Block B. Unlike standard designs (Block A) that sum potentials, Block B sums the output spikes directly. This architectural refinement ensures that shortcut connections do not inadvertently trigger spikes, resulting in a 1.1% improvement in conversion accuracy over standard residual designs.

Figure 5: Comparison of (a) the standard sResNet Block A and (b) the proposed sResNet Block B. Block B improves accuracy by summing output spikes directly, reducing conversion loss in deep residual architectures.

3. Enhanced Progressive Tandem Learning (PTL)

Training deep SNNs is non-trivial because the discrete nature of spikes makes them non-differentiable, preventing standard backpropagation. The authors utilized an enhanced PTL algorithm, which trains the network layer-by-layer and block-by-block. This approach effectively transfers knowledge from a pre-trained ANN to the SNN while fine-tuning the spiking parameters to minimize the performance gap.

Experimental Results

The model was evaluated on the Google Speech Commands (GSC) dataset, focusing on the standard 12-class recognition task (10 keywords plus "silence" and "unknown").

Accuracy Benchmarks

The proposed SNN achieved an accuracy of 92.2% on GSC V1 and 92.9% on GSC V2. This represents a substantial leap over previous SNN benchmarks, which typically achieved between 75% and 87% accuracy. These results bring SNN performance within reach of high-end, non-spiking models.

Efficiency and Resource Utilization

The SNN implementation demonstrated remarkable efficiency gains:

  • Energy Efficiency: The model is 9 times more energy-efficient than its ANN counterpart. This is largely due to the use of AC operations, which are roughly 14x more energy-efficient than MAC operations on a 28nm process.
  • Memory Footprint: The model utilizes only 86.5K parameters. For comparison, many state-of-the-art KWS models require between 210K and 700K parameters once the audio pre-processing front-end is included.

Conclusion

This work demonstrates that deep residual SNNs can provide a viable, high-performance solution for low-resource keyword spotting. By combining a 1D convolutional front-end with a novel residual block design and block-wise training, the researchers achieved near-ANN accuracy with significantly lower power and memory requirements. Future research will focus on deploying these models on dedicated neuromorphic hardware to fully realize their potential for extending the battery life of mobile and IoT devices.

Summary updated

BibTeX
@inproceedings{yang2022deep,
  author = {Qu Yang and Qi Liu and Haizhou Li},
  title = {{Deep residual spiking neural network for keyword spotting in low-resource settings}},
  booktitle = {Interspeech},
  year = {2022},
  doi = {10.21437/interspeech.2022-107},
}
Figure