arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.05523cs.ARcs.LGcs.NE
收藏

SoftSNN:软错误下脉冲神经网络加速器的低成本容错

SoftSNN: Low-Cost Fault Tolerance for Spiking Neural Network Accelerators under Soft Errors

Technische Universität Wien (TU Wien)(维也纳工业大学(TU Wien));New York University Abu Dhabi (NYUAD)(纽约大学阿布扎比分校(NYUAD))

Rachmad Vidya Wicaksana Putra, Muhammad Abdullah Hanif, Muhammad Shafique

摘要:

专门的硬件加速器已被设计和采用,以最大限度地提高脉冲神经网络(SNN)的性能效率。然而,这种加速器易受瞬时故障(即,软错误),其由于高能粒子撞击而发生,并且表现为硬件层处的位翻转。这些错误可能会改变SNN加速器计算引擎中的权重值和神经元操作,从而导致不正确的输出和精度下降。然而,计算引擎中的软错误的影响和相应的缓解技术尚未对SNN进行彻底研究。一个潜在的解决方案是采用冗余执行(重新执行)来确保正确的输出,但它会导致巨大的延迟和能量开销。为此,我们提出了SoftSNN,一种新的方法来减轻SNN加速器的权重寄存器(突触)和神经元中的软错误,而无需重新执行,从而以低延迟和能量开销保持准确性。我们的SoftSNN方法采用了以下关键步骤:(1)分析软错误下的SNN特性,以识别错误的权重和神经元操作,这是识别错误的SNN行为所需的;(2)一个绑定和保护技术,利用这种分析,以提高SNN的容错通过绑定的权重值和保护神经元从错误的操作;以及(3)为神经硬件加速器设计轻量级硬件增强以有效地支持所提出的技术。实验结果表明,对于一个900个神经元的网络,即使故障率很高,我们的SoftSNN保持精度下降低于3%,同时减少延迟和能量分别高达3倍和2.3倍,相比,重新执行技术。

英文摘要:

Specialized hardware accelerators have been designed and employed to maximize the performance efficiency of Spiking Neural Networks (SNNs). However, such accelerators are vulnerable to transient faults (i.e., soft errors), which occur due to high-energy particle strikes, and manifest as bit flips at the hardware layer. These errors can change the weight values and neuron operations in the compute engine of SNN accelerators, thereby leading to incorrect outputs and accuracy degradation. However, the impact of soft errors in the compute engine and the respective mitigation techniques have not been thoroughly studied yet for SNNs. A potential solution is employing redundant executions (re-execution) for ensuring correct outputs, but it leads to huge latency and energy overheads. Toward this, we propose SoftSNN, a novel methodology to mitigate soft errors in the weight registers (synapses) and neurons of SNN accelerators without re-execution, thereby maintaining the accuracy with low latency and energy overheads. Our SoftSNN methodology employs the following key steps: (1) analyzing the SNN characteristics under soft errors to identify faulty weights and neuron operations, which are required for recognizing faulty SNN behavior; (2) a Bound-and-Protect technique that leverages this analysis to improve the SNN fault tolerance by bounding the weight values and protecting the neurons from faulty operations; and (3) devising lightweight hardware enhancements for the neural hardware accelerator to efficiently support the proposed technique. The experimental results show that, for a 900-neuron network with even a high fault rate, our SoftSNN maintains the accuracy degradation below 3%, while reducing latency and energy by up to 3x and 2.3x respectively, as compared to the re-execution technique.

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

↑