PSA:面向SNN中高效稀疏卷积的剪枝友好型稀疏感知加速器
PSA: A Pruning-Friendly Sparse-Aware Accelerator for Efficient Sparse Convolution in SNNs
AI总结:
本文提出面向SNN高效稀疏卷积的剪枝友好型稀疏感知加速器PSA,通过SAMA数据流、SIG-im2col机制及剪枝友好型门控机制,在ResNet-18/CIFAR-10上实现能效4.45倍提升、EDP降低18.52倍。
摘要:
脉冲神经网络(SNN)因具备事件驱动型稀疏计算特性,有望实现高能效人工智能,而神经元剪枝可进一步减少冗余操作。然而,在实际硬件加速器中,脉冲稀疏性与剪枝诱导的稀疏性会产生高度不规则的稀疏工作负载,难以高效执行。现有方法无法同时支持稀疏输入执行、低开销稀疏卷积降维以及剪枝友好型执行。本文提出PSA,即面向SNN中高效稀疏卷积的剪枝友好型稀疏感知加速器。PSA具备稀疏感知合并累加(SAMA)数据流,可对齐稀疏脉冲索引并将不规则激活转换为连续计算流,以实现高效稀疏卷积执行;还引入稀疏隐式分组im2col(SIG-im2col)卷积降维机制,将稀疏卷积转换为片上稀疏矩阵乘法(SpMM),映射成本与内存开销较低;此外,PSA集成轻量型剪枝友好型门控机制,可直接支持剪枝后的SNN。在ResNet-18/CIFAR-10上的结果显示,相较于密集基线,PSA的能效提升4.45倍,能量延迟乘积(EDP)降低18.52倍。
英文摘要:
Spiking neural networks (SNNs) are promising for energy-efficient artificial intelligence due to their event-driven sparse computation, and neuron pruning can further reduce redundant operations. However, in practical hardware accelerators, spike sparsity and pruning-induced sparsity produce highly irregular sparse workloads that are difficult to execute efficiently. Existing approaches do not jointly support sparse-input execution, low-overhead sparse convolution lowering and pruning-friendly execution. This paper presents PSA, a Pruning-friendly Sparse-aware Accelerator for efficient sparse convolution in SNNs. PSA features a Sparse-Aware Merge-Accumulation (SAMA) dataflow that aligns sparse spike indices and converts irregular activations into continuous computation streams for efficient sparse convolution execution. It further introduces a Sparse Implicit Group-wise im2col (SIG-im2col) convolution lowering mechanism that converts sparse convolution into SpMM on-chip with low mapping cost and memory overhead. In addition, PSA integrates a lightweight pruning-friendly gating mechanism to directly support pruned SNNs. Results on ResNet-18/CIFAR-10 show that PSA achieves a 4.45x improvement in energy efficiency and an 18.52x reduction in energy-delay product (EDP) over the dense baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。