arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.23206cs.NE
收藏

一种用于深度脉冲神经网络的低延迟编码框架

Latency Coding for Efficient and Low-Latency Deep Spiking Neural Networks

School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);School of Computer Science, Peking University(北京大学计算机学院);Institute for Artificial Intelligence and the School of Computer Science, Peking University(北京大学人工智能研究院和计算机学院)

Yi Lu, Jianhao Ding, Zhaofei Yu

AI总结:

本文提出一种低延迟编码框架,通过BPTT算法实现深度TTFS编码SNNs的高效训练,解决传统方法中训练效率低、延迟高和性能有限的问题,实验显示其在准确率、低延迟和能效方面优于现有方法。

摘要:

脉冲神经网络(SNNs)提供了一种生物启发的计算范式,具有高效能神经处理的潜力。在SNNs的神经编码方案中,时间到第一突触(TTFS)编码通过神经元首次突触的时间精确性编码信息,提供卓越的能效和生物合理性。尽管有理论优势,现有TTFS模型缺乏高效的训练方法,导致高推理延迟和性能有限。本文提出一个全面的框架,通过反向传播通过时间(BPTT)算法实现深度TTFS编码SNNs的高效训练。我们框架中的通用TTFS编码方法称为延迟编码。该框架包括:(1)一个延迟编码(LE)模块,具有特征提取和直通估计器,以解决直接强度到延迟映射中的严重信息损失并确保平滑梯度流动;(2)放松传统TTFS的严格单突触约束,允许中间层神经元多次放电以缓解深度网络中的梯度消失;(3)一个时间自适应决策(TAD)损失函数,根据样本依赖的置信度动态加权监督信号,解决延迟编码与标准交叉熵损失的不兼容性。实验结果表明,我们的方法在准确率、超低推理延迟和优越能效方面优于现有TTFS编码SNNs。该框架还展示了对输入损坏的改进鲁棒性。我们的研究探讨了延迟编码在需要快速响应场景中的特性和潜力,为进一步利用SNNs的时序学习能力提供了有价值的见解。

英文摘要:

Spiking neural networks (SNNs) offer a biologically inspired computing paradigm with significant potential for energy-efficient neural processing. Among neural coding schemes of SNNs, Time-To-First-Spike (TTFS) coding, which encodes information through the precise timing of a neuron's first spike, provides exceptional activity sparsity and energy efficiency. However, existing TTFS models lack efficient training methods, suffering from high inference latency and limited performance, limiting their practicality on neuromorphic hardware. In this work, we propose latency coding, an extension of TTFS coding, and present a compatible framework that enables the efficient training of deep latency-coded SNNs by leveraging backpropagation through time (BPTT) algorithm. The framework includes: (1) a latency encoding (LE) module with feature extraction and straight-through estimators to address severe information loss in direct intensity-to-latency mapping; (2) relaxation of the strict single-spike constraint in intermediate layers to improve information propagation and gradient flow; and (3) a temporal adaptive decision (TAD) loss function that dynamically weights supervision signals based on the model's confidence, balancing the trade-off between speed and accuracy. Experimental results demonstrate that our method achieves competitive or superior accuracy compared with existing TTFS-coded SNNs with ultra-low inference latency and high energy efficiency. Latency-coded SNNs also demonstrate improved robustness against input perturbations. These findings highlight latency coding as a practical and hardware-friendly approach for fast and energy-efficient neuromorphic processing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