Spike-inspired rank coding for fast and accurate recurrent neural networks
Alan Jeffares, Qinghai Guo, Pontus Stenetorp, Timoleon Moraitis
摘要
Biological spiking neural networks (SNNs) can temporally encode information in their outputs, e.g. in the rank order in which neurons fire, whereas artificial neural networks (ANNs) conventionally do not. As a result, models of SNNs for neuromorphic computing are regarded as potentially more rapid and efficient than ANNs when dealing with temporal input. On the other hand, ANNs are simpler to train, and usually achieve superior performance. Here we show that temporal coding such as rank coding (RC) inspired by SNNs can also be applied to conventional ANNs such as LSTMs, and leads to computational savings and speedups. In our RC for ANNs, we apply backpropagation through time using the standard real-valued activations, but only from a strategically early time step of each sequential input example, decided by a threshold-crossing event. Learning then incorporates naturally also when to produce an output, without other changes to the model or the algorithm. Both the forward and the backward training pass can be significantly shortened by skipping the remaining input sequence after that first event. RC-training also significantly reduces time-to-insight during inference, with a minimal decrease in accuracy. The desired speed-accuracy trade-off is tunable by varying the threshold or a regularization parameter that rewards output entropy. We demonstrate these in two toy problems of sequence classification, and in a temporally-encoded MNIST dataset where our RC model achieves 99.19% accuracy after the first input time-step, outperforming the state of the art in temporal coding with SNNs, as well as in spoken-word classification of Google Speech Commands, outperforming non-RC-trained early inference with LSTMs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper2
- Efficient and Effective Time-Series Forecasting with Spiking Neural NetworksChangze Lv, Yansen Wang, Dongqi Han, Xiaoqing Zheng 等ICML 2024 · 29 次引用
- EnOF-SNN: Training Accurate Spiking Neural Networks via Enhancing the Output FeatureYufei Guo, Weihang Peng, Xiaode Liu, Yuanpei Chen 等NeurIPS 2024 · 21 次引用
它引用的 Paper2
- Temporal-Coded Deep Spiking Neural Network with Easy Training and Robust PerformanceShibo Zhou, Xiaohua Li, Ying Chen, Sanjeev Tannirkulam Chandrasekaran 等AAAI 2021 · 114 次引用
- Empowering Adaptive Early-Exit Inference with Latency AwarenessXinrui Tan, Hongjia Li, Liming Wang, Xueqing Huang 等AAAI 2021 · 14 次引用
相关 Paper
- Spiking Neural Networks with Improved Inherent Recurrence Dynamics for Sequential LearningWachirawit Ponghiran, Kaushik RoyAAAI 2022 · 60 次引用
- Enabling Deep Spiking Neural Networks with Hybrid Conversion and Spike Timing Dependent BackpropagationNitin Rathi, Gopalakrishnan Srinivasan, Priyadarshini Panda, Kaushik RoyICLR 2020 · 347 次引用
- Temporal-Coded Spiking Neural Networks with Dynamic Firing Threshold: Learning with Event-Driven BackpropagationWenjie Wei, Malu Zhang, Hong Qu, Ammar Belatreche 等ICCV 2023 · 41 次引用
- Temporal-coded Spiking TransformerQian Sun, Chengzhuo Lu, Wenyu Chen, Wenjie Wei 等ACM MM 2025 · 1 次引用
- DCT-SNN: Using DCT to Distribute Spatial Information over Time for Low-Latency Spiking Neural NetworksIsha Garg, Sayeed Shafayet Chowdhury, Kaushik RoyICCV 2021 · 37 次引用
