LIAF-Net: Leaky Integrate and Analog Fire Network for Lightweight and Efficient Spatiotemporal Information Processing

Zhenzhi Wu, Hehui Zhang, Yihan Lin, Guoqi Li, Meng Wang, Ye TangIEEE TNNLS 2020 · DOI

TL;DR

This paper introduces the Leaky Integrate and Analog Fire (LIAF) neuron, a novel spiking neuron model that transmits analog values instead of binary spikes. LIAF-Net, a deep network built with these neurons, achieves competitive performance on temporal and spatiotemporal tasks while significantly reducing computational cost and memory footprint compared to traditional SNNs and ANNs.

What Problem Does This Paper Address?

Traditional Spiking Neural Networks (SNNs), particularly those based on the Leaky Integrate-and-Fire (LIF) model, offer energy efficiency due to their event-driven nature. However, their performance often lags behind Artificial Neural Networks (ANNs) due to the limitations of transmitting information solely through binary spikes. This binary communication inherently reduces accuracy. Furthermore, integrating LIF-SNNs with existing ANN architectures and handling real-world analog data (like images and videos) requires complex and inefficient conversion modules. The paper aims to bridge this gap by proposing a neuron model that retains the temporal processing capabilities of LIF neurons while enabling analog communication, thereby facilitating easier integration with ANNs and improving performance on spatiotemporal tasks.

Methods

The core innovation is the Leaky Integrate and Analog Fire (LIAF) neuron. Similar to LIF neurons, LIAF neurons integrate inputs and have a membrane potential that leaks over time. However, unlike LIF neurons that fire a binary spike, LIAF neurons output an analog value derived from their membrane potential through an activation function. This analog output allows for richer information transmission.

Key aspects of the LIAF model:

  • Temporal Dynamics: It preserves the LIF model's temporal processing capabilities.
  • Spatial Integration: It can integrate spatial information through convolutional or fully-connected layers, making it compatible with standard deep learning operations.
  • Analog Communication: Transmits analog values, overcoming the accuracy limitations of binary spikes.
  • Integration with ANNs: The analog output format allows seamless integration with traditional ANN layers without the need for spike-to-analog converters.

The authors also propose LIAF-Net, a deep network architecture built using LIAF neurons. This network can be trained using standard backpropagation through time (BPTT) techniques, similar to recurrent neural networks.

Datasets

The paper evaluates LIAF-Net on the following datasets:

  • bAbI Question Answering (QA) tasks: Used for evaluating temporal processing capabilities.
  • Dynamic Vision Sensor (DVS) datasets:
    • MNIST-DVS: For spatiotemporal classification.
  • CIFAR10-DVS: For spatiotemporal classification.
  • DVS128 Gesture Dataset: For spatiotemporal gesture recognition.

These DVS datasets are event-based, capturing light intensity changes at each pixel, which naturally aligns with the event-driven nature of SNNs.

Key Insights and Ideas

  • Analog Spikes are Better: The core insight is that transmitting analog values, rather than just binary spikes, significantly improves the performance of SNNs on complex tasks, especially spatiotemporal ones, without sacrificing the energy efficiency benefits of event-driven processing.
  • Bridging the SNN-ANN Divide: LIAF acts as a crucial bridge, allowing SNNs and ANNs to communicate seamlessly. This eliminates the need for cumbersome conversion modules and enables the development of hybrid architectures.
  • Lightweight Spatiotemporal Processing: LIAF-Net demonstrates that it's possible to achieve state-of-the-art performance on spatiotemporal tasks with significantly fewer parameters and computational operations compared to established models like ConvLSTM and Conv3D.
  • Bio-plausibility with Enhanced Functionality: The LIAF model is presented as bio-plausible, drawing parallels to observed dendritic behaviors in biological neurons, while simultaneously offering enhanced computational capabilities.

