高效容错量化神经网络加速器
Efficient Error-Tolerant Quantized Neural Network Accelerators
摘要:
神经网络是目前部署最广泛的机器学习算法之一。特别是卷积神经网络(CNN)越来越受欢迎,并被评估用于部署在安全关键应用中,如自动驾驶汽车。现代CNN具有巨大的内存带宽和高计算需求,挑战现有的硬件平台,以满足吞吐量,延迟和功耗要求。在安全关键系统中,需要考虑功能安全和容错性作为附加要求。一般来说,容错操作可以通过向系统添加冗余来实现,这进一步加剧了计算需求。此外,出现的问题是否修剪和量化方法的性能缩放,结果是适得其反的失败的安全要求。在这项工作中,我们提出了一种方法来评估影响量化神经网络(QNN)的永久性故障的影响,以及如何有效地减少它们在硬件加速器中的影响。我们使用基于FPGA的硬件加速错误注入,以使快速评估。详细的分析表明,包含卷积层的QNN对故障的鲁棒性远不如人们普遍认为的那样,并且可能导致精度下降高达10%。为了规避这一点,我们提出了两种不同的方法来提高其鲁棒性:1)选择性通道复制,其增加的冗余比常见的三重模块冗余少得多; 2)折叠实现的处理元件的故障感知调度
英文摘要:
Neural Networks are currently one of the most widely deployed machine learning algorithms. In particular, Convolutional Neural Networks (CNNs), are gaining popularity and are evaluated for deployment in safety critical applications such as self driving vehicles. Modern CNNs feature enormous memory bandwidth and high computational needs, challenging existing hardware platforms to meet throughput, latency and power requirements. Functional safety and error tolerance need to be considered as additional requirement in safety critical systems. In general, fault tolerant operation can be achieved by adding redundancy to the system, which is further exacerbating the computational demands. Furthermore, the question arises whether pruning and quantization methods for performance scaling turn out to be counterproductive with regards to fail safety requirements. In this work we present a methodology to evaluate the impact of permanent faults affecting Quantized Neural Networks (QNNs) and how to effectively decrease their effects in hardware accelerators. We use FPGA-based hardware accelerated error injection, in order to enable the fast evaluation. A detailed analysis is presented showing that QNNs containing convolutional layers are by far not as robust to faults as commonly believed and can lead to accuracy drops of up to 10%. To circumvent that, we propose two different methods to increase their robustness: 1) selective channel replication which adds significantly less redundancy than used by the common triple modular redundancy and 2) a fault-aware scheduling of processing elements for folded implementations
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。