arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.24891cs.ARcs.AI
收藏

替代品、尖峰和稀疏性:SNN超参数在硬件上的性能分析与特性

Surrogates, Spikes, and Sparsity: Performance Analysis and Characterization of SNN Hyperparameters on Hardware

Ilkin Aliyev, Jesus Lopez, Tosiron Adegbija

AI总结:

本文研究SNN超参数对硬件性能的影响,发现标准精度指标难以预测硬件效率,通过替代梯度函数和神经元模型的选择可显著提升准确率和效率。

摘要:

脉冲神经网络(SNN)通过稀疏、事件驱动的计算提供低功耗推断的固有优势。然而,由于训练时的选择与推理时的稀疏性之间的模糊关系,理论上的能量收益往往与实际硬件性能脱节。尽管先前的工作集中在权重剪枝和压缩上,但训练超参数——特别是替代梯度函数和神经元模型配置——在塑造硬件层面的激活稀疏性方面的作用仍被忽视。本文提出了一项工作量特征研究,量化了硬件延迟对SNN超参数的敏感性。我们解耦了替代梯度函数(如快速Sigmoid、脉冲率逃逸)和神经元模型(LIF、Lapicque)对分类准确率和推理效率的影响,跨三个基于事件的视觉数据集:DVS128-Gesture、N-MNIST和DVS-CIFAR10。我们的分析揭示了标准准确率指标是硬件效率的差预测器。虽然快速Sigmoid在DVS-CIFAR10上实现了最高的准确率,但脉冲率逃逸在DVS128-Gesture上将推理延迟减少了高达12.2%,而准确率损失微小。我们还证明了神经元模型的选择与参数调节同样关键;从LIF转换到Lapicque神经元可使延迟减少高达28%。我们在定制的周期准确的FPGA基于SNN仪器平台上进行了验证,显示稀疏性意识的超参数选择可以将准确率提高9.1%,并将延迟降低超过2倍,与基线相比。这些发现建立了一种从训练参数预测硬件行为的方法。RTL和可重复性艺术制品在https://zenodo.org/records/18893738。

英文摘要:

Spiking Neural Networks (SNNs) offer inherent advantages for low-power inference through sparse, event-driven computation. However, the theoretical energy benefits of SNNs are often decoupled from real hardware performance due to the opaque relationship between training-time choices and inference-time sparsity. While prior work has focused on weight pruning and compression, the role of training hyperparameters -- specifically surrogate gradient functions and neuron model configurations -- in shaping hardware-level activation sparsity remains underexplored. This paper presents a workload characterization study quantifying the sensitivity of hardware latency to SNN hyperparameters. We decouple the impact of surrogate gradient functions (e.g., Fast Sigmoid, Spike Rate Escape) and neuron models (LIF, Lapicque) on classification accuracy and inference efficiency across three event-based vision datasets: DVS128-Gesture, N-MNIST, and DVS-CIFAR10. Our analysis reveals that standard accuracy metrics are poor predictors of hardware efficiency. While Fast Sigmoid achieves the highest accuracy on DVS-CIFAR10, Spike Rate Escape reduces inference latency by up to 12.2% on DVS128-Gesture with minimal accuracy trade-offs. We also demonstrate that neuron model selection is as critical as parameter tuning; transitioning from LIF to Lapicque neurons yields up to 28% latency reduction. We validate on a custom cycle-accurate FPGA-based SNN instrumentation platform, showing that sparsity-aware hyperparameter selection can improve accuracy by 9.1% and latency by over 2x compared to baselines. These findings establish a methodology for predicting hardware behavior from training parameters. The RTL and reproducibility artifacts are at https://zenodo.org/records/18893738.

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

↑