[Paper Review] HYPER-SNN: Towards Energy-efficient Quantized Deep Spiking Neural Networks for Hyperspectral Image Classification
This paper proposes HYPER-SNN, a quantized spiking neural network for hyperspectral image classification that directly processes analog HSI pixel values without spike-train conversion. Using quantization-aware training, it achieves SOTA accuracy with 560.6× and 44.8× lower compute energy than full-precision and 6-bit quantized CNNs, respectively, across three datasets.
Hyper spectral images (HSI) provide rich spectral and spatial information across a series of contiguous spectral bands. However, the accurate processing of the spectral and spatial correlation between the bands requires the use of energy-expensive 3-D Convolutional Neural Networks (CNNs). To address this challenge, we propose the use of Spiking Neural Networks (SNNs) that are generated from iso-architecture CNNs and trained with quantization-aware gradient descent to optimize their weights, membrane leak, and firing thresholds. During both training and inference, the analog pixel values of a HSI are directly applied to the input layer of the SNN without the need to convert to a spike-train. The reduced latency of our training technique combined with high activation sparsity yields significant improvements in computational efficiency. We evaluate our proposal using three HSI datasets on a 3-D and a 3-D/2-D hybrid convolutional architecture. We achieve overall accuracy, average accuracy, and kappa coefficient of 98.68%, 98.34%, and 98.20% respectively with 5 time steps (inference latency) and 6-bit weight quantization on the Indian Pines dataset. In particular, our models achieved accuracies similar to state-of-the-art (SOTA) with 560.6 and 44.8 times less compute energy on average over three HSI datasets than an iso-architecture full-precision and 6-bit quantized CNN, respectively.
Motivation & Objective
- Address the high energy cost of 3D CNNs in hyperspectral image (HSI) classification, especially for edge deployment.
- Overcome the computational inefficiency of traditional CNNs in processing high-dimensional HSI data with hundreds of spectral bands.
- Develop a low-power, energy-efficient alternative to full-precision and quantized CNNs for HSI classification using spiking neural networks (SNNs).
- Enable direct processing of analog HSI pixel values in SNNs without spike-train encoding to reduce latency and computational overhead.
- Achieve state-of-the-art classification accuracy with minimal compute energy through quantization-aware training and architectural optimization.
Proposed method
- Train SNNs end-to-end using quantization-aware gradient descent to optimize weights, membrane leak, and firing thresholds.
- Directly feed analog HSI pixel values into the SNN input layer without converting to spike trains, preserving input fidelity and reducing encoding latency.
- Use a hybrid 3D/2D convolutional architecture to jointly extract spectral-spatial features, with 3D convolutions for spectral correlation and 2D for spatial context.
- Apply 6-bit weight quantization to reduce precision while maintaining accuracy, leveraging the energy efficiency of low-precision arithmetic.
- Utilize activation sparsity and low-precision accumulate (AC) operations to minimize compute energy, as AC operations are significantly cheaper than MAC operations.
- Employ a training framework that enables SNNs to match the performance of their parent CNNs in terms of accuracy while drastically reducing energy consumption.
Experimental results
Research questions
- RQ1Can SNNs trained with quantization-aware gradient descent achieve competitive classification accuracy on hyperspectral images compared to full-precision CNNs?
- RQ2To what extent can direct analog input processing in SNNs reduce latency and computational cost in HSI classification?
- RQ3How does the energy efficiency of quantized SNNs compare to both full-precision and 6-bit quantized CNNs in HSI classification tasks?
- RQ4Can hybrid 3D/2D SNN architectures effectively capture spectral-spatial correlations in HSI data while maintaining low energy consumption?
- RQ5What is the impact of activation sparsity and low-precision arithmetic on the overall compute energy of SNNs in HSI classification?
Key findings
- HYPER-SNN achieves 98.68% overall accuracy, 98.34% average accuracy, and 98.20% kappa coefficient on the Indian Pines dataset using only 5 time steps and 6-bit weight quantization.
- The proposed SNN models consume approximately 560.6× less compute energy than iso-architecture full-precision CNNs and 44.8× less than 6-bit quantized CNNs on average across three HSI datasets.
- The SNNs achieve these results with significantly reduced FLOPs due to high activation sparsity and efficient accumulate (AC) operations, which are much cheaper than multiply-accumulate (MAC) operations.
- Energy savings are primarily due to the combination of low-precision arithmetic (6-bit weights), high sparsity, and the inherent efficiency of SNNs in leveraging sparse spiking activity.
- The training framework enables SNNs to match the performance of their parent CNNs in accuracy while drastically reducing energy consumption, making them suitable for deployment in battery-powered edge devices.
- The method reduces memory access cost by 5.33× through weight bit-precision reduction, and can be further enhanced with memory-optimized hardware designs such as PIM accelerators or non-volatile memory arrays.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.