arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.09348cs.LGcs.AIcs.ET
收藏

基于分布偏移检测的深度神经网络一次性在线测试

One-Shot Online Testing of Deep Neural Networks Based on Distribution Shift Detection

Karlsruhe Institute of Technology (KIT)(卡尔斯鲁厄理工学院(KIT))

Soyed Tuhin Ahmed, Mehdi B. Tahoori

AI总结:

针对忆阻交叉阵列上神经网络硬件加速器的测试需求,提出一种仅需单个测试向量的一次性在线测试方法,在大型拓扑和复杂任务中实现100%故障覆盖率,并显著降低内存开销和测试向量数量。

摘要:

神经网络(NNs)能够学习数据中的复杂模式与关系以进行高精度预测,使其适用于各种任务。然而,NNs 既是计算密集型又是内存密集型方法,这使其在边缘应用中面临挑战。为了加速 NNs 中最常见的操作(矩阵向量乘法),采用了带有非易失性忆阻交叉阵列的存内计算等硬件加速器架构。尽管它们具有功耗低、并行性和非易失性等优势,但在制造和生命周期运行期间会受到各种故障和变化的影响。这可能导致计算错误,进而导致映射后推理精度下降,这对于许多应用(包括安全关键应用)是不可接受的。因此,需要对 NN 硬件加速器进行适当测试。在本文中,我们提出了一种一次性测试方法,仅需一个测试向量即可测试在忆阻交叉阵列上加速的 NNs,使其非常适合在线测试应用。我们的方法在多达 201 层的几种大型拓扑结构和语义分割等具有挑战性的任务中,始终能实现 100% 的故障覆盖率。此外,与现有方法相比,故障覆盖率提高了 24%,内存开销仅为 0.0123 MB(减少达 19980 倍),测试向量数量减少了 10000 倍。

英文摘要:

Neural networks (NNs) are capable of learning complex patterns and relationships in data to make predictions with high accuracy, making them useful for various tasks. However, NNs are both computation-intensive and memory-intensive methods, making them challenging for edge applications. To accelerate the most common operations (matrix-vector multiplication) in NNs, hardware accelerator architectures such as computation-in-memory (CiM) with non-volatile memristive crossbars are utilized. Although they offer benefits such as power efficiency, parallelism, and nonvolatility, they suffer from various faults and variations, both during manufacturing and lifetime operations. This can lead to faulty computations and, in turn, degradation of post-mapping inference accuracy, which is unacceptable for many applications, including safety-critical applications. Therefore, proper testing of NN hardware accelerators is required. In this paper, we propose a \emph{one-shot} testing approach that can test NNs accelerated on memristive crossbars with only one test vector, making it very suitable for online testing applications. Our approach can consistently achieve $100\%$ fault coverage across several large topologies with up to $201$ layers and challenging tasks like semantic segmentation. Nevertheless, compared to existing methods, the fault coverage is improved by up to $24\%$, the memory overhead is only $0.0123$ MB, a reduction of up to $19980\times$ and the number of test vectors is reduced by $10000\times$.

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

↑