Key Results

  • Temporal Tasks (bAbI QA): LIAF-Net achieved comparable performance to GRU and LSTM, with significantly less storage and computational cost.
  • Spatiotemporal Tasks (DVS Datasets):
    • Achieved state-of-the-art performance on MNIST-DVS, CIFAR10-DVS, and DVS128 Gesture datasets.
  • On CIFAR10-DVS, LIAF-Net achieved 70.4% accuracy, a 9.9% improvement over previous best results.
  • Compared to ConvLSTM and Conv3D, LIAF-Net used 68-92% fewer weight parameters and had significantly lower computational overhead.
  • LIAF-Net showed better accuracy and less overfitting compared to traditional LIF-SNNs on DVS datasets.
  • Efficiency: LIAF-Net demonstrated substantial reductions in computational complexity and parameter count compared to traditional temporal (RNN, GRU, LSTM) and spatiotemporal (ConvLSTM, Conv3D) models. For instance, a LIAF layer consumed 63.5% fewer weights than an LSTM layer.

Limitations and Future Work

  • Performance Gap in Complex Reasoning: While LIAF performs well, the paper notes that for tasks requiring very complex relationships and multi-hop reasoning, GRU and LSTM might still perform better, potentially due to the absence of explicit gating mechanisms in LIAF.
  • Finetuning for Optimal Performance: The paper highlights that LIAF can achieve even better performance with careful finetuning of learning rates and epochs, suggesting that its full potential might require more extensive hyperparameter optimization.
  • Future Work: The authors suggest that LIAF can be used to build pure SNNs through rate or temporal coding, and it can serve as an intermediate representation for converting between different coding schemes. They also propose LIAF as a "3.5th generation" evolving technology for LIF SNNs, paving the way for more advanced and efficient neuromorphic systems.

Summary updated

Abstract

Spiking neural networks (SNNs) based on the leaky integrate and fire (LIF) model have been applied to energy-efficient temporal and spatiotemporal processing tasks. Due to the bioplausible neuronal dynamics and simplicity, LIF-SNN benefits from event-driven processing, however, usually face the embarrassment of reduced performance. This may because, in LIF-SNN, the neurons transmit information via spikes. To address this issue, in this work, we propose a leaky integrate and analog fire (LIAF) neuron model so that analog values can be transmitted among neurons, and a deep network termed LIAF-Net is built on it for efficient spatiotemporal processing. In the temporal domain, LIAF follows the traditional LIF dynamics to maintain its temporal processing capability. In the spatial domain, LIAF is able to integrate spatial information through convolutional integration or fully connected integration. As a spatiotemporal layer, LIAF can also be used with traditional artificial neural network (ANN) layers jointly. In addition, the built network can be trained with backpropagation through time (BPTT) directly, which avoids the performance loss caused by ANN to SNN conversion. Experiment results indicate that LIAF-Net achieves comparable performance to the gated recurrent unit (GRU) and long short-term memory (LSTM) on bAbI question answering (QA) tasks and achieves state-of-the-art performance on spatiotemporal dynamic vision sensor (DVS) data sets, including MNIST-DVS, CIFAR10-DVS, and DVS128 Gesture, with much less number of synaptic weights and computational overhead compared with traditional networks built by LSTM, GRU, convolutional LSTM (ConvLSTM), or 3-D convolution (Conv3D). Compared with traditional LIF-SNN, LIAF-Net also shows dramatic accuracy gain on all these experiments. In conclusion, LIAF-Net provides a framework combining the advantages of both ANNs and SNNs for lightweight and efficient spatiotemporal information processing.
BibTeX
@article{wu2020liaf,
  author = {Zhenzhi Wu and Hehui Zhang and Yihan Lin and Guoqi Li and Meng Wang and Ye Tang},
  title = {{LIAF-Net: Leaky Integrate and Analog Fire Network for Lightweight and Efficient Spatiotemporal Information Processing}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2020},
  doi = {10.1109/tnnls.2021.3073016},
}
Figure