paper-with-me

홈 › Papers

Optimal ANN-SNN Conversion for Fast and Accurate Inference in Deep Spiking Neural Networks

2021-05-25 · Jianhao Ding, Zhaofei Yu, Yonghong Tian, Tiejun Huang

Spiking Neural Networks (SNNs), as bio-inspired energy-efficient neural networks, have attracted great attentions from researchers and industry. The most efficient way to train deep SNNs is through ANN-SNN conversion. However, the conversion usually suffers from accuracy loss and long inference time, which impede the practical application of SNN. In this paper, we theoretically analyze ANN-SNN conversion and derive sufficient conditions of the optimal conversion. To better correlate ANN-SNN and get greater accuracy, we propose Rate Norm Layer to replace the ReLU activation function in source ANN training, enabling direct conversion from a trained ANN to an SNN. Moreover, we propose an optimal fit curve to quantify the fit between the activation value of source ANN and the actual firing rate of target SNN. We show that the inference time can be reduced by optimizing the upper bound of the fit curve in the revised ANN to achieve fast inference. Our theory can explain the existing work on fast reasoning and get better results. The experimental results show that the proposed method achieves near loss less conversion with VGG-16, PreActResNet-18, and deeper structures. Moreover, it can reach 8.6x faster reasoning performance under 0.265x energy consumption of the typical method. The code is available at https://github.com/DingJianhao/OptSNNConvertion-RNL-RIL.

📄 PDF Abstract BibTeX arXiv:2105.11654

Code (1)

DingJianhao/OptSNNConvertion-RNL-RIL 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Faster and Stronger: When ANN-SNN Conversion Meets Parallel Spiking Calculation

2024-12-18 · Zecheng Hao, Zhaofei Yu, Tiejun Huang

Spiking Neural Network (SNN), as a brain-inspired and energy-efficient network, is currently facing the pivotal challenge of exploring a suitable and efficient learning framework. The predominant training methodologies, …

FAS: Fast ANN-SNN Conversion for Spiking Large Language Models

2025-02-06 · Long Chen, Xiaotian Song, Andy Song, Badong Chen 외

Spiking Large Language Models have been shown as a good alternative to LLMs in various scenarios. Existing methods for creating Spiking LLMs, i.e., direct training and ANN-SNN conversion, often suffer from performance de…

Spike Calibration: Fast and Accurate Conversion of Spiking Neural Network for Object Detection and Segmentation

2022-07-06 · Yang Li, Xiang He, Yiting Dong, Qingqun Kong 외

Spiking neural network (SNN) has been attached to great importance due to the properties of high biological plausibility and low energy consumption on neuromorphic hardware. As an efficient method to obtain deep SNN, the…

Bayesian Optimizationobject-detectionObject Detection

Can Deep Neural Networks be Converted to Ultra Low-Latency Spiking Neural Networks?

2021-12-22 · Gourav Datta, Peter A. Beerel

Spiking neural networks (SNNs), that operate via binary spikes distributed over time, have emerged as a promising energy efficient ML paradigm for resource-constrained devices. However, the current state-of-the-art (SOTA…

Efficient and Accurate Conversion of Spiking Neural Network with Burst Spikes

2022-04-28 · Yang Li, Yi Zeng

Spiking neural network (SNN), as a brain-inspired energy-efficient neural network, has attracted the interest of researchers. While the training of spiking neural networks is still an open problem. One effective way is t…

Efficient Neural Network