Skip to main content
QUICK REVIEW

[Paper Review] Towards Low-Latency Energy-Efficient Deep SNNs via Attention-Guided Compression

Souvik Kundu, Gourav Datta|arXiv (Cornell University)|Jul 16, 2021
Advanced Memory and Neural ComputingEngineering50 references11 citations
TL;DR

This paper proposes an attention-guided, non-iterative compression framework for deep spiking neural networks (SNNs) that achieves ultra-high compression (up to 33.4×) with minimal accuracy drop by leveraging attention maps from a pre-trained ANN to guide structured and irregular pruning, followed by sparse-learning-based SNN training with direct input coding. The method reduces inference latency and boosts energy efficiency, achieving up to 98× better compute energy efficiency than uncompressed ANNs on CIFAR-10.

ABSTRACT

Deep spiking neural networks (SNNs) have emerged as a potential alternative to traditional deep learning frameworks, due to their promise to provide increased compute efficiency on event-driven neuromorphic hardware. However, to perform well on complex vision applications, most SNN training frameworks yield large inference latency which translates to increased spike activity and reduced energy efficiency. Hence,minimizing average spike activity while preserving accuracy indeep SNNs remains a significant challenge and opportunity.This paper presents a non-iterative SNN training technique thatachieves ultra-high compression with reduced spiking activitywhile maintaining high inference accuracy. In particular, our framework first uses the attention-maps of an un compressed meta-model to yield compressed ANNs. This step can be tuned to support both irregular and structured channel pruning to leverage computational benefits over a broad range of platforms. The framework then performs sparse-learning-based supervised SNN training using direct inputs. During the training, it jointly optimizes the SNN weight, threshold, and leak parameters to drastically minimize the number of time steps required while retaining compression. To evaluate the merits of our approach, we performed experiments with variants of VGG and ResNet, on both CIFAR-10 and CIFAR-100, and VGG16 on Tiny-ImageNet.The SNN models generated through the proposed technique yield SOTA compression ratios of up to 33.4x with no significant drops in accuracy compared to baseline unpruned counterparts. Compared to existing SNN pruning methods, we achieve up to 8.3x higher compression with improved accuracy.

Motivation & Objective

  • To address the challenge of high inference latency and energy consumption in deep SNNs, which limits their deployment in resource-constrained edge devices.
  • To enable high-compression, energy-efficient SNNs without iterative or complex optimization, particularly in the absence of batch normalization layers.
  • To develop a non-iterative, end-to-end training framework that supports both irregular and structured pruning for broad hardware compatibility.
  • To improve SNN inference efficiency by minimizing spike activity and time steps through direct input coding and joint optimization of SNN parameters.

Proposed method

  • Use attention maps from an unpruned, pre-trained meta-ANN to guide the compression of the ANN into a sparse, low-density structure via structured or irregular channel pruning.
  • Convert the compressed ANN to an SNN by sequentially fixing layer thresholds based on the ANN’s activation statistics.
  • Perform sparse-learning-based supervised training on the SNN using direct input coding, jointly optimizing SNN weights, thresholds, and leak parameters to minimize time steps.
  • Leverage the non-iterative nature of sparse learning to avoid per-layer density tuning and gradient explosion issues common in BN-free networks.
  • Support both irregular and structured pruning to enable hardware-agnostic deployment across platforms with or without dedicated sparse accelerators.
  • Use direct input coding to reduce spike activity and FLOPs, especially in early layers, improving latency and energy efficiency.

Experimental results

Research questions

  • RQ1Can attention-guided compression enable high-compression SNNs without iterative or complex optimization?
  • RQ2How does direct input coding affect spike activity and inference latency in compressed SNNs compared to rate-coded inputs?
  • RQ3To what extent can structured and irregular pruning be combined with sparse-learning training to maintain accuracy while reducing energy consumption?
  • RQ4Can the proposed method achieve higher compression and energy efficiency than existing SNN pruning techniques, especially on deep architectures like VGG and ResNet?

Key findings

  • The proposed method achieves a maximum compression ratio of 33.4× on CIFAR-10 with minimal accuracy drop compared to unpruned SNNs.
  • Compressed SNNs trained with direct input coding show up to 98× higher compute energy efficiency than uncompressed ANNs and 47× better than iso-parameter ANNs on VGG16 for CIFAR-10.
  • The method reduces average spike activity by up to ~98% compared to baseline SNNs, particularly in early layers, due to direct input coding and optimized thresholding.
  • Compared to existing SNN pruning methods, the approach achieves up to 8.3× higher compression with improved accuracy on CIFAR-10 and CIFAR-100.
  • The framework enables up to 4.5× better FLOPs efficiency for direct-input SNNs compared to rate-coded variants, with reduced inference latency.
  • The method maintains high accuracy even at extreme compression levels, with spike activity in early layers reduced to as low as ~1.36× baseline for channel-pruned models.

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.