使用不确定性指纹的神经网络并发自测试
Concurrent Self-testing of Neural Networks Using Uncertainty Fingerprint
AI总结:
本文提出不确定性指纹方法和双头NN拓扑,在单次运行中生成指纹和预测,实现NNs并发自测试,覆盖率高达100%,显著降低内存开销、MAC运算和正误判率。
摘要:
神经网络(NNs)越来越多地用于采用各种内存技术的硬件加速器(NN-HAs)上部署的常开安全关键应用中。NN的可靠连续运行对于安全关键应用至关重要。在在线运行期间,由于辐射、老化和热效应等因素,NNs容易受到单个和多个永久性故障以及软错误的影响。显式NN-HA测试方法无法检测推理过程中的瞬态故障,不适用于常开应用,并且需要大量的测试向量生成和存储。因此,在本文中,我们提出了表示NN在线故障状态的不确定性指纹方法。此外,我们提出了一种专门设计的双头NN拓扑结构,用于在单次过程中生成不确定性指纹和NN的主要预测。在在线运行期间,通过匹配不确定性指纹,我们可以并发地自测试NNs,实现高达100%的覆盖率,同时保持较低的正误判率,并维持主要任务的相似性能。与现有工作相比,内存开销最多减少243.7 MB,乘加(MAC)运算最多减少10000倍,正误判率最多减少89%。
英文摘要:
Neural networks (NNs) are increasingly used in always-on safety-critical applications deployed on hardware accelerators (NN-HAs) employing various memory technologies. Reliable continuous operation of NN is essential for safety-critical applications. During online operation, NNs are susceptible to single and multiple permanent and soft errors due to factors such as radiation, aging, and thermal effects. Explicit NN-HA testing methods cannot detect transient faults during inference, are unsuitable for always-on applications, and require extensive test vector generation and storage. Therefore, in this paper, we propose the \emph{uncertainty fingerprint} approach representing the online fault status of NN. Furthermore, we propose a dual head NN topology specifically designed to produce uncertainty fingerprints and the primary prediction of the NN in \emph{a single shot}. During the online operation, by matching the uncertainty fingerprint, we can concurrently self-test NNs with up to $100\%$ coverage with a low false positive rate while maintaining a similar performance of the primary task. Compared to existing works, memory overhead is reduced by up to $243.7$ MB, multiply and accumulate (MAC) operation is reduced by up to $10000\times$, and false-positive rates are reduced by up to $89\%$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。