LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold Model

Zecheng Hao, Xinyu Shi, Zhiyu Pan, Yujia Liu, Zhaofei Yu +1 more
2/1/2024

No official code found. Best implementation: hzc1208/LMHT_SNN (2 stars, last commit 2025-05-05).

Abstract

Compared to traditional Artificial Neural Network (ANN), Spiking Neural Network (SNN) has garnered widespread academic interest for its intrinsic ability to transmit information in a more energy-efficient manner. However, despite previous efforts to optimize the learning algorithm of SNNs through various methods, SNNs still lag behind ANNs in terms of performance. The recently proposed multi-threshold model provides more possibilities for further enhancing the learning capability of SNNs. In this paper, we rigorously analyze the relationship among the multi-threshold model, vanilla spiking model and quantized ANNs from a mathematical perspective, then propose a novel LM-HT model, which is an equidistant multi-threshold model that can dynamically regulate the global input current and membrane potential leakage on the time dimension. The LM-HT model can also be transformed into a vanilla single threshold model through reparameterization, thereby achieving more flexible hardware deployment. In addition, we note that the LM-HT model can seamlessly integrate with ANN-SNN Conversion framework under special initialization. This novel hybrid learning framework can effectively improve the relatively poor performance of converted SNNs under low time latency. Extensive experimental results have demonstrated that our model can outperform previous state-of-the-art works on various types of datasets, which promote SNNs to achieve a brand-new level of performance comparable to quantized ANNs. Code is available at https://github.com/hzc1208/LMHT_SNN.

View on arXivView PDF

Code Implementations(1)

hzc1208/LMHT_SNNCommunity100%
20PythonApr 22, 20251 years ago

Similar Papers

Cite this paper

@article{hao2024lmht,
  title  = {LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold Model},
  author = {Zecheng Hao and Xinyu Shi and Zhiyu Pan and Yujia Liu and Zhaofei Yu and Tiejun Huang},
  year   = {2024},
  eprint = {2402.00411},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.00411},
  url    = {https://arxiv.org/abs/2402.00411},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.00411.svg)](https://codeofpaper.com/paper/2402.00411)

Discussion