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

面向视觉应用的脉冲神经网络的脉冲感知基于梯度的混合精度量化

Spike-Aware Gradient-Based Mixed-Precision Quantization of Spiking Neural Networks for Vision Applications

Indian Institute Of Technology Madras(印度马德拉斯理工学院)

Rajshekhar Rakshit, Devgokul B., Rakshitha Kalkura, Gopalakrishnan Srinivasan

AI总结:

针对SNN低精度量化的内存与计算开销问题,提出脉冲感知梯度混合精度量化框架,在多数据集与SNN架构上验证,实现压缩下精度相当,且内存与运行时间大幅降低。

摘要:

近年来,脉冲神经网络(Spiking Neural Networks,SNN)因其事件驱动和稀疏计算能力,作为一种高能效的神经计算范式获得了广泛关注。然而,对于SNN模型,在实际部署所需的低精度约束下保持精度的问题在很大程度上尚未被探索。此外,现有的基于Hessian的量化方法(如HAWQ-V2)由于跨多个SNN时间步的时间展开,会产生显著的内存和计算开销。我们提出了一种面向SNN的脉冲感知基于梯度的混合精度量化框架,该框架使用一阶梯度信息自适应分配位宽,避免了代价高昂的二阶Hessian计算。我们在各种基于SNN的架构上评估了我们的方法,包括从人工神经网络到SNN转换和直接训练框架获得的VGG、ResNet和Vision Transformer模型,数据集涵盖CIFAR10/100、ImageNet和DVS-CIFAR-10。值得注意的是,在ImageNet上评估的ResNet-34上,我们的方法在4.78倍压缩下达到了73.30%的准确率,这与HAWQ-V2提供的结果相当,同时将内存消耗降低了2.31倍,位分配运行时间减少了100倍。我们还对混合精度SNN进行了能效分析,表明所提出的量化策略可在不损害性能的情况下实现高能效部署。

英文摘要:

In recent years, Spiking Neural Networks (SNNs) have gained massive attention as an energy-efficient neural computing paradigm due to their event-driven and sparse computing capability. However, maintaining accuracy under low-precision constraints, necessary for practical deployment, has been largely unexplored for SNN models. In addition, existing Hessian-based approaches for quantization, such as HAWQ-V2, incur significant memory and computational overhead due to temporal unrolling across multiple SNN timesteps. We propose a spike-aware gradient-based mixed-precision quantization framework for SNNs that adaptively assigns bit-widths using first-order gradient information, avoiding costly second-order Hessian computations. We evaluate our method across various SNN-based architectures, including VGG, ResNet, and Vision Transformer models obtained from both ANN-to-SNN conversion and direct training frameworks, on CIFAR10/100, ImageNet, and DVS-CIFAR-10 datasets. Notably, on ResNet-34 evaluated on ImageNet, our method achieves 73.30% accuracy at 4.78$\times$ compression, which is comparable to that provided by HAWQ-V2, while reducing memory consumption by 2.31$\times$ and bit-allocation runtime by 100$\times$. We also present an energy analysis for mixed-precision SNNs showing that the proposed quantization strategy enables energy-efficient deployment without compromising performance.

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

↑