Skip to main content
QUICK REVIEW

[Paper Review] Efficient Deep Spiking Multi-Layer Perceptrons with Multiplication-Free Inference

Boyan Li, Luziwei Leng|arXiv (Cornell University)|Jun 21, 2023
Advanced Memory and Neural ComputingEngineering75 references3 citations
TL;DR

This paper proposes a multiplication-free, deep spiking multi-layer perceptron (SNN-MLP) architecture that integrates global receptive fields with local feature extraction via spiking patch encoding and MFI-compatible batch normalization. The method achieves 66.39% top-1 accuracy on ImageNet-1K—surpassing spiking ResNet-34 by 2.67%—while reducing computation, parameters, and simulation steps.

ABSTRACT

Advancements in adapting deep convolution architectures for Spiking Neural Networks (SNNs) have significantly enhanced image classification performance and reduced computational burdens. However, the inability of Multiplication-Free Inference (MFI) to align with attention and transformer mechanisms, which are critical to superior performance on high-resolution vision tasks, imposing limitations on these gains. To address this, our research explores a new pathway, drawing inspiration from the progress made in Multi-Layer Perceptrons (MLPs). We propose an innovative spiking MLP architecture that uses batch normalization to retain MFI compatibility and introducing a spiking patch encoding layer to enhance local feature extraction capabilities. As a result, we establish an efficient multi-stage spiking MLP network that blends effectively global receptive fields with local feature extraction for comprehensive spike-based computation. Without relying on pre-training or sophisticated SNN training techniques, our network secures a top-1 accuracy of 66.39% on the ImageNet-1K dataset, surpassing the directly trained spiking ResNet-34 by 2.67%. Furthermore, we curtail computational costs, model parameters, and simulation steps. An expanded version of our network compares with the performance of the spiking VGG-16 network with a 71.64% top-1 accuracy, all while operating with a model capacity 2.1 times smaller. Our findings highlight the potential of our deep SNN architecture in effectively integrating global and local learning abilities. Interestingly, the trained receptive field in our network mirrors the activity patterns of cortical cells. Source codes are publicly accessible at https://github.com/EMI-Group/mixer-snn.

Motivation & Objective

  • To overcome the incompatibility of attention and transformer mechanisms with Multiplication-Free Inference (MFI) in spiking neural networks (SNNs).
  • To design a deep SNN architecture based on Multi-Layer Perceptrons (MLPs) that maintains MFI compatibility while enabling effective global and local feature learning.
  • To enhance local feature extraction in SNNs by introducing a spiking patch encoding layer using a directed acyclic graph structure.
  • To achieve state-of-the-art performance in SNN-based image classification without relying on pre-training or complex training techniques.

Proposed method

  • Replaces standard normalization in MLP-Mixer blocks with batch normalization (BN) to ensure compatibility with Multiplication-Free Inference (MFI).
  • Introduces a spiking patch encoding module based on a directed acyclic graph (DAG) to enhance local spatial feature extraction in the initial layers.
  • Employs lightweight axial sampling in the token-mixing block to reduce computational cost while preserving global receptive field capabilities.
  • Constructs a multi-stage spiking MLP network using skip connections and MFI-friendly components to enable full spike-based computation.
  • Uses a spike-based training protocol with surrogate gradient backpropagation to train the network end-to-end on ImageNet-1K.
  • Estimates energy consumption using 45nm CMOS technology, assigning 0.9pJ per addition and 4.6pJ per MAC operation.

Experimental results

Research questions

  • RQ1Can a deep spiking MLP architecture be designed to be fully compatible with Multiplication-Free Inference (MFI) while maintaining high performance on image classification tasks?
  • RQ2How can local feature extraction be effectively enhanced in spiking MLPs without violating MFI constraints?
  • RQ3To what extent can a spiking MLP with global and local learning capabilities outperform existing spiking convolutional networks like ResNet-34 on ImageNet-1K?
  • RQ4Do the learned receptive fields in the proposed SNN resemble biological cortical receptive fields, such as the 'off-center on-surround' pattern?
  • RQ5Can a spike-based MLP be integrated into attention-based models as a lightweight, energy-efficient component?

Key findings

  • The proposed spiking MLP-SPE-T achieves 66.39% top-1 accuracy on ImageNet-1K, outperforming directly trained spiking ResNet-34 by 2.67%.
  • The model reduces computational cost by nearly half compared to spiking ResNet-34, with only 1.18 billion additions and 12 million multiplications.
  • Energy consumption is estimated at 1.12 mJ, significantly lower than SparseMLP (13.75 mJ) and SpikFormer (11.58 mJ), despite comparable model capacity.
  • The trained receptive fields in early layers exhibit an 'M'-shaped weight kernel resembling the 'off-center on-surround' structure of cortical cells.
  • An expanded version of the network achieves 71.64% top-1 accuracy on ImageNet-1K with a model capacity 2.1 times smaller than spiking VGG-16.
  • The network demonstrates that MFI-compatible batch normalization enables effective training of deep spiking MLPs without relying on pre-training or complex SNN-specific techniques.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.