基于SRAM FPGA的二值化神经网络单粒子翻转脆弱性分析
Analyzing the Single Event Upset Vulnerability of Binarized Neural Networks on SRAM FPGAs
AI总结:
本文通过统计故障注入实验,系统分析了SRAM FPGA上二值化全连接神经网络加速器对单粒子翻转的脆弱性,发现BNN对软错误具有固有弹性,仅少量SEU会导致系统崩溃或误分类。
摘要:
近十年来,神经网络(NNs)在目标检测与分类、自动驾驶等多个高要求应用中得到了越来越广泛的使用。在实现神经网络的不同计算平台中,FPGA凭借设计灵活性和高每瓦性能比而具有多重优势。此外,量化等近似技术已被引入,可降低计算和存储需求,从而支持将更大规模的神经网络集成到FPGA器件中。另一方面,FPGA对辐射引起的单粒子翻转(SEUs)较为敏感。在本工作中,我们对一个基于FPGA的二值化全连接神经网络(BNN)加速器进行了深入的可靠性分析,并运行了统计故障注入活动。该BNN基准由FINN生成,FINN是一个开源框架,提供从抽象层级到设计的端到端流程,便于设计定制化FPGA神经网络加速器,同时支持多种近似技术。该故障注入活动包括在运行BNN的最先进Xilinx Ultrascale+ FPGA的配置存储器中注入故障,以及在用户触发器中执行穷举故障注入。我们分析了故障注入结果,按网络层、时钟周期和寄存器刻画了电路的SEU脆弱性。总体而言,结果表明BNN对软错误具有固有的弹性,因为配置存储器和触发器中只有较低比例的SEU会导致系统崩溃或误分类错误。
英文摘要:
Neural Networks (NNs) are increasingly used in the last decade in several demanding applications, such as object detection and classification, autonomous driving, etc. Among different computing platforms for implementing NNs, FPGAs have multiple advantages due to design flexibility and high performance-to-watt ratio. Moreover, approximation techniques, such as quantization, have been introduced, which reduce the computational and storage requirements, thus enabling the integration of larger NNs into FPGA devices. On the other hand, FPGAs are sensitive to radiation-induced Single Event Upsets (SEUs). In this work, we perform an in-depth reliability analysis in an FPGA-based Binarized Fully Connected Neural Network (BNN) accelerator running a statistical fault injection campaign. The BNN benchmark has been produced by FINN, an open-source framework that provides an end-to-end flow from abstract level to design, making it easy to design customized FPGA NN accelerators, while it also supports various approximation techniques. The campaign includes the injection of faults in the configuration memory of a state-of-the-art Xilinx Ultrascale+ FPGA running the BNN, as well an exhaustive fault injection in the user flip flops. We have analyzed the fault injection results characterizing the SEU vulnerability of the circuit per network layer, per clock cycle, and register. In general, the results show that the BNNs are inherently resilient to soft errors, since a low portion of SEUs in the configuration memory and the flip flops, cause system crashes or misclassification errors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。