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

ELSA: 一种用于高效神经形态计算的弹性SNN推理架构

ELSA: An ELastic SNN Inference Architecture for Efficient Neuromorphic Computing

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Kang You, Chen Nie, Lee Jun Yan, Ziling Wei, Cheng Zou, Zekai Xu, Yu Feng, Honglan Jiang, Zhezhi He

AI总结:

本文提出ELSA架构,通过细粒度的脊柱/令牌流水线和针对SNN的硬件优化,实现了真正的弹性推理,从而在保持准确性的同时显著降低延迟,实验表明SNN在保持精度的同时优于量化人工神经网络。

摘要:

脉冲神经网络(SNNs)利用事件驱动和仅加法计算显著提高智能计算的效率。SNNs的关键时间特性弹性推理允许输出逐步出现,使系统能够比完整评估更早响应显著输入。然而,现有的专门针对SNN的加速器无法利用这一特性。分层设计只有在所有层完成后才输出结果,而时间步-时间步设计依赖于粗粒度、分层的流水线,需要同步每一层内的所有脊柱/令牌。这一障碍阻止了结果的即时转发,延迟了最早的响应,并放弃了弹性推理的好处。为了解决这些挑战,我们提出了ELSA,一种接近SRAM的数据流架构,通过细粒度的脊柱/令牌流水线和针对SNN的硬件优化,实现了真正的弹性推理。ELSA在生成每个脊柱/令牌时立即转发结果,形成一个连续的流式管道,大幅降低了到第一个响应的延迟。为了增强这种轻量级执行,ELSA引入了捆绑地址事件表示协议以降低网络芯片(NoC)的通信流量,并利用迷你批次脉冲Gustavson乘积以减少内存访问并利用固有的稀疏性。结合映射和调度优化,ELSA实现了高效、事件驱动的计算,而无需牺牲准确性。实验表明,SNN在保持精度的同时可以优于量化人工神经网络(QANN)。对于4位ResNet-50,ELSA在SOTA QANN加速器(ANT)上实现了3.4倍的速度提升和13.6倍的能效提升,在SOTA SNN加速器(PAICORE)上实现了2.9倍的速度提升和22.1倍的能效提升。

英文摘要:

Spiking neural networks (SNNs) exploit event-driven and addition-only computation to substantially improve efficiency for intelligent computation. A key temporal property of SNNs, elastic inference, allows outputs to emerge progressively, enabling responses to salient inputs much earlier than full evaluation. However, existing SNN-specific accelerators cannot capitalize on this property. Layer-by-layer designs emit outputs only after all layers are complete, while time-step-by-time-step designs rely on coarse-grained, layer-wise pipelines that require synchronizing all spines/tokens within a layer. This barrier prevents results from being forwarded immediately, delaying the earliest possible response and forfeiting the benefits of elastic inference. To address these challenges, we propose ELSA, a near-SRAM dataflow architecture that realizes true elastic inference through a fine-grained spine/token-wise pipeline and hardware optimizations tailored to SNNs. ELSA forwards each spine/token immediately upon production, forming a continuous streaming pipeline that substantially reduces the latency to the first response. To enhance this lightweight execution, ELSA introduces a bundled address event representation protocol to lower communication traffic of network-on-chip (NoC), and leverages mini-batch spiking Gustavson-product to cut memory access and exploit inherent sparsity. Combined with mapping and scheduling optimizations, ELSA achieves efficient, event-driven computation without compromising accuracy. Experiments show that SNNs can outperform quantized artificial neural networks (QANNs) while maintaining on-par accuracy. For a 4-bit ResNet-50, ELSA achieves 3.4$\times$ speedup and 13.6$\times$ higher energy efficiency over the SOTA QANN accelerator (ANT), and 2.9$\times$ speedup and 22.1$\times$ energy efficiency gains over the SOTA SNN accelerator (PAICORE).

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

↑