arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.02167cs.NEcs.ARcs.ET
收藏

面向脉冲神经网络的无ADC存内计算硬件的硬件/软件协同设计

Hardware/Software co-design with ADC-Less In-memory Computing Hardware for Spiking Neural Networks

Marco Paul E. Apolinario, Adarsh Kumar Kosta, Utkarsh Saxena, Kaushik Roy

AI总结:

本文提出一种硬件/软件协同设计方法,将脉冲神经网络部署到以感测放大器替代高精度ADC的无ADC存内计算架构中,通过硬件感知训练在保持精度的同时显著降低能耗和延迟。

摘要:

脉冲神经网络(SNNs)是生物合理模型,在资源受限的边缘设备上实现序列任务的节能执行方面具有巨大潜力。然而,基于标准GPU的商业边缘平台并未针对部署SNNs进行优化,导致能耗和延迟较高。虽然模拟存内计算(IMC)平台可以作为节能推理引擎,但它们受到高精度ADC(HP-ADC)巨大的能耗、延迟和面积需求的困扰,掩盖了存内计算的优势。我们提出一种硬件/软件协同设计方法,将SNNs部署到无ADC的IMC架构中,使用感测放大器作为1位ADC取代传统HP-ADC,从而缓解上述问题。我们提出的框架通过执行硬件感知训练,仅造成极小的精度下降,并且能够从简单的图像分类任务扩展到更复杂的序列回归任务。在光流估计和手势识别等复杂任务上的实验表明,在SNN训练过程中逐步增强硬件感知,使模型能够适应并学习由无ADC IMC相关的非理想特性引起的误差。此外,与HP-ADC IMC相比,所提出的无ADC IMC在能耗和延迟方面分别实现了2-7倍和8.9-24.6倍的显著改善,具体取决于SNN模型和工作负载。

英文摘要:

Spiking Neural Networks (SNNs) are bio-plausible models that hold great potential for realizing energy-efficient implementations of sequential tasks on resource-constrained edge devices. However, commercial edge platforms based on standard GPUs are not optimized to deploy SNNs, resulting in high energy and latency. While analog In-Memory Computing (IMC) platforms can serve as energy-efficient inference engines, they are accursed by the immense energy, latency, and area requirements of high-precision ADCs (HP-ADC), overshadowing the benefits of in-memory computations. We propose a hardware/software co-design methodology to deploy SNNs into an ADC-Less IMC architecture using sense-amplifiers as 1-bit ADCs replacing conventional HP-ADCs and alleviating the above issues. Our proposed framework incurs minimal accuracy degradation by performing hardware-aware training and is able to scale beyond simple image classification tasks to more complex sequential regression tasks. Experiments on complex tasks of optical flow estimation and gesture recognition show that progressively increasing the hardware awareness during SNN training allows the model to adapt and learn the errors due to the non-idealities associated with ADC-Less IMC. Also, the proposed ADC-Less IMC offers significant energy and latency improvements, $2-7\times$ and $8.9-24.6\times$, respectively, depending on the SNN model and the workload, compared to HP-ADC IMC.

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

↑