Spiking-LEAF: A Learnable Auditory front-end for Spiking Neural Networks

Zeyang Song, Jibin Wu, Malu Zhang, Mike Zheng Shou, Haizhou Li

TL;DR

Spiking-LEAF is a novel, fully learnable auditory front-end that bridges the performance gap between Spiking Neural Networks (SNNs) and traditional artificial neural networks in speech processing. By combining a learnable filter bank with a biologically inspired two-compartment neuron model (IHC-LIF), it achieves state-of-the-art accuracy and noise robustness while maintaining the high energy efficiency characteristic of neuromorphic systems.

What Problem Does This Paper Address?

While Spiking Neural Networks (SNNs) are theoretically ideal for temporal signals like speech due to their event-driven nature, they have historically lagged behind non-spiking ANNs in speech recognition tasks. A major bottleneck is the "auditory front-end"—the component that converts raw audio into the spike trains SNNs can process.

Existing front-ends typically rely on handcrafted features (like Mel-filter banks) or computationally heavy biophysical models. Handcrafted filters are often suboptimal for specific tasks, while complex biological simulations are too resource-intensive for the edge-computing and neuromorphic platforms where SNNs shine. Furthermore, many current encoding methods lack essential biological characteristics, such as feedback adaptation, which are crucial for processing speech in noisy environments.

Methods

The authors introduce Spiking-LEAF, a modular front-end consisting of two main stages:

  1. Parameterized Acoustic Feature Extraction: Instead of fixed filters, the model uses a learnable 1D-convolution Gabor filter bank. This is followed by Per-Channel Energy Normalization (PCEN), which compresses the dynamic range of the signal, mimicking the adaptive gain control found in the human ear.
  2. IHC-LIF Neural Encoding: The core innovation is the Inner Hair Cell-Leaky Integrate-and-Fire (IHC-LIF) neuron model. Unlike standard single-compartment LIF neurons, the IHC-LIF features segregated dendritic and somatic compartments.
Fig. 1: The overall architecture of the proposed SNN-based speech processing framework.

As shown in the computational graphs below, this two-compartment structure allows the neuron to capture multi-scale temporal dynamics more effectively. The model also incorporates lateral feedback (where output spikes modulate neighboring frequency bands) and a spike rate regularization loss ($L_{SR}$) to ensure the resulting spike representation is both sparse and informative.

Fig. 2: Computational graphs of LIF and IHC-LIF neurons.

Datasets

The model was evaluated on two primary tasks:

  • Keyword Spotting (KWS): Using the Google Speech Command Dataset V2, featuring over 100,000 utterances across 35 command classes.
  • Speaker Identification (SI): Using the Voxceleb1 dataset, a large-scale task involving 1,251 speakers.
  • Noise Robustness: To test performance in real-world conditions, the authors used noise samples from the NOISEX-92 and CHiME-3 datasets to contaminate the test sets.

Key Insights and Ideas

  • Joint Optimization is Key: By making the entire front-end learnable, the acoustic filters and the neural encoding parameters can be optimized simultaneously with the backend classifier for a specific task.
  • Biological Realism Improves Robustness: The lateral inhibition mechanism, inspired by how hair cells in the cochlea detect sounds below thermal noise levels, acts as a powerful natural denoiser. It suppresses "chatter" in non-speech periods, amplifying the most relevant signals.
  • Efficiency through Regularization: The authors found that while complex two-compartment models (like TC-LIF) improve accuracy, they often lead to high firing rates. The IHC-LIF, combined with specific spike rate penalties, achieves a "sweet spot"—higher accuracy than standard models with significantly fewer spikes.

Key Results

  • Superior Accuracy: On the KWS task, Spiking-LEAF achieved 93.95% accuracy with a recurrent classifier, outperforming standard Fbank+LIF baselines.
  • Noise Robustness: As shown in the figure below, Spiking-LEAF maintains significantly higher accuracy than traditional features as the Signal-to-Noise Ratio (SNR) drops, particularly in the -5dB to 5dB range.
Accuracy comparison across different SNR levels, highlighting Spiking-LEAF's robustness to noise.
  • Encoding Efficiency: Through ablation studies, the authors demonstrated that combining lateral inhibition and spike regularization reduced the firing rate from ~34% to ~12% while maintaining high accuracy. Visually, this results in a much cleaner, sparser spike train that effectively filters out unwanted background noise.
Visualizing how lateral inhibition and regularization clean up the spike representation compared to standard Fbank features.

Limitations and Future Work

The paper primarily focuses on the architectural design and algorithmic performance of the front-end. While the authors mention the potential for ultra-low-power processing, the paper does not provide direct hardware power consumption measurements on specific neuromorphic chips (like Loihi or TrueNorth).

Future work likely involves deploying Spiking-LEAF onto such hardware to quantify the actual energy savings in real-time "always-on" edge applications, such as voice-activated IoT devices.

Summary updated

BibTeX
@inproceedings{song2024spiking,
  author = {Zeyang Song and Jibin Wu and Malu Zhang and Mike Zheng Shou and Haizhou Li},
  title = {{Spiking-LEAF: A Learnable Auditory front-end for Spiking Neural Networks}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446789},
}
Figure